+1
−0
Loading
Merge Pull Request from: @zhiquan1-li **Description** When SGX EDECCSSA support was added to KVM in commit 16a7fe37 ("KVM/VMX: Allow exposing EDECCSSA user leaf function to KVM guest"), it forgot to clear the X86_FEATURE_SGX_EDECCSSA bit in KVM CPU caps when KVM SGX is disabled. Fix it. Fixes: 16a7fe37 ("KVM/VMX: Allow exposing EDECCSSA user leaf function to KVM guest") **Intel-Kernel Issue** https://gitee.com/openeuler/intel-kernel/issues/IB21Q3 **About the patch** The content of the patch is the same as upstream. There is 1 patch, this is the commit list from upstream: ```c 7efb4d8a392a KVM: VMX: Also clear SGX EDECCSSA in KVM CPU caps when SGX is disabled ``` **Test** Test on EMR Platform - Built and run the kernel successfully - Kernel selftest - SGX on host: PASS - Kernel selftest - SGX on guest: PASS **Known Issue** N/A **Default config change** N/A **References** - https://lore.kernel.org/r/20240905120837.579102-1-kai.huang@intel.com Link:https://gitee.com/openeuler/kernel/pulls/13013 Reviewed-by:Jason Zeng <jason.zeng@intel.com> Reviewed-by:
Kevin Zhu <zhukeqian1@huawei.com> Signed-off-by:
Yang Yingliang <yangyingliang@huawei.com>