diff options
author | Saheed O. Bolarinwa <refactormyself@gmail.com> | 2020-10-15 22:30:32 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2020-10-16 19:20:59 +0300 |
commit | 67bcc9ad6810c43195959f2fd7a202959860e5c8 (patch) | |
tree | 67afcc264a007e1fdfb47d8463936b22603efd2d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | c6e5f02b5281a3166a9b7b4d66830cc234421ba5 (diff) | |
download | linux-67bcc9ad6810c43195959f2fd7a202959860e5c8.tar.xz |
PCI/ASPM: Remove struct aspm_register_info.enabled
Previously we stored the "ASPM Control" bits from the Link Control register
in the struct aspm_register_info.
Read PCI_EXP_LNKCTL directly when needed. This means we can use the
PCI_EXP_LNKCTL_ASPM_* bits directly instead of the similar but different
PCIE_LINK_STATE_* bits. No functional change intended.
[bhelgaas: drop get_aspm_enable() and read LNKCTL once directly]
Link: https://lore.kernel.org/r/20201015193039.12585-6-helgaas@kernel.org
Signed-off-by: Saheed O. Bolarinwa <refactormyself@gmail.com>
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