[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZwZnhGfSPHTz64dm@lx-t490>
Date: Wed, 9 Oct 2024 13:22:44 +0200
From: "Ahmed S. Darwish" <darwi@...utronix.de>
To: Tony W Wang-oc <TonyWWang-oc@...oxin.com>, x86-cpuid@...ts.linux.dev
Cc: terry.bowman@....com, bp@...en8.de, feng.tang@...el.com,
linux-kernel@...r.kernel.org, CobeChen@...oxin.com,
TimGuo@...oxin.com, LeoLiu-oc@...oxin.com
Subject: Re: [PATCH] tools/x86/kcpuid: Add extended CPUID leaf 0xc0000001
support
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
Powered by blists - more mailing lists