diff options
author | Kyle Roeschley <kyle.roeschley@ni.com> | 2016-10-31 19:26:17 +0300 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2016-11-14 18:07:58 +0300 |
commit | 7a3cc2a7b2c723aa552028f4e66841cec183756d (patch) | |
tree | 09cb49bc5ac4c1457c7fa03acd955eba7a09e7e0 /arch/arm/mach-davinci/da850.c | |
parent | 1001354ca34179f3db924eb66672442a173147dc (diff) | |
download | linux-7a3cc2a7b2c723aa552028f4e66841cec183756d.tar.xz |
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>
Diffstat (limited to 'arch/arm/mach-davinci/da850.c')
0 files changed, 0 insertions, 0 deletions