[PATCH 0/2] PCI: Ignore hotplug events for dual GPU systems

From: Bjorn Helgaas
Date: Thu Sep 11 2014 - 18:24:05 EST


These are intended to resolve problems on dual GPU systems where the radeon
driver becomes unusable because of problems suspending or resuming a GPU.
When the GPU is powered off, we may get hotplug remove events, and we
would normally unbind the driver and destroy the pci_dev. But in this
case, the radeon and nouveau drivers expect to remain bound to the device
because it isn't really removable, and they may power it back on later.

Links to the bug reports in the patch changelogs.

I would like to get these into v3.17 if they seem reasonable.

---

Bjorn Helgaas (2):
PCI: Add pci_ignore_hotplug() to ignore hotplug events for a device
ACPIPHP / radeon / nouveau: Remove acpi_bus_no_hotplug()


drivers/acpi/bus.c | 10 ----------
drivers/gpu/drm/nouveau/nouveau_acpi.c | 16 ++--------------
drivers/gpu/drm/nouveau/nouveau_drm.c | 1 +
drivers/gpu/drm/radeon/radeon_atpx_handler.c | 16 ++--------------
drivers/gpu/drm/radeon/radeon_drv.c | 1 +
drivers/pci/hotplug/acpiphp_glue.c | 16 ++++++----------
drivers/pci/hotplug/pciehp_hpc.c | 12 ++++++++++++
include/acpi/acpi_bus.h | 4 +---
include/linux/pci.h | 6 ++++++
9 files changed, 31 insertions(+), 51 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/