Re: [PATCH v3 0/5] KVM: x86: Expose Zhaoxin CPUID 0xC0000001 EDX cryptographic features

From: Sean Christopherson

Date: Tue Jul 14 2026 - 15:38:25 EST


On Wed, 10 Jun 2026 10:35:07 +0800, Ewan Hai-oc wrote:
> This series exposes five groups of Zhaoxin-specific CPUID 0xC0000001 EDX
> feature bits to KVM guests. Each group corresponds to a category of
> unprivileged cryptographic or RNG instructions that have been present in
> Zhaoxin processors but not yet advertised by KVM.
>
> All instructions covered here are unprivileged (no CPL restriction) and
> available in all CPU modes (real / V86 / compat / protected / long), with
> no associated MSR control. Each feature is reported as a (X, X_EN) pair
> where the two bits are redundant by hardware design (set or cleared
> together), and both are CPUID-level reporting bits requiring no KVM
> emulation.
>
> [...]

Applied to kvm-x86 misc, thanks!

[1/5] KVM: x86: Expose Zhaoxin SM2 CPUID feature
https://github.com/kvm-x86/linux/commit/d99fc2a7c5e2
[2/5] KVM: x86: Expose Zhaoxin CCS (SM3 + SM4) CPUID feature
https://github.com/kvm-x86/linux/commit/3ee865eb696f
[3/5] KVM: x86: Expose Zhaoxin RNG2 CPUID feature
https://github.com/kvm-x86/linux/commit/93134f14106b
[4/5] KVM: x86: Expose Zhaoxin PHE2 CPUID feature
https://github.com/kvm-x86/linux/commit/54db9aaacc2a
[5/5] KVM: x86: Expose Zhaoxin RSA CPUID feature
https://github.com/kvm-x86/linux/commit/dcfb0f2c067a

--
https://github.com/kvm-x86/linux/tree/next