]> xenbits.xensource.com Git - xen.git/commit
x86/ACPI: also parse AMD IOMMU tables early
authorJan Beulich <jbeulich@suse.com>
Mon, 8 Apr 2019 11:03:07 +0000 (13:03 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 8 Apr 2019 11:03:07 +0000 (13:03 +0200)
commit9fa94e1058543759a7d45237f06c80cde3008d41
tree10407ad1399a77ab48f3d554e39b867edb1038a3
parent7a01cfaeb0f642a573da1e2707cfe0b43f08bab7
x86/ACPI: also parse AMD IOMMU tables early

In order to be able to initialize x2APIC mode we need to parse
respective ACPI tables early. Split amd_iov_detect() into two parts for
this purpose, and call the initial part earlier on.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Brian Woods <brian.woods@amd.com>
xen/arch/x86/acpi/boot.c
xen/drivers/passthrough/amd/pci_amd_iommu.c
xen/include/asm-x86/acpi.h