Re: [PATCH v2 1/3] x86, boot: add mmio serial during compressed boot

From: Yinghai Lu
Date: Tue Jul 16 2013 - 17:59:22 EST


On Tue, Jul 16, 2013 at 12:41 PM, H. Peter Anvin <hpa@xxxxxxxxx> wrote:
> On 07/16/2013 12:40 PM, Kees Cook wrote:
>>>
>>> I think setting up a dynamic #PF handler is the right thing for the
>>> decompressor, we already did for the kernel proper.
>>
>> I'm not sure how to accomplish this yet. I'm still trying to
>> understand how the page tables are arranged. :)
>>
>
> Look at the handler at the top of arch/x86/kernel/head64.c.

could extract code from arch/x86/kernel/{head64.c, head_64.S},
and share them with arch/x86/boot/compressed/{misc.c, head_64.S}

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/