Skip to content
Commit 7a3cc2a7 authored by Kyle Roeschley's avatar Kyle Roeschley Committed by Michal Simek
Browse files

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: 46f5b960 ("ARM: zynq: Reserve not DMAable space in front of the
kernel")

Signed-off-by: default avatarKyle Roeschley <kyle.roeschley@ni.com>
Tested-by: default avatarNathan Rossi <nathan@nathanrossi.com>
Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
parent 1001354c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment