On Thu, Mar 12, 2020 at 02:09:55PM +0800, Lu Baolu wrote:
> @@ -128,6 +129,13 @@ dmar_alloc_pci_notify_info(struct pci_dev *dev, unsigned 
> long event)
>  
>       BUG_ON(dev->is_virtfn);
>  
> +     /*
> +      * Ignore devices that have a domain number higher than what can
> +      * be looked up in DMAR, e.g. VMD subdevices with domain 0x10000
> +      */
> +     if (pci_domain_nr(dev->bus) > U16_MAX)

I think this needs a well documented core PCI layer function, as that
is where these "fake" domains are create.

_______________________________________________
iommu mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/iommu

Reply via email to