summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorGavin Shan <gwshan@linux.vnet.ibm.com>2017-02-20 10:57:52 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-02-22 16:51:18 +1100
commit98e81fe6522f9484feaaac2200407149d29bd1d3 (patch)
tree44cfe2650ec650b952daa3ef316cb3035bbdeede /doc
parentb8a808f063985641477c39b257fdbae41fbf4ab1 (diff)
downloadblackbird-skiboot-98e81fe6522f9484feaaac2200407149d29bd1d3.tar.gz
blackbird-skiboot-98e81fe6522f9484feaaac2200407149d29bd1d3.zip
core/pci: Mark broken PDC on slots without surprise hotplug capability
We has to support surprise hotplug on PCI slots that don't support it on hardware. So we're fully utilizing the PCIe link state change event to detect the events (hot-remove and hot-add). The PDC (Presence Detection Change) event isn't reliable for the purpose. For example, PEX8718 on superMicro's machines. This adds another PCI slot property "ibm,slot-broken-pdc" in the device-tree, to indicate the PDC isn't reliable on those (software claimed) surprise pluggable slots. Reported-by: Hank Chang <hankmax0000@gmail.com> Signed-off-by: Gavin Shan <gwhsan@linux.vnet.ibm.com> Tested-by: Willie Liauw <williel@supermicro.com.tw> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/pci-slot.rst22
1 files changed, 12 insertions, 10 deletions
diff --git a/doc/pci-slot.rst b/doc/pci-slot.rst
index a095737e..fd3fd7d6 100644
--- a/doc/pci-slot.rst
+++ b/doc/pci-slot.rst
@@ -60,16 +60,18 @@ node for a root port, a PCIE switch port, or a PCIE to PCIx bridge. If the
individual platforms (e.g. Firenze and Apollo) have VPD for the PCI slot, they
should extract the PCI slot properties from VPD and export them accordingly.
-====================== ==========
-Property Definition
-====================== ==========
-ibm,reset-by-firmware Boolean indicating whether the slot reset should be done in firmware
-ibm,slot-pluggable Boolean indicating whether the slot is pluggable
-ibm,slot-power-ctl Boolean indicating whether the slot has power control
-ibm,slot-wired-lanes The number of hardware lanes that are wired
-ibm,slot-pwr-led-ctl Presence of slot power led, and controlling entity
-ibm,slot-attn-led-ctl Presence of slot ATTN led, and controlling entity
-====================== ==========
+=========================== ==========
+Property Definition
+=========================== ==========
+ibm,reset-by-firmware Boolean indicating whether the slot reset should be done in firmware
+ibm,slot-pluggable Boolean indicating whether the slot is pluggable
+ibm,slot-surprise-pluggable Boolean indicating whether the slot supports surprise hotplug
+ibm,slot-broken-pdc Boolean indicating whether PDC (Presence Detection Change) is broken
+ibm,slot-power-ctl Boolean indicating whether the slot has power control
+ibm,slot-wired-lanes The number of hardware lanes that are wired
+ibm,slot-pwr-led-ctl Presence of slot power led, and controlling entity
+ibm,slot-attn-led-ctl Presence of slot ATTN led, and controlling entity
+=========================== ==========
PCI Hotplug
-----------
OpenPOWER on IntegriCloud