aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/futex-contention.py
diff options
context:
space:
mode:
authorPali Rohár <[email protected]>2022-09-27 16:19:17 +0200
committerBjorn Helgaas <[email protected]>2022-12-07 08:27:20 -0600
commit6d4671b534f6c084e92ef167a52dc47e55f636c4 (patch)
treec24be7b3fa6435d3ecfadf96c341cf2d92d6830e /tools/perf/scripts/python/futex-contention.py
parent9676f40618df9f8e1ab681486021d6c0df86c5fa (diff)
PCI: pciehp: Enable Command Completed Interrupt only if supported
The No Command Completed Support bit in the Slot Capabilities register indicates whether Command Completed Interrupt Enable is unsupported. We already check whether No Command Completed Support bit is set in pcie_wait_cmd(), and do not wait in this case. Don't enable this Command Completed Interrupt at all if NCCS is set, so that when users dump configuration space from userspace, the dump does not confuse them by saying that Command Completed Interrupt is not supported, but it is enabled. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Pali Rohár <[email protected]> Signed-off-by: Marek Behún <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Lukas Wunner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions