On 3/30/20 10:06 AM, Peter Maydell wrote: > Our implementation of the PSTATE.PAN bit incorrectly cleared all > access permission bits for privileged access to memory which is > user-accessible. It should only affect the privileged read and write > permissions; execute permission is dealt with via XN/PXN instead. > > Fixes: 81636b70c226dc27d7ebc8d > Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> > --- > Compare the pseudocode AArch64.CheckPermission(). > --- > target/arm/helper.c | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-)
Oops, Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~