forked from intel/lkp-tests
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "lib/dmesg.rb: ignore oops when kernel is tainted"
This reverts commit 631129b. WARNING rcu_torture_stats_print is shown in a Tainted kernel. [ 91.720955][ T0] ================================================================== [ 91.722870][ T0] BUG: KASAN: out-of-bounds in cpu_init_exception_handling+0xb71/0xcce [ 91.725314][ T0] Write of size 2 at addr ffff8881009bfea0 by task swapper/1/0 [ 91.727658][ T0] [ 91.728191][ T0] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.16.0-rc2 intel#1 a24463070ea22534f6c67668cecaa669e0bcb985 [ 91.766536][ T0] Disabling lock debugging due to kernel taint ... [ 120.265469][ T553] ------------[ cut here ]------------ [ 120.267872][ T553] WARNING: CPU: 0 PID: 553 at kernel/rcu/rcutorture.c:1832 rcu_torture_stats_print+0xb80/0xd99 [rcutorture] ... [ 120.275075][ T553] CPU: 0 PID: 553 Comm: rcu_torture_sta Tainted: G B 5.16.0-rc2 intel#1 a24463070ea22534f6c67668cecaa669e0bcb985 [ 120.276925][ T553] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.0-debian-1.16.0-5 04/01/2014 [ 120.278470][ T553] RIP: 0010:rcu_torture_stats_print+0xb80/0xd99 [rcutorture] But such WARNING can occur standalone, which means it is not the result of early oops/panic. [ 130.687780][ T578] ------------[ cut here ]------------ [ 130.689263][ T578] WARNING: CPU: 0 PID: 578 at kernel/rcu/rcutorture.c:1832 rcu_torture_stats_print+0xb80/0xd99 [rcutorture] ... [ 130.693473][ T578] CPU: 0 PID: 578 Comm: rcu_torture_sta Not tainted 5.16.0-rc2-00001-gdce1ca0525bf intel#1 3c0077784af7403eda198a81ec74f23688d9ec99 ... [ 130.696637][ T578] RIP: 0010:rcu_torture_stats_print+0xb80/0xd99 [rcutorture] This means the rcu_torture_stats_print WARNING worth being recorded. So revert the patch before a better way to know which oops is really related to early occurred issue. Signed-off-by: Philip Li <[email protected]>
- Loading branch information
Showing
7 changed files
with
68 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters