diff options
author | Shiqi Liu <shiqiliu@hust.edu.cn> | 2024-04-21 14:33:28 +0800 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2024-04-28 08:28:27 +0100 |
commit | 12d712dc8e4f1a30b18f8c3789adfbc07f5eb050 (patch) | |
tree | 5536cda0155aa7d8322bcc6e01abc59178afaf60 /rust/helpers/workqueue.c | |
parent | f4d9d9dcc70b96b5e5d7801bd5fbf8491b07b13d (diff) |
arm64/sysreg: Update PIE permission encodings
Fix left shift overflow issue when the parameter idx is greater than or
equal to 8 in the calculation of perm in PIRx_ELx_PERM macro.
Fix this by modifying the encoding to use a long integer type.
Signed-off-by: Shiqi Liu <shiqiliu@hust.edu.cn>
Acked-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Link: https://lore.kernel.org/r/20240421063328.29710-1-shiqiliu@hust.edu.cn
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'rust/helpers/workqueue.c')
0 files changed, 0 insertions, 0 deletions