You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
Adam Madsen 8d5922b434 AMD: I think that's Navi. 4 years ago
include implemented initial ioctl framework and empty device database 4 years ago
src AMD: I think that's Navi. 4 years ago
userspace userspace: Use `always-y` with `userprogs` to ensure it builds on 5.8. 4 years ago
.gitignore AMD: I think that's Navi. 4 years ago
Kbuild Add structure for common pre- and post-reset tasks 4 years ago
LICENSE Initial module framework 4 years ago
Makefile Add install target to install module 4 years ago
README.md Initial module framework 4 years ago
dkms.conf Add polaris 11 and polaris 12 device IDs 4 years ago

README.md

Vendor Reset

The goal of this project is to provide a kernel module that is capable of resetting hardware devices into a state where they can be re-initialized or passed through into a virtual machine (VFIO). While it would be great to have these in the kernel as PCI quirks, some of the reset procedures are very complex and would never be accepted as a quirk (ie AMD Vega 10).

By providing this as an out of tree kernel module, vendors will be able to easily create pull requests to add functionallity to this module, and users will be able to easily update this module without requiring a complete kernel rebuild.

If you are a vendor intending to add support for your device to this project please first consider two things:

  1. Can you fix your hardware/firmware to reset correctly using FLR or a BUS reset?
  2. Is the reset simple enough that it should really be a kernel pci quirk (see: pci_quirk.c)?

If you answer yes to either of these questions this project is not for you.