u-boot/arch/arm
Peng Fan fea7452c15 armv7: psci: cpu_off: flush D-Cache before disable D-Cache
Before disable cache, need to first flush cache.

There maybe dirty data in D-Cache before disable D-Cache.
After disable D-Cache, the first store instructions in
psci_v7_flush_dcache_all will directly store registers
{r4-r5, r7, r9-r11, lr} to memory.
If there is dirty data before disable D-Cache,
psci_v7_flush_dcache_all will flush data to memory,
and may overwrite the memory that hold the registers
{r4-r5, r7, r9-r11, lr}.

So before disable cache, first flush D-Cache.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Cc: Albert Aribaud <albert.u.boot@aribaud.net>
Cc: Chen-Yu Tsai <wens@csie.org>
Cc: Hans de Goede <hdegoede@redhat.com>
Cc: Hongbo Zhang <hongbo.zhang@nxp.com>
Cc: York Sun <york.sun@nxp.com>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Tom Rini <trini@konsulko.com>
2016-11-29 08:15:31 -05:00
..
cpu armv7: psci: cpu_off: flush D-Cache before disable D-Cache 2016-11-29 08:15:31 -05:00
dts fdt: adjust bcm283x device tree for u-boot 2016-11-28 20:09:50 -05:00
imx-common imx-common: compile plugin code 2016-10-24 10:58:18 +02:00
include Merge git://git.denx.de/u-boot-fsl-qoriq 2016-11-25 17:39:54 -05:00
lib efi_loader: Allow to compile helloworld.efi w/o bundling it 2016-11-27 09:53:39 -05:00
mach-at91 arm, at91: add icache support 2016-10-28 18:37:13 +02:00
mach-bcm283x ARM: bcm283x: Implement EFI RTS reset_system 2016-11-28 20:15:19 -05:00
mach-davinci common: Pass the boot device into spl_boot_mode() 2016-06-26 20:17:22 +02:00
mach-exynos arm: exynos7420: remove custome low level init function 2016-11-22 11:40:24 -08:00
mach-highbank ARM: highbank: move SoC sources to mach-highbank 2015-02-21 08:23:51 -05:00
mach-integrator integrator: switch to DM serial port 2015-08-12 20:47:49 -04:00
mach-keystone keystone2: Move target selection to Kconfig 2016-11-28 15:10:34 -05:00
mach-kirkwood arm: kirkwood: add support for Synology DS109 board 2016-10-09 10:55:32 +02:00
mach-meson arm: Disable HVC PSCI calls by default 2016-10-18 09:08:08 +02:00
mach-mvebu arm64: mvebu: Add Armada 7K db-88f7040 development board support 2016-09-27 17:29:54 +02:00
mach-omap2 arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
mach-orion5x Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
mach-rmobile armv8: Support loading 32-bit OS in AArch32 execution state 2016-11-22 11:40:24 -08:00
mach-rockchip rockchip: Add support for veyron-minnie (ASUS Chromebook Flip) 2016-11-25 17:59:32 -07:00
mach-s5pc1xx arm: s5pc1xx: move SoC to mach-s5pc1xx 2015-11-30 17:17:01 +09:00
mach-snapdragon drivers/sysreset: group sysreset drivers 2016-08-12 09:22:17 -04:00
mach-socfpga Fix spelling of "resetting". 2016-10-31 10:13:17 -04:00
mach-stm32 Revert "stm32: Change USART port to USART6 for stm32f746 discovery board" 2016-07-21 15:38:13 -04:00
mach-sunxi sunxi: A64: enable USB support 2016-10-30 11:38:04 +01:00
mach-tegra Merge branch 'master' of git://git.denx.de/u-boot-tegra 2016-11-08 10:36:57 -05:00
mach-uniphier ARM: uniphier: update DRAM init code for LD11 SoC 2016-10-29 17:24:30 +09:00
mach-versatile arm: Remove versatileab board 2015-09-11 15:01:25 -04:00
mach-zynq zynq: nand: Runtime detection of nand buswidth through slcr 2016-11-15 15:27:51 +01:00
thumb1/include/asm/proc-armv arm: support Thumb-1 with CONFIG_SYS_THUMB_BUILD 2015-11-10 15:03:48 +01:00
config.mk TI: Remove CONFIG_OMAP_COMMON in favor of CONFIG_ARCH_OMAP2 2016-11-21 14:07:29 -05:00
Kconfig ARM: bcm283x: use OF_CONTROL for bcm283x 2016-11-28 20:15:18 -05:00
Kconfig.debug arm: debug: add Kconfig entries for lowlevel debug 2014-10-26 22:23:12 +01:00
Makefile arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00