]> www.infradead.org Git - users/dwmw2/qemu.git/commit
hw/core: Check smp cache topology support for machine
authorZhao Liu <zhao1.liu@intel.com>
Fri, 1 Nov 2024 08:33:26 +0000 (16:33 +0800)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 5 Nov 2024 23:32:25 +0000 (23:32 +0000)
commitf35c0221fef864e65db7641bb041c5f913e31475
tree44251a82c50c20412b291170219db56fcfdda9d2
parent4e88e7e3403df23a0fd7a95daad1f00da80bcf81
hw/core: Check smp cache topology support for machine

Add cache_supported flags in SMPCompatProps to allow machines to
configure various caches support.

And check the compatibility of the cache properties with the
machine support in machine_parse_smp_cache().

Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
Tested-by: Yongwei Ma <yongwei.ma@intel.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Message-ID: <20241101083331.340178-5-zhao1.liu@intel.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/core/machine-smp.c
include/hw/boards.h