• L
    PCI: sysfs: Resume to D0 on function reset · 82c3fbff
    Lukas Wunner 提交于
    When performing a function reset via sysfs, the device's config space is
    accessed in places such as pcie_flr() and its MMIO space is accessed e.g.
    in reset_ivb_igd(), so ensure accessibility by resuming the device to D0.
    Signed-off-by: NLukas Wunner <lukas@wunner.de>
    Signed-off-by: NBjorn 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>
    82c3fbff
pci-sysfs.c 42.7 KB