From: linux@armlinux.org.uk (Russell King - ARM Linux) Date: Tue, 6 Nov 2018 19:08:17 +0000 Subject: [PATCH 2/4] efi/arm: defer persistent reservations until after paging_init() In-Reply-To: References: <20181106113732.16351-1-ard.biesheuvel@linaro.org> <20181106113732.16351-3-ard.biesheuvel@linaro.org> Message-ID: <20181106190817.GN30658@n2100.armlinux.org.uk> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Tue, Nov 06, 2018 at 08:02:58PM +0100, Ard Biesheuvel wrote: > On 6 November 2018 at 12:37, Ard Biesheuvel wrote: > > The new memory EFI reservation feature we introduced to allow memory > > reservations to persist across kexec may trigger an unbounded number > > of calls to memblock_reserve(). The memblock subsystem can deal with > > this fine, but not before memblock resizing is enabled, which we can > > only do after paging_init(), when the memory we reallocate the array > > into is actually mapped. > > > > So break out the memreserve table processing into a separate function > > and call if after paging_init() on both arm64 and ARM. > > > > Cc: Russell King > > Signed-off-by: Ard Biesheuvel > > Russell, > > If you are ok with this patch, may I have your ack please? I would > like to send it out before the end of the week. You're not going to get a quick answer to this, because it needs me to investigate what the effect of this change actually is by code review. I can't guarantee when I'll get around to that. -- RMK's Patch system: http://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