linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ACPI:avoid printing the error message that processor device is not present
@ 2007-10-08  3:35 Zhao Yakui
  2007-10-10  3:43 ` Len Brown
  0 siblings, 1 reply; 33+ messages in thread
From: Zhao Yakui @ 2007-10-08  3:35 UTC (permalink / raw)
  To: lenb; +Cc: Linux-acpi

Subject: ACPI: avoid printing the info that processor device is not present
From: Zhao Yakui  <yakui.zhao@intel.com>

Four processors are defined in the DSDT table, which means that quad-core cpu
is supported. But dual-core cpu is installed on the system. In the
initialization OS will check whether the defined processor exists. If it 
doesn't exist, it will print the info that processor device is not present.
The above error message has no effect on the system but it will mislead us.
So it is unnecessary to print the error message when disabling acpi debug.

http://bugzilla.kernel.org/show_bug.cgi?id=8630

Signed-off-by: Zhao Yakui  <yakui.zhao@intel.com>
---
 drivers/acpi/processor_core.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Index: linux-2.6.23-rc7/drivers/acpi/processor_core.c
===================================================================
--- linux-2.6.23-rc7.orig/drivers/acpi/processor_core.c
+++ linux-2.6.23-rc7/drivers/acpi/processor_core.c
@@ -813,7 +813,9 @@ static int is_processor_present(acpi_han
 
 	status = acpi_evaluate_integer(handle, "_STA", NULL, &sta);
 	if (ACPI_FAILURE(status) || !(sta & ACPI_STA_DEVICE_PRESENT)) {
-		ACPI_EXCEPTION((AE_INFO, status, "Processor Device is not present"));
+		ACPI_DEBUG_PRINT((ACPI_DB_INFO,
+			"%s :Processor Device is not present",
+			acpi_format_exception(status)));
 		return 0;
 	}
 	return 1;


^ permalink raw reply	[flat|nested] 33+ messages in thread

end of thread, other threads:[~2008-05-15 13:46 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-08  3:35 [PATCH] ACPI:avoid printing the error message that processor device is not present Zhao Yakui
2007-10-10  3:43 ` Len Brown
2007-10-15  1:19   ` Zhao Yakui
2007-11-07 12:34   ` [PATCH_1/4] :Add the _TPC throttling limit for TSS Zhao Yakui
2007-11-07 12:34   ` [PATCH_2/4] : Modify the ACPI I/O Access width Zhao Yakui
2007-11-07 12:35   ` [Patch_3/4]:Throttling control uses T-states returned by _TSS when _TSS exists Zhao Yakui
2007-11-07 12:35   ` [Patch_4/4] :Add MSR support for T-States Zhao Yakui
2007-11-08  0:56   ` [PATCH_1/4] :Add the _TPC throttling limit for TSS Zhao Yakui
2007-11-15  2:52     ` Len Brown
2007-11-08  0:56   ` [PATCH_2/4] : Modify the ACPI I/O Access width Zhao Yakui
2007-11-08  0:57   ` [Patch_3/4]:Throttling control uses T-states returned by _TSS when _TSS exists Zhao Yakui
2007-11-08  0:57   ` [Patch_4/4] :Add MSR support for T-States Zhao Yakui
2007-11-15  3:22     ` Len Brown
2007-11-08  1:25   ` [PATCH] [ACPI ]: Init PDC before getting throttling info Zhao Yakui
2007-11-15  8:41   ` [PATCH_2/7] : Modify the ACPI I/O Access width Zhao Yakui
2007-11-15  8:41   ` [Patch_3/7] ACPI: Not use calculated T-states from FADT.duty_width when _TSS exists Zhao Yakui
2007-11-15  8:41   ` [Patch_4/7] :Change the function interface for throttling control via PTC Zhao Yakui
2007-11-15  8:42   ` [Patch_5/7 ] :Throttling control uses T-states returned by _TSS when _TSS exists Zhao Yakui
2007-11-15  8:59   ` [PATCH_1/7] ACPI: Add the _TPC throttling limit for TSS Zhao Yakui
2007-11-15  9:01   ` [PATCH_2/7] ACPI: Modify the ACPI I/O Access width Zhao Yakui
2007-11-15  9:02   ` [PATCH_3/7] ACPI: Not use calculated T-states from FADT.duty_width when _TSS exists Zhao Yakui
2007-11-15  9:03   ` [PATCH_4/7] ACPI: Change the function interface for throttling control via PTC Zhao Yakui
2007-11-15  9:05   ` [PATCH_5/7] ACPI: Throttling control uses T-states returned by _TSS when _TSS exists Zhao Yakui
2007-11-15  9:05   ` [PATCH_6/7] ACPI: Init PDC before getting throttling info Zhao Yakui
2007-11-15  9:06   ` [PATCH_7/7] ACPI: Add MSR support for T-States Zhao Yakui
2007-11-15  9:18   ` [PATCH] ACPI: Disable all GPEs before re-enable interrupts Zhao Yakui
2008-05-09  9:22   ` Subject:ACPI: Send the reserved AC notification event to user space Zhao Yakui
2008-05-14  0:55     ` Len Brown
2008-05-14  2:47       ` Zhao Yakui
2008-05-14 23:04         ` Len Brown
2008-05-15 13:55           ` Zhao Yakui
2008-05-14  3:32   ` [PATCH]: ACPI: Disable Fixed_RTC event when installing RTC handler Zhao Yakui
2008-05-14  4:33     ` Len Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).