From mboxrd@z Thu Jan 1 00:00:00 1970 From: will.deacon@arm.com (Will Deacon) Date: Wed, 17 Jan 2018 10:19:23 +0000 Subject: [PATCH] efi/arm*: Only register page tables when they exist In-Reply-To: <20180116140832.26731-1-mark.rutland@arm.com> References: <20180116140832.26731-1-mark.rutland@arm.com> Message-ID: <20180117101922.GB27892@arm.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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 Ard -- please can you pick this one up? Cheers, Will