Patch "ARM: zynq: Reserve correct amount of non-DMA RAM" has been added to the 4.9-stable tree
Subsystems (4)
This is a note to let you know that I've just added the patch titled
ARM: zynq: Reserve correct amount of non-DMA RAM
to the 4.9-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
arm-zynq-reserve-correct-amount-of-non-dma-ram.patch
and it can be found in the queue-4.9 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
7a3cc2a7b2c723aa552028f4e66841cec183756dMon Sep 17 00:00:00 2001
From: Kyle Roeschley <[email protected]>
Date: Mon, 31 Oct 2016 11:26:17 -0500
Subject: ARM: zynq: Reserve correct amount of non-DMA RAM
From: Kyle Roeschley <[email protected]>
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.
--- arch/arm/mach-zynq/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-zynq/common.c +1 -1
@@ -59,7 +59,7 @@ void __iomem *zynq_scu_base;static void __init zynq_memory_init (void ) {if (!__pa (PAGE_OFFSET )) -memblock_reserve (__pa (PAGE_OFFSET ),__pa (swapper_pg_dir)); +memblock_reserve (__pa (PAGE_OFFSET ),0x80000 ); }static struct platform_device zynq_cpuidle_device = {
Patches currently in stable-queue which might be from [email protected] are
queue-4.9/arm-zynq-reserve-correct-amount-of-non-dma-ram.patch