!351 AMD: Fix cpu capabilities incorrect detection bug.
Merge Pull Request from: @haochengxie Below AMD platform features are incorrect detected: X86_FEATURE_SME, X86_FEATURE_SEV, X86_FEATURE_VM_PAGE_FLUSH, X86_FEATURE_SEV_ES, X86_FEATURE_SME_COHERENT This bug is introduced by commit ac376dd8. The definition and use of CPUID_8000_001F_EAX will cause c.x86_capability get a conflict wrong value. Link:https://gitee.com/openeuler/kernel/pulls/351 Reviewed-by: Zheng Zengkai <zhengzengkai@huawei.com> Signed-off-by: Zheng Zengkai <zhengzengkai@huawei.com>
Showing
想要评论请 注册 或 登录