On Thu, Dec 01, 2022 at 07:30:25PM -0800, 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> > Acked-by: Christoph Hellwig <hch@xxxxxx> > --- > arch/x86/kernel/cpu/mshyperv.c | 7 +------ > include/linux/swiotlb.h | 2 -- > kernel/dma/swiotlb.c | 45 +----------------------------------------- > 3 files changed, 2 insertions(+), 52 deletions(-) Patches removing crap are always nice: Acked-by: Borislav Petkov (AMD) <bp@xxxxxxxxx> -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette