From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Fleming Subject: Re: [PATCH v4 3/8] efi: split off remapping code from efi_config_init() Date: Mon, 5 Jan 2015 14:55:10 +0000 Message-ID: <20150105145510.GD3163@console-pimps.org> References: <1419245944-2424-1-git-send-email-ard.biesheuvel@linaro.org> <1419245944-2424-4-git-send-email-ard.biesheuvel@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1419245944-2424-4-git-send-email-ard.biesheuvel-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> Sender: linux-efi-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Ard Biesheuvel Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-efi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, leif.lindholm-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org, roy.franz-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org, mark.rutland-5wv7dgnIgG8@public.gmane.org, catalin.marinas-5wv7dgnIgG8@public.gmane.org, will.deacon-5wv7dgnIgG8@public.gmane.org, matt.fleming-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org, bp-Gina5bIWoIWzQB+pC5nmwQ@public.gmane.org, dyoung-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org, geoff.levand-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org, msalter-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org List-Id: linux-efi@vger.kernel.org On Mon, 22 Dec, at 10:58:59AM, Ard Biesheuvel wrote: > Split of the remapping code from efi_config_init() so that the caller > can perform its own remapping. This is necessary to correctly handle > virtually remapped UEFI memory regions under kexec, as efi.systab will > have been updated to a virtual address. > > Signed-off-by: Ard Biesheuvel > --- > drivers/firmware/efi/efi.c | 49 +++++++++++++++++++++++++++++----------------- > include/linux/efi.h | 2 ++ > 2 files changed, 33 insertions(+), 18 deletions(-) Looks good Ard. Acked-by: Matt Fleming -- Matt Fleming, Intel Open Source Technology Center