From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Mon, 30 Nov 2015 09:17:07 -0800 Subject: [U-Boot] [PATCH] armv8/layerscape: Update MMU table with execute-never bits In-Reply-To: <1446693349-1510-1-git-send-email-b18965@freescale.com> References: <1446693349-1510-1-git-send-email-b18965@freescale.com> Message-ID: <565C8493.300@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 11/04/2015 07:15 PM, Alison Wang wrote: > For most device addresses excution shouldn't be allowed. Revise > the MMU table to enforce execute-never bits. OCRAM, DDR and IFC > are allowed for excution. > > Signed-off-by: York Sun > Signed-off-by: Alison Wang > Reported-by: Zhichun Hua > --- > arch/arm/cpu/armv8/cache_v8.c | 4 +- > arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 2 +- > arch/arm/include/asm/arch-fsl-layerscape/cpu.h | 79 +++++++++++++++++--------- > arch/arm/include/asm/armv8/mmu.h | 2 +- > 4 files changed, 56 insertions(+), 31 deletions(-) > Applied to fsl-qoriq master. Thanks. York