From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752109AbcGFBq2 (ORCPT ); Tue, 5 Jul 2016 21:46:28 -0400 Received: from mga04.intel.com ([192.55.52.120]:35315 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751076AbcGFBq1 (ORCPT ); Tue, 5 Jul 2016 21:46:27 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,316,1464678000"; d="scan'208";a="1001557479" From: "Zheng, Lv" To: "Rafael J. Wysocki" CC: "Wysocki, Rafael J" , "Rafael J. Wysocki" , "Brown, Len" , Lv Zheng , Linux Kernel Mailing List , ACPI Devel Maling List Subject: RE: [PATCH 5/5] ACPI: Add configuration item to configure ACPICA error logs out Thread-Topic: [PATCH 5/5] ACPI: Add configuration item to configure ACPICA error logs out Thread-Index: AQHR1q8iQT4UJbggQ0u6jCTHgt5e0aAJ+noAgACoTBA= Date: Wed, 6 Jul 2016 01:46:22 +0000 Message-ID: <1AE640813FDE7649BE1B193DEA596E883BC00475@SHSMSX101.ccr.corp.intel.com> References: In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiODM1NmYxN2YtNDViNC00M2Y3LTg0ZTAtMTE0YzQ5NDA0ODk0IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6Ik9rNnBMdUR1UlI3YVNYNXdnNjNPMXkyY21vSVMwWHRpMjlOV3RoRW5uZVk9In0= x-ctpclassification: CTP_IC x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.home.local id u661kmf0021455 Hi, Rafael > From: linux-acpi-owner@vger.kernel.org [mailto:linux-acpi- > owner@vger.kernel.org] On Behalf Of Rafael J. Wysocki > Subject: Re: [PATCH 5/5] ACPI: Add configuration item to configure ACPICA > error logs out > > On Tue, Jul 5, 2016 at 1:18 PM, Lv Zheng wrote: > > Sometimes, we need to disable ACPICA error logs to leave only ACPICA > > debug logs enabled for debugging purpose. This is useful when ACPICA > error > > logs become a flood. > > > > Reference: https://bugzilla.kernel.org/show_bug.cgi?id=114201 > > Signed-off-by: Lv Zheng > > I seem to remember seeing this change once before and ISTR I said I > wouldn't apply it then. > > Why would I say something different this time? [Lv Zheng] I missed that. Now that I deleted this patch from my local queue. Thanks and best regards -Lv > > > --- > > drivers/acpi/Kconfig | 7 +++++++ > > include/acpi/platform/aclinux.h | 4 ++++ > > 2 files changed, 11 insertions(+) > > > > diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig > > index 04af18f..939d235 100644 > > --- a/drivers/acpi/Kconfig > > +++ b/drivers/acpi/Kconfig > > @@ -324,6 +324,13 @@ config ACPI_TABLE_UPGRADE > > initrd, therefore it's safe to say Y. > > See Documentation/acpi/initrd_table_override.txt for details > > > > +config ACPI_NO_ERROR_MESSAGES > > + bool "Disable error messages" > > + default n > > + help > > + The ACPI subsystem can produce error messages. Saying Y disables > > + this output. > > + > > config ACPI_DEBUG > > bool "Debug Statements" > > default n > > diff --git a/include/acpi/platform/aclinux.h > b/include/acpi/platform/aclinux.h > > index 93b61b1..ed27b52 100644 > > --- a/include/acpi/platform/aclinux.h > > +++ b/include/acpi/platform/aclinux.h > > @@ -77,6 +77,10 @@ > > #define ACPI_MUTEX_DEBUG > > #endif > > > > +#ifdef CONFIG_ACPI_NO_ERROR_MESSAGES > > +#define ACPI_NO_ERROR_MESSAGES > > +#endif > > + > > #include > > #include > > #include > > -- > -- > To unsubscribe from this list: send the line "unsubscribe linux-acpi" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html