[PATCH 0/9] drm/panthor: add devcoredump support
Chia-I Wu
olvaffe at gmail.com
Sun Jul 20 01:13:00 UTC 2025
On Sat, Jul 19, 2025 at 5:41 PM Daniel Almeida
<daniel.almeida at collabora.com> wrote:
>
> Hi Chia-I Wu :)
>
> > On 19 Jul 2025, at 21:01, Chia-I Wu <olvaffe at gmail.com> wrote:
> >
> > This series adds devcoredump support to panthor.
> >
> > This is written from scratch and is not based on the prior work[1]. The
> > main differences are
>
> I wonder why this was started from scratch? IIRC, that work stopped, among
> other things, because we were not sure about what exactly to include in the
> dump. I don't think it warranted a completely new implementation, IMHO.
As noted in the listed differences, this impl triggers coredumps in
more places (e.g., mmu faults), captures lower-level hw regs,
separates capturing and processing, and outputs in text format. It
turns out there is little code that can be inherited from the prior
work.
It also does not support dumping successful jobs.
>
> Do you plan to work on the userspace part as well?
Yes, there is a very early tool in
https://gitlab.freedesktop.org/panfrost/linux/-/issues/44. There is
also a sample dump that shows the raw dump, the decoded one, and the
decoded ringbufs / cmdbufs.
>
> -- Daniel
>
More information about the dri-devel
mailing list