From: David Kiarie <davidkiarie4@gmail.com>
To: qemu-devel@nongnu.org, rkrcmar@redhat.com, mst@redhat.com,
peterx@redhat.com, alex.williamson@redhat.com, jan.kiszka@web.de,
pbonzini@redhat.com
Cc: David Kiarie <davidkiarie4@gmail.com>
Subject: [Qemu-devel] [V5 5/6] hw/acpi: report IOAPIC on IVRS
Date: Tue, 20 Sep 2016 20:40:45 +0300 [thread overview]
Message-ID: <1474393246-29085-6-git-send-email-davidkiarie4@gmail.com> (raw)
In-Reply-To: <1474393246-29085-1-git-send-email-davidkiarie4@gmail.com>
Report IOAPIC via IVRS which effectively allows linux AMD-Vi
driver to enable interrupt remapping
Signed-off-by: David Kiarie <davidkiarie4@gmail.com>
---
hw/i386/acpi-build.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c
index c20bc71..c9bee8f 100644
--- a/hw/i386/acpi-build.c
+++ b/hw/i386/acpi-build.c
@@ -2615,6 +2615,8 @@ build_amd_iommu(GArray *table_data, BIOSLinker *linker)
* Refer to Spec - Table 95:IVHD Device Entry Type Codes(4-byte)
*/
build_append_int_noprefix(table_data, 0x0000001, 4);
+ /* IOAPIC represented as an 8-byte entry. Spec v2.62 Tables 97 */
+ build_append_int_noprefix(table_data, 0x0100a000cf000048, 8);
build_header(linker, table_data, (void *)(table_data->data + iommu_start),
"IVRS", table_data->len - iommu_start, 1, NULL, NULL);
--
2.1.4
next prev parent reply other threads:[~2016-09-20 17:42 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-20 17:40 [Qemu-devel] [V5 0/6] AMD IOMMU interrupt remapping David Kiarie
2016-09-20 17:40 ` [Qemu-devel] [V5 1/6] hw/msi: Allow platform devices to use explicit SID David Kiarie
2016-10-09 22:11 ` Michael S. Tsirkin
2016-10-10 8:34 ` Paolo Bonzini
2016-10-19 6:58 ` David Kiarie
2016-09-20 17:40 ` [Qemu-devel] [V5 2/6] hw/i386: enforce SID verification David Kiarie
2016-09-20 17:40 ` [Qemu-devel] [V5 3/6] hw/iommu: Prepare for AMD IOMMU interrupt remapping David Kiarie
2016-09-20 17:40 ` [Qemu-devel] [V5 4/6] hw/iommu: " David Kiarie
2016-09-20 17:40 ` David Kiarie [this message]
2016-09-20 17:40 ` [Qemu-devel] [V5 6/6] hw/iommu: share common code between IOMMUs David Kiarie
2016-09-30 4:52 ` [Qemu-devel] [V5 0/6] AMD IOMMU interrupt remapping David Kiarie
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=1474393246-29085-6-git-send-email-davidkiarie4@gmail.com \
--to=davidkiarie4@gmail.com \
--cc=alex.williamson@redhat.com \
--cc=jan.kiszka@web.de \
--cc=mst@redhat.com \
--cc=pbonzini@redhat.com \
--cc=peterx@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=rkrcmar@redhat.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).