Unverified Commit 9c6e4268 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!350 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/350

 

Reviewed-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parents 83934cde 43e0f91f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment