[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[RFC v2 6/7] i386/pc: Support cache topology in -smp for PC machine
From: |
Zhao Liu |
Subject: |
[RFC v2 6/7] i386/pc: Support cache topology in -smp for PC machine |
Date: |
Thu, 30 May 2024 18:15:38 +0800 |
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 7b638da7aaa8..2e03b33a4116 100644
--- a/hw/i386/pc.c
+++ b/hw/i386/pc.c
@@ -1844,6 +1844,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_AUTO;
--
2.34.1
- [RFC v2 0/7] Introduce SMP Cache Topology, Zhao Liu, 2024/05/30
- [RFC v2 1/7] hw/core: Make CPU topology enumeration arch-agnostic, Zhao Liu, 2024/05/30
- [RFC v2 2/7] hw/core: Define cache topology for machine, Zhao Liu, 2024/05/30
- [RFC v2 3/7] hw/core: Add cache topology options in -smp, Zhao Liu, 2024/05/30
- [RFC v2 4/7] i386/cpu: Support thread and module level cache topology, Zhao Liu, 2024/05/30
- [RFC v2 6/7] i386/pc: Support cache topology in -smp for PC machine,
Zhao Liu <=
- [RFC v2 5/7] i386/cpu: Update cache topology with machine's configuration, Zhao Liu, 2024/05/30
- [RFC v2 7/7] qemu-options: Add the cache topology description of -smp, Zhao Liu, 2024/05/30