On 2023-04-14 17:38:56 [+0200], Vlastimil Babka wrote: > What I meant that in the linked thread a solution seems to be forming in the > form of annotation for lockdep/CONFIG_PROVE_RAW_LOCK_NESTING to make it > aware that on CONFIG_PREEMPT_RT the problem it sees is side-stepped so it > shouldn't warn about it on !PREEMPT_RT, and maybe that solution could be > used for the printk issue as well (I admit I didn't check the code, just by > reading your mail it sounded very similar). Yes, you right and it would work and I would include it. Once the DEBUG_OBJECT part is merged (the LD_LOCK_WAIT logic is missing) I would add something here. Sebastian