summaryrefslogtreecommitdiffstats
path: root/mm/interval_tree.c
diff options
context:
space:
mode:
authorAshok Raj <ashok.raj@intel.com>2016-11-19 09:32:45 +0100
committerBjorn Helgaas <bhelgaas@google.com>2016-12-08 00:00:44 +0100
commit385895fef6b5f4723e33d0e58251c45bc708132d (patch)
tree615e9d8a71998de31f3c9c742cfed26ef6822439 /mm/interval_tree.c
parentPCI: cpqphp: Add missing call to pci_disable_device() (diff)
downloadlinux-385895fef6b5f4723e33d0e58251c45bc708132d.tar.xz
linux-385895fef6b5f4723e33d0e58251c45bc708132d.zip
PCI: pciehp: Prioritize data-link event over presence detect
If Slot Status indicates changes in both Data Link Layer Status and Presence Detect, prioritize the Link status change. When both events are observed, pciehp currently relies on the Slot Status Presence Detect State (PDS) to agree with the Link Status Data Link Layer Active status. The Presence Detect State, however, may be set to 1 through out-of-band presence detect even if the link is down, which creates conflicting events. Since the Link Status accurately reflects the reachability of the downstream bus, the Link Status event should take precedence over a Presence Detect event. Skip checking the PDC status if we handled a link event in the same handler. Signed-off-by: Ashok Raj <ashok.raj@intel.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Keith Busch <keith.busch@intel.com>
Diffstat (limited to 'mm/interval_tree.c')
0 files changed, 0 insertions, 0 deletions