Thread (9 messages) flat view 9 messages, 4 authors, 2020-03-12

Re: [PATCH] ARM: boot: Fix ATAGs with appended DTB

From: Russell King - ARM Linux admin <linux@armlinux.org.uk>
Date: 2020-02-26 17:49:38
Also in: linux-renesas-soc, lkml

On Wed, Feb 26, 2020 at 07:35:14AM +0100, Marek Szyprowski wrote:
Hi Geert,

On 25.02.2020 15:47, Geert Uytterhoeven wrote:
quoted
At early boot, register r8 may contain an ATAGs or DTB pointer.
When an appended DTB is found, its address is stored in r8, for
extraction of the RAM base address later.

However, if r8 contained an ATAGs pointer before, that pointer will be
lost, and the provided ATAGs is no longer folded into the provided DTB.

Fix this by leaving r8 untouched.

Fixes: 137e522593918be2 ("ARM: 8960/1: boot: Obtain start of physical memory from DTB")
Reported-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
The original commit hasn't been submitted, so it can be fixed before it
hits mainline if you want.  Let me know what you want to do.  Thanks.

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line in suburbia: sync at 12.1Mbps down 622kbps up
According to speedtest.net: 11.9Mbps down 500kbps up

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help