diff options
| author | Mark Brown <broonie@kernel.org> | 2025-11-29 00:48:45 +0000 |
|---|---|---|
| committer | Catalin Marinas <catalin.marinas@arm.com> | 2025-12-15 12:06:40 +0000 |
| commit | 98a97bf41528ef738b06eb07ec2b2eb1cfde6ce6 (patch) | |
| tree | 9d062f855eb7d4f27118b5d5dd6b583d35e1cdba /drivers/cdx/controller/mcdi_functions.c | |
| parent | 63de2b3859ba1def9f43ed0a9c25a68810208e5c (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 'drivers/cdx/controller/mcdi_functions.c')
0 files changed, 0 insertions, 0 deletions
