Using CONFIG_DEBUG_ATOMIC_SLEEP enabled kernel, we encountered following false-positive warning: do not call blocking ops when !TASK_RUNNING; This issue was fixed by following upstream patch: - PM / runtime: Avoid false-positive warnings from might_sleep_if() https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/drivers/base/power/runtime.c?h=linux-4.9.y&id=36d9659cde0dcb48c711d3dd460467d76c0b84eb
The warning was shown when they inserted 3rd party's WiFi driver module, so we cannot reproduce it.