Re: [PATCH] ARM: boot: Fix ATAGs with appended DTB
From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2020-03-12 12:29:24
Also in:
linux-renesas-soc, lkml
Hi Marek, On Thu, Mar 12, 2020 at 1:23 PM Marek Szyprowski [off-list ref] wrote:
On 26.02.2020 21:48, Geert Uytterhoeven wrote:quoted
On Wed, Feb 26, 2020 at 6:57 PM Russell King - ARM Linux admin [off-list ref] wrote:quoted
On Wed, Feb 26, 2020 at 06:56:06PM +0100, Geert Uytterhoeven wrote:quoted
On Wed, Feb 26, 2020 at 6:49 PM Russell King - ARM Linux admin [off-list ref] wrote:quoted
On Wed, Feb 26, 2020 at 07:35:14AM +0100, Marek Szyprowski wrote:quoted
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.Fixing the original is fine for me, of course. Thanks!Please submit a replacement for 8960/1, thanks.Done.Gentle ping. This fix is still not present in linux-next for over 2 weeks...
According to https://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=8963 the fixed version was applied less than one hour ago. It's now part of arm/for-next. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel