On Thu, 27 Oct 2022 at 12:26, Timofey Kutergin <tkuter...@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 <tkuter...@gmail.com> > --- > target/arm/helper.c | 13 +++++++++++-- > target/arm/ptw.c | 35 ++++++++++++++++++++++++++++++----- > 2 files changed, 41 insertions(+), 7 deletions(-)
Reviewed-by: Peter Maydell <peter.mayd...@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