Re: [PATCH v2 07/20] x86, ACPI: Make acpi_initrd_override_find work with 32bit flat mode

2013-04-04 Thread Yinghai Lu
On Thu, Apr 4, 2013 at 11:35 AM, Tejun Heo wrote: > > It'd be nice if the error message can be stored somewhere and then > printed out after the system is in proper address mode if that isn't > too complex to achieve. If it gets too messy, no need to bother. Maybe not necessary. As later during

Re: [PATCH v2 07/20] x86, ACPI: Make acpi_initrd_override_find work with 32bit flat mode

2013-04-04 Thread Tejun Heo
Hello, On Sat, Mar 09, 2013 at 10:44:34PM -0800, Yinghai Lu wrote: > For finding with 32bit, it would be easy to access initrd in 32bit > flat mode, as we don't need to set page table. > > That is from head_32.S, and microcode updating already use this trick. > > Need to change

Re: [PATCH v2 07/20] x86, ACPI: Make acpi_initrd_override_find work with 32bit flat mode

2013-04-04 Thread Tejun Heo
Hello, On Sat, Mar 09, 2013 at 10:44:34PM -0800, Yinghai Lu wrote: For finding with 32bit, it would be easy to access initrd in 32bit flat mode, as we don't need to set page table. That is from head_32.S, and microcode updating already use this trick. Need to change

Re: [PATCH v2 07/20] x86, ACPI: Make acpi_initrd_override_find work with 32bit flat mode

2013-04-04 Thread Yinghai Lu
On Thu, Apr 4, 2013 at 11:35 AM, Tejun Heo t...@kernel.org wrote: It'd be nice if the error message can be stored somewhere and then printed out after the system is in proper address mode if that isn't too complex to achieve. If it gets too messy, no need to bother. Maybe not necessary. As

[PATCH v2 07/20] x86, ACPI: Make acpi_initrd_override_find work with 32bit flat mode

2013-03-09 Thread Yinghai Lu
For finding with 32bit, it would be easy to access initrd in 32bit flat mode, as we don't need to set page table. That is from head_32.S, and microcode updating already use this trick. Need to change acpi_initrd_override_find to use phys to access global variables. Pass is_phys in the function,

[PATCH v2 07/20] x86, ACPI: Make acpi_initrd_override_find work with 32bit flat mode

2013-03-09 Thread Yinghai Lu
For finding with 32bit, it would be easy to access initrd in 32bit flat mode, as we don't need to set page table. That is from head_32.S, and microcode updating already use this trick. Need to change acpi_initrd_override_find to use phys to access global variables. Pass is_phys in the function,