diff options
author | 2021-08-17 23:34:56 +0530 | |
---|---|---|
committer | 2021-08-18 17:03:44 -0500 | |
commit | d88f521da3efd698e36d0d504a2abba6ac4f5ef8 (patch) | |
tree | 1f8a35513e2833ece8d61ff952c143d0d3c1b531 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | PCI: Remove reset_fn field from pci_dev (diff) | |
download | linux-dev-d88f521da3efd698e36d0d504a2abba6ac4f5ef8.tar.xz linux-dev-d88f521da3efd698e36d0d504a2abba6ac4f5ef8.zip |
PCI: Allow userspace to query and set device reset mechanism
Add "reset_method" sysfs attribute to enable user to query and set
preferred device reset methods and their ordering.
[bhelgaas: on invalid sysfs input, return error and preserve previous
config, as in earlier patch versions]
Co-developed-by: Alex Williamson <alex.williamson@redhat.com>
Link: https://lore.kernel.org/r/20210817180500.1253-6-ameynarkhede03@gmail.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Amey Narkhede <ameynarkhede03@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Raphael Norwitz <raphael.norwitz@nutanix.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions