Hi Riccardo, On Tue Jun 18 2024, Riccardo Laiolo wrote: > Hi all, > > I'm working on a custom board with an NXP iMX8MP cpu (linux 6.1.55-rt16 > from NXP's yocto repository). > > The hardware is similar to the NXP evk. The main difference is the dsa > switch (marvell MV88E6390). > > If I enable the marvell's DT node the system becomes unstable. I have > random kernel panics. Hm. I've never observed any issues with this switch driver or DSA and PREEMPT_RT in general. > > The error trace is not helpful, it looks like a stack overflow or a > stack corruption. Sometimes it's a NULL (or random unallocated address) > pointer dereference, but sometimes the error is different, I've seen an > error about killing the idle task a couple of times. What seems constant > is that the error occurs during the scheduler context switch after an > hard interrupt. > > How can I troubleshoot this kind of issues? > Can you enable CONFIG_DEBUG_ATOMIC_SLEEP, CONFIG_PROVE_LOCKING and see if anything unusual comes up? Thanks, Kurt
Attachment:
signature.asc
Description: PGP signature