Re: [PATCH] arm64/sysreg: Update PIE permission encodings

From: Marc Zyngier
Date: Sun Apr 21 2024 - 05:40:20 EST


On Sun, 21 Apr 2024 07:33:28 +0100,
Shiqi Liu <shiqiliu@xxxxxxxxxxx> 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@xxxxxxxxxxx>

Nice catch.

Acked-by: Marc Zyngier <maz@xxxxxxxxxx>

M.

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