summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorJames Clark <james.clark@linaro.org>2025-03-25 11:58:47 +0000
committerSuzuki K Poulose <suzuki.poulose@arm.com>2025-04-30 14:58:18 +0100
commita4e65842e1142aa18ef36113fbd81d614eaefe5a (patch)
tree7f4701bbbc9ba01a095e7218f9d5e53fc2716eb5 /tools/perf/scripts/python/gecko.py
parentfc7fed6f77f94f2fd9a7557020503e146eb0ce38 (diff)
coresight: Only check bottom two claim bits
The use of the whole register and == could break the claim mechanism if any of the other bits are used in the future. The referenced doc "PSCI - ARM DEN 0022D" also says to only read and clear the bottom two bits. Use FIELD_GET() to extract only the relevant part. Reviewed-by: Leo Yan <leo.yan@arm.com> Reviewed-by: Yeoreum Yun <yeoreum.yun@arm.com> Signed-off-by: James Clark <james.clark@linaro.org> Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com> Link: https://lore.kernel.org/r/20250325-james-coresight-claim-tags-v4-2-dfbd3822b2e5@linaro.org
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions