]> git.ipfire.org Git - thirdparty/qemu.git/commit
hmat acpi: Build Memory Proximity Domain Attributes Structure(s)
authorLiu Jingqi <jingqi.liu@intel.com>
Fri, 13 Dec 2019 01:19:25 +0000 (09:19 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 5 Jan 2020 12:03:03 +0000 (07:03 -0500)
commite6f123c3b81241be33f1b763d0ff8b36d1ae9c1e
treecd526e4488255affe162f4727587579847b59857
parentc412a48d4d91e8f8b89aae02de0f44f1f0b729e5
hmat acpi: Build Memory Proximity Domain Attributes Structure(s)

HMAT is defined in ACPI 6.3: 5.2.27 Heterogeneous Memory Attribute Table
(HMAT). The specification references below link:
http://www.uefi.org/sites/default/files/resources/ACPI_6_3_final_Jan30.pdf

It describes the memory attributes, such as memory side cache
attributes and bandwidth and latency details, related to the
Memory Proximity Domain. The software is
expected to use this information as hint for optimization.

This structure describes Memory Proximity Domain Attributes by memory
subsystem and its associativity with processor proximity domain as well as
hint for memory usage.

In the linux kernel, the codes in drivers/acpi/hmat/hmat.c parse and report
the platform's HMAT tables.

Acked-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Daniel Black <daniel@linux.ibm.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Liu Jingqi <jingqi.liu@intel.com>
Signed-off-by: Tao Xu <tao3.xu@intel.com>
Message-Id: <20191213011929.2520-5-tao3.xu@intel.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/acpi/Kconfig
hw/acpi/Makefile.objs
hw/acpi/hmat.c [new file with mode: 0644]
hw/acpi/hmat.h [new file with mode: 0644]
hw/i386/acpi-build.c