Re: 2.6.39.1 immediately reboots/resets on EFI system

From: Yinghai Lu
Date: Wed Jun 08 2011 - 15:28:12 EST


On 06/08/2011 12:23 PM, Matthew Garrett wrote:
> On Wed, Jun 08, 2011 at 12:17:52PM -0700, Yinghai Lu wrote:
>> we need to revert patch from mjg.
>>
>> From 916f676f8dc016103f983c7ec54c18ecdbb6e349 Mon Sep 17 00:00:00 2001
>> From: Matthew Garrett <mjg@xxxxxxxxxx>
>> Date: Wed, 25 May 2011 09:53:13 -0400
>> Subject: [PATCH] x86, efi: Retain boot service code until after switching to
>> virtual mode
>
> That's not a long-term option, since we have no way to distinguish
> between a machine that requires boot services code to be mapped and a
> machine that doesn't. Reverting just breaks the former set again.

what former? you can not fix some corner case by breaking most other cases.

> We need to ensure that the kernel isn't overlapping boot services code.

bootloader will put kernel from 16M, and boot services are on those area already.

Yinghai
--
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/