Thread (26 messages) 26 messages, 7 authors, 2017-11-07
STALE3179d

[PATCH v9 4/4] PCI: hisi: blacklist hip06/hip07 controllers behind SMMUv3

From: Gabriele Paoloni <hidden>
Date: 2017-10-10 10:19:51
Also in: linux-acpi, linux-iommu, linux-pci

Hi Lorenzo

[...]
quoted
quoted
Does the presence of "iommu-map" tell you this is an SMMUv3?  Could
it
quoted
quoted
have a different type of IOMMU?  I can't tell from reading
Documentation/devicetree/bindings/pci/pci-iommu.txt.
Only if the SMMUv3 driver is loaded and iommu-map binding property
present,
quoted
the pcie devices will use SMMU translated iova for MSI doorbell
addresses.

And the iommu-map property _actually_ points at an OF node with an
SMMUv3 compatible string - the sheer fact that the SMMUv3 driver
is compiled in is not sufficient IIUC.
The blacklisted controller can only be present in an SoC that supports
SMMUv3 only.
From our view checking that SMMUv3 is compiled in and also checking that
the DT contains iommu-map is sufficient to decide to blacklist the controller.

Thanks
Gab 
Lorenzo
[...]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help