Re: arm64: mm: update max_pfn after memory hotplug

From: Will Deacon
Date: Wed Sep 29 2021 - 13:48:46 EST


On Tue, 28 Sep 2021 11:51:48 -0700, Chris Goldsworthy wrote:
> Follow up of RFC patch:
>
> https://lore.kernel.org/linux-mm/a3bf84c4-8f35-f273-145c-55928a06f332@xxxxxxxxxxx/T/#m219937b1acdd40318bbe90ab39f187804775eb74
>
> On arm64 we set max_pfn at boot in arch/arm64/mm/init.c. If you
> hotplug in memory after booting up, max_pfn is not updated. This
> breaks diagnostic functions executed from user space like
> read_page_owner():
>
> [...]

Applied to arm64 (for-next/mm), thanks!

[1/1] arm64: mm: update max_pfn after memory hotplug
https://git.kernel.org/arm64/c/8fac67ca236b

Cheers,
--
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev