summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2021-03-24 16:15:26 +0300
committerDavid S. Miller <davem@davemloft.net>2021-03-25 02:52:47 +0300
commite6e49e435512c8bcf104e594d3cc34b8f3818492 (patch)
treebb667c353bfa02c0e871b7986974e4e767326661 /tools/perf/scripts/python/flamegraph.py
parent647a05f3ae98ba98b87dc1177a54d205fbaa1b66 (diff)
downloadlinux-e6e49e435512c8bcf104e594d3cc34b8f3818492.tar.xz
net: ipa: limit local processing context address
Not all of the bits of the LOCAL_PKT_PROC_CNTXT register are valid. Until IPA v4.5, there are 17 valid bits (though the bottom three must be zero). Starting with IPA v4.5, 18 bits are valid. Introduce proc_cntxt_base_addr_encoded() to encode the base address for use in the register using only the valid bits. Shorten the name of the register (omit "_BASE") to avoid the need to wrap the line in the one place it's used. Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions