* Re: [PATCH] tools/x86/kcpuid: Add extended CPUID leaf 0xc0000001 support
[not found] <20230530025922.4801-1-TonyWWang-oc@zhaoxin.com>
@ 2024-10-09 11:22 ` Ahmed S. Darwish
0 siblings, 0 replies; only message in thread
From: Ahmed S. Darwish @ 2024-10-09 11:22 UTC (permalink / raw)
To: Tony W Wang-oc, x86-cpuid
Cc: terry.bowman, bp, feng.tang, linux-kernel, CobeChen, TimGuo,
LeoLiu-oc
Hi Tony,
On Tue, 30 May 2023, Tony W Wang-oc wrote:
>
> CPUID leaf 0xc0000001 EDX bit2/3/6-13 are used by VIA/Cyrix/
> Centaur to defined CPU features.
>
> Zhaoxin use CPUID leaf 0xc0000001 EDX as:
> CPUID.(EAX=0xc0000001,ECX=0):EDX[bit 0] SM2
> CPUID.(EAX=0xc0000001,ECX=0):EDX[bit 1] SM2_EN
> CPUID.(EAX=0xc0000001,ECX=0):EDX[bit 4] SM3 SM4
> CPUID.(EAX=0xc0000001,ECX=0):EDX[bit 5] SM3_EN SM4_EN
> CPUID.(EAX=0xc0000001,ECX=0):EDX[bit 16] PARALLAX
> CPUID.(EAX=0xc0000001,ECX=0):EDX[bit 17] PARALLAX_EN
> CPUID.(EAX=0xc0000001,ECX=0):EDX[bit 20] TM3
> CPUID.(EAX=0xc0000001,ECX=0):EDX[bit 21] TM3_EN
> CPUID.(EAX=0xc0000001,ECX=0):EDX[bit 22] RNG2
> CPUID.(EAX=0xc0000001,ECX=0):EDX[bit 23] RNG2_EN
> CPUID.(EAX=0xc0000001,ECX=0):EDX[bit 25] PHE2
> CPUID.(EAX=0xc0000001,ECX=0):EDX[bit 26] PHE2_EN
> CPUID.(EAX=0xc0000001,ECX=0):EDX[bit 27] RSA
> CPUID.(EAX=0xc0000001,ECX=0):EDX[bit 28] RSA_EN
>
Just a short note. I've added these bits to the x86-cpuid-db database:
https://gitlab.com/x86-cpuid.org/x86-cpuid-db/-/blob/tip/db/xml/leaf_c0000001.xml
And they're now part of the project's v2.0 release:
https://lore.kernel.org/x86-cpuid/ZwU0HtmCTj2rF2T8@lx-t490
I shall send a kcpuid PQ with the updated CSV at a later step.
Thanks,
--
Ahmed S. Darwish
Linutronix GmbH
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-10-09 11:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20230530025922.4801-1-TonyWWang-oc@zhaoxin.com>
2024-10-09 11:22 ` [PATCH] tools/x86/kcpuid: Add extended CPUID leaf 0xc0000001 support Ahmed S. Darwish
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox