From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Garrett Subject: Re: [PATCH 3/4] x86, efi: Add an efi= kernel command line parameter Date: Thu, 6 Jun 2013 22:03:43 +0100 Message-ID: <20130606210343.GA4939@srcf.ucam.org> References: <20130606193548.GA2946@srcf.ucam.org> <20130606194134.GN20972@pd.tnic> <20130606195450.GA3252@srcf.ucam.org> <20130606200705.GO20972@pd.tnic> <20130606201828.GA3950@srcf.ucam.org> <20130606202717.GP20972@pd.tnic> <20130606203057.GA4237@srcf.ucam.org> <20130606204410.GQ20972@pd.tnic> <20130606205057.GA4363@srcf.ucam.org> <20130606210218.GR20972@pd.tnic> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20130606210218.GR20972-fF5Pk5pvG8Y@public.gmane.org> Sender: linux-efi-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Borislav Petkov Cc: Matt Fleming , Linux EFI , Jiri Kosina , X86-ML , LKML , Borislav Petkov List-Id: linux-efi@vger.kernel.org On Thu, Jun 06, 2013 at 11:02:18PM +0200, Borislav Petkov wrote: > On Thu, Jun 06, 2013 at 09:50:57PM +0100, Matthew Garrett wrote: > > What do you mean by "call them"? I don't think we ever want to call by > > physical address, other than maybe in the kexec case. The only reason > > we really care about the physical addresses being mapped 1:1 is that > > some pointers may not have been updated. > > I want to be able to call the runtime services in the kexec kernel. > Which means, the kexec kernel would simply map the runtime code/data > regions 1:1 and then use the physical addresses to call the runtime > services. > > Question is: would that work even if SetVirtualAddressMap has already > run in the original kernel and with virtual addresses? No. You'll need to have an option for that case. -- Matthew Garrett | mjg59-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org