]> Git Repo - J-u-boot.git/commit - arch/arm/lib/cache-cp15.c
ARM: mmu: Set domain permissions to client access
authorR Sricharan <[email protected]>
Mon, 4 Mar 2013 20:04:45 +0000 (20:04 +0000)
committerAlbert ARIBAUD <[email protected]>
Thu, 28 Mar 2013 08:10:58 +0000 (09:10 +0100)
commitde63ac278cbaaa387da3efaf0b21b819c2b0c496
tree0fd5fac28bf5733062dee5a14881508569f4d709
parent96fdbec2f96c9e11758c8742409069eeef841722
ARM: mmu: Set domain permissions to client access

 The 'XN' execute never bit is set in the pagetables. This will
 prevent speculative prefetches to non executable regions. But the
 domain permissions are set as master in the DACR register.
 So the pagetable attribute for 'XN' is not effective. Change the
 permissions to client.

 This fixes lot of speculative prefetch aborts seen on OMAP5
 secure devices.

Signed-off-by: R Sricharan <[email protected]>
Tested-by: Vincent Stehle <[email protected]>
Cc: Vincent Stehle <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Albert ARIBAUD <[email protected]>
arch/arm/cpu/armv7/cache_v7.c
arch/arm/cpu/armv7/omap-common/hwinit-common.c
arch/arm/include/asm/system.h
arch/arm/lib/cache-cp15.c
This page took 0.037345 seconds and 4 git commands to generate.