Re: [PATCH v2 2/5] KVM: x86: Expose Zhaoxin CCS (SM3 + SM4) CPUID feature

From: Ewan Hai

Date: Tue Jun 02 2026 - 03:52:00 EST


On Tue, Jun 2, 2026 at 3:30 PM Binbin Wu <binbin.wu@xxxxxxxxxxxxxxx> wrote:
>
>
>
> On 5/28/2026 11:22 AM, Ewan Hai wrote:
> > Advertise the Zhaoxin CCS (Chinese Cryptography Standard) feature to
> > guests via CPUID 0xC0000001 EDX bits 4 (CCS) and 5 (CCS_EN). CCS groups
> > two user-mode instructions for Chinese national cryptographic
> ^
> Nit:
> It's supposed to be replaced?
>

Good catch, thanks. Sweeping the series I also found the same
"user-mode" leftover in patch 5 (RSA) , "provides two user-mode
instructions for modular arithmetic on big integers". Will tighten
patch 2, 4, and 5 to "unprivileged" in v3.