On Fri, 28 Oct 2022 at 19:17, Peter Maydell <[email protected]> wrote: > > On Thu, 27 Oct 2022 at 12:26, Timofey Kutergin <[email protected]> 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 <[email protected]> > > --- > > target/arm/helper.c | 13 +++++++++++-- > > target/arm/ptw.c | 35 ++++++++++++++++++++++++++++++----- > > 2 files changed, 41 insertions(+), 7 deletions(-) > > Reviewed-by: Peter Maydell <[email protected]> > > 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.
Applied to target-arm.next, thanks. -- PMM
