Re: [PATCH v3] PM / clk: make PM clock layer compatible with clocks that must sleep
From: Nicolas Pitre <hidden>
Date: 2021-01-25 18:26:54
Also in:
linux-clk, lkml
From: Nicolas Pitre <hidden>
Date: 2021-01-25 18:26:54
Also in:
linux-clk, lkml
On Mon, 25 Jan 2021, Rafael J. Wysocki wrote:
On Sun, Jan 24, 2021 at 12:07 AM Nicolas Pitre [off-list ref] wrote:quoted
A note on sparse: According to https://lwn.net/Articles/109066/ there are things that sparse can't cope with. In particular, pm_clk_op_lock() and pm_clk_op_unlock() may or may not lock/unlock psd->lock depending on some runtime condition. To work around that we tell sparse the lock is always untaken for the purpose of static analisys.It looks like sparse is still complaining: https://lore.kernel.org/linux-acpi/600dc681.3mAl9WQXnragfNZk%25lkp@intel.com/ (local)
Would you happen to still have one of those randconfig configuration? I'd like to know why sparse complains about 3 out of 93 configs. Nicolas