Re: [PATCH 3/4] x86, efi: Add an efi= kernel command line parameter

Matthew Garrett
2013-06-06T20:50:57Z

On Thu, Jun 06, 2013 at 10:44:10PM +0200, Borislav Petkov wrote:
> On Thu, Jun 06, 2013 at 09:30:57PM +0100, Matthew Garrett wrote:
> > Well, we want the 1:1 mappings to exist all the time. The only
> > thing the option should change is whether they're passed to
> > SetVirtualAddressMap() or not.
>
> But can you call them even if they haven't been passed through
> SetVirtualAddressMap, *after* SetVirtualAddressMap has been called?

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.

--
Matthew Garrett | mjg59-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org