All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v6 0/4] Building PPTT with root node and identical implementation flag
@ 2025-06-04 11:52 Alireza Sanaee via
  2025-06-04 11:52 ` [PATCH v6 1/4] tests: virt: Allow changes to PPTT test table Alireza Sanaee via
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Alireza Sanaee via @ 2025-06-04 11:52 UTC (permalink / raw)
  To: mst
  Cc: anisinha, imammedo, jonathan.cameron, linuxarm, peter.maydell,
	prime.zeng, qemu-devel, shameerali.kolothum.thodi, wangyanan55,
	yangyicong, maobibo, gaosong, jiaxun.yang

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.

We observed an issue interacting with Loongarch with this patchset, and
there was a discussion about it in [3], and eventually thanks to Bibo we
have a patchset that fixed the interactions with Loongarch in the [4].

History:
    * v5->v6: Rebased on 09be8a511a2e278b45729d7b065d30c68dd699d0
    * v4->v5: fixed a typo
    * v3->v4: PPTT rev to 2
    * v2->v3: rebase to 10

[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
[3] https://lore.kernel.org/all/99a37f40-56dc-ab7a-86ff-1a9dcb3cc711@loongson.cn/
[4] https://lore.kernel.org/qemu-devel/20250604065502.1114098-1-maobibo@loongson.cn/

DEPEND-ON: Message-ID: <20250604065502.1114098-1-maobibo@loongson.cn>

Yicong Yang (4):
  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
  tests: virt: Update expected ACPI tables for virt test

 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.43.0



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2025-07-14 17:30 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-04 11:52 [PATCH v6 0/4] Building PPTT with root node and identical implementation flag Alireza Sanaee via
2025-06-04 11:52 ` [PATCH v6 1/4] tests: virt: Allow changes to PPTT test table Alireza Sanaee via
2025-06-04 11:52 ` [PATCH v6 2/4] hw/acpi/aml-build: Set identical implementation flag for PPTT processor nodes Alireza Sanaee via
2025-06-04 11:52 ` [PATCH v6 3/4] hw/acpi/aml-build: Build a root node in the PPTT table Alireza Sanaee via
2025-07-14 13:09   ` Michael S. Tsirkin
2025-07-14 14:10     ` Alireza Sanaee via
2025-07-14 15:57       ` Michael S. Tsirkin
2025-07-14 16:06         ` Alireza Sanaee via
2025-07-14 16:22           ` Michael S. Tsirkin
2025-07-14 16:09         ` Jonathan Cameron via
2025-07-14 16:23           ` Michael S. Tsirkin
2025-06-04 11:52 ` [PATCH v6 4/4] tests: virt: Update expected ACPI tables for virt test Alireza Sanaee via
2025-07-07  7:39 ` [PATCH v6 0/4] Building PPTT with root node and identical implementation flag Alireza Sanaee via

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.