Re: lockdep annotation for desc->request_mutex

From: Thomas Gleixner
Date: Mon Nov 13 2017 - 09:11:56 EST


Andrew,

On Thu, 9 Nov 2017, Andrew Lunn wrote:

> Hi Thomas
>
> I'm been given reports of a new lockdep splat while testing
> 4.14-rc8. It appears to be a false positive, due to missing lockdep
> annotation on desc->request_mutex. The driver is using two different
> interrupt descriptors via different paths. But without annotation,
> lockdep thinks it is the same mutex.

Hmm.

> Do you have patches adding a lockdep class for desc->request_mutex?

No. I think we should extend irq_set_lockdep_class() and hand in two keys
then.

Thanks,

tglx