Re: [PATCH v2 3/4] pinctrl: amd: Use pm_pr_dbg to show debugging messages

From: Rafael J. Wysocki
Date: Wed May 24 2023 - 14:28:26 EST


On Tue, May 23, 2023 at 6:55 PM <andy.shevchenko@xxxxxxxxx> wrote:
>
> 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.

Right.

> Regression 2: See https://stackoverflow.com/a/43957671/2511795

Care to elaborate? I'm not sure what you mean exactly.