From: Marc Zyngier <maz@kernel.org>
To: Shiqi Liu <shiqiliu@hust.edu.cn>
Cc: catalin.marinas@arm.com, will@kernel.org, broonie@kernel.org,
anshuman.khandual@arm.com, suzuki.poulose@arm.com,
miguel.luis@oracle.com, joey.gouly@arm.com,
oliver.upton@linux.dev, jingzhangos@google.com,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] arm64/sysreg: Update PIE permission encodings
Date: Sun, 21 Apr 2024 10:40:09 +0100 [thread overview]
Message-ID: <86plujqcjq.wl-maz@kernel.org> (raw)
In-Reply-To: <20240421063328.29710-1-shiqiliu@hust.edu.cn>
On Sun, 21 Apr 2024 07:33:28 +0100,
Shiqi Liu <shiqiliu@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@hust.edu.cn>
Nice catch.
Acked-by: Marc Zyngier <maz@kernel.org>
M.
--
Without deviation from the norm, progress is not possible.
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
WARNING: multiple messages have this Message-ID (diff)
From: Marc Zyngier <maz@kernel.org>
To: Shiqi Liu <shiqiliu@hust.edu.cn>
Cc: catalin.marinas@arm.com, will@kernel.org, broonie@kernel.org,
anshuman.khandual@arm.com, suzuki.poulose@arm.com,
miguel.luis@oracle.com, joey.gouly@arm.com,
oliver.upton@linux.dev, jingzhangos@google.com,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] arm64/sysreg: Update PIE permission encodings
Date: Sun, 21 Apr 2024 10:40:09 +0100 [thread overview]
Message-ID: <86plujqcjq.wl-maz@kernel.org> (raw)
In-Reply-To: <20240421063328.29710-1-shiqiliu@hust.edu.cn>
On Sun, 21 Apr 2024 07:33:28 +0100,
Shiqi Liu <shiqiliu@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@hust.edu.cn>
Nice catch.
Acked-by: Marc Zyngier <maz@kernel.org>
M.
--
Without deviation from the norm, progress is not possible.
next prev parent reply other threads:[~2024-04-21 9:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-21 6:33 [PATCH] arm64/sysreg: Update PIE permission encodings Shiqi Liu
2024-04-21 6:33 ` Shiqi Liu
2024-04-21 9:40 ` Marc Zyngier [this message]
2024-04-21 9:40 ` Marc Zyngier
2024-04-22 10:09 ` Catalin Marinas
2024-04-22 10:09 ` Catalin Marinas
2024-04-28 8:59 ` Will Deacon
2024-04-28 8:59 ` Will Deacon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86plujqcjq.wl-maz@kernel.org \
--to=maz@kernel.org \
--cc=anshuman.khandual@arm.com \
--cc=broonie@kernel.org \
--cc=catalin.marinas@arm.com \
--cc=jingzhangos@google.com \
--cc=joey.gouly@arm.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=miguel.luis@oracle.com \
--cc=oliver.upton@linux.dev \
--cc=shiqiliu@hust.edu.cn \
--cc=suzuki.poulose@arm.com \
--cc=will@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.