android_kernel_oneplus_msm8998/arch/arm/mach-zynq
Kyle Roeschley 04dc1be104 ARM: zynq: Reserve correct amount of non-DMA RAM
commit 7a3cc2a7b2c723aa552028f4e66841cec183756d upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-01-15 13:41:36 +01:00
..
common.c ARM: zynq: Reserve correct amount of non-DMA RAM 2017-01-15 13:41:36 +01:00
common.h ARM: SoC: platform support for v4.2 2015-06-26 11:34:35 -07:00
headsmp.S ARM: zynq: reserve space for jump target in secondary trampoline 2015-07-31 10:24:41 +02:00
Kconfig ARM: zynq: Enable pinctrl 2015-01-12 08:29:17 +01:00
Makefile ARM: zynq: Actually remove hotplug.c 2014-10-20 20:53:26 +02:00
Makefile.boot ARM: 7022/1: allow to detect conflicting zreladdrs 2011-10-17 09:12:40 +01:00
platsmp.c ARM: v7 setup function should invalidate L1 cache 2015-06-01 11:30:26 +01:00
pm.c ARM: zynq: PM: Fixed simple typo. 2015-01-29 15:38:09 +01:00
slcr.c ARM: zynq: Drop use of slcr_unlock in zynq_slcr_system_restart 2015-05-18 14:46:37 +02:00