1
0
Fork 0
remarkable-linux/arch/arm/mach-zynq
Kyle Roeschley 7a3cc2a7b2 ARM: zynq: Reserve correct amount of non-DMA RAM
On Zynq, we haven't been reserving the correct amount of DMA-incapable
RAM to keep DMA away from it (per the Zynq TRM Section 4.1, it should be
the first 512k). In older kernels, this was masked by the
memblock_reserve call in arm_memblock_init(). Now, reserve the correct
amount excplicitly rather than relying on swapper_pg_dir, which is an
address and not a size anyway.

Fixes: 46f5b96 ("ARM: zynq: Reserve not DMAable space in front of the
kernel")

Signed-off-by: Kyle Roeschley <kyle.roeschley@ni.com>
Tested-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
2016-11-14 16:07:58 +01:00
..
Kconfig Merge branch 'treewide/cleanup' into next/soc 2015-12-22 13:10:00 -08:00
Makefile ARM: zynq: Actually remove hotplug.c 2014-10-20 20:53:26 +02:00
common.c ARM: zynq: Reserve correct amount of non-DMA RAM 2016-11-14 16:07:58 +01:00
common.h ARM: use const and __initconst for smp_operations 2015-12-01 22:17:45 +01:00
headsmp.S ARM: zynq: reserve space for jump target in secondary trampoline 2015-07-31 10:24:41 +02:00
platsmp.c ARM: use const and __initconst for smp_operations 2015-12-01 22:17:45 +01:00
pm.c ARM: zynq: PM: Fixed simple typo. 2015-01-29 15:38:09 +01:00
slcr.c ARM: zynq: address L2 cache data corruption 2016-02-09 10:18:12 +01:00