Re: [PATCH 06/12] swiotlb: Remove bounce buffer remapping for Hyper-V

From: Christoph Hellwig
Date: Mon Oct 24 2022 - 16:10:23 EST


On Thu, Oct 20, 2022 at 10:57:09AM -0700, Michael Kelley wrote:
> 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: Michael Kelley <mikelley@xxxxxxxxxxxxx>

I'm more than glad that we can kill this code:

Acked-by: Christoph Hellwig <hch@xxxxxx>