ACPI: Add facility to remove all _OSI strings
authorLv Zheng <lv.zheng@intel.com>
Mon, 22 Jul 2013 08:08:36 +0000 (16:08 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 23 Jul 2013 02:07:04 +0000 (04:07 +0200)
commit741d81280ad2b31fc3d76c49fa5c1fe09f3a6f68
treef268f5301d15f1879007788917aa9aaa7ef04cdc
parent5dc17986fdc3d2425838cb8d699152c3c30d1208
ACPI: Add facility to remove all _OSI strings

This patch changes the "acpi_osi=" boot parameter implementation so
that:
1. "acpi_osi=!" can be used to disable all _OSI OS vendor strings by
   default.  It is meaningless to specify "acpi_osi=!" multiple
   times as it can only affect the default state of the target _OSI
   strings.
2. "acpi_osi=!*" can be used to remove all _OSI OS vendor strings
   and all _OSI feature group strings.  It is useful to specify
   "acpi_osi=!*" multiple times through kernel command line to
   override the current state of the target _OSI strings.

Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Reviewed-by: Zhang Rui <rui.zhang@intel.com>
Acked-by: Len Brown <len.brown@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Documentation/kernel-parameters.txt
drivers/acpi/osl.c