Skip to content

ARM: mmu: Set domain permissions to client access

Sricharan R u-boot 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v1 Latest posting 2/20 of 3 patches 0 repliesNew
  2. v1 posting 1/20 of 2 patches 0 repliesSuperseded

Patches in v1 posting 2/2 No applies recorded yet

None of the 3 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot] [PATCH RESEND 0/3] ARM: mmu: Set domain permissions to client access

Hi Albert,

Quoted 23 lines · Sricharan R

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 is a repost of the older series to include Vincent's patch in the same one.

R Sricharan (2):
ARM: mmu: Introduce weak dram_bank_setup function
ARM: mmu: Set domain permissions to client access

Vincent Stehl? (1):
ARM: cache: declare set_section_dcache

Quoted 7 lines
 arch/arm/cpu/armv7/cache_v7.c                  |    3 ++
 arch/arm/cpu/armv7/omap-common/hwinit-common.c |   35 ++++++++++++++++++++++++
 arch/arm/include/asm/cache.h                   |    2 ++
 arch/arm/include/asm/system.h                  |   14 ++++++++++
 arch/arm/lib/cache-cp15.c                      |   11 +++++++-
 5 files changed, 64 insertions(+), 1 deletion(-)

Is this ok to get in now ?

Regards,
Sricharan