X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=drivers%2Fiommu%2Famd_iommu_init.c;h=1b066e7d144d6fdc0043cfbfa340ce2e7a209c50;hb=060b85b0d3064032b6810928973f8c7a15ab9c11;hp=5ef347a13cb5d54789c07869b0527d81cb24365e;hpb=a706797febf4ff60ad61f855a01707be9fc3cf4c;p=karo-tx-linux.git diff --git a/drivers/iommu/amd_iommu_init.c b/drivers/iommu/amd_iommu_init.c index 5ef347a13cb5..1b066e7d144d 100644 --- a/drivers/iommu/amd_iommu_init.c +++ b/drivers/iommu/amd_iommu_init.c @@ -1256,6 +1256,9 @@ static int iommu_init_pci(struct amd_iommu *iommu) if (!iommu->dev) return -ENODEV; + /* Prevent binding other PCI device drivers to IOMMU devices */ + iommu->dev->match_driver = false; + pci_read_config_dword(iommu->dev, cap_ptr + MMIO_CAP_HDR_OFFSET, &iommu->cap); pci_read_config_dword(iommu->dev, cap_ptr + MMIO_RANGE_OFFSET,