linux-stable/drivers/vfio/pci
Alex Williamson 6eb7018705 vfio-pci: Move idle devices to D3hot power state
We can save some power by putting devices that are bound to vfio-pci
but not in use by the user in the D3hot power state.  Devices get
woken into D0 when opened by the user.  Resets return the device to
D0, so we need to re-apply the low power state after a bus reset.
It's tempting to try to use D3cold, but we have no reason to inhibit
hotplug of idle devices and we might get into a loop of having the
device disappear before we have a chance to try to use it.

A new module parameter allows this feature to be disabled if there are
devices that misbehave as a result of this change.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
2015-04-07 11:14:46 -06:00
..
Kconfig vfio: Split virqfd into a separate module for vfio bus drivers 2015-03-17 08:33:38 -06:00
Makefile vfio: initialize the virqfd workqueue in VFIO generic code 2015-03-16 14:08:54 -06:00
vfio_pci.c vfio-pci: Move idle devices to D3hot power state 2015-04-07 11:14:46 -06:00
vfio_pci_config.c vfio: make vfio run on s390 2014-11-07 09:52:22 -07:00
vfio_pci_intrs.c vfio: move eventfd support code for VFIO_PCI to a separate file 2015-03-16 14:08:54 -06:00
vfio_pci_private.h vfio: move eventfd support code for VFIO_PCI to a separate file 2015-03-16 14:08:54 -06:00
vfio_pci_rdwr.c vfio-pci: Add support for VGA region access 2013-02-18 10:11:13 -07:00