On Sun, 12 Jan, at 01:30:23AM, Rafael J. Wysocki wrote: > On Saturday, December 21, 2013 12:21:48 PM Matt Fleming wrote: > > On Fri, 20 Dec, at 11:18:56PM, Rafael J. Wysocki wrote: > > > > > > I'm not sure 100%, but I *think* we need to do that with interrupts enabled. > > > At least after mm_init(), because it relies on things initialized there if I > > > remember correctly. > > > > > > From what I can tell at the moment, it might be possible to move it before > > > efi_enter_virtual_mode() if that would help. > > > > Actually yeah, that would be super useful, and I think we'd be able to > > get rid of the whole efi_late_init() stuff because we'd no longer need > > to hang on to the EFI_BOOT_SERVICES* regions after > > SetVirtualAddressMap(). > > OK > > I don't see any adverse effects of the patch below on a couple of my test > boxes, but (a) they are Intel-based and (b) they are non-EFI, so it would be > good to give it a go on as many machines as reasonably possible. Thanks Rafael, I'll give this a spin on my test machines here. -- Matt Fleming, Intel Open Source Technology Center -- To unsubscribe from this list: send the line "unsubscribe linux-efi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html