From mboxrd@z Thu Jan 1 00:00:00 1970 From: Will Deacon Subject: Re: [PATCH] efi/arm*: Only register page tables when they exist Date: Wed, 17 Jan 2018 10:19:23 +0000 Message-ID: <20180117101922.GB27892@arm.com> References: <20180116140832.26731-1-mark.rutland@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20180116140832.26731-1-mark.rutland-5wv7dgnIgG8@public.gmane.org> Sender: linux-efi-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Mark Rutland Cc: ard.biesheuvel-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-efi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-efi@vger.kernel.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