Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4639031rwd; Tue, 23 May 2023 10:14:22 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4D2BwRxRP7c18Vd3RWJUXSxLKzbMqcXGRZ9/8gxqPWYNmsjZruos3ccvXtEToDxeNgD3vb X-Received: by 2002:a17:902:e80e:b0:1af:a058:cc2d with SMTP id u14-20020a170902e80e00b001afa058cc2dmr11239385plg.57.1684862062184; Tue, 23 May 2023 10:14:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684862062; cv=none; d=google.com; s=arc-20160816; b=xA7EACHOANHi3YB2TWEhVDgPXKOD8lKigpxSgHk8jCRHB2WV2EhJST6dJDigO+7MNA Rd1OSn+1h15pWMInOR4LPo7QDupsGm03s94dt4bChNQcQSxvmuQaw8lrVQq+nSO7voAa JSmIm+NngUVQBDtHD/rYLbwPz2JOV/CI/bP/XtxTaUr1ytWn/RolXi7g+zPoeFVA4tPQ lRu3LstpDPocM6SChmr7voh18Sc24CsJq3KsqM74pSICU6E9BHCCkwhuIrd5+k6/+E0p 37BVDa2sbKOEEbg2Ye2yu3RbEpXe78vxEgGJY8JJgpD7nTR67An9Fv8JavLQD6wgPtyp 5W7w== 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=qwoY0j6ageZDQDRm7uaIzcHBNP2TY++GAZGd5FkUHlg=; b=K2wPiXqZUTpMVnIId4FwFQ4nzhyvbohrZIy788OEpa+NwlP/oL4WSo2i7r23W1KAjl XYr3wDfmNsIp28Monm+b9nl5uQlEZ7OSCkMMoN9QT1IaEvZ4m+oWb9hvZXyIbymfac+3 ELKMvRbP/zSsB0a68dXnjho5bMVpu7sChUZdpvLMsJe2pgiRA+zo1e7dnENCz9LPgDd3 RHjK7dhIz/Q3b00baS4YpXArGTs1zlwnru4T0nrnsy0xoG8rettrGpzFWwk4LRvjFVbX RqvPa24DB6N/2Yc/k1xKd8WI29oGeG6f88TpUP0xMgKMt3K7Nf7jkSSxGJzYYZHsRxRm VmtA== 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 d12-20020a170903230c00b001afba640063si1213887plh.577.2023.05.23.10.14.06; Tue, 23 May 2023 10:14:22 -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 S237698AbjEWQzq (ORCPT + 99 others); Tue, 23 May 2023 12:55:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33718 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237780AbjEWQzn (ORCPT ); Tue, 23 May 2023 12:55:43 -0400 Received: from fgw21-7.mail.saunalahti.fi (fgw21-7.mail.saunalahti.fi [62.142.5.82]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 28D46119 for ; Tue, 23 May 2023 09:55:40 -0700 (PDT) Received: from localhost (88-113-26-95.elisa-laajakaista.fi [88.113.26.95]) by fgw21.mail.saunalahti.fi (Halon) with ESMTP id a4647b55-f98a-11ed-abf4-005056bdd08f; Tue, 23 May 2023 19:55:38 +0300 (EEST) From: andy.shevchenko@gmail.com Date: Tue, 23 May 2023 19:55:37 +0300 To: Mario Limonciello Cc: rafael@kernel.org, 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, Shyam-sundar.S-k@amd.com, Basavaraj.Natikar@amd.com Subject: Re: [PATCH v2 3/4] pinctrl: amd: Use pm_pr_dbg to show debugging messages Message-ID: References: <20230522200033.2605-1-mario.limonciello@amd.com> <20230522200033.2605-3-mario.limonciello@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230522200033.2605-3-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,URIBL_BLOCKED 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 Mon, May 22, 2023 at 03:00:32PM -0500, Mario Limonciello kirjoitti: > To make the GPIO tracking around suspend easier for end users to > use, link it with pm_debug_messages. This will make discovering > sources of spurious GPIOs around suspend easier. Unfortunatelly this has two regressions. ... > - dev_dbg(&gpio_dev->pdev->dev, > - "GPIO %d is active: 0x%x", > - irqnr + i, regval); > + pm_pr_dbg("GPIO %d is active: 0x%x", > + irqnr + i, regval); Regression 1: The device is now omitted from the output. Regression 2: See https://stackoverflow.com/a/43957671/2511795 -- With Best Regards, Andy Shevchenko