]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI: Harden acpi_table_parse_entries() against BIOS bug
authorFenghua Yu <fenghua.yu@intel.com>
Tue, 25 Sep 2012 18:11:43 +0000 (11:11 -0700)
committerLen Brown <len.brown@intel.com>
Sat, 6 Oct 2012 19:51:49 +0000 (15:51 -0400)
commitae35135cfd109c3c33de9e9f182dbea7486f6aca
tree046bc53317ba65818cca7a085e53bdf639a49acd
parent324b30fd385d171fad9702696303b39699612784
ACPI: Harden acpi_table_parse_entries() against BIOS bug

Parsing acpi table entries may fall into an infinite loop on a buggy BIOS
which has entry length=0 in acpi table.

Instead of kernel hang with few failure clue which leads to heavy lifting debug
effort, this patch hardens kernel boot by booting into non NUMA mode. The debug
info left in log buffer helps people identify the issue.

Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/tables.c