qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 3/3] target/arm: Implement FEAT_PAN3


From: Richard Henderson
Subject: Re: [PATCH 3/3] target/arm: Implement FEAT_PAN3
Date: Fri, 31 Mar 2023 10:04:21 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0

On 3/31/23 07:50, Peter Maydell wrote:
FEAT_PAN3 adds an EPAN bit to SCTLR_EL1 and SCTLR_EL2, which allows
the PAN bit to make memory non-privileged-read/write if it is
user-executable as well as if it is user-read/write.

Implement this feature and enable it in the AArch64 'max' CPU.

Signed-off-by: Peter Maydell<peter.maydell@linaro.org>
---
  docs/system/arm/emulation.rst |  1 +
  target/arm/cpu.h              |  5 +++++
  target/arm/cpu64.c            |  2 +-
  target/arm/ptw.c              | 14 +++++++++++++-
  4 files changed, 20 insertions(+), 2 deletions(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]