mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 20:33:58 -04:00
FROMLIST: iommu/of: Request ACS from the PCI core when configuring IOMMU linkage
To avoid having to export 'pci_request_acs()' to modular IOMMU drivers, move the call into the 'of_dma_configure()' path in a similar manner to the way in which ACS is configured when probing via ACPI/IORT. Signed-off-by: Will Deacon <will@kernel.org> Bug: 140290589 Link: https://lore.kernel.org/lkml/20191121114918.2293-3-will@kernel.org/ Signed-off-by: Will Deacon <willdeacon@google.com> Change-Id: I3c689845ca493fbe037a2def2050a089036fb7d3
This commit is contained in:
parent
91740f1937
commit
c5ce06fdc0
1 changed files with 1 additions and 0 deletions
|
|
@ -177,6 +177,7 @@ const struct iommu_ops *of_iommu_configure(struct device *dev,
|
|||
.np = master_np,
|
||||
};
|
||||
|
||||
pci_request_acs();
|
||||
err = pci_for_each_dma_alias(to_pci_dev(dev),
|
||||
of_pci_iommu_init, &info);
|
||||
} else if (dev_is_fsl_mc(dev)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue