提交 382fabb2 编写于 作者: A Andy Shevchenko 提交者: Bin Meng

x86: acpi: Don't touch hardware on HW reduced platforms

If ACPI HW reduced bit in FADT is set we should ignore any ACPI hardware
communications.
Signed-off-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: NBin Meng <bmeng.cn@gmail.com>
上级 ace7762b
...@@ -463,6 +463,10 @@ ulong write_acpi_tables(ulong start) ...@@ -463,6 +463,10 @@ ulong write_acpi_tables(ulong start)
debug("ACPI: done\n"); debug("ACPI: done\n");
/* Don't touch ACPI hardware on HW reduced platforms */
if (fadt->flags & ACPI_FADT_HW_REDUCED_ACPI)
return current;
/* /*
* Other than waiting for OSPM to request us to switch to ACPI mode, * Other than waiting for OSPM to request us to switch to ACPI mode,
* do it by ourselves, since SMI will not be triggered. * do it by ourselves, since SMI will not be triggered.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册