Re: [Patch v4 07/13] swiotlb: Remove bounce buffer remapping for Hyper-V

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux