lkml.org 
[lkml]   [2023]   [Jan]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Patch v4 07/13] swiotlb: Remove bounce buffer remapping for Hyper-V
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@microsoft.com>
> Acked-by: Christoph Hellwig <hch@lst.de>
> ---
> 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@alien8.de>

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette

\
 
 \ /
  Last update: 2023-03-26 23:33    [W:0.300 / U:0.376 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site