Re: [RFC 12/52] hw/acpi: Replace MachineState.smp access with topology helpers

2023-02-16 Thread wangyanan (Y)
在 2023/2/17 11:14, Zhao Liu 写道: On Thu, Feb 16, 2023 at 05:31:11PM +0800, wangyanan (Y) wrote: Date: Thu, 16 Feb 2023 17:31:11 +0800 From: "wangyanan (Y)" Subject: Re: [RFC 12/52] hw/acpi: Replace MachineState.smp access with topology helpers Hi Zhao, 在 2023/2/13 17:49, Zhao Liu

Re: [RFC 12/52] hw/acpi: Replace MachineState.smp access with topology helpers

2023-02-16 Thread Zhao Liu
On Thu, Feb 16, 2023 at 05:31:11PM +0800, wangyanan (Y) wrote: > Date: Thu, 16 Feb 2023 17:31:11 +0800 > From: "wangyanan (Y)" > Subject: Re: [RFC 12/52] hw/acpi: Replace MachineState.smp access with > topology helpers > > Hi Zhao, > > 在 2023/2/13 17:4

Re: [RFC 12/52] hw/acpi: Replace MachineState.smp access with topology helpers

2023-02-16 Thread wangyanan (Y)
Hi Zhao, 在 2023/2/13 17:49, Zhao Liu 写道: From: Zhao Liu At present, in QEMU only arm needs PPTT table to build cpu topology. Before QEMU's arm supports hybrid architectures, it's enough to limit the cpu topology of PPTT to smp type through the explicit smp interface

[RFC 12/52] hw/acpi: Replace MachineState.smp access with topology helpers

2023-02-13 Thread Zhao Liu
From: Zhao Liu At present, in QEMU only arm needs PPTT table to build cpu topology. Before QEMU's arm supports hybrid architectures, it's enough to limit the cpu topology of PPTT to smp type through the explicit smp interface (machine_topo_get_smp_threads()). Cc: Michael S. Tsirkin Cc: Igor