Wind River Support Network

HomeDefectsLIN9-6877
Fixed

LIN9-6877 : False-positive warning for "do not call blocking ops when !TASK_RUNNING;"

Created: May 15, 2018    Updated: Dec 3, 2018
Resolved Date: May 27, 2018
Found In Version: 9.0.0.15
Fix Version: 9.0.0.16
Severity: Standard
Applicable for: Wind River Linux 9
Component/s: Kernel

Description

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

Steps to Reproduce

The warning was shown when they inserted 3rd party's WiFi driver module, so we cannot reproduce it.

Other Downloads


Live chat
Online