[PATCH] arm64/sysreg: Update PIE permission encodings

Marc Zyngier maz at kernel.org
Sun Apr 21 02:40:09 PDT 2024


On Sun, 21 Apr 2024 07:33:28 +0100,
Shiqi Liu <shiqiliu at hust.edu.cn> wrote:
> 
> 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 at hust.edu.cn>

Nice catch.

Acked-by: Marc Zyngier <maz at kernel.org>

	M.

-- 
Without deviation from the norm, progress is not possible.



More information about the linux-arm-kernel mailing list