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

From: Matthew Garrett
Date: Thu Jun 06 2013 - 15:36:00 EST


On Thu, Jun 06, 2013 at 08:51:40PM +0200, Borislav Petkov wrote:
> On Thu, Jun 06, 2013 at 06:50:52PM +0100, Matthew Garrett wrote:
> > On Thu, Jun 06, 2013 at 03:26:03PM +0200, Borislav Petkov wrote:
> >
> > > This would break the Macs, remember?
> >
> > I think the Macs will be fine as long as we're passing the high mappings
> > into SetVirtualAddressMap().
>
> Right, on those we'll fall back to the current mappings and simply not
> have the 1:1 thing.

No, I think that's the wrong thing to do. We should set up the current
mappings and the 1:1 mappings, and pass the current mappings through
SetVirtualAddressMap(). That matches the behaviour of Windows.

--
Matthew Garrett | mjg59@xxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/