Re: [PATCH 05/14] x86, ACPI: Find acpi tables in initrd early at head_32.S/head64.c

2013-03-07 Thread Tejun Heo
On Thu, Mar 07, 2013 at 11:02:15PM -0800, Yinghai Lu wrote: > > Also, does it really have to be called from head_32.S? No way this > > can be done after entering C code? It would be great if you can > > explain overall design choices in the head message (and important > > patches). > > have to

Re: [PATCH 05/14] x86, ACPI: Find acpi tables in initrd early at head_32.S/head64.c

2013-03-07 Thread Yinghai Lu
On Thu, Mar 7, 2013 at 9:57 PM, Tejun Heo wrote: > On Thu, Mar 07, 2013 at 08:58:31PM -0800, Yinghai Lu wrote: >> diff --git a/arch/x86/kernel/head_32.S b/arch/x86/kernel/head_32.S >> index 73afd11..ca08f0e 100644 >> --- a/arch/x86/kernel/head_32.S >> +++ b/arch/x86/kernel/head_32.S >> @@ -149,6

Re: [PATCH 05/14] x86, ACPI: Find acpi tables in initrd early at head_32.S/head64.c

2013-03-07 Thread Tejun Heo
On Thu, Mar 07, 2013 at 08:58:31PM -0800, Yinghai Lu wrote: > diff --git a/arch/x86/kernel/head_32.S b/arch/x86/kernel/head_32.S > index 73afd11..ca08f0e 100644 > --- a/arch/x86/kernel/head_32.S > +++ b/arch/x86/kernel/head_32.S > @@ -149,6 +149,10 @@ ENTRY(startup_32) > call load_ucode_bsp

[PATCH 05/14] x86, ACPI: Find acpi tables in initrd early at head_32.S/head64.c

2013-03-07 Thread Yinghai Lu
head64.c could use #PF handler set page table to access initrd before mapping and relocating. head_32.S could use 32bit flat mode to access initrd before mapping and relocating. Signed-off-by: Yinghai Lu Cc: Thomas Renninger Cc: Pekka Enberg Cc: Jacob Shin Cc: Rafael J. Wysocki Cc:

[PATCH 05/14] x86, ACPI: Find acpi tables in initrd early at head_32.S/head64.c

2013-03-07 Thread Yinghai Lu
head64.c could use #PF handler set page table to access initrd before mapping and relocating. head_32.S could use 32bit flat mode to access initrd before mapping and relocating. Signed-off-by: Yinghai Lu ying...@kernel.org Cc: Thomas Renninger tr...@suse.de Cc: Pekka Enberg penb...@kernel.org

Re: [PATCH 05/14] x86, ACPI: Find acpi tables in initrd early at head_32.S/head64.c

2013-03-07 Thread Tejun Heo
On Thu, Mar 07, 2013 at 08:58:31PM -0800, Yinghai Lu wrote: diff --git a/arch/x86/kernel/head_32.S b/arch/x86/kernel/head_32.S index 73afd11..ca08f0e 100644 --- a/arch/x86/kernel/head_32.S +++ b/arch/x86/kernel/head_32.S @@ -149,6 +149,10 @@ ENTRY(startup_32) call load_ucode_bsp

Re: [PATCH 05/14] x86, ACPI: Find acpi tables in initrd early at head_32.S/head64.c

2013-03-07 Thread Yinghai Lu
On Thu, Mar 7, 2013 at 9:57 PM, Tejun Heo t...@kernel.org wrote: On Thu, Mar 07, 2013 at 08:58:31PM -0800, Yinghai Lu wrote: diff --git a/arch/x86/kernel/head_32.S b/arch/x86/kernel/head_32.S index 73afd11..ca08f0e 100644 --- a/arch/x86/kernel/head_32.S +++ b/arch/x86/kernel/head_32.S @@

Re: [PATCH 05/14] x86, ACPI: Find acpi tables in initrd early at head_32.S/head64.c

2013-03-07 Thread Tejun Heo
On Thu, Mar 07, 2013 at 11:02:15PM -0800, Yinghai Lu wrote: Also, does it really have to be called from head_32.S? No way this can be done after entering C code? It would be great if you can explain overall design choices in the head message (and important patches). have to be with