[U-Boot] [PATCH 0/2] ARM: mmu: Set domain permissions to client access
Albert ARIBAUD
albert.u.boot at aribaud.net
Thu Feb 28 15:20:44 CET 2013
(sorry for any duplicate of this mail)
Hi R Sricharan,
On Tue, 8 Jan 2013 23:38:22 +0530, R Sricharan <r.sricharan at ti.com>
wrote:
> Currently for ARM based cpu's, mmu pagetable attributes are set with
> manager permissions for all 4GB address space. Because of this the
> 'execute never (XN)' permission is never checked on read sensitive
> regions which results in speculative aborts.
>
> This series changes the domain permissions of the full 4GB space
> to client access for OMAP socs. This avoids all the speculative
> aborts that are currently seen on OMAP5 secure devices.
>
> Tested on OMAP5 SDP (HS) soc.
>
> This series depends on [1] the patch sent by
> <Vincent Stehle <v-stehle at ti.com>
>
> [1] http://www.mail-archive.com/u-boot@lists.denx.de/msg102709.html
>
> R Sricharan (2):
> ARM: mmu: Introduce weak dram_bank_setup function
> ARM: mmu: Set domain permissions to client access
>
> arch/arm/cpu/armv7/cache_v7.c | 3 ++
> arch/arm/cpu/armv7/omap-common/hwinit-common.c | 35 ++++++++++++++++++++++++
> arch/arm/include/asm/cache.h | 1 +
> arch/arm/include/asm/system.h | 14 ++++++++++
> arch/arm/lib/cache-cp15.c | 13 ++++++++-
> 5 files changed, 65 insertions(+), 1 deletion(-)
>
Series applied to u-boot-arm/master, thanks!
Amicalement,
--
Albert.
More information about the U-Boot
mailing list