[PATCH v4 0/4] Building PPTT with root node and identical implementation flag

Alireza Sanaee via posted 4 patches 6 months, 3 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20250424122439.550-1-alireza.sanaee@huawei.com
Maintainers: "Michael S. Tsirkin" <mst@redhat.com>, Igor Mammedov <imammedo@redhat.com>, Ani Sinha <anisinha@redhat.com>
There is a newer version of this series
hw/acpi/aml-build.c                           |  24 +++++++++++++++---
tests/data/acpi/aarch64/virt/PPTT             | Bin 76 -> 96 bytes
.../data/acpi/aarch64/virt/PPTT.acpihmatvirt  | Bin 156 -> 176 bytes
tests/data/acpi/aarch64/virt/PPTT.topology    | Bin 336 -> 356 bytes
4 files changed, 20 insertions(+), 4 deletions(-)
[PATCH v4 0/4] Building PPTT with root node and identical implementation flag
Posted by Alireza Sanaee via 6 months, 3 weeks ago
OS like Linux is using PPTT processor node's identical implementation
flag [1] to infer whether the whole system or a certain CPU cluster is
homogeneous or not [2]. QEMU currently only support building homogeneous
system, set the flag to indicate the fact. Build a root node in PPTT for
indicates the identical implementation which is needed for a
multi-socket system. Update the related PPTT tables as well.

[1] ACPI 6.5 Table 5.158: Processor Structure Flags
[2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/acpi/pptt.c?h=v6.11-rc1#n810

History:
    * v3->v4: PPTT rev to 2

    * v2->v3: rebase to 10

Alireza Sanaee (1):
  tests: virt: Update expected ACPI tables for virt test

Yicong Yang (3):
  tests: virt: Allow changes to PPTT test table
  hw/acpi/aml-build: Set identical implementation flag for PPTT
    processor nodes
  hw/acpi/aml-build: Build a root node in the PPTT table

 hw/acpi/aml-build.c                           |  24 +++++++++++++++---
 tests/data/acpi/aarch64/virt/PPTT             | Bin 76 -> 96 bytes
 .../data/acpi/aarch64/virt/PPTT.acpihmatvirt  | Bin 156 -> 176 bytes
 tests/data/acpi/aarch64/virt/PPTT.topology    | Bin 336 -> 356 bytes
 4 files changed, 20 insertions(+), 4 deletions(-)

-- 
2.34.1