From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 96582C48BE0 for ; Fri, 11 Jun 2021 17:02:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 77ED360C40 for ; Fri, 11 Jun 2021 17:02:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231716AbhFKRET (ORCPT ); Fri, 11 Jun 2021 13:04:19 -0400 Received: from smtp-out2.suse.de ([195.135.220.29]:50948 "EHLO smtp-out2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231700AbhFKREJ (ORCPT ); Fri, 11 Jun 2021 13:04:09 -0400 Received: from imap.suse.de (imap-alt.suse-dmz.suse.de [192.168.254.47]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 79F701FD78; Fri, 11 Jun 2021 17:02:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1623430929; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=2uFLF/DAeBIqfywLgKe5uHR/+eJc0g7h5W+DoDmbxoI=; b=DtK4HBsg7xH375NlC1YWTcJFTK15TKfAEltUMCH10JbV01PCcgBf8qE8z75AQbuZ5XAENb jxdylwtvryGmVoaIgYm5bIFsf9aiwEUlY5AjphuKkfWi1L0C+w/0JZk+u59gZdT3oP/vBt nXGx/x0Ms//2eLgUsK0vqRBJFX7xF5o= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1623430929; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=2uFLF/DAeBIqfywLgKe5uHR/+eJc0g7h5W+DoDmbxoI=; b=RdD5fGxLiw/3mRcwQqlRVT3Mx0pWXpIpaLxxN1rEjA38R3ZtqlAVe0NM0AqFicWlGEFDPs 7zru1cKvWEkIjJCg== Received: from imap3-int (imap-alt.suse-dmz.suse.de [192.168.254.47]) by imap.suse.de (Postfix) with ESMTP id 5A95B118DD; Fri, 11 Jun 2021 17:02:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1623430929; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=2uFLF/DAeBIqfywLgKe5uHR/+eJc0g7h5W+DoDmbxoI=; b=DtK4HBsg7xH375NlC1YWTcJFTK15TKfAEltUMCH10JbV01PCcgBf8qE8z75AQbuZ5XAENb jxdylwtvryGmVoaIgYm5bIFsf9aiwEUlY5AjphuKkfWi1L0C+w/0JZk+u59gZdT3oP/vBt nXGx/x0Ms//2eLgUsK0vqRBJFX7xF5o= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1623430929; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=2uFLF/DAeBIqfywLgKe5uHR/+eJc0g7h5W+DoDmbxoI=; b=RdD5fGxLiw/3mRcwQqlRVT3Mx0pWXpIpaLxxN1rEjA38R3ZtqlAVe0NM0AqFicWlGEFDPs 7zru1cKvWEkIjJCg== Received: from director2.suse.de ([192.168.254.72]) by imap3-int with ESMTPSA id x4lyFRGXw2CdQQAALh3uQQ (envelope-from ); Fri, 11 Jun 2021 17:02:09 +0000 Date: Fri, 11 Jun 2021 19:02:03 +0200 From: Borislav Petkov To: "Rafael J. Wysocki" Cc: Linux ACPI , Linux PM , LKML Subject: Re: [PATCH] ACPI: power: Use dev_dbg() to print some messages Message-ID: References: <2601165.mvXUDI8C0e@kreacher> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <2601165.mvXUDI8C0e@kreacher> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 11, 2021 at 06:58:48PM +0200, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > The messages printed by acpi_resume_power_resources() and > acpi_turn_off_unused_power_resources() are not important enough to be > printed with pr_info(), so use dev_dbg() instead of it to get rid of > some noise in the kernel log. > > Signed-off-by: Rafael J. Wysocki > --- > drivers/acpi/power.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > Index: linux-pm/drivers/acpi/power.c > =================================================================== > --- linux-pm.orig/drivers/acpi/power.c > +++ linux-pm/drivers/acpi/power.c > @@ -1004,7 +1004,7 @@ void acpi_resume_power_resources(void) > > if (state == ACPI_POWER_RESOURCE_STATE_OFF > && resource->ref_count) { > - dev_info(&resource->device.dev, "Turning ON\n"); > + dev_dbg(&resource->device.dev, "Turning ON\n"); > __acpi_power_on(resource); > } > > @@ -1034,7 +1034,7 @@ void acpi_turn_off_unused_power_resource > */ > if (!resource->ref_count && > resource->state != ACPI_POWER_RESOURCE_STATE_OFF) { > - dev_info(&resource->device.dev, "Turning OFF\n"); > + dev_dbg(&resource->device.dev, "Turning OFF\n"); > __acpi_power_off(resource); > } Acked-by: Borislav Petkov Thx! -- Regards/Gruss, Boris. SUSE Software Solutions Germany GmbH, GF: Felix Imendörffer, HRB 36809, AG Nürnberg