Skip to content

PCI: pci_unignore_hotplug()

Alex Williamson dri-devel linux-pci lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2pci: Add reciprocal function for pci_ignore_hotplug()include/linux/pci.h+5 -00 replies
2/2nouveau/radeon: Un-ignore hotplug on resumedrivers/gpu/drm/nouveau/nouveau_drm.c drivers/gpu/drm/radeon/radeon_drv.c+2 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] PCI: pci_unignore_hotplug()

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

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel