u-boot/arch/arm
Pali Rohár ae17910117 armv8: cache_v8: Fix pgtables setup when MMU is already enabled
When MMU is already enabled then dcache_enable() does not call mmu_setup()
and so setup_all_pgtables() is also never called.

In this situation when some driver calls mmu_set_region_dcache_behaviour()
function then U-Boot crashes with error message:

    Emergency page table not setup.

Fix this issue by explicitly calling setup_all_pgtables() in dcache_enable()
function near condition for mmu_setup().

This change fixes chainloading U-Boot from U-Boot on Turris Mox board which
uses mvneta ethernet driver which calls mmu_set_region_dcache_behaviour().

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Marek Behún <kabel@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
2022-10-06 21:05:17 -04:00
..
cpu armv8: cache_v8: Fix pgtables setup when MMU is already enabled 2022-10-06 21:05:17 -04:00
dts board/km: remove kirkwood boards 2022-10-06 10:13:38 +02:00
include - Increase SYS_MALLOC_F_LEN for STM32 MCU's board 2022-09-27 08:53:51 -04:00
lib common/board_f: move CONFIG_MACH_TYPE logic to arch/arm/lib/bdinfo.c 2022-10-06 21:05:17 -04:00
mach-apple arm: apple: Add initial Apple M2 support 2022-07-25 09:38:47 -04:00
mach-aspeed treewide: Drop image_header_t typedef 2022-09-29 16:07:57 -04:00
mach-at91 cyclic: Use schedule() instead of WATCHDOG_RESET() 2022-09-18 10:26:33 +02:00
mach-bcm283x
mach-bcmbca
mach-bcmstb
mach-cortina
mach-davinci arm: Remove unused references to CONFIG_SOC_DM* 2022-07-25 14:57:27 -04:00
mach-exynos arm: samsung: Migrate a number of symbols to Kconfig 2022-06-28 17:04:37 -04:00
mach-highbank
mach-hpe ARM: hpe: gxp: add core support 2022-06-22 21:30:04 -04:00
mach-imx treewide: Drop image_header_t typedef 2022-09-29 16:07:57 -04:00
mach-integrator
mach-ipq40xx arm: dts: qcom: Sync pinctrl DT nodes with Linux bindings 2022-08-26 10:55:46 -04:00
mach-k3 treewide: Drop image_header_t typedef 2022-09-29 16:07:57 -04:00
mach-keystone treewide: Drop image_header_t typedef 2022-09-29 16:07:57 -04:00
mach-kirkwood arm: mvebu: Mark constant data with const keyword 2022-09-13 06:38:08 +02:00
mach-lpc32xx net: lpc32xx_eth.c ethernet driver 2022-08-20 21:18:15 -04:00
mach-mediatek arm: mediatek: add support for MediaTek MT7981 SoC 2022-09-23 15:09:15 -04:00
mach-meson ARM: meson: fixup error on efuse commands return 2022-08-08 09:56:38 +02:00
mach-mvebu arm: mvebu: Add support for specifying VHV_Enable GPIO 2022-10-06 10:15:35 +02:00
mach-nexell
mach-npcm
mach-octeontx
mach-octeontx2
mach-omap2 Convert CONFIG_SYS_L2_PL310 to Kconfig 2022-09-01 17:18:42 -04:00
mach-orion5x arm: Remove edminiv2 board 2022-08-20 21:18:15 -04:00
mach-owl
mach-qemu
mach-rmobile arm: Remove kzm9g board 2022-08-20 21:18:15 -04:00
mach-rockchip board_f: Fix types for board_get_usable_ram_top() 2022-09-23 15:12:42 -04:00
mach-s5pc1xx
mach-snapdragon arm: dts: qcom: Sync pinctrl DT nodes with Linux bindings 2022-08-26 10:55:46 -04:00
mach-socfpga treewide: Drop bootm_headers_t typedef 2022-09-29 16:07:57 -04:00
mach-sti stm32mp1: fix reference for STMicroelectronics 2022-06-17 14:12:27 +02:00
mach-stm32
mach-stm32mp - Increase SYS_MALLOC_F_LEN for STM32 MCU's board 2022-09-27 08:53:51 -04:00
mach-sunxi treewide: Drop image_header_t typedef 2022-09-29 16:07:57 -04:00
mach-tegra dm: core: Drop ofnode_is_available() 2022-09-29 16:11:31 -04:00
mach-u8500
mach-uniphier
mach-versal arm64: versal: Define zynqmp_mmio_write() for versal 2022-09-13 11:32:48 +02:00
mach-versal-net spi: cadence_qspi: Add support for Versal NET platform 2022-09-26 14:23:29 +02:00
mach-versatile
mach-zynq ARM: zynq: Align bss and end of u-boot image to 64bits 2022-09-13 11:32:48 +02:00
mach-zynqmp mailbox: zynqmp: Move struct zynqmp_ipi_msg from sys_proto.h 2022-07-26 08:36:20 +02:00
mach-zynqmp-r5
thumb1/include/asm/proc-armv
config.mk Makefile: Allow LTO to be disabled for a build 2022-09-02 16:20:11 -04:00
Kconfig arm64: versal-net: Add support for Versal NET platform 2022-09-26 14:23:29 +02:00
Kconfig.debug
Makefile arm64: versal-net: Add support for Versal NET platform 2022-09-26 14:23:29 +02:00