Chen Yu e10cfdc33a ACPI / osi: Fix default _OSI(Darwin) support
The following commit always reports positive value when Apple hardware
queries _OSI("Darwin"):

 Commit: 7bc5a2bad0b8d9d1ac9f7b8b33150e4ddf197334
 Subject: ACPI: Support _OSI("Darwin") correctly

However since this implementation places the judgement in runtime, it
breaks acpi_osi=!Darwin and cannot return unsupported for _OSI("WinXXX")
invoked before invoking _OSI("Darwin").

This patch fixes the issues by reverting the wrong support and implementing
the default behavior of _OSI("Darwin")/_OSI("WinXXX") on Apple hardware via
DMI matching.

Fixes: 7bc5a2bad0b8 (ACPI: Support _OSI("Darwin") correctly)
Link: https://bugzilla.kernel.org/show_bug.cgi?id=92111
Reported-and-tested-by: Lukas Wunner <lukas@wunner.de>
Signed-off-by: Chen Yu <yu.c.chen@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2016-05-05 00:13:52 +02:00
..
2016-03-23 17:52:10 +02:00
2016-04-12 12:35:07 -07:00
2016-04-29 14:22:25 +02:00
2016-04-16 22:52:03 +05:30
2016-03-25 08:52:25 -07:00
2016-03-17 13:47:50 -07:00
2016-04-07 22:11:08 +02:00
2016-04-29 17:07:54 -07:00
2016-03-23 17:20:59 -07:00
2016-04-28 19:44:47 -07:00
2016-03-24 19:57:15 -07:00
2016-03-18 10:15:11 -07:00
2016-04-29 18:50:08 -07:00
2016-04-15 15:25:09 -07:00
2016-03-19 15:15:07 -07:00
2016-04-18 19:52:47 -07:00
2016-04-27 08:57:11 -07:00
2016-04-14 16:54:00 +02:00
2016-03-18 10:15:11 -07:00
2016-04-25 16:20:49 -04:00
2016-04-29 17:07:54 -07:00
2016-04-20 10:38:06 +03:00
2016-03-17 13:05:09 -07:00
2016-04-04 11:18:00 +01:00