Thread (22 messages) 22 messages, 9 authors, 2022-02-04

Re: [PATCH V7 2/5] x86/hyper-v: Add hyperv Isolation VM check in the cc_platform_has()

From: Wei Liu <wei.liu@kernel.org>
Date: 2021-12-14 16:10:11
Also in: linux-arch, linux-iommu, linux-scsi, lkml, netdev

On Tue, Dec 14, 2021 at 05:05:01PM +0100, Borislav Petkov wrote:
On Mon, Dec 13, 2021 at 02:14:03AM -0500, Tianyu Lan wrote:
quoted
From: Tianyu Lan <redacted>

Hyper-V provides Isolation VM for confidential computing support and
guest memory is encrypted in it. Places checking cc_platform_has()
with GUEST_MEM_ENCRYPT attr should return "True" in Isolation vm. e.g,
Stick to a single spelling variant: "VM".
quoted
swiotlb bounce buffer size needs to adjust according to memory size
in the sev_setup_arch().
So basically you wanna simply say here:

"Hyper-V Isolation VMs need to adjust the SWIOTLB size just like SEV
guests. Add a hyperv_cc_platform_has() variant which enables that."

?

With that addressed you can have my

Acked-by: Borislav Petkov <redacted>
Thanks. I can address your comments when I pick up this series.

Wei.
Thx.

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help