[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] target/arm: Fixed Privileged Access Never (PAN) for aarch32
From: |
Peter Maydell |
Subject: |
Re: [PATCH] target/arm: Fixed Privileged Access Never (PAN) for aarch32 |
Date: |
Fri, 28 Oct 2022 19:17:26 +0100 |
On Thu, 27 Oct 2022 at 12:26, Timofey Kutergin <tkutergin@gmail.com> wrote:
>
> - Use CPSR.PAN to check for PAN state in aarch32 mode
> - throw permission fault during address translation when PAN is
> enabled and kernel tries to access user acessible page
> - ignore SCTLR_XP bit for armv7 and armv8 (conflicts with SCTLR_SPAN).
>
> Signed-off-by: Timofey Kutergin <tkutergin@gmail.com>
> ---
> target/arm/helper.c | 13 +++++++++++--
> target/arm/ptw.c | 35 ++++++++++++++++++++++++++++++-----
> 2 files changed, 41 insertions(+), 7 deletions(-)
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Not sure if I'll be able to get this in before softfreeze,
but since it's a bug fix it'll be in 7.2.
thanks
-- PMM
[PATCH] target/arm: Fixed Privileged Access Never (PAN) for aarch32, Timofey Kutergin, 2022/10/27
- Re: [PATCH] target/arm: Fixed Privileged Access Never (PAN) for aarch32,
Peter Maydell <=