On Thu, Jul 04, 2024 at 07:25:08AM -0400, EwanHai wrote: > Date: Thu, 4 Jul 2024 07:25:08 -0400 > From: EwanHai <ewanhai...@zhaoxin.com> > Subject: [PATCH v2 1/4] target/i386: Add support for Zhaoxin CPU vendor > identification > X-Mailer: git-send-email 2.34.1 > > Zhaoxin currently uses two vendors: "Shanghai" and "Centaurhauls". > It is important to note that the latter now belongs to Zhaoxin. Therefore, > this patch replaces CPUID_VENDOR_VIA with CPUID_VENDOR_ZHAOXIN1. > > The previous CPUID_VENDOR_VIA macro was only defined but never used in > QEMU, making this change straightforward. > > Additionally, the IS_ZHAOXIN_CPU macro has been added to simplify the > checks for Zhaoxin CPUs. > > Signed-off-by: EwanHai <ewanhai...@zhaoxin.com> > --- > target/i386/cpu.h | 20 +++++++++++++++++++- > 1 file changed, 19 insertions(+), 1 deletion(-)
Reviewed-by: Zhao Liu <zhao1....@intel.com>