[PATCH v2 04/20] x86, ACPI: Increase override tables number limit

2013-03-09 Thread Yinghai Lu
Current acpi tables in initrd is limited to 10, that is too small. 64 should be good enough as we have 35 sigs and could have several SSDT. Two problems in current code prevent us from increasing limit: 1. that cpio file info array is put in stack, as every element is 32 bytes, could run out of

Re: [PATCH v2 04/20] x86, ACPI: Increase override tables number limit

2013-04-04 Thread Tejun Heo
On Sat, Mar 09, 2013 at 10:44:31PM -0800, Yinghai Lu wrote: > Current acpi tables in initrd is limited to 10, that is too small. > 64 should be good enough as we have 35 sigs and could have several > SSDT. > > Two problems in current code prevent us from increasing limit: > 1. that cpio file info

Re: [PATCH v2 04/20] x86, ACPI: Increase override tables number limit

2013-04-04 Thread Yinghai Lu
On Thu, Apr 4, 2013 at 10:50 AM, Tejun Heo wrote: > On Sat, Mar 09, 2013 at 10:44:31PM -0800, Yinghai Lu wrote: >> @@ -648,14 +647,14 @@ void __init acpi_initrd_override(void *data, size_t >> size) >> memblock_reserve(acpi_tables_addr, acpi_tables_addr + all_tables_size); >> arch_res