u-boot/arch/arm
Patrick Delaunay 503eea4519 arm: cp15: update DACR value to activate access control
Update the initial value of Domain Access Control Register (DACR)
and set by default the access permission to client (DACR_Dn_CLIENT = 1U)
for each of the 16 domains and no more to all-supervisor
(DACR_Dn_MANAGER = 3U).

This patch allows to activate the domain checking in MMU against the
permission bits in the translation tables and avoids prefetching issue
on ARMv7 [1].

Today it was already done for OMAP2 architecture
./arch/arm/mach-omap2/omap-cache.c::arm_init_domains
introduced by commit de63ac278c ("ARM: mmu: Set domain permissions
to client access") which fixes lot of speculative prefetch aborts seen
on OMAP5 secure devices.

[1] https://developer.arm.com/documentation/ddi0406/b/System-Level-Architecture/Virtual-Memory-System-Architecture--VMSA-/Memory-access-control/The-Execute-Never--XN--attribute-and-instruction-prefetching

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Reported-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
2021-03-02 15:53:37 -05:00
..
cpu reset: Remove addr parameter from reset_cpu() 2021-03-02 14:03:02 -05:00
dts - Add USB host boot support in stm32mp1 config 2021-02-26 12:41:06 -05:00
include arm: cosmetic: align TTB_SECT define value 2021-03-02 15:53:37 -05:00
lib arm: cp15: update DACR value to activate access control 2021-03-02 15:53:37 -05:00
mach-aspeed common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mach-at91 reset: Remove addr parameter from reset_cpu() 2021-03-02 14:03:02 -05:00
mach-bcm283x reset: Remove addr parameter from reset_cpu() 2021-03-02 14:03:02 -05:00
mach-bcmstb board: arm: Add support for Broadcom BCM7260 2018-09-10 21:19:31 -04:00
mach-cortina board: presidio-asic: Add basic G3 engr. development board support 2020-02-07 16:16:01 -05:00
mach-davinci reset: Remove addr parameter from reset_cpu() 2021-03-02 14:03:02 -05:00
mach-exynos reset: Remove addr parameter from reset_cpu() 2021-03-02 14:03:02 -05:00
mach-highbank common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
mach-imx reset: Remove addr parameter from reset_cpu() 2021-03-02 14:03:02 -05:00
mach-integrator env: Convert CONFIG_ENV_IS_IN... to a choice 2017-08-15 20:50:01 -04:00
mach-ipq40xx dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
mach-k3 reset: Remove addr parameter from reset_cpu() 2021-03-02 14:03:02 -05:00
mach-keystone reset: Remove addr parameter from reset_cpu() 2021-03-02 14:03:02 -05:00
mach-kirkwood reset: Remove addr parameter from reset_cpu() 2021-03-02 14:03:02 -05:00
mach-lpc32xx reset: Remove addr parameter from reset_cpu() 2021-03-02 14:03:02 -05:00
mach-mediatek reset: Remove addr parameter from reset_cpu() 2021-03-02 14:03:02 -05:00
mach-meson reset: Remove addr parameter from reset_cpu() 2021-03-02 14:03:02 -05:00
mach-mvebu reset: Remove addr parameter from reset_cpu() 2021-03-02 14:03:02 -05:00
mach-nexell common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mach-octeontx reset: Remove addr parameter from reset_cpu() 2021-03-02 14:03:02 -05:00
mach-octeontx2 reset: Remove addr parameter from reset_cpu() 2021-03-02 14:03:02 -05:00
mach-omap2 reset: Remove addr parameter from reset_cpu() 2021-03-02 14:03:02 -05:00
mach-orion5x reset: Remove addr parameter from reset_cpu() 2021-03-02 14:03:02 -05:00
mach-owl reset: Remove addr parameter from reset_cpu() 2021-03-02 14:03:02 -05:00
mach-qemu qemu: arm: Initialise virtio devices in board_late_init 2020-12-31 14:41:31 +01:00
mach-rmobile Merge branch '2021-02-02-drop-asm_global_data-when-unused' 2021-02-15 10:16:45 -05:00
mach-rockchip Merge branch '2021-02-02-drop-asm_global_data-when-unused' 2021-02-15 10:16:45 -05:00
mach-s5pc1xx common: Drop net.h from common header 2020-05-18 17:33:31 -04:00
mach-snapdragon common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mach-socfpga reset: Remove addr parameter from reset_cpu() 2021-03-02 14:03:02 -05:00
mach-sti board: Add STMicroelectronics STiH410-B2260 support 2017-03-14 20:40:21 -04:00
mach-stm32 treewide: Update email address Patrick Delaunay and Patrice Chotard 2020-12-09 10:57:50 +01:00
mach-stm32mp stm32mp: update the mmu configuration for SPL and prereloc 2021-03-02 15:53:37 -05:00
mach-sunxi reset: Remove addr parameter from reset_cpu() 2021-03-02 14:03:02 -05:00
mach-tegra reset: Remove addr parameter from reset_cpu() 2021-03-02 14:03:02 -05:00
mach-u8500 common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
mach-uniphier reset: Remove addr parameter from reset_cpu() 2021-03-02 14:03:02 -05:00
mach-versal common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
mach-versatile SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mach-zynq reset: Remove addr parameter from reset_cpu() 2021-03-02 14:03:02 -05:00
mach-zynqmp Xilinx changes for v2021.04-rc3 2021-02-23 10:45:55 -05:00
mach-zynqmp-r5 reset: Remove addr parameter from reset_cpu() 2021-03-02 14:03:02 -05:00
thumb1/include/asm/proc-armv
config.mk Makefile: Rename ALL-y to INPUTS-y 2020-07-28 19:30:39 -06:00
Kconfig arm: Remove ls2080a_simu board 2021-02-15 10:11:38 -05:00
Kconfig.debug arm: debug: add Kconfig entries for lowlevel debug 2014-10-26 22:23:12 +01:00
Makefile arm: octeontx2: Add support for OcteonTX2 SoC platforms 2020-08-25 08:01:16 +02:00