]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI: Validate XSDT, use RSDT if XSDT fails
authorZhao Yakui <yakui.zhao@intel.com>
Fri, 24 Aug 2007 08:18:16 +0000 (16:18 +0800)
committerLen Brown <len.brown@intel.com>
Fri, 24 Aug 2007 22:46:25 +0000 (18:46 -0400)
commitae718cb90cab6eaff14adf2dcd0bd7e1577e3000
treeb6585a7f8421e7410cb4dd6fbb3770d2fdc800a7
parenta4e342ca636f1701092b821e222cac50b3f12a3b
ACPI: Validate XSDT, use RSDT if XSDT fails

ACPI 1.0 used an RSDT with 32-bit physical addresses.
ACPI 2.0 adds an XSDT with 32-bit physical addresses.
An ACPI 2.0 aware OS is supposed to use the XSDT
(when present) instead of the RSDT.

However, several systems have failed because the XSDT
contains NULL entries -- while it is missing pointers
to needed tables, such as SSDTs.

When we find an XSDT with NULL entries, discard it
and use the ACPI 1.0 RSDT instead.

http://bugzilla.kernel.org/show_bug.cgi?id=8630

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/tables/tbutils.c