-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[linux-6.6.y] Add support for Zhaoxin Processors #253
[linux-6.6.y] Add support for Zhaoxin Processors #253
Conversation
Hi @leoliu-oc. Thanks for your PR. 😃 |
Hi @leoliu-oc. Thanks for your PR. I'm waiting for a deepin-community member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
5e6efc4
to
f89189f
Compare
/ok-to-test |
arch/x86/include/asm/cpufeatures.h
Outdated
@@ -148,6 +148,8 @@ | |||
/* VIA/Cyrix/Centaur-defined CPU features, CPUID level 0xC0000001, word 5 */ | |||
#define X86_FEATURE_XSTORE ( 5*32+ 2) /* "rng" RNG present (xstore) */ | |||
#define X86_FEATURE_XSTORE_EN ( 5*32+ 3) /* "rng_en" RNG enabled */ | |||
#define X86_FEATURE_CCS (5*32+4) /* "sm3 sm4" present */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个(532+4)相比( 532+ 3) 格式不对。下面也需要改。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
未与文档既定格式保持一致的原因,是因为会导致checkpatch.pl脚本检查不通过。不过,这边会按照建议修改。
zhaoxin inclusion category: feature ------------------- Add Zhaoxin feature bits on Zhaoxin CPUs. Signed-off-by: leoliu-oc <[email protected]>
zhaoxin inclusion category: feature ------------------- Detect the extended topology information of Zhaoxin CPUs if available. Signed-off-by: leoliu-oc <[email protected]>
f89189f
to
28abea9
Compare
deepin pr auto review关键摘要:
是否建议立即修改: |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: opsiff The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm |
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: