Skip to content
Commit f9eb92f5 authored by Zheng Yejian's avatar Zheng Yejian
Browse files

x86/ftrace: Disable lockdep check when execute ftrace_int3_handler()

hulk inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/IAA3U5


CVE: NA

---------------------------

After commit 5e66a5bd ("ftrace: Fix rcu warn in ftrace_location()"),
lockdep still complain that:

  include/linux/rcupdate.h:646 rcu_read_lock() used illegally while idle!

As Xu suggested, lockdep check can be disabled when exectue
ftrace_int3_handler(), refer to mainline commit ba1f2b2e
("x86/entry: Fix NMI vs IRQ state tracking").

Fixes: 5e66a5bd ("ftrace: Fix rcu warn in ftrace_location()")
Suggested-by: default avatarXu Kuohai <xukuohai@huawei.com>
Signed-off-by: default avatarZheng Yejian <zhengyejian1@huawei.com>
parent d127ee13
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment