Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp427478pxb; Thu, 25 Feb 2021 06:20:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJyFVyr5/lvyGsnZOi3+HZ9btCouSobsMlR4QBjbXRGCnC7pw6g1lhyCX+iPbaFk/GstD8En X-Received: by 2002:aa7:c312:: with SMTP id l18mr3089812edq.278.1614262804357; Thu, 25 Feb 2021 06:20:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614262804; cv=none; d=google.com; s=arc-20160816; b=fRF9e/qbxK9Id+Pqa5kxX95V0FlDuAGPnJmacKiAIUbrxvE6JzYTiGTvsOMQ0gI4HT o1jB6+oiwMuF8ISb5zRR4YMbFRR3esYpbpHxd9NOOnfLfxdjpH7ib11waxaGKkIfNQ+4 9wfb/8Pm8MNP2xMmysWaY824n9Tnnfu8u3gUXcIvCAmNvHkzRtljbk2IdIMW5aILh5Bg IPIUShF3GqrMt8t9mjOEn7pnTtvuXGPWNNAmvNoFOgelUYTxHejPiIK3Js5Tyqeqjvp6 AVr8pvLcsdGJAMoc27X1kY9GCT17ZU4X2mq6yE9n7kKRTxnpxF1biEgRlAb7c5SSM3bg H07A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=1QZMA8cNlzH7nkMXr7lhlBsE60EWNOGiuyx3E863xr8=; b=EpsKo7H6U1yM9XO3ohwif08GJZErIL1XO3/U+m18KWuiB3AUnB0rAQgLLo0RcMuPt+ 6JAgXJyHkV44O69S/vA6Nm40B3GLqyXBhNjUqFDCbpKBbabVEfGONKhUbShgrUPYBhi5 gHheVzcp3/EOKfcAmmIYfT70jNv17SZ25gFhxOO5mibJAZfPoL9+3P6X8FA6pFbrhH/E uWsRuWmOlCVxh7Fxr2lwDN8T9gLa/77/Uvhxh4MtOSU5nhBjClOaGfoDkHU1KrxWGKuc +K83zlb+zmSdrWSuQ0GdfgoOYByhQPtQT8nmesuzxqtn8H4PW+r/pvi7hgKGXu7cUoHd 7acA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k12si1346065edq.82.2021.02.25.06.19.41; Thu, 25 Feb 2021 06:20:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231786AbhBYOSa (ORCPT + 99 others); Thu, 25 Feb 2021 09:18:30 -0500 Received: from szxga07-in.huawei.com ([45.249.212.35]:13378 "EHLO szxga07-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231414AbhBYOS3 (ORCPT ); Thu, 25 Feb 2021 09:18:29 -0500 Received: from DGGEMS406-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga07-in.huawei.com (SkyGuard) with ESMTP id 4DmZZx32Dhz7q8b; Thu, 25 Feb 2021 22:16:09 +0800 (CST) Received: from [10.174.178.147] (10.174.178.147) by DGGEMS406-HUB.china.huawei.com (10.3.19.206) with Microsoft SMTP Server id 14.3.498.0; Thu, 25 Feb 2021 22:17:40 +0800 Subject: Re: [PATCH v1 1/4] ACPI: processor: Get rid of ACPICA message printing To: "Rafael J. Wysocki" CC: "Rafael J. Wysocki" , Linux ACPI , Linux PM , LKML References: <5138173.kHyPcihzTF@kreacher> <10245832.OiMb8u2cOm@kreacher> <0faea0bd-107b-5c4c-5324-e0cd5e5cfba4@huawei.com> From: Hanjun Guo Message-ID: <816edceb-983b-03d7-4a96-d325658417fd@huawei.com> Date: Thu, 25 Feb 2021 22:17:40 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Originating-IP: [10.174.178.147] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021/2/25 2:06, Rafael J. Wysocki wrote: > On Tue, Feb 23, 2021 at 3:45 PM Rafael J. Wysocki wrote: >> >> On Tue, Feb 23, 2021 at 12:31 PM Hanjun Guo wrote: >>> >>> On 2021/2/23 2:59, Rafael J. Wysocki wrote: >>>> Index: linux-pm/drivers/acpi/processor_idle.c >>>> =================================================================== >>>> --- linux-pm.orig/drivers/acpi/processor_idle.c >>>> +++ linux-pm/drivers/acpi/processor_idle.c >>> >>> In this file, function acpi_processor_cstate_first_run_checks() >>> has a wrong pr_notice(): >>> >>> pr_notice("ACPI: processor limited to max C-state %d\n", >>> max_cstate); >>> >>> Since we have pr_fmt() for this file, "ACPI:" is duplicate, >>> we'd better cleanup this as below: >>> >>> pr_notice("processor limited to max C-state %d\n", max_cstate); >> >> Thanks for pointing this out, I'll make this change when applying the patch. > > Actually, this issue is not strictly related to the patch here, so I'm > going to send a separate patch to fix it. Make sense to me as well. Thanks Hanjun