Re: [PATCH v3 3/4] hw/acpi/aml-build: Use existing CPU topology to build PPTT table

2022-04-03 Thread Gavin Shan
Hi Igor, On 3/30/22 10:10 PM, Igor Mammedov wrote: On Wed, 23 Mar 2022 15:24:37 +0800 Gavin Shan wrote: When the PPTT table is built, the CPU topology is re-calculated, but it's unecessary because the CPU topology has been populated in virt_possible_cpu_arch_ids() on arm/virt machine. This a

Re: [PATCH v3 3/4] hw/acpi/aml-build: Use existing CPU topology to build PPTT table

2022-03-30 Thread Igor Mammedov
On Wed, 23 Mar 2022 15:24:37 +0800 Gavin Shan wrote: > When the PPTT table is built, the CPU topology is re-calculated, but > it's unecessary because the CPU topology has been populated in > virt_possible_cpu_arch_ids() on arm/virt machine. > > This avoids to re-calculate the CPU topology by reu

[PATCH v3 3/4] hw/acpi/aml-build: Use existing CPU topology to build PPTT table

2022-03-23 Thread Gavin Shan
When the PPTT table is built, the CPU topology is re-calculated, but it's unecessary because the CPU topology has been populated in virt_possible_cpu_arch_ids() on arm/virt machine. This avoids to re-calculate the CPU topology by reusing the existing one in ms->possible_cpus. Currently, the only u