summary refs log tree commit diff stats
path: root/rust/qemu-api/src/callbacks.rs
diff options
context:
space:
mode:
authorYicong Yang <yangyicong@hisilicon.com>2025-07-14 18:31:44 +0100
committerMichael S. Tsirkin <mst@redhat.com>2025-07-15 02:56:40 -0400
commitec57e4778e3c64d17d57e629a0c37209ff36900b (patch)
tree51cbaf4cba16f865ff21a318a83bbfb83c639e3c /rust/qemu-api/src/callbacks.rs
parentce1b67acd6fa6b3cc959340b2b45a96b1b809c76 (diff)
downloadfocaccia-qemu-ec57e4778e3c64d17d57e629a0c37209ff36900b.tar.gz
focaccia-qemu-ec57e4778e3c64d17d57e629a0c37209ff36900b.zip
hw/acpi/aml-build: Set identical implementation flag for PPTT processor nodes
Per ACPI 6.5 Table 5.158: Processor Structure Flags, the identical
implementation flag indicates whether all the children processors
of this node share the same identical implementation revision.
Currently Linux support parsing this field [1] and maybe used to
identify the heterogeneous platform. Since qemu only support
homogeneous emulation, set this flag for all the processor node
to indicates the facts when building the PPTT table. Node leaf
is an exception since spec says this flag should be ignored
on leaf nodes by OSPM.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/acpi/pptt.c?h=v6.11-rc1#n810

Signed-off-by: Yicong Yang <yangyicong@hisilicon.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Alireza Sanaee <alireza.sanaee@huawei.com>
Message-Id: <20250714173146.511-3-alireza.sanaee@huawei.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'rust/qemu-api/src/callbacks.rs')
0 files changed, 0 insertions, 0 deletions