On 04/06/2019 13:15, Jan Beulich wrote:
> For find_iommu_for_device() to consistently (independent of ACPI tables)
> return NULL for the PCI devices corresponding to IOMMUs, make sure
> IOMMUs don't get mapped to themselves by ivrs_mappings[].
>
> While amd_iommu_add_device() won't be called for IOMMUs from
> pci_add_device(), as IOMMUs have got marked r/o,
> _setup_hwdom_pci_devices() calls there nevertheless. Avoid issuing the
> bogus debugging only "No iommu for ...; cannot be handed to ..." log
> message as well as the non-debugging "setup ... for ... failed (-19)"
> one.
>
> Signed-off-by: Jan Beulich <jbeul...@suse.com>

Acked-by: Andrew Cooper <andrew.coop...@citrix.com>

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to