On Jan 15, 2020, at 4:52 AM, Petr Mladek <pmladek@suse.com> wrote:

I could understand that Michal is against hack in -mm code that
would just hide a false positive warning.

Well, I don’t have any confidence to say everything this patch is trying to fix is false positives. I have been spent the last a few months to research this, so I don’t feel like to do this again.

https://lore.kernel.org/linux-mm/1570633715.5937.10.camel@lca.pw/


If you really need a solution before the console offload gets
upstream then I suggest to do something really simple. For example,
disable lockdep around the allocation in console registration code
that is proven to produce the false positive chain.