aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2012-08-16 22:55:14 -0400
committerLen Brown <len.brown@intel.com>2012-09-21 00:26:16 -0400
commite1154ebd4d0215937528016c41e2f13d30a28082 (patch)
tree4b6cc5f0febacb68d768d0b56c28d4e52e5dac81 /drivers/acpi/acpica
parenta57f7f9175b8ccbc9df83ac13860488913115de4 (diff)
ACPICA: GPE Support: Update debug info for GPE tracing.
Add additional debug info to assist with GPE debugging. Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Feng Tang <feng.tang@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/acpica')
-rw-r--r--drivers/acpi/acpica/evgpe.c21
1 files changed, 19 insertions, 2 deletions
diff --git a/drivers/acpi/acpica/evgpe.c b/drivers/acpi/acpica/evgpe.c
index afbd5cb391f6..3db3c5669ca2 100644
--- a/drivers/acpi/acpica/evgpe.c
+++ b/drivers/acpi/acpica/evgpe.c
@@ -379,6 +379,18 @@ u32 acpi_ev_gpe_detect(struct acpi_gpe_xrupt_info * gpe_xrupt_list)
379 */ 379 */
380 if (!(gpe_register_info->enable_for_run | 380 if (!(gpe_register_info->enable_for_run |
381 gpe_register_info->enable_for_wake)) { 381 gpe_register_info->enable_for_wake)) {
382 ACPI_DEBUG_PRINT((ACPI_DB_INTERRUPTS,
383 "Ignore disabled registers for GPE%02X-GPE%02X: "
384 "RunEnable=%02X, WakeEnable=%02X\n",
385 gpe_register_info->
386 base_gpe_number,
387 gpe_register_info->
388 base_gpe_number +
389 (ACPI_GPE_REGISTER_WIDTH - 1),
390 gpe_register_info->
391 enable_for_run,
392 gpe_register_info->
393 enable_for_wake));
382 continue; 394 continue;
383 } 395 }
384 396
@@ -401,9 +413,14 @@ u32 acpi_ev_gpe_detect(struct acpi_gpe_xrupt_info * gpe_xrupt_list)
401 } 413 }
402 414
403 ACPI_DEBUG_PRINT((ACPI_DB_INTERRUPTS, 415 ACPI_DEBUG_PRINT((ACPI_DB_INTERRUPTS,
404 "Read GPE Register at GPE%02X: Status=%02X, Enable=%02X\n", 416 "Read registers for GPE%02X-GPE%02X: Status=%02X, Enable=%02X, "
417 "RunEnable=%02X, WakeEnable=%02X\n",
405 gpe_register_info->base_gpe_number, 418 gpe_register_info->base_gpe_number,
406 status_reg, enable_reg)); 419 gpe_register_info->base_gpe_number +
420 (ACPI_GPE_REGISTER_WIDTH - 1),
421 status_reg, enable_reg,
422 gpe_register_info->enable_for_run,
423 gpe_register_info->enable_for_wake));
407 424
408 /* Check if there is anything active at all in this register */ 425 /* Check if there is anything active at all in this register */
409 426