Re: [PATCH 5/5] arm: boot: store ATAGs structure into DT "/chosen/linux,atags" entry
From: Nicolas Pitre
Date: Tue Dec 15 2015 - 12:25:04 EST
On Tue, 15 Dec 2015, Russell King - ARM Linux wrote:
> On Tue, Dec 15, 2015 at 10:33:25AM +0100, Pali Rohár wrote:
> > So am I understand correctly that solution would be to hack
> > arch/arm/mm/mmu.c to not overwrite page at PHYS_OFFSET?
> That's completely unnecessary: there are enough platform hooks to cope
> with whatever the platform requires.
Indeed. I didn't notice that mdesc->reserve() exists these days and is
perfect for this purpose as you say.