diff options
author | Gavin Shan <gshan@redhat.com> | 2022-05-03 22:03:04 +0800 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2022-05-09 11:47:55 +0100 |
commit | ae9141d4a3265553503bf07d3574b40f84615a34 (patch) | |
tree | becab677abe9fe3f9d284c8549ad613b946ab9ee /accel | |
parent | 4c18bc192386dfbca530e7f550e0992df657818a (diff) | |
download | qemu-ae9141d4a3265553503bf07d3574b40f84615a34.zip qemu-ae9141d4a3265553503bf07d3574b40f84615a34.tar.gz qemu-ae9141d4a3265553503bf07d3574b40f84615a34.tar.bz2 |
hw/acpi/aml-build: Use existing CPU topology to build PPTT table
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 reworks build_pptt() to avoid by reusing the existing IDs in
ms->possible_cpus. Currently, the only user of build_pptt() is
arm/virt machine.
Signed-off-by: Gavin Shan <gshan@redhat.com>
Tested-by: Yanan Wang <wangyanan55@huawei.com>
Reviewed-by: Yanan Wang <wangyanan55@huawei.com>
Acked-by: Igor Mammedov <imammedo@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Message-id: 20220503140304.855514-7-gshan@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'accel')
0 files changed, 0 insertions, 0 deletions