Re: [RFC PATCH V5 09/15] x86/hyperv: Add smp support for sev-snp guest

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

 



On 5/1/2023 8:46 AM, Tom Lendacky wrote:
+    vmsa->sev_features.snp = 1;
+    vmsa->sev_features.restrict_injection = 1;

So this means that any other feature bits set in the BSP won't be set in the AP? Shouldn't you be using the BSP value and checking to be sure what you really want set is set?

So far, the snp flag is enough. You are right that we need to keep it as same value on the both BSP and APs. will update in the next version.



[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux