diff options
author | Lin Ming <ming.m.lin@intel.com> | 2010-03-31 22:47:56 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2010-04-20 10:43:16 -0400 |
commit | 729df0f848daf2f17d02107199fa92efe909d995 (patch) | |
tree | d4ece34a277019368999fd36a0bf15a39eeaa742 /drivers/acpi/acpica/psxface.c | |
parent | c1637e9c649a0eb72c467041d78275aabdd48a41 (diff) |
ACPICA: Add detection of corrupted/replaced DSDT
This change adds support to detect a DSDT that has been corrupted
and/or replaced from outside the OS (by firmware). This is
typically catastrophic for the system, but has been seen on
some machines.
https://bugzilla.kernel.org/show_bug.cgi?id=14679
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/psxface.c')
-rw-r--r-- | drivers/acpi/acpica/psxface.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/acpi/acpica/psxface.c b/drivers/acpi/acpica/psxface.c index 6064dd4e94c2..67e7ad517051 100644 --- a/drivers/acpi/acpica/psxface.c +++ b/drivers/acpi/acpica/psxface.c | |||
@@ -220,6 +220,10 @@ acpi_status acpi_ps_execute_method(struct acpi_evaluate_info *info) | |||
220 | 220 | ||
221 | ACPI_FUNCTION_TRACE(ps_execute_method); | 221 | ACPI_FUNCTION_TRACE(ps_execute_method); |
222 | 222 | ||
223 | /* Quick validation of DSDT header */ | ||
224 | |||
225 | acpi_tb_check_dsdt_header(); | ||
226 | |||
223 | /* Validate the Info and method Node */ | 227 | /* Validate the Info and method Node */ |
224 | 228 | ||
225 | if (!info || !info->resolved_node) { | 229 | if (!info || !info->resolved_node) { |