diff options
| author | Vladimir Murzin <vladimir.murzin@arm.com> | 2026-08-19 15:48:59 +0100 |
|---|---|---|
| committer | Will Deacon <will@kernel.org> | 2026-08-24 14:11:25 +0000 |
| commit | b8f070ac3167595069feb1f794c127b805115645 (patch) | |
| tree | 70e961b500b621cec16c9d2ca8347bc6b9719f25 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | beca1b97a21d81eae9cbd267ecc44b5d2193e60a (diff) | |
arm64: process: Fix context switching MTE store-only tag check
SCTLR_EL1.TCSO0 is set when user opt-in for MTE store-only tag check
mode. However, it is not part of SCTLR_USER_MASK which imply that on
context switch we never clear SCTLR_EL1.TCSO0, so we are leaking that
setting into another task.
Fix that by including SCTLR_EL1_TCSO0_MASK into SCTLR_USER_MASK
Fixes: 4d51ff5bba00 ("arm64/kernel: Support store-only mte tag check")
Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Reviewed-by: Yeoreum Yun <yeoreum.yun@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
