Re: [Part1 PATCH v5 07/22] x86, ACPI: Store override acpi tables phys addr in cpio files info array

2013-06-17 Thread Tejun Heo
On Thu, Jun 13, 2013 at 09:02:54PM +0800, Tang Chen wrote: > From: Yinghai Lu > > This patch introduces a file_pos struct to store physaddr. And then changes > acpi_initrd_files[] to file_pos type. Then store physaddr of ACPI tables > in acpi_initrd_files[]. > > For finding, we will find ACPI ta

Re: [Part1 PATCH v5 07/22] x86, ACPI: Store override acpi tables phys addr in cpio files info array

2013-06-17 Thread Yinghai Lu
On Mon, Jun 17, 2013 at 4:38 PM, Tejun Heo wrote: > On Thu, Jun 13, 2013 at 09:02:54PM +0800, Tang Chen wrote: >> -static struct cpio_data __initdata acpi_initrd_files[ACPI_OVERRIDE_TABLES]; >> +struct file_pos { >> + phys_addr_t data; >> + phys_addr_t size; >> +}; > > Isn't file_pos too g

Re: [Part1 PATCH v5 07/22] x86, ACPI: Store override acpi tables phys addr in cpio files info array

2013-06-17 Thread Tejun Heo
On Thu, Jun 13, 2013 at 09:02:54PM +0800, Tang Chen wrote: > -static struct cpio_data __initdata acpi_initrd_files[ACPI_OVERRIDE_TABLES]; > +struct file_pos { > + phys_addr_t data; > + phys_addr_t size; > +}; Isn't file_pos too generic as name? Would acpi_initrd_file_pos too long? Maybe

[Part1 PATCH v5 07/22] x86, ACPI: Store override acpi tables phys addr in cpio files info array

2013-06-13 Thread Tang Chen
From: Yinghai Lu This patch introduces a file_pos struct to store physaddr. And then changes acpi_initrd_files[] to file_pos type. Then store physaddr of ACPI tables in acpi_initrd_files[]. For finding, we will find ACPI tables with physaddr during 32bit flat mode in head_32.S, because at that t