Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1598442rwd; Thu, 1 Jun 2023 19:08:53 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5JmNe7GIcqCCpPtkXqRoAKmpLs5vuk+8t8PjCcQ3CYst9KRxW/aXg8I30OYS1ZZUnp+OGX X-Received: by 2002:a05:6a20:1607:b0:10c:7916:f9f6 with SMTP id l7-20020a056a20160700b0010c7916f9f6mr11909437pzj.52.1685671733726; Thu, 01 Jun 2023 19:08:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685671733; cv=none; d=google.com; s=arc-20160816; b=lAK2472uHPM7Btf9T6gl/vTXEx/hm+TLCQdXj+D6mLyExDfCiH6Or/PN8pbaAE3vP5 ypN9HlqFQxSzCpBmnG+TfQYPL4m1QibsAEinh9ItZnzhB4cL8zZ8xsHabY2DdxfNpEs1 mzBwsJkyt+Y/sJ5E4j2ZagzAJzbda6aDteko4mkO/IQhFF0jvZfcMhXtFBKRw2IcxOrf VO1adwwtEh5fY8fIS6l2KLLgY8/jNmNDHUUwnz/Amhv7LU3l5ktZTM/UYfqap7zNKqwS kHSLcq1KxTtovhkCYGDemSpf1hWw37KZltTwDNnPKtNjbyqI+yxz+nb3oz3D+FDz52Ok BOYg== 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-disposition:mime-version :references:message-id:subject:cc:to:date:from; bh=rlk9Bybpc1hYZhK0Vaz3P9UYNniwoT5En4DdUv2m0G4=; b=fOMpJEEzO7AKw2GUpBP0JD0QXeJftNW3Hf2daXs6SYj/VqWcWpQM0FH8o3ThQGMagl ZBnY2oIO1m0O22zpFZBb3rvzRN+Ja9dC4vxNt3XduKzzKCjjKJZTmvZ05XmTW32agAA0 P7/0fqopYvrWv3HBCqV05MryiaJ1UGqB66SjirfQ/Z3SC5P/K/7OKSHvAcVIeSJ4+uPF GpIo/xSQPfrcHka+MxAbWE6sHff1IPbRj5bTGg8wptUe8uPynYxrlGb5u9U3FVCi0ykq ngko+Q6byDgDYZcm8KNdxUyo/90+AsfIMZGS9ua0U8Pw6h+T3AOY9zNXD9ClrpKmQtRy 9d+g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w4-20020a626204000000b0064f4a8f385bsi6338088pfb.136.2023.06.01.19.08.39; Thu, 01 Jun 2023 19:08:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233240AbjFBB76 (ORCPT + 99 others); Thu, 1 Jun 2023 21:59:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40598 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233193AbjFBB74 (ORCPT ); Thu, 1 Jun 2023 21:59:56 -0400 Received: from fgw22-7.mail.saunalahti.fi (fgw22-7.mail.saunalahti.fi [62.142.5.83]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0CA1813E for ; Thu, 1 Jun 2023 18:59:55 -0700 (PDT) Received: from localhost (88-113-26-95.elisa-laajakaista.fi [88.113.26.95]) by fgw22.mail.saunalahti.fi (Halon) with ESMTP id 2a11ee8b-00e9-11ee-a9de-005056bdf889; Fri, 02 Jun 2023 04:59:53 +0300 (EEST) From: andy.shevchenko@gmail.com Date: Fri, 2 Jun 2023 04:59:52 +0300 To: Mario Limonciello Cc: Rafael Wysocki , hdegoede@redhat.com, linus.walleij@linaro.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, platform-driver-x86@vger.kernel.org, linux-pm@vger.kernel.org, S-k Shyam-sundar , Natikar Basavaraj Subject: Re: [PATCH v3 1/4] include/linux/suspend.h: Only show pm_pr_dbg messages at suspend/resume Message-ID: References: <20230601232923.1248-1-mario.limonciello@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230601232923.1248-1-mario.limonciello@amd.com> X-Spam-Status: No, score=0.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FORGED_GMAIL_RCVD,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,SPF_HELO_NONE, SPF_SOFTFAIL,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thu, Jun 01, 2023 at 06:29:20PM -0500, Mario Limonciello kirjoitti: > All uses in the kernel are currently already oriented around > suspend/resume. As some other parts of the kernel may also use these > messages in functions that could also be used outside of > suspend/resume, only enable in suspend/resume path. ... > * Remove pointless do/while I believe this is a joke. This guards against weirdness, like __pm_pr_dbg(foo) else bar; NAK for this particular change. -- With Best Regards, Andy Shevchenko