summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorJim Quinlan <james.quinlan@broadcom.com>2025-02-14 12:39:34 -0500
committerKrzysztof Wilczyński <kwilczynski@kernel.org>2025-03-04 16:01:43 +0000
commit42fd45be82bbb5b6cf0103e9e701d9801709c348 (patch)
tree0fbcfef03bd4dd50447c2d8404e990f71343e28a /tools/perf/scripts/python/flamegraph.py
parentb7de1b60ecab2f7b6f05d8116e93228a0bbb8563 (diff)
PCI: brcmstb: Use same constant table for config space access
The constants EXT_CFG_DATA and EXT_CFG_INDEX vary by SoC, where one of the map_bus methods used these constants, and the other used a different set of constants. Thankfully, there was no problem because the SoCs that used the latter map_bus method all had the same register constants. Thus, remove redundant constants and adjust the code to use the correct constants accordingly. While at it, update the value of EXT_CFG_DATA to use the 4k-page based configuration space access system, which is what the second map_bus method was already using. Signed-off-by: Jim Quinlan <james.quinlan@broadcom.com> Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com> Link: https://lore.kernel.org/r/20250214173944.47506-7-james.quinlan@broadcom.com [kwilczynski: commit log] Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions