i386/cpu: Support module level cache topology
authorZhao Liu <zhao1.liu@intel.com>
Fri, 10 Jan 2025 14:51:12 +0000 (22:51 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 25 Feb 2025 15:18:12 +0000 (16:18 +0100)
commit2152b4bfcd91d7d8b99cd502ed049b0ab8e38649
treeeb37492ffa72d024a08fce63ad40d0e6fd8873c9
parentd556226d6965738e06a1d75faaf271b769bb5880
i386/cpu: Support module level cache topology

Allow cache to be defined at the module level. This increases
flexibility for x86 users to customize their cache topology.

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>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Link: https://lore.kernel.org/r/20250110145115.1574345-3-zhao1.liu@intel.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/cpu.c