arm64: dts: Reserve the memory used for secondary CPU release address
authorCatalin Marinas <catalin.marinas@arm.com>
Thu, 14 Nov 2013 15:15:37 +0000 (15:15 +0000)
committerJiri Slaby <jslaby@suse.cz>
Mon, 31 Mar 2014 12:22:22 +0000 (14:22 +0200)
commit df503ba7f653c590b475ab80bde788edf5af70d5 upstream.

With the spin-table SMP booting method, secondary CPUs poll a location
passed in the DT. The foundation-v8.dts file doesn't have this memory
reserved and there is a risk of Linux using it before secondary CPUs are
started.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
arch/arm64/boot/dts/foundation-v8.dts

index 84fcc50..519c4b2 100644 (file)
@@ -6,6 +6,8 @@
 
 /dts-v1/;
 
+/memreserve/ 0x80000000 0x00010000;
+
 / {
        model = "Foundation-v8A";
        compatible = "arm,foundation-aarch64", "arm,vexpress";