qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] target/i386: Add support for Zhaoxin Shijidadao vCPU models
@ 2025-09-23  2:11 Ewan Hai
  2025-09-23  2:11 ` [PATCH 1/3] target/i386: Add cache model for Zhaoxin Shijidadao vCPUs Ewan Hai
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Ewan Hai @ 2025-09-23  2:11 UTC (permalink / raw)
  To: pbonzini, zhao1.liu; +Cc: qemu-devel

This patchset introduces cache enumeration and two vCPU models (Client
and Server) for the Zhaoxin "Shijidadao" architecture. With these
additions, QEMU can expose the core identity and features of this
architecture without relying on host-passthrough.

There are several points that may need particular attention from
maintainers:

1. The Shijidadao-Client model uses '.version = 1' to represent the
   hardware v1 revision, with 'version=2' added to capture v2
   differences. Please check whether this usage aligns with existing
   versioning practices.

2. For both Shijidadao-Client and Shijidadao-Server, the
   "x-force-cpuid-0x1f" feature is placed under the version 1
   definition. At present there is no mechanism to represent this
   feature via `.features[index]` in the default model definition,
   so attaching it to v1 is the only available option. Feedback on
   whether this placement is acceptable would be appreciated.

3. The Shijidadao-Server model enables the 'core-capability' bit by
   default, but KVM does not yet virtualize the corresponding MSR.
   Guidance on whether this setting should remain in the model is
   requested.

Thanks for your time reviewing this series!

Ewan Hai (3):
  target/i386: Add cache model for Zhaoxin Shijidadao vCPUs
  target/i386: Introduce Zhaoxin Shijidadao-Client CPU model
  target/i386: Introduce Zhaoxin Shijidadao-Server CPU model

 target/i386/cpu.c | 385 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 385 insertions(+)

-- 
2.34.1



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

end of thread, other threads:[~2025-10-27  5:52 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-23  2:11 [PATCH 0/3] target/i386: Add support for Zhaoxin Shijidadao vCPU models Ewan Hai
2025-09-23  2:11 ` [PATCH 1/3] target/i386: Add cache model for Zhaoxin Shijidadao vCPUs Ewan Hai
2025-09-23  2:11 ` [PATCH 2/3] target/i386: Introduce Zhaoxin Shijidadao-Client CPU model Ewan Hai
2025-09-23  2:11 ` [PATCH 3/3] target/i386: Introduce Zhaoxin Shijidadao-Server " Ewan Hai
2025-10-24  7:15   ` Zhao Liu
2025-10-27  3:42     ` Ewan Hai
2025-10-27  6:14       ` Zhao Liu
2025-10-24  7:18   ` [PATCH] i386/cpu: Add an option in X86CPUDefinition to control CPUID 0x1f Zhao Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).