Skip to content
Commit 0459ff48 authored by Michael Kelley's avatar Michael Kelley Committed by Wei Liu
Browse files

swiotlb: Remove bounce buffer remapping for Hyper-V



With changes to how Hyper-V guest VMs flip memory between private
(encrypted) and shared (decrypted), creating a second kernel virtual
mapping for shared memory is no longer necessary. Everything needed
for the transition to shared is handled by set_memory_decrypted().

As such, remove swiotlb_unencrypted_base and the associated
code.

Signed-off-by: default avatarMichael Kelley <mikelley@microsoft.com>
Acked-by: default avatarChristoph Hellwig <hch@lst.de>
Acked-by: default avatarBorislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/1679838727-87310-8-git-send-email-mikelley@microsoft.com


Signed-off-by: default avatarWei Liu <wei.liu@kernel.org>
parent 21eb596f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment