]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit369d913b242cae2205471b11b6e33ac368ed33ec
tree046bc53317ba65818cca7a085e53bdf639a49acd
parentfc54ab72959edbf229b65ac74b2f122d799ca002
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