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. Changes since v1 https://lkml.kernel.org/r/20201113161021.2217361-1-bigeasy@xxxxxxxxxxxxx - added acks - added lkml to Cc: Sebastian