aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2021-08-08 19:23:57 +0200
committerBjorn Helgaas <bhelgaas@google.com>2021-08-12 12:48:51 -0500
commitfe7568cf2f2dc3a0783f6ffdb3802c1ce2085466 (patch)
treedf6dfd8b6a3591a78a1756465be14f44eb81db0f /tools/perf/scripts/python/exported-sql-viewer.py
parent7bac54497c3e3b2ca37b7043f1fa78586540f10e (diff)
PCI/VPD: Treat invalid VPD like missing VPD capability
Exporting sysfs files that can't be accessed doesn't make much sense. Therefore, if either a quirk or the dynamic size calculation result in VPD being marked as invalid, treat this as though the device has no VPD capability. One consequence is that the "vpd" sysfs file is not visible. Link: https://lore.kernel.org/r/6a02b204-4ed2-4553-c3b2-eacf9554fa8d@gmail.com Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions