aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/kernel-parameters.txt
diff options
context:
space:
mode:
authorBjorn Helgaas <bjorn.helgaas@hp.com>2008-11-07 18:58:05 -0500
committerLen Brown <len.brown@intel.com>2008-11-07 21:45:29 -0500
commita0d84a92df43b7206b9c1330a2cccf109cf0a41a (patch)
treec21171f847cb316fccd610db8017fa3126b38656 /Documentation/kernel-parameters.txt
parent87b586088ef953c602680e5aff8ab83a2e299498 (diff)
ACPI: update debug parameter documentation
Reformat acpi.debug_layer and acpi.debug_level documentation so it's more readable, add some clues about how to figure out the mask bits that enable a specific ACPI_DEBUG_PRINT statement, and include some useful examples. Move the list of masks to Documentation/acpi/debug.txt (these are copies of the authoritative values in acoutput.h and acpi_drivers.h). Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'Documentation/kernel-parameters.txt')
-rw-r--r--Documentation/kernel-parameters.txt75
1 files changed, 23 insertions, 52 deletions
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
index 343e0f0f84b6..e8951118deaf 100644
--- a/Documentation/kernel-parameters.txt
+++ b/Documentation/kernel-parameters.txt
@@ -198,59 +198,30 @@ and is between 256 and 4096 characters. It is defined in the file
198 that require a timer override, but don't have 198 that require a timer override, but don't have
199 HPET 199 HPET
200 200
201 acpi.debug_layer= [HW,ACPI] 201 acpi.debug_layer= [HW,ACPI,ACPI_DEBUG]
202 acpi.debug_level= [HW,ACPI,ACPI_DEBUG]
202 Format: <int> 203 Format: <int>
203 Each bit of the <int> indicates an ACPI debug layer, 204 CONFIG_ACPI_DEBUG must be enabled to produce any ACPI
204 1: enable, 0: disable. It is useful for boot time 205 debug output. Bits in debug_layer correspond to a
205 debugging. After system has booted up, it can be set 206 _COMPONENT in an ACPI source file, e.g.,
206 via /sys/module/acpi/parameters/debug_layer. 207 #define _COMPONENT ACPI_PCI_COMPONENT
207 CONFIG_ACPI_DEBUG must be enabled for this to produce any output. 208 Bits in debug_level correspond to a level in
208 Available bits (add the numbers together) to enable debug output 209 ACPI_DEBUG_PRINT statements, e.g.,
209 for specific parts of the ACPI subsystem: 210 ACPI_DEBUG_PRINT((ACPI_DB_INFO, ...
210 0x01 utilities 0x02 hardware 0x04 events 0x08 tables 211 See Documentation/acpi/debug.txt for more information
211 0x10 namespace 0x20 parser 0x40 dispatcher 212 about debug layers and levels.
212 0x80 executer 0x100 resources 0x200 acpica debugger 213
213 0x400 os services 0x800 acpica disassembler. 214 Enable AML "Debug" output, i.e., stores to the Debug
214 The number can be in decimal or prefixed with 0x in hex. 215 object while interpreting AML:
215 Warning: Many of these options can produce a lot of 216 acpi.debug_layer=0xffffffff acpi.debug_level=0x2
216 output and make your system unusable. Be very careful. 217 Enable PCI/PCI interrupt routing info messages:
217 218 acpi.debug_layer=0x400000 acpi.debug_level=0x4
218 acpi.debug_level= [HW,ACPI] 219 Enable all messages related to ACPI hardware:
219 Format: <int> 220 acpi.debug_layer=0x2 acpi.debug_level=0xffffffff
220 Each bit of the <int> indicates an ACPI debug level, 221
221 which corresponds to the level in an ACPI_DEBUG_PRINT 222 Some values produce so much output that the system is
222 statement. After system has booted up, this mask 223 unusable. The "log_buf_len" parameter may be useful
223 can be set via /sys/module/acpi/parameters/debug_level. 224 if you need to capture more output.
224
225 CONFIG_ACPI_DEBUG must be enabled for this to produce
226 any output. The number can be in decimal or prefixed
227 with 0x in hex. Some of these options produce so much
228 output that the system is unusable.
229
230 The following global components are defined by the
231 ACPI CA:
232 0x01 error
233 0x02 warn
234 0x04 init
235 0x08 debug object
236 0x10 info
237 0x20 init names
238 0x40 parse
239 0x80 load
240 0x100 dispatch
241 0x200 execute
242 0x400 names
243 0x800 operation region
244 0x1000 bfield
245 0x2000 tables
246 0x4000 values
247 0x8000 objects
248 0x10000 resources
249 0x20000 user requests
250 0x40000 package
251 The number can be in decimal or prefixed with 0x in hex.
252 Warning: Many of these options can produce a lot of
253 output and make your system unusable. Be very careful.
254 225
255 acpi.power_nocheck= [HW,ACPI] 226 acpi.power_nocheck= [HW,ACPI]
256 Format: 1/0 enable/disable the check of power state. 227 Format: 1/0 enable/disable the check of power state.