[U-Boot] [PATCH] armv8/layerscape: Update MMU table with execute-never bits

York Sun yorksun at freescale.com
Mon Nov 30 18:17:07 CET 2015



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 <yorksun at freescale.com>
> Signed-off-by: Alison Wang <alison.wang at freescale.com>
> Reported-by: Zhichun Hua <zhichun.hua at freescale.com>
> ---
>  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


More information about the U-Boot mailing list