Arm64 crash while reading memory sysfs

Andrew Morton akpm at linux-foundation.org
Thu May 27 15:56:44 PDT 2021


On Thu, 27 May 2021 18:50:48 +0100 Catalin Marinas <catalin.marinas at arm.com> wrote:

> > Can you please try Anshuman's patch "arm64/mm: Drop HAVE_ARCH_PFN_VALID":
> > 
> > https://lore.kernel.org/lkml/1621947349-25421-1-git-send-email-anshuman.khandual@arm.com
> > 
> > It seems to me that the check for memblock_is_memory() in
> > arm64::pfn_valid() is what makes init_unavailable_range() to bail out for
> > section parts that are not actually populated and then we have
> > VM_BUG_ON_PAGE(PagePoisoned(p)) for these pages.
> 
> I acked Anshuman's patch, I think they all need to go in together.

That's neat.   Specifically which patches are we referring to here?



More information about the linux-arm-kernel mailing list