RE: [patch 10/16] acpi_os_wait_semaphore(): don't complain about timeout

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



applied.

thanks,
-Len

>-----Original Message-----
>From: akpm@xxxxxxxx [mailto:akpm@xxxxxxxx] 
>Sent: Thursday, April 27, 2006 5:25 AM
>To: Brown, Len
>Cc: linux-acpi@xxxxxxxxxxxxxxx; akpm@xxxxxxxx; bjorn.helgaas@xxxxxx
>Subject: [patch 10/16] acpi_os_wait_semaphore(): don't 
>complain about timeout
>
>
>From: Bjorn Helgaas <bjorn.helgaas@xxxxxx>
>
>The ASL Acquire operator (17.5.1 in ACPI 3.0 spec) is allowed 
>to time out
>and return True without acquiring the semaphore.  There's no 
>indication in
>the spec that this is an actual error, so this message should be
>debug-only, as the message for successful acquisition is.
>
>This used to be an ACPI_DEBUG_PRINT, but it was mis-classified as
>ACPI_DB_ERROR rather than ACPI_DB_MUTEX, so it got swept up in Thomas'
>recent patch to enable ACPI error messages even without 
>CONFIG_ACPI_DEBUG.
>
>Signed-off-by: Bjorn Helgaas <bjorn.helgaas@xxxxxx>
>Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
>---
>
> drivers/acpi/osl.c |    2 +-
> 1 files changed, 1 insertion(+), 1 deletion(-)
>
>diff -puN 
>drivers/acpi/osl.c~acpi_os_wait_semaphore-dont-complain-about-t
>imeout drivers/acpi/osl.c
>--- 
>devel/drivers/acpi/osl.c~acpi_os_wait_semaphore-dont-complain-a
>bout-timeout	2006-04-10 23:16:23.000000000 -0700
>+++ devel-akpm/drivers/acpi/osl.c	2006-04-10 
>23:16:23.000000000 -0700
>@@ -817,7 +817,7 @@ acpi_status acpi_os_wait_semaphore(acpi_
> 	}
> 
> 	if (ACPI_FAILURE(status)) {
>-		ACPI_EXCEPTION((AE_INFO, status,
>+		ACPI_DEBUG_PRINT((ACPI_DB_MUTEX,
> 				  "Failed to acquire 
>semaphore[%p|%d|%d], %s",
> 				  handle, units, timeout,
> 				  acpi_format_exception(status)));
>_
>
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux