]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI / init: Make it possible to override _REV
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 2 Jul 2015 23:06:00 +0000 (01:06 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 2 Jul 2015 23:06:00 +0000 (01:06 +0200)
commit0c3c7e6a1ec03386196941421c1847b898b30d44
tree806559410131313aa86fa78510e34f1592cbb4ad
parent4c9d5cdd4999e4e9f3317e07503bbc009f793da9
ACPI / init: Make it possible to override _REV

The platform firmware on some systems expects Linux to return "5" as
the supported ACPI revision which makes it expose system configuration
information in a special way.

For example, based on what ACPI exports as the supported revision,
Dell XPS 13 (2015) configures its audio device to either work in HDA
mode or in I2S mode, where the former is supposed to be used on Linux
until the latter is fully supported (in the kernel as well as in user
space).

Since ACPI 6 mandates that _REV should return "2" if ACPI 2 or later
is supported by the OS, a subsequent change will make that happen, so
make it possible to override that on systems where "5" is expected to
be returned for Linux to work correctly one them (such as the Dell
machine mentioned above).

Original-by: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Documentation/kernel-parameters.txt
drivers/acpi/Kconfig
drivers/acpi/blacklist.c
drivers/acpi/internal.h
drivers/acpi/osl.c