Re: [PATCH v5 4/4] drm: bridge: ti-sn65dsi83: Add error recovery mechanism

From: Alexander Stein
Date: Thu Feb 06 2025 - 10:39:31 EST


Hi Herve,

Am Donnerstag, 6. Februar 2025, 16:20:48 CET schrieb Herve Codina:
> Hi Alexander,
>
> On Thu, 06 Feb 2025 15:38:42 +0100
> Alexander Stein <alexander.stein@xxxxxxxxxxxxxxx> wrote:
>
> ...
> > With interrupt configured I got the following stack trace upon
> > reboot/poweroff:
> >
> > [ 91.317264] sn65dsi83 2-002d: reset the pipe
> > [ 91.344093] Unable to handle ke
> > ** replaying previous printk message **
> > [ 91.344093] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000
> ...
>
> Ouch :(
>
> One question to help me investigating:
> Do you have the issue at init/probe or when you start to display graphics?

This is during shutdown/poweroff. I assume that regmap_reg() in
sn65dsi83_handle_errors() fails and because of that reset_work is scheduled.

Best regards,
Alexander
--
TQ-Systems GmbH | Mühlstraße 2, Gut Delling | 82229 Seefeld, Germany
Amtsgericht München, HRB 105018
Geschäftsführer: Detlef Schneider, Rüdiger Stahl, Stefan Schneider
http://www.tq-group.com/