All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/4] target/i386: Add Zhaoxin Shijidadao CPU model
@ 2026-08-26  8:48 Ewan Hai-oc
  2026-08-26  8:48 ` [PATCH v4 1/4] target/i386: Add cache model for Zhaoxin Shijidadao vCPUs Ewan Hai-oc
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Ewan Hai-oc @ 2026-08-26  8:48 UTC (permalink / raw)
  To: qemu-devel; +Cc: pbonzini, zhao1.liu, ewanhai, cobechen, Ewan Hai

Add CPU models for the Zhaoxin Shijidadao server (v1) and client (v2),
including their cache topology.  The matching KVM support for SM2, CCS,
RNG2, PHE2 and RSA is queued in the KVM next branch.

The series also adds YongFeng-v4 with the same five feature pairs.

TCG does not currently implement these instructions.  TCG_EXT4_FEATURES
remains zero, so QEMU filters the new bits from realized TCG CPUs.

The Shijidadao models expose CPUID leaf 0x1f.  A related fix for invalid
subleaf handling under TCG is available here:
https://lore.kernel.org/qemu-devel/20260609090046.2376016-1-ewanhai-oc@zhaoxin.com/

Changes since v3:
- Rebased to the 11.2 development tree.
- Added QEMU definitions for the five feature pairs now available
  through KVM.
- Enabled the new CPUID 0xC0000001 EDX feature pairs in the Shijidadao
  models and adjusted the server and client feature sets to match their
  respective silicon.
- Added YongFeng-v4 with the same feature set.

v3:
https://lore.kernel.org/all/20260109021028.83985-1-ewanhai-oc@zhaoxin.com/

KVM feature series:
https://lore.kernel.org/all/20260610023512.3690734-1-ewanhai-oc@zhaoxin.com/

Ewan Hai (4):
  target/i386: Add cache model for Zhaoxin Shijidadao vCPUs
  target/i386: Add Zhaoxin cryptographic CPUID features
  target/i386: Introduce Zhaoxin Shijidadao CPU model
  target/i386: Enable new cryptographic features in YongFeng-v4

 target/i386/cpu.c | 284 ++++++++++++++++++++++++++++++++++++++++++++--
 target/i386/cpu.h |  20 ++++
 2 files changed, 295 insertions(+), 9 deletions(-)

-- 
2.34.1



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-09-02 12:39 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-26  8:48 [PATCH v4 0/4] target/i386: Add Zhaoxin Shijidadao CPU model Ewan Hai-oc
2026-08-26  8:48 ` [PATCH v4 1/4] target/i386: Add cache model for Zhaoxin Shijidadao vCPUs Ewan Hai-oc
2026-08-26  8:48 ` [PATCH v4 2/4] target/i386: Add Zhaoxin cryptographic CPUID features Ewan Hai-oc
2026-09-02 12:38   ` Zhao Liu
2026-08-26  8:48 ` [PATCH v4 3/4] target/i386: Introduce Zhaoxin Shijidadao CPU model Ewan Hai-oc
2026-09-02 12:39   ` Zhao Liu
2026-08-26  8:48 ` [PATCH v4 4/4] target/i386: Enable new cryptographic features in YongFeng-v4 Ewan Hai-oc
2026-09-02 12:39   ` Zhao Liu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.