* [PATCH] dmaengine: ti: k3-udma: drop loglevel for non-fatal probe deferral log
@ 2022-11-28 10:13 Jayesh Choudhary
2022-11-29 16:28 ` Péter Ujfalusi
0 siblings, 1 reply; 3+ messages in thread
From: Jayesh Choudhary @ 2022-11-28 10:13 UTC (permalink / raw)
To: vkoul, peter.ujfalusi; +Cc: dmaengine, linux-kernel, j-choudhary
Change the log level from dev_err() to dev_dbg() for non-fatal probe
deferral log for getting MSI domain.
This makes the kernel log clean and we do not get recurring logs
stating: "Failed to get MSI domain".
Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
---
drivers/dma/ti/k3-udma.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/dma/ti/k3-udma.c b/drivers/dma/ti/k3-udma.c
index ce8b80bb34d7..e540166cf4c7 100644
--- a/drivers/dma/ti/k3-udma.c
+++ b/drivers/dma/ti/k3-udma.c
@@ -5344,7 +5344,7 @@ static int udma_probe(struct platform_device *pdev)
dev->msi.domain = of_msi_get_domain(dev, dev->of_node,
DOMAIN_BUS_TI_SCI_INTA_MSI);
if (!dev->msi.domain) {
- dev_err(dev, "Failed to get MSI domain\n");
+ dev_dbg(dev, "Failed to get MSI domain\n");
return -EPROBE_DEFER;
}
--
2.25.1
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] dmaengine: ti: k3-udma: drop loglevel for non-fatal probe deferral log
2022-11-28 10:13 [PATCH] dmaengine: ti: k3-udma: drop loglevel for non-fatal probe deferral log Jayesh Choudhary
@ 2022-11-29 16:28 ` Péter Ujfalusi
2022-12-28 11:02 ` Vinod Koul
0 siblings, 1 reply; 3+ messages in thread
From: Péter Ujfalusi @ 2022-11-29 16:28 UTC (permalink / raw)
To: Jayesh Choudhary, vkoul; +Cc: dmaengine, linux-kernel
On 28/11/2022 12:13, Jayesh Choudhary wrote:
> Change the log level from dev_err() to dev_dbg() for non-fatal probe
> deferral log for getting MSI domain.
> This makes the kernel log clean and we do not get recurring logs
> stating: "Failed to get MSI domain".
Or not print at all?
Acked-by: Peter Ujfalusi <peter.ujfalusi@gmail.com>
>
> Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
> ---
> drivers/dma/ti/k3-udma.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/dma/ti/k3-udma.c b/drivers/dma/ti/k3-udma.c
> index ce8b80bb34d7..e540166cf4c7 100644
> --- a/drivers/dma/ti/k3-udma.c
> +++ b/drivers/dma/ti/k3-udma.c
> @@ -5344,7 +5344,7 @@ static int udma_probe(struct platform_device *pdev)
> dev->msi.domain = of_msi_get_domain(dev, dev->of_node,
> DOMAIN_BUS_TI_SCI_INTA_MSI);
> if (!dev->msi.domain) {
> - dev_err(dev, "Failed to get MSI domain\n");
> + dev_dbg(dev, "Failed to get MSI domain\n");
> return -EPROBE_DEFER;
> }
>
--
Péter
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] dmaengine: ti: k3-udma: drop loglevel for non-fatal probe deferral log
2022-11-29 16:28 ` Péter Ujfalusi
@ 2022-12-28 11:02 ` Vinod Koul
0 siblings, 0 replies; 3+ messages in thread
From: Vinod Koul @ 2022-12-28 11:02 UTC (permalink / raw)
To: Péter Ujfalusi; +Cc: Jayesh Choudhary, dmaengine, linux-kernel
On 29-11-22, 18:28, Péter Ujfalusi wrote:
>
>
> On 28/11/2022 12:13, Jayesh Choudhary wrote:
> > Change the log level from dev_err() to dev_dbg() for non-fatal probe
> > deferral log for getting MSI domain.
> > This makes the kernel log clean and we do not get recurring logs
> > stating: "Failed to get MSI domain".
>
> Or not print at all?
that would be better one :-)
>
> Acked-by: Peter Ujfalusi <peter.ujfalusi@gmail.com>
>
> >
> > Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
> > ---
> > drivers/dma/ti/k3-udma.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/dma/ti/k3-udma.c b/drivers/dma/ti/k3-udma.c
> > index ce8b80bb34d7..e540166cf4c7 100644
> > --- a/drivers/dma/ti/k3-udma.c
> > +++ b/drivers/dma/ti/k3-udma.c
> > @@ -5344,7 +5344,7 @@ static int udma_probe(struct platform_device *pdev)
> > dev->msi.domain = of_msi_get_domain(dev, dev->of_node,
> > DOMAIN_BUS_TI_SCI_INTA_MSI);
> > if (!dev->msi.domain) {
> > - dev_err(dev, "Failed to get MSI domain\n");
> > + dev_dbg(dev, "Failed to get MSI domain\n");
> > return -EPROBE_DEFER;
> > }
>
> --
> Péter
--
~Vinod
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-12-28 11:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-28 10:13 [PATCH] dmaengine: ti: k3-udma: drop loglevel for non-fatal probe deferral log Jayesh Choudhary
2022-11-29 16:28 ` Péter Ujfalusi
2022-12-28 11:02 ` Vinod Koul
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox