In the discussion about preempt count consistency across kernel configurations: https://lore.kernel.org/r/20200914204209.256266093@xxxxxxxxxxxxx/ it was concluded that the usage of in_interrupt() and related context checks should be removed from non-core code. This ide subsystem has two in_interrupts() checks before mutex/wait-event invocations. Sebastian