diff options
author | Jason Gunthorpe <[email protected]> | 2024-10-16 20:52:33 -0300 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2024-10-29 11:35:52 -0500 |
commit | f3c3ccc4fe49dbc560b01d16bebd1b116c46c2b4 (patch) | |
tree | 0920180237bd30470f84239d6cfaac9293f8f865 /tools/perf/scripts/python/gecko.py | |
parent | 9852d85ec9d492ebef56dc5f229416c925758edc (diff) |
PCI: Fix pci_enable_acs() support for the ACS quirks
There are ACS quirks that hijack the normal ACS processing and deliver to
to special quirk code. The enable path needs to call
pci_dev_specific_enable_acs() and then pci_dev_specific_acs_enabled() will
report the hidden ACS state controlled by the quirk.
The recent rework got this out of order and we should try to call
pci_dev_specific_enable_acs() regardless of any actual ACS support in the
device.
As before command line parameters that effect standard PCI ACS don't
interact with the quirk versions, including the new config_acs= option.
Link: https://lore.kernel.org/r/[email protected]
Fixes: 47c8846a49ba ("PCI: Extend ACS configurability")
Reported-by: Jiri Slaby <[email protected]>
Closes: https://lore.kernel.org/all/[email protected]
Closes: https://bugzilla.suse.com/show_bug.cgi?id=1229019
Tested-by: Steffen Dirkwinkel <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions