arm64 crashkernel fails to boot on acpi-only machines due to ACPI regions being no longer mapped as NOMAP

Dave Young dyoung at redhat.com
Fri Nov 24 00:47:18 PST 2017


[snip]
> > diff --git a/arch/arm64/kernel/setup.c b/arch/arm64/kernel/setup.c
> > index 7768423b39d3..61d867647cca 100644
> > --- a/arch/arm64/kernel/setup.c
> > +++ b/arch/arm64/kernel/setup.c
> > @@ -213,7 +213,7 @@ static void __init request_standard_resources(void)
> > 
> >         for_each_memblock(memory, region) {
> >                 res = alloc_bootmem_low(sizeof(*res));
> > -               if (memblock_is_nomap(region)) {
> > +               if (memblock_is_nomap(region) || memblock_is_reserved(region)) {
> >                         res->name  = "reserved";
> >                         res->flags = IORESOURCE_MEM;
> >                 } else {
> > 
> 

Bhupesh, does insert resource work in efi_init/reserve_regions()?

Thanks
Dave



More information about the linux-arm-kernel mailing list