Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'kvm-x86-svm-6.17' of https://github.com/kvm-x86/linux into HEAD

KVM SVM changes for 6.17

Drop KVM's rejection of SNP's SMT and single-socket policy restrictions, and
instead rely on firmware to verify that the policy can actually be supported.
Don't bother checking that requested policy(s) can actually be satisfied, as
an incompatible policy doesn't put the kernel at risk in any way, and providing
guarantees with respect to the physical topology is outside of KVM's purview.

+1 -5
+1 -5
arch/x86/kvm/svm/sev.c
··· 2135 2135 return -EINVAL; 2136 2136 2137 2137 /* Check for policy bits that must be set */ 2138 - if (!(params.policy & SNP_POLICY_MASK_RSVD_MBO) || 2139 - !(params.policy & SNP_POLICY_MASK_SMT)) 2140 - return -EINVAL; 2141 - 2142 - if (params.policy & SNP_POLICY_MASK_SINGLE_SOCKET) 2138 + if (!(params.policy & SNP_POLICY_MASK_RSVD_MBO)) 2143 2139 return -EINVAL; 2144 2140 2145 2141 sev->policy = params.policy;