Re: [tip:x86/microcode] x86/microcode_intel_early.c: Early updateucode on Intel's CPU

From: H. Peter Anvin
Date: Fri Dec 14 2012 - 15:45:34 EST


On 12/14/2012 12:14 PM, Yinghai Lu wrote:
> On Fri, Dec 14, 2012 at 12:08 PM, Yinghai Lu <yinghai@xxxxxxxxxx> wrote:
>> On Fri, Dec 14, 2012 at 12:04 PM, Yinghai Lu <yinghai@xxxxxxxxxx> wrote:
>>> On Fri, Dec 14, 2012 at 11:46 AM, H. Peter Anvin <hpa@xxxxxxxxx> wrote:
>>>>
>>>> I suspect we don't need init_level4_pgt at all and should just plan to
>>>> get rid of it. Is there any reason we can't just build the proper
>>>> kernel page table set in pagetable_init() and switch to it there?
>>>
>>> then how to pass the info to AP?
>>
>> also we should merge early_level4_pgt with init_level4_pgt.
>>
>> and #PE handler could just extend to use BRK ...
>>
>> but need to make sure BRK get mapped at first, and BRK could cross the
>> 1G, 512G boundary ...
>>
>> that could make things less impact to all.
>
> your current switchover setup in arch/x86/kernel/head_64.S could
> handle above 512g and cross boundary?
>

Yes, that's the purpose of the funny aliasing games I play there.

-hpa

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