Re: [Qemu-devel] [PATCH v10 08/26] acpi: add DMAR scope definition for root IOAPIC

2016-07-05 Thread Peter Xu
On Mon, Jul 04, 2016 at 06:22:56PM +0300, Michael S. Tsirkin wrote: [...] > > @@ -2425,6 +2427,9 @@ build_dmar_q35(GArray *table_data, BIOSLinker *linker) > > AcpiDmarHardwareUnit *drhd; > > uint8_t dmar_flags = 0; > > X86IOMMUState *iommu = x86_iommu_get_default(); > > +AcpiDm

Re: [Qemu-devel] [PATCH v10 08/26] acpi: add DMAR scope definition for root IOAPIC

2016-07-04 Thread Michael S. Tsirkin
On Tue, Jun 21, 2016 at 03:47:36PM +0800, Peter Xu wrote: > To enable interrupt remapping for intel IOMMU device, each IOAPIC device > in the system reported via ACPI MADT must be explicitly enumerated under > one specific remapping hardware unit. This patch adds the root-complex > IOAPIC into the

[Qemu-devel] [PATCH v10 08/26] acpi: add DMAR scope definition for root IOAPIC

2016-06-21 Thread Peter Xu
To enable interrupt remapping for intel IOMMU device, each IOAPIC device in the system reported via ACPI MADT must be explicitly enumerated under one specific remapping hardware unit. This patch adds the root-complex IOAPIC into the default DMAR device. Please refer to VT-d spec 8.3.1.1 for more i