Unverified Commit 77caa0f8 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!3098 [OLK-6.6] Add support for Zhaoxin Processors

Merge Pull Request from: @leoliu-oc 
 
Let Linux supports new Zhaoxin CPU features and "  Shanghai  " CPU vendor ID; 
let related drivers supports new Zhaoxin CPU FMS. 
Fix a CPU topo limitation of Installed kernel use CPUID B leaf to get CPU topo as default, 
add 4leaf get CPU cacheinfo additionally.

Note:
Support for the Zhaoxin processor includes two vendor IDs, zhaoxin and centaur, so we will synchronously modify centaur.c and zhaoxin.c.

Include:
1. x86/cpufeatures: Add Zhaoxin feature bits
2. x86/cpu: Add detect extended topology for Zhaoxin CPUs

## Test
1. Pass: cpu featrue flags is displayed correctly
2. Pass: Topology logic information is displayed correctly


### Issue
https://gitee.com/openeuler/kernel/issues/I8WS73

 
 
Link:https://gitee.com/openeuler/kernel/pulls/3098

 

Reviewed-by: default avatarAichun Shi <aichun.shi@intel.com>
Reviewed-by: default avatarJason Zeng <jason.zeng@intel.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parents a662a03b 2028f308
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment