[PATCH] efi/arm*: Only register page tables when they exist

Will Deacon will.deacon at arm.com
Wed Jan 17 02:19:23 PST 2018


On Tue, Jan 16, 2018 at 02:08:32PM +0000, Mark Rutland wrote:
> Currently the arm/arm64 runtime code registers the runtime servies
> pagetables with ptdump regardless of whether runtime services page
> tables have been created.
> 
> As efi_mm.pgd is NULL in these cases, attempting to dump the efi page
> tables results in a NULL pointer dereference in the ptdump code:

Acked-by: Will Deacon <will.deacon at arm.com>

Ard -- please can you pick this one up?

Cheers,

Will



More information about the linux-arm-kernel mailing list