OSDN Git Service

PCI: OF: Support "external-facing" property
authorJean-Philippe Brucker <jean-philippe.brucker@arm.com>
Thu, 11 Apr 2019 12:40:27 +0000 (13:40 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 11 Apr 2019 21:17:53 +0000 (16:17 -0500)
commit9cb30a71acd45d65321c73160626f15fcdceba7a
tree24c1231798dc2569623e77e5ac3b3d828f6f28c5
parentbadd9f19f1992218b771c72e0cdc8825dd45938c
PCI: OF: Support "external-facing" property

Set the "untrusted" attribute to any PCIe port that has an
"external-facing" device tree property.  Any device downstream of this port
will inherit the attribute and have only the strictest IOMMU protection.

Signed-off-by: Jean-Philippe Brucker <jean-philippe.brucker@arm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/of.c