Re: [PATCH 04/14] x86, ACPI: make acpi override finding work with 32bit flat mode

2013-03-08 Thread Thomas Gleixner
Yinghai, On Thu, 7 Mar 2013, Yinghai Lu wrote: > On Thu, Mar 7, 2013 at 9:50 PM, Tejun Heo wrote: > > On Thu, Mar 07, 2013 at 08:58:30PM -0800, Yinghai Lu wrote: > >> We will find acpi tables in initrd during head_32.S in 32bit flat mode. > >> > >> So need acpi_initrd_override_find could take ph

Re: [PATCH 04/14] x86, ACPI: make acpi override finding work with 32bit flat mode

2013-03-07 Thread Tejun Heo
On Thu, Mar 07, 2013 at 11:25:14PM -0800, Yinghai Lu wrote: > >> > Why is this table made a stack variable? What's the benefit of doing > >> > that? > >> > >> so I do need to switch global variables to phys and access it. > > > > I can't really understand what your response means. Can you please

Re: [PATCH 04/14] x86, ACPI: make acpi override finding work with 32bit flat mode

2013-03-07 Thread Yinghai Lu
On Thu, Mar 7, 2013 at 11:06 PM, Tejun Heo wrote: > Hello, Yinghai. > > On Thu, Mar 07, 2013 at 10:57:21PM -0800, Yinghai Lu wrote: >> On Thu, Mar 7, 2013 at 9:50 PM, Tejun Heo wrote: >> > On Thu, Mar 07, 2013 at 08:58:30PM -0800, Yinghai Lu wrote: >> >> We will find acpi tables in initrd during

Re: [PATCH 04/14] x86, ACPI: make acpi override finding work with 32bit flat mode

2013-03-07 Thread Andrew Morton
On Thu, 7 Mar 2013 22:57:21 -0800 Yinghai Lu wrote: > > > >> @@ -552,38 +552,47 @@ u8 __init acpi_table_checksum(u8 *buffer, u32 length) > >> return sum; > >> } > >> > >> -/* All but ACPI_SIG_RSDP and ACPI_SIG_FACS: */ > >> -static const char * const table_sigs[] = { > >> - ACPI_SIG_BE

Re: [PATCH 04/14] x86, ACPI: make acpi override finding work with 32bit flat mode

2013-03-07 Thread Tejun Heo
Hello, Yinghai. On Thu, Mar 07, 2013 at 10:57:21PM -0800, Yinghai Lu wrote: > On Thu, Mar 7, 2013 at 9:50 PM, Tejun Heo wrote: > > On Thu, Mar 07, 2013 at 08:58:30PM -0800, Yinghai Lu wrote: > >> We will find acpi tables in initrd during head_32.S in 32bit flat mode. > >> > >> So need acpi_initrd

Re: [PATCH 04/14] x86, ACPI: make acpi override finding work with 32bit flat mode

2013-03-07 Thread Yinghai Lu
On Thu, Mar 7, 2013 at 9:50 PM, Tejun Heo wrote: > On Thu, Mar 07, 2013 at 08:58:30PM -0800, Yinghai Lu wrote: >> We will find acpi tables in initrd during head_32.S in 32bit flat mode. >> >> So need acpi_initrd_override_find could take phys directly. > > The patch description doesn't explain even

Re: [PATCH 04/14] x86, ACPI: make acpi override finding work with 32bit flat mode

2013-03-07 Thread Tejun Heo
On Thu, Mar 07, 2013 at 08:58:30PM -0800, Yinghai Lu wrote: > We will find acpi tables in initrd during head_32.S in 32bit flat mode. > > So need acpi_initrd_override_find could take phys directly. The patch description doesn't explain even half of what's going on. > @@ -552,38 +552,47 @@ u8 __i