summaryrefslogtreecommitdiff
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2025-11-29 00:48:45 +0000
committerCatalin Marinas <catalin.marinas@arm.com>2025-12-15 12:06:40 +0000
commit98a97bf41528ef738b06eb07ec2b2eb1cfde6ce6 (patch)
tree9d062f855eb7d4f27118b5d5dd6b583d35e1cdba /arch/powerpc/lib/code-patching.c
parent63de2b3859ba1def9f43ed0a9c25a68810208e5c (diff)
arm64/gcs: Flush the GCS locking state on exec
When we exec a new task we forget to flush the set of locked GCS mode bits. Since we do flush the rest of the state this means that if GCS is locked the new task will be unable to enable GCS, it will be locked as being disabled. Add the expected flush. Fixes: fc84bc5378a8 ("arm64/gcs: Context switch GCS state for EL0") Cc: <stable@vger.kernel.org> # 6.13.x Reported-by: Yury Khrustalev <Yury.Khrustalev@arm.com> Signed-off-by: Mark Brown <broonie@kernel.org> Tested-by: Yury Khrustalev <yury.khrustalev@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions