summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2020-10-15 22:30:29 +0300
committerBjorn Helgaas <bhelgaas@google.com>2020-10-16 19:20:48 +0300
commit08e869ee16fa9fdf144839bb204467daa44edcbd (patch)
tree4cb8d0c8945471bb0fec9ade690fa9acba206214 /tools/perf/scripts/python/export-to-postgresql.py
parent0f1619cf82ef49eac4c8c8374dcf64234753ee25 (diff)
downloadlinux-08e869ee16fa9fdf144839bb204467daa44edcbd.tar.xz
PCI/ASPM: Move LTR path check to where it's used
pcie_get_aspm_reg() mostly reads ASPM-related registers, but in some cases it also updates the value read from PCI_L1SS_CAP based on LTR properties. Move this update to the point where the value is used to make the code more readable. No functional change intended, although previously we could clear PCI_L1SS_CAP_ASPM_L1_2 for both ends of the link, and now we'll only do it for the downstream end of a link. This shouldn't matter because we always test that bit by ANDing l1ss_cap for the upstream and downstream ends. Link: https://lore.kernel.org/r/20201015193039.12585-3-helgaas@kernel.org Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions