diff options
author | Lv Zheng <lv.zheng@intel.com> | 2013-07-22 04:08:36 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-07-22 22:07:04 -0400 |
commit | 741d81280ad2b31fc3d76c49fa5c1fe09f3a6f68 (patch) | |
tree | f268f5301d15f1879007788917aa9aaa7ef04cdc /Documentation/kernel-parameters.txt | |
parent | 5dc17986fdc3d2425838cb8d699152c3c30d1208 (diff) |
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>
Diffstat (limited to 'Documentation/kernel-parameters.txt')
-rw-r--r-- | Documentation/kernel-parameters.txt | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index d0d9cf278ae3..5ec77aad1773 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt | |||
@@ -237,6 +237,7 @@ bytes respectively. Such letter suffixes can also be entirely omitted. | |||
237 | acpi_osi= [HW,ACPI] Modify list of supported OS interface strings | 237 | acpi_osi= [HW,ACPI] Modify list of supported OS interface strings |
238 | acpi_osi="string1" # add string1 | 238 | acpi_osi="string1" # add string1 |
239 | acpi_osi="!string2" # remove string2 | 239 | acpi_osi="!string2" # remove string2 |
240 | acpi_osi=!* # remove all strings | ||
240 | acpi_osi=! # disable all built-in OS vendor | 241 | acpi_osi=! # disable all built-in OS vendor |
241 | strings | 242 | strings |
242 | acpi_osi= # disable all strings | 243 | acpi_osi= # disable all strings |
@@ -248,7 +249,9 @@ bytes respectively. Such letter suffixes can also be entirely omitted. | |||
248 | it cannot affect the default state of the feature group | 249 | it cannot affect the default state of the feature group |
249 | strings and the current state of the OS vendor strings, | 250 | strings and the current state of the OS vendor strings, |
250 | specifying it multiple times through kernel command line | 251 | specifying it multiple times through kernel command line |
251 | is meaningless. | 252 | is meaningless. This command is useful when one do not |
253 | care about the state of the feature group strings which | ||
254 | should be controlled by the OSPM. | ||
252 | Examples: | 255 | Examples: |
253 | 1. 'acpi_osi=! acpi_osi="Windows 2000"' is equivalent | 256 | 1. 'acpi_osi=! acpi_osi="Windows 2000"' is equivalent |
254 | to 'acpi_osi="Windows 2000" acpi_osi=!', they all | 257 | to 'acpi_osi="Windows 2000" acpi_osi=!', they all |
@@ -264,6 +267,29 @@ bytes respectively. Such letter suffixes can also be entirely omitted. | |||
264 | 1. 'acpi_osi=' can make 'CondRefOf(_OSI, Local1)' | 267 | 1. 'acpi_osi=' can make 'CondRefOf(_OSI, Local1)' |
265 | FALSE. | 268 | FALSE. |
266 | 269 | ||
270 | 'acpi_osi=!*' can be used in combination with single or | ||
271 | multiple 'acpi_osi="string1"' to support specific | ||
272 | string(s). Note that such command can affect the | ||
273 | current state of both the OS vendor strings and the | ||
274 | feature group strings, thus specifying it multiple times | ||
275 | through kernel command line is meaningful. But it may | ||
276 | still not able to affect the final state of a string if | ||
277 | there are quirks related to this string. This command | ||
278 | is useful when one want to control the state of the | ||
279 | feature group strings to debug BIOS issues related to | ||
280 | the OSPM features. | ||
281 | Examples: | ||
282 | 1. 'acpi_osi="Module Device" acpi_osi=!*' can make | ||
283 | '_OSI("Module Device")' FALSE. | ||
284 | 2. 'acpi_osi=!* acpi_osi="Module Device"' can make | ||
285 | '_OSI("Module Device")' TRUE. | ||
286 | 3. 'acpi_osi=! acpi_osi=!* acpi_osi="Windows 2000"' is | ||
287 | equivalent to | ||
288 | 'acpi_osi=!* acpi_osi=! acpi_osi="Windows 2000"' | ||
289 | and | ||
290 | 'acpi_osi=!* acpi_osi="Windows 2000" acpi_osi=!', | ||
291 | they all will make '_OSI("Windows 2000")' TRUE. | ||
292 | |||
267 | acpi_pm_good [X86] | 293 | acpi_pm_good [X86] |
268 | Override the pmtimer bug detection: force the kernel | 294 | Override the pmtimer bug detection: force the kernel |
269 | to assume that this machine's pmtimer latches its value | 295 | to assume that this machine's pmtimer latches its value |