]> asedeno.scripts.mit.edu Git - linux.git/commit
PCI: pciehp: Resume parent to D0 on config space access
authorLukas Wunner <lukas@wunner.de>
Thu, 19 Jul 2018 22:27:57 +0000 (17:27 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 31 Jul 2018 16:09:36 +0000 (11:09 -0500)
commit4417aa45c185376ece278430e33b6a1891a1dc36
tree0e498444068e5ba5e4d8a280d972faabd2ff1e22
parent8350307454240abeebe52ff5a73810d9ba93dd60
PCI: pciehp: Resume parent to D0 on config space access

Ensure accessibility of a hotplug port's config space when accessed via
sysfs by resuming its parent to D0.

Signed-off-by: Lukas Wunner <lukas@wunner.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Cc: Mika Westerberg <mika.westerberg@linux.intel.com>
Cc: Ashok Raj <ashok.raj@intel.com>
Cc: Keith Busch <keith.busch@intel.com>
Cc: Yinghai Lu <yinghai@kernel.org>
drivers/pci/hotplug/pciehp_core.c
drivers/pci/hotplug/pciehp_hpc.c