]> git.baikalelectronics.ru Git - kernel.git/commit
ACPICA: Back port and refine validation of the XSDT root table.
authorLv Zheng <lv.zheng@intel.com>
Wed, 8 Jan 2014 05:43:34 +0000 (13:43 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 8 Jan 2014 14:31:36 +0000 (15:31 +0100)
commitae42ad0d3fe9c4799857021d28ee02c47f9b55ea
tree1f349e17ae952e874df16770e3e25bf86008df9b
parent43707b078007906959fd48b114039dd509c8c075
ACPICA: Back port and refine validation of the XSDT root table.

Some platforms contain an XSDT that is ill-formed or otherwise invalid
(such as containing some or all entries that are NULL pointers).
This change adds a new function to validate the XSDT before actually
using it. If the XSDT is found to be invalid, ACPICA will now fall
back to using the RSDT instead.

This feature is already in the Linux kernel.  When it is back ported to
ACPICA, code is refined to follow ACPICA coding style and this patch
is the generation of the integration.

Original-by: Zhao Yakui <yakui.zhao@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/tbutils.c
include/acpi/actbl.h