qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] Building PPTT with root node and identical implementation flag
@ 2024-09-26 11:33 Yicong Yang via
  2024-09-26 11:33 ` [PATCH 1/5] tests: virt: Allow changes to PPTT test table Yicong Yang via
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Yicong Yang via @ 2024-09-26 11:33 UTC (permalink / raw)
  To: mst, imammedo, peter.maydell, wangyanan55, anisinha,
	jonathan.cameron, qemu-devel
  Cc: shameerali.kolothum.thodi, alireza.sanaee, prime.zeng, yangyicong,
	linuxarm

From: Yicong Yang <yangyicong@hisilicon.com>

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.

Since we'll update the test PPTT table data, upgrade the revision of PPTT
we build to revision 3 by handy.

[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

Yicong Yang (5):
  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: Update the revision of PPTT table
  tests: virt: Update expected ACPI tables for virt test

 hw/acpi/aml-build.c                           |  26 ++++++++++++++----
 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, 21 insertions(+), 5 deletions(-)

-- 
2.24.0



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

end of thread, other threads:[~2024-10-04 10:08 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-26 11:33 [PATCH 0/5] Building PPTT with root node and identical implementation flag Yicong Yang via
2024-09-26 11:33 ` [PATCH 1/5] tests: virt: Allow changes to PPTT test table Yicong Yang via
2024-09-26 11:33 ` [PATCH 2/5] hw/acpi/aml-build: Set identical implementation flag for PPTT processor nodes Yicong Yang via
2024-09-26 11:33 ` [PATCH 3/5] hw/acpi/aml-build: Build a root node in the PPTT table Yicong Yang via
2024-09-26 11:33 ` [PATCH 4/5] hw/acpi/aml-build: Update the revision of " Yicong Yang via
2024-09-26 11:33 ` [PATCH 5/5] tests: virt: Update expected ACPI tables for virt test Yicong Yang via
2024-10-04  9:59 ` [PATCH 0/5] Building PPTT with root node and identical implementation flag Jonathan Cameron via
2024-10-04 10:07   ` Alireza Sanaee via

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).