lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 18 Mar 2015 14:13:07 -0600
From:	Alex Williamson <alex.williamson@...hat.com>
To:	alex.williamson@...hat.com, kvm@...r.kernel.org
Cc:	linux-pci@...r.kernel.org, bsd@...hat.com,
	linux-kernel@...r.kernel.org
Subject: [PATCH v2 0/6] vfio-pci: Misc enhancements

v2:
 - Incorporate comments from Bandan and Bjorn for vfio-pci.ids option
 - Include necessary vgaarb change, already Ack'd by Dave
 - Rebase on top of my current next branch
 - Rename D3 disable parameter

There are really 3 separate features added in this series, the first
is to opt-out VGA devices from VGA arbitration if a) vfio VGA support
is disable, either via config or module optioni (new), and b) bridge
control of VGA resource routing is possible.  This means that if
multiple VGA devices are installed with the intention of using them
for device assignment without VGA, we can eliminate the effect they
have on host graphics.

The second feature is the addition of the "ids" module option, which
acts just like the option of the same name on pci-stub.  This makes it
easier to configure vfio-pci to statically claim certain devices.  By
either building vfio support into the kernel or using softdeps to
load vfio-pci before native drivers, this can make it much easier to
bind to devices which are only intended to be used through vfio, such
as those additional graphics cards.

Finally, when devices are bound to vfio-pci and unused, we can try to
put them into a low-power state.  This again feeds into that idea that
devices may be installed on the system only for use through vfio, and
that use may not be continuous.  This saves a few watts for some GPUs.
Thanks,

Alex

---

Alex Williamson (6):
      vgaarb: Stub vga_set_legacy_decoding()
      vfio-pci: Add module option to disable VGA region access
      vfio-pci: Add VGA arbiter client
      vfio-pci: Allow PCI IDs to be specified as module options
      vfio-pci: Remove warning if try-reset fails
      vfio-pci: Move idle devices to D3hot power state


 drivers/vfio/pci/vfio_pci.c |  179 +++++++++++++++++++++++++++++++++++++++----
 include/linux/vgaarb.h      |    5 +
 2 files changed, 167 insertions(+), 17 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ