Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp735910pxj; Fri, 11 Jun 2021 10:07:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw5dkoDgyjkfMwPOifVppAN7a8P2xrv4d9R1cMYZ3tGGAlALFLLFTnh2a2xjrbGcxcRGJcx X-Received: by 2002:a17:906:b74a:: with SMTP id fx10mr4549622ejb.248.1623431244832; Fri, 11 Jun 2021 10:07:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623431244; cv=none; d=google.com; s=arc-20160816; b=AZK6pv4KyuL2CMH83bS1/udWk5fyJ4H0po1cnUOFdw7C3XqeBUHPLk7+nzKUEH+C7I hEXhSMdLfopQ1MVLe1q0OWc6JxplodH856iqKJr2k6kqubJzAuWuSOe90K2NJ+zcNTuJ YUl9cBySimVSBvV66D70wSIgRNwGlFGaZ8XJ8a6ROxOPpZZ8AA9MQ1rR04D/4sb6HZ67 Eskcw9OMtQDcW1nUygaKpuWK5h+kvmicIzdVBrDJaskTP2yqn1bqq2rrD4LSbGoOLFxv 79mCwmHI7BlREYtTX6enEGOKyf4rEzF/ak0NE9+qSDhDn1Tq3mjp7iJPNSPmKd8hDAm8 tdLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:dkim-signature:dkim-signature :dkim-signature; bh=2uFLF/DAeBIqfywLgKe5uHR/+eJc0g7h5W+DoDmbxoI=; b=gC4s/t6mxiogmrY1GDdpnahNDuMii9uA99odUqhbBMzFfsvjm1FzH1ztHPdW0RHI6H sSsbWg6C+4GV1Xn5F3m2uihOIn3HHkGih1LBc446xDgqOJS72V5vTLdzVW6Ya1392YXy vOPh95iOHet43eTYYWPfpZzrnJVvHs5H+FwOk0FdvGo5/5jGUdiFEt/ACtdt0ThnTkq1 H6a3OwT3pJeK4DeJRkCOlAKkapDjmCEoUbupzuq+q+E9/+4oh0y5RuxMHoh/JAk40630 9dQmlocnQZZy55aHdsx3tHdG+h3F6kHExHd4b8dUlnBLkv1v+K9woh7V5zBWjhAaLilC EaKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=DtK4HBsg; dkim=neutral (no key) header.i=@suse.de header.b=RdD5fGxL; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=DtK4HBsg; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; 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 bm18si5345225edb.404.2021.06.11.10.06.50; Fri, 11 Jun 2021 10:07:24 -0700 (PDT) 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; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=DtK4HBsg; dkim=neutral (no key) header.i=@suse.de header.b=RdD5fGxL; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=DtK4HBsg; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; 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 S231690AbhFKRER (ORCPT + 99 others); Fri, 11 Jun 2021 13:04:17 -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