[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[RFC 7/8] i386/pc: Support cache topology in -smp for PC machine
From: |
Zhao Liu |
Subject: |
[RFC 7/8] i386/pc: Support cache topology in -smp for PC machine |
Date: |
Tue, 20 Feb 2024 17:25:03 +0800 |
From: Zhao Liu <zhao1.liu@intel.com>
Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
---
hw/i386/pc.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/hw/i386/pc.c b/hw/i386/pc.c
index 25124a077eea..76148c3337cf 100644
--- a/hw/i386/pc.c
+++ b/hw/i386/pc.c
@@ -1848,6 +1848,9 @@ static void pc_machine_class_init(ObjectClass *oc, void
*data)
mc->nvdimm_supported = true;
mc->smp_props.dies_supported = true;
mc->smp_props.modules_supported = true;
+ mc->smp_props.l1_separated_cache_supported = true;
+ mc->smp_props.l2_unified_cache_supported = true;
+ mc->smp_props.l3_unified_cache_supported = true;
mc->default_ram_id = "pc.ram";
pcmc->default_smbios_ep_type = SMBIOS_ENTRY_POINT_TYPE_64;
--
2.34.1
- Re: [RFC 4/8] hw/core: Add cache topology options in -smp, (continued)