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:Xu Kuohai <xukuohai@huawei.com> Signed-off-by:
Zheng Yejian <zhengyejian1@huawei.com>
Loading
Please sign in to comment