From: Andrew Jones <drjones@redhat.com>
To: qemu-devel@nongnu.org, qemu-arm@nongnu.org
Cc: zhaoshenglong@huawei.com, peter.maydell@linaro.org
Subject: [Qemu-devel] [PATCH 1/2] hw/arm/virt-acpi-build: build SLIT when needed
Date: Mon, 29 May 2017 19:37:50 +0200 [thread overview]
Message-ID: <20170529173751.3443-2-drjones@redhat.com> (raw)
In-Reply-To: <20170529173751.3443-1-drjones@redhat.com>
Cc: Shannon Zhao <zhaoshenglong@huawei.com>
Signed-off-by: Andrew Jones <drjones@redhat.com>
---
hw/arm/virt-acpi-build.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/hw/arm/virt-acpi-build.c b/hw/arm/virt-acpi-build.c
index e5852067f5bd..2079828c22a4 100644
--- a/hw/arm/virt-acpi-build.c
+++ b/hw/arm/virt-acpi-build.c
@@ -776,6 +776,10 @@ void virt_acpi_build(VirtMachineState *vms, AcpiBuildTables *tables)
if (nb_numa_nodes > 0) {
acpi_add_table(table_offsets, tables_blob);
build_srat(tables_blob, tables->linker, vms);
+ if (have_numa_distance) {
+ acpi_add_table(table_offsets, tables_blob);
+ build_slit(tables_blob, tables->linker);
+ }
}
if (its_class_name() && !vmc->no_its) {
--
2.9.4
next prev parent reply other threads:[~2017-05-29 17:38 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-29 17:37 [Qemu-devel] [PATCH 0/2] hw/arm/virt: numa: provide distance info when needed Andrew Jones
2017-05-29 17:37 ` Andrew Jones [this message]
2017-05-30 6:58 ` [Qemu-devel] [PATCH 1/2] hw/arm/virt-acpi-build: build SLIT " Igor Mammedov
2017-05-31 1:17 ` Shannon Zhao
2017-05-29 17:37 ` [Qemu-devel] [PATCH 2/2] hw/arm/virt: fdt: generate distance-map " Andrew Jones
2017-05-31 1:16 ` Shannon Zhao
2017-06-01 16:28 ` [Qemu-devel] [PATCH 0/2] hw/arm/virt: numa: provide distance info " Peter Maydell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170529173751.3443-2-drjones@redhat.com \
--to=drjones@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=zhaoshenglong@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).