devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] PCI: Describe external-facing ports in device tree
@ 2019-04-02 13:15 Jean-Philippe Brucker
  2019-04-02 13:15 ` [PATCH v2 1/2] dt-bindings: Add external-facing PCIe port property Jean-Philippe Brucker
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Jean-Philippe Brucker @ 2019-04-02 13:15 UTC (permalink / raw)
  To: bhelgaas, robh+dt, mark.rutland
  Cc: devicetree, linux-pci, Jeremy.Linton, Grant.Likely, Robin.Murphy,
	linux-arm-kernel

Since v1 [1], I improved the wording of patch 1/2 as suggested by Bjorn.

Add an "external-facing" property to PCI ports in device-tree, to help
identify untrusted devices. The notion of untrusted PCI devices was
added to the v5.0 kernel to describe devices that should have strict
IOMMU protection [2], for example devices that are plugged in a
Thunderbolt port. ACPI systems use the ExternalFacingPort property [3].
Add an equivalent mechanism to device tree.

[1] https://lore.kernel.org/linux-pci/20190318182124.53859-1-jean-philippe.brucker@arm.com/
[2] https://lkml.org/lkml/2018/11/26/631
[3] https://docs.microsoft.com/en-us/windows-hardware/drivers/pci/dsd-for-pcie-root-ports#identifying-externally-exposed-pcie-root-ports

Jean-Philippe Brucker (2):
  dt-bindings: Add external-facing PCIe port property
  PCI: OF: Support external-facing property

 Documentation/devicetree/bindings/pci/pci.txt | 50 +++++++++++++++++++
 drivers/pci/of.c                              |  3 ++
 2 files changed, 53 insertions(+)

-- 
2.21.0

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-04-09 23:11 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-02 13:15 [PATCH v2 0/2] PCI: Describe external-facing ports in device tree Jean-Philippe Brucker
2019-04-02 13:15 ` [PATCH v2 1/2] dt-bindings: Add external-facing PCIe port property Jean-Philippe Brucker
2019-04-05 21:39   ` Robin Murphy
2019-04-06  6:06   ` Rob Herring
2019-04-02 13:15 ` [PATCH v2 2/2] PCI: OF: Support external-facing property Jean-Philippe Brucker
2019-04-05 21:18   ` Bjorn Helgaas
2019-04-05 21:28   ` Robin Murphy
2019-04-06 19:42 ` [PATCH v2 0/2] PCI: Describe external-facing ports in device tree Grant Likely
2019-04-09 23:11 ` Bjorn Helgaas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).