From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Thu, 28 Mar 2013 09:44:18 +0100 Subject: [U-Boot] [PATCH RESEND 0/3] ARM: mmu: Set domain permissions to client access In-Reply-To: <1362463485-14781-1-git-send-email-r.sricharan@ti.com> References: <51347297.80007@ti.com> <1362463485-14781-1-git-send-email-r.sricharan@ti.com> Message-ID: <20130328094418.0f4757a4@lilith> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Sricharan, On Tue, 5 Mar 2013 11:34:42 +0530, Sricharan R 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 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 > > 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(-) > Series applied to u-boot-arm/master, thanks! Amicalement, -- Albert.