linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH] ACPI: Add boot option to disable auto return object repair
@ 2013-01-23  7:29 Lv Zheng
  2013-01-23 12:18 ` [Devel] " Thomas Renninger
  2013-01-23 12:59 ` Moore, Robert
  0 siblings, 2 replies; 3+ messages in thread
From: Lv Zheng @ 2013-01-23  7:29 UTC (permalink / raw)
  To: Len Brown, Rafael J Wysocki, Rafael J Wysocki, Robert Moore
  Cc: linux-acpi, devel, Lv Zheng

There is automatic return object repair mechanism implemented in
ACPICA which can not handle all of the issues exposed by BIOS
currently. This patch allow a kernel boots up without such
workarounds enabled. A better choice should refine the repair
mechanism to allow more robust evaluation result.

Signed-off-by: Lv Zheng <lv.zheng@intel.com>
---
 drivers/acpi/bus.c |   12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c
index 01708a1..e33577f 100644
--- a/drivers/acpi/bus.c
+++ b/drivers/acpi/bus.c
@@ -805,6 +805,18 @@ static int __init acpi_bus_init(void)
 struct kobject *acpi_kobj;
 EXPORT_SYMBOL_GPL(acpi_kobj);
 
+static int __init acpi_disable_repair(char *s)
+{
+        printk(KERN_NOTICE PREFIX
+	       "ACPI: Predefined names repair disabled\n");
+
+        acpi_gbl_disable_auto_repair = TRUE;
+
+        return 1;
+}
+
+__setup("acpi_no_repair", acpi_disable_repair);
+
 static int __init acpi_init(void)
 {
 	int result;
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-01-23 12:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-23  7:29 [RFC PATCH] ACPI: Add boot option to disable auto return object repair Lv Zheng
2013-01-23 12:18 ` [Devel] " Thomas Renninger
2013-01-23 12:59 ` Moore, Robert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).