diff options
author | Isaac J. Manjarres <isaacm@codeaurora.org> | 2021-06-16 06:38:44 -0700 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2021-07-26 12:37:07 +0200 |
commit | ca073b55d16a83ba7e73cd313312abc68f07f293 (patch) | |
tree | 961cda705da302f99f6efa2c793765033c1e7476 /Documentation/x86/amd-memory-encryption.rst | |
parent | cacffb7f7b45ba7649eedea4c196c6e9f1863bf3 (diff) |
iommu/io-pgtable: Introduce map_pages() as a page table op
Mapping memory into io-pgtables follows the same semantics
that unmapping memory used to follow (i.e. a buffer will be
mapped one page block per call to the io-pgtable code). This
means that it can be optimized in the same way that unmapping
memory was, so add a map_pages() callback to the io-pgtable
ops structure, so that a range of pages of the same size
can be mapped within the same call.
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
Suggested-by: Will Deacon <will@kernel.org>
Signed-off-by: Georgi Djakov <quic_c_gdjako@quicinc.com>
Link: https://lore.kernel.org/r/1623850736-389584-4-git-send-email-quic_c_gdjako@quicinc.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'Documentation/x86/amd-memory-encryption.rst')
0 files changed, 0 insertions, 0 deletions