On Fri, Nov 22, 2019 at 07:29:42PM +0100, Eric Auger wrote: > The virtio-iommu-pci is instantiated through the -device QEMU > option. However if instantiated it also requires an IORT ACPI table > to describe the ID mappings between the root complex and the iommu. > > This patch adds the generation of the IORT table if the > virtio-iommu-pci device is instantiated. > > We also declare the [0xfee00000 - 0xfeefffff] MSI reserved region > so that it gets bypassed by the IOMMU. > > Signed-off-by: Eric Auger <eric.au...@redhat.com>
It would be nice to factor the IORT code with arm, but this looks OK. Reviewed-by: Jean-Philippe Brucker <jean-phili...@linaro.org>