diff options
author | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2023-09-15 18:57:50 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2023-10-11 00:03:51 +0300 |
commit | 4ea9c414422ddd2b4aafa5d5ed6f61e1e0e85422 (patch) | |
tree | 2d78cb42153f5da9be866ff201527b8c742a825f /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | e13b72b819245027f960ce7a3735c4fe24fab024 (diff) | |
download | linux-4ea9c414422ddd2b4aafa5d5ed6f61e1e0e85422.tar.xz |
PCI/ASPM: Use FIELD_MAX() instead of literals
Convert 0x3ff literals in encode_l12_threshold() to
FIELD_MAX(PCI_L1SS_CTL1_LTR_L12_TH_VALUE) that explains the purpose of
the literal.
Link: https://lore.kernel.org/r/20230915155752.84640-6-ilpo.jarvinen@linux.intel.com
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.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