[PATCH 08/12] x86: centralize setting SWIOTLB_FORCE when guest memory encryption is enabled

Christoph Hellwig hch at lst.de
Tue Mar 1 03:43:35 PST 2022


On Tue, Mar 01, 2022 at 11:39:29AM +0000, Andrew Cooper wrote:
> This isn't really "must".  The guest is perfectly capable of sharing
> memory with the hypervisor.
> 
> It's just that for now, bounce buffering is allegedly faster, and the
> simple way of getting it working.

Yeah, I guess you щould just share/unshare on demand.  But given that
this isn't implemented it is a must in the current kernel.  But if
you want a different wording suggest one and I'll put it in.



More information about the linux-riscv mailing list