aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stat-cpi.py
diff options
context:
space:
mode:
authorAlex Elder <[email protected]>2022-09-09 20:11:26 -0500
committerJakub Kicinski <[email protected]>2022-09-20 07:45:46 -0700
commit5ea4285829de7aa823d60d7338668fb821bb1753 (patch)
tree9faa57fd4ac94fe0d58c3a0041210819d4334064 /tools/perf/scripts/python/stat-cpi.py
parent01544a272bbd1fbf1d2510e575fc494a80994948 (diff)
net: ipa: don't define unneeded GSI register offsets
Each GSI execution environment (EE) is able to access many of the GSI registers associated with the other EEs. A block of GSI registers is contained within a region of memory, and an EE's register offset can be determined by adding the register's base offset to the product of the EE ID and a fixed constant. Despite this possibility, the AP IPA code *never* accesses any GSI registers other than its own. So there's no need to define the macros that compute register offsets for other EEs. Redefine the AP access macros to compute the offset the way the more general "any EE" macro would, and get rid of the unneeded macros. Signed-off-by: Alex Elder <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions