public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 0/2] ARM: mmu: Set domain permissions to client access
@ 2013-01-08 18:08 R Sricharan
  2013-01-08 18:08 ` [U-Boot] [PATCH 1/2] ARM: mmu: Introduce weak dram_bank_setup function R Sricharan
                   ` (4 more replies)
  0 siblings, 5 replies; 25+ messages in thread
From: R Sricharan @ 2013-01-08 18:08 UTC (permalink / raw)
  To: u-boot

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@ti.com>

[1] http://www.mail-archive.com/u-boot at 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(-)

-- 
1.7.9.5

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2013-03-28  8:44 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-08 18:08 [U-Boot] [PATCH 0/2] ARM: mmu: Set domain permissions to client access R Sricharan
2013-01-08 18:08 ` [U-Boot] [PATCH 1/2] ARM: mmu: Introduce weak dram_bank_setup function R Sricharan
2013-01-08 18:08 ` R Sricharan
2013-01-08 18:08 ` [U-Boot] [PATCH 2/2] ARM: mmu: Set domain permissions to client access R Sricharan
2013-02-03 14:17 ` [U-Boot] [PATCH 0/2] " Albert ARIBAUD
2013-02-03 14:19   ` R Sricharan
2013-02-03 14:22     ` R Sricharan
2013-02-03 15:25       ` Albert ARIBAUD
2013-02-03 16:13         ` R Sricharan
2013-02-28 14:20 ` Albert ARIBAUD
2013-02-28 15:05   ` [U-Boot] [PATCH 0/2] ARM: mmu: Set domain permissions to client access - build warnings! Albert ARIBAUD
2013-03-01  4:27     ` Sricharan R
2013-03-01  4:59       ` [U-Boot] [PATCH RESEND] ARM: cache: declare set_section_dcache Sricharan R
2013-03-01  7:45       ` [U-Boot] [PATCH 0/2] ARM: mmu: Set domain permissions to client access - build warnings! Albert ARIBAUD
2013-03-01 14:21         ` Tom Rini
2013-03-02 10:08           ` R, Sricharan
2013-03-02 22:46             ` Albert ARIBAUD
2013-03-04 10:08               ` Vincent Stehlé
2013-03-05  6:04                 ` [U-Boot] [PATCH RESEND 0/3] ARM: mmu: Set domain permissions to client access Sricharan R
2013-03-05  6:04                   ` [U-Boot] [PATCH RESEND 1/3] ARM: cache: declare set_section_dcache Sricharan R
2013-03-05  6:04                   ` [U-Boot] [PATCH RESEND 2/3] ARM: mmu: Introduce weak dram_bank_setup function Sricharan R
2013-03-05  6:04                   ` [U-Boot] [PATCH RESEND 3/3] ARM: mmu: Set domain permissions to client access Sricharan R
2013-03-12  4:44                   ` [U-Boot] [PATCH RESEND 0/3] " Sricharan R
2013-03-28  8:44                   ` Albert ARIBAUD
2013-03-05  6:39                 ` [U-Boot] [PATCH 0/2] ARM: mmu: Set domain permissions to client access - build warnings! Sricharan R

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox