LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH 0/2] PCI: pci_unignore_hotplug()
@ 2015-02-24 20:12 Alex Williamson
  2015-02-24 20:12 ` [PATCH 1/2] pci: Add reciprocal function for pci_ignore_hotplug() Alex Williamson
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Alex Williamson @ 2015-02-24 20:12 UTC (permalink / raw)
  To: bhelgaas, linux-pci, airlied, alexander.deucher, dri-devel
  Cc: alex.williamson, linux-kernel

I'd kinda like to use pci_ignore_hotplug() for devices in use by a
user via vfio-pci, but the interface seems only partially implemented
since we can only set ignore_hotplug and not clear it.  This adds the
capability to clear the flag and applies it as seems to be appropriate
to the existing users.  I don't have a system with power control for
a radeon or nouveau device, so I'd certainly appreciate testing.  It
seems though that once the device is in D0, we've passed the critical
point where the device could be accidentally unplugged.  Thanks,

Alex

---

Alex Williamson (2):
      pci: Add reciprocal function for pci_ignore_hotplug()
      nouveau/radeon: Un-ignore hotplug on resume


 drivers/gpu/drm/nouveau/nouveau_drm.c |    1 +
 drivers/gpu/drm/radeon/radeon_drv.c   |    1 +
 include/linux/pci.h                   |    5 +++++
 3 files changed, 7 insertions(+)

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-03-06 22:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-24 20:12 [PATCH 0/2] PCI: pci_unignore_hotplug() Alex Williamson
2015-02-24 20:12 ` [PATCH 1/2] pci: Add reciprocal function for pci_ignore_hotplug() Alex Williamson
2015-02-24 20:12 ` [PATCH 2/2] nouveau/radeon: Un-ignore hotplug on resume Alex Williamson
2015-02-24 20:23 ` [PATCH 0/2] PCI: pci_unignore_hotplug() Alex Deucher
2015-03-06 18:49   ` Bjorn Helgaas
2015-03-06 22:12     ` Alex Deucher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).