From: linux@arm.linux.org.uk (Russell King - ARM Linux) Date: Wed, 27 Apr 2016 21:12:39 +0100 Subject: [PATCH v2 6/6] efi/arm*: add support to dump the EFI page tables In-Reply-To: References: <1461343688-8552-1-git-send-email-ard.biesheuvel@linaro.org> <1461343688-8552-7-git-send-email-ard.biesheuvel@linaro.org> <20160422170112.GS10606@leverpostej> <20160422172513.GV10606@leverpostej> Message-ID: <20160427201239.GT19428@n2100.arm.linux.org.uk> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Mon, Apr 25, 2016 at 01:26:07PM +0200, Ard Biesheuvel wrote: > Well, the problem here is that we only sync the EFI page tables with > the kernel page tables in switch_mm() (if they turn out to be out of > sync). This means we should either sync them in this code path as > well, or remove the kernel VA range from the output, since we'll be > dumping known stale data otherwise. The kernel VA range can always be different - even at task switch time we don't always update it. We only update when there's something that needs to be removed from the page table, and we're running on UP systems. -- RMK's Patch system: http://www.arm.linux.org.uk/developer/patches/ FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up according to speedtest.net.