diff options
author | Luca Weiss <[email protected]> | 2023-06-14 18:35:47 +0200 |
---|---|---|
committer | Bjorn Andersson <[email protected]> | 2023-07-09 20:54:39 -0700 |
commit | a7b484b1c9332a1ee12e8799d62a11ee3f8e0801 (patch) | |
tree | 6ae847a940dcdce91d29f48c7930aa8229bf9f74 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 0276f69f13e23b828a149d765d5712e214182ee7 (diff) |
soc: qcom: ocmem: Fix NUM_PORTS & NUM_MACROS macros
Since we're using these two macros to read a value from a register, we
need to use the FIELD_GET instead of the FIELD_PREP macro, otherwise
we're getting wrong values.
So instead of:
[ 3.111779] ocmem fdd00000.sram: 2 ports, 1 regions, 512 macros, not interleaved
we now get the correct value of:
[ 3.129672] ocmem fdd00000.sram: 2 ports, 1 regions, 2 macros, not interleaved
Fixes: 88c1e9404f1d ("soc: qcom: add OCMEM driver")
Reviewed-by: Caleb Connolly <[email protected]>
Reviewed-by: Konrad Dybcio <[email protected]>
Signed-off-by: Luca Weiss <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions