mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Bjorn Helgaas <bhelgaas@google.com>
To: linux-pci@vger.kernel.org
Cc: SpacemanSpiff <a818958@trbvm.com>,
	"Rajat Jain" <rajatxjain@gmail.com>,
	"Dave Airlie" <airlied@linux.ie>,
	"Rafael J. Wysocki" <rjw@rjwysocki.net>,
	linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org,
	"Pali Rohár" <pali.rohar@gmail.com>,
	"Alex Deucher" <alexdeucher@gmail.com>,
	"Jose P." <lbdkmjdf@sharklasers.com>
Subject: [PATCH 0/2] PCI: Ignore hotplug events for dual GPU systems
Date: Thu, 11 Sep 2014 16:23:54 -0600	[thread overview]
Message-ID: <20140911222022.16809.57079.stgit@bhelgaas-glaptop2.roam.corp.google.com> (raw)

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(-)

             reply	other threads:[~2014-09-11 22:24 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-11 22:23 Bjorn Helgaas [this message]
2014-09-11 22:24 ` [PATCH 1/2] PCI: Add pci_ignore_hotplug() to ignore hotplug events for a device Bjorn Helgaas
2014-09-12 16:40   ` Rajat Jain
2014-09-11 22:24 ` [PATCH 2/2] ACPIPHP / radeon / nouveau: Remove acpi_bus_no_hotplug() Bjorn Helgaas
2014-09-12 14:52 ` [PATCH 0/2] PCI: Ignore hotplug events for dual GPU systems Alex Deucher
2014-09-14 18:04 ` Rafael J. Wysocki
2014-09-15 10:53   ` Dave Airlie
2014-09-15 19:06     ` Rajat Jain

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140911222022.16809.57079.stgit@bhelgaas-glaptop2.roam.corp.google.com \
    --to=bhelgaas@google.com \
    --cc=a818958@trbvm.com \
    --cc=airlied@linux.ie \
    --cc=alexdeucher@gmail.com \
    --cc=lbdkmjdf@sharklasers.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=pali.rohar@gmail.com \
    --cc=rajatxjain@gmail.com \
    --cc=rjw@rjwysocki.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®