diff options
author | Gavin Shan <[email protected]> | 2017-01-11 11:50:08 +1100 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2017-02-15 20:02:43 +1100 |
commit | 454593e54cac126a0f49d4b65f90a5e518c51404 (patch) | |
tree | fad75e4dfb75619ec384dafc0968919e830c266b /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | d0c424971f70501ec0a0364117b9934db039c9cc (diff) |
drivers/pci/hotplug: Mask PDC interrupt if required
We're supporting surprise hotplug on PCI slots behind root port
or PCIe switch downstream ports, which don't claim the capability
in hardware register (offset: PCIe cap + PCI_EXP_SLTCAP). PEX8718
is one of the examples. For those PCI slots, the PDC (Presence
Detection Change) event isn't reliable and the underly (skiboot)
firmware has best judgement.
This masks the PDC event when skiboot requests by "ibm,slot-broken-pdc"
property in PCI slot's device-tree node.
Reported-by: Hank Chang <[email protected]>
Signed-off-by: Gavin Shan <[email protected]>
Tested-by: Willie Liauw <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions