[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v2] AMD/IOMMU: don't "add" IOMMUs



On Wed, Jun 26, 2019 at 01:30:28PM +0100, Andy Cooper wrote:
> 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 <jbeulich@xxxxxxxx>
> 
> Acked-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>

Acked-by: Brian Woods <brian.woods@xxxxxxx>

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

-- 
Brian Woods

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.