]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
ARM: mmu: Set domain permissions to client access
authorR Sricharan <r.sricharan@ti.com>
Mon, 4 Mar 2013 20:04:45 +0000 (20:04 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
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 <r.sricharan@ti.com>
Tested-by: Vincent Stehle <v-stehle@ti.com>
Cc: Vincent Stehle <v-stehle@ti.com>
Cc: Tom Rini <trini@ti.com>
Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
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