Am 29.07.2023 um 19:59 schrieb Chengfeng Ye:
This flaw was found by an experimental static analysis tool I am developing
for irq-related deadlock.
Just out of curiosity, did/could
- Linux kernel config checks like CONFIG_DEBUG_SPINLOCK option or
- Smatch 
find that issue too?
I have also found an article from Dan Carpenter on the net about lock
checking capability of Smatch which relates IMHO to what you are doing .
The question is, whether the checks/algorithm what you have developed
already exists in form of other tools or they might be added to an
already existing one, which is already spread across the community and
Many thanks for your reply in advance.