diff options
author | James Clark <james.clark@linaro.org> | 2025-01-08 17:28:56 +0300 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2025-01-10 17:50:55 +0300 |
commit | d28d95bc63cb4cb55f968f0fb4bf55b816087ca2 (patch) | |
tree | 41740807777acd343bfdda05b8049d2bfffaaa83 /tools/perf/scripts/python/gecko.py | |
parent | d00f343a63e9e40b0193ad908ad410b981574545 (diff) | |
download | linux-d28d95bc63cb4cb55f968f0fb4bf55b816087ca2.tar.xz |
perf: arm_spe: Add format option for discard mode
FEAT_SPEv1p2 (optional from Armv8.6) adds a discard mode that allows all
SPE data to be discarded rather than written to memory. Add a format
bit for this mode.
If the mode isn't supported, the format bit isn't published and attempts
to use it will result in -EOPNOTSUPP. Allocating an aux buffer is still
allowed even though it won't be written to so that old tools continue to
work, but updated tools can choose to skip this step.
Signed-off-by: James Clark <james.clark@linaro.org>
Reviewd-by: Yeoreum Yun <yeoreum.yun@arm.com>
Link: https://lore.kernel.org/r/20250108142904.401139-2-james.clark@linaro.org
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions