• G
    [PATCH] ARM: 2656/1: Access permission bits are wrong for kernel XIP sections on ARMv6 · ca315159
    George G. Davis 提交于
    Patch from George G. Davis
    
    This patch is required for kernel XIP support on ARMv6 machines.  It ensures that the access permission bits for kernel XIP section descriptors are APX=1 and AP[1:0]=01, which is Kernel read-only/User no access permissions.  Prior to this change, kernel XIP section descriptor access permissions were set to Kernel no access/User no access on ARMv6 machines and the kernel would therefore hang upon entry to userspace when set_fs(USER_DS) was executed.
    
    Signed-off-by: Steve Longerbeam
    Signed-off-by: George G. Davis
    Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
    ca315159
mm-armv.c 18.4 KB