Part Number: TDA4VM
Other Parts Discussed in Thread: TDA4VH
Hi, expers
When enabling CONFIG_PREEMPT and running the `rcu-torture` torture tests on TDA4VH platform. Sometimes we are observing the following RCU CPU stall warning.
[15:13:07]]root@j7-evm:/run/media/mmcblk1p1# insmod torture.ko
[15:13:12]]root@j7-evm:/run/media/mmcblk1p1# insmod rcutorture.ko
[08:06:42]][60830.687903] rcu-torture: rtc: 00000000f24553fd ver: 614614 tfle: 0 rta: 614614 rtaf: 0 rtf: 614605 rtmbe: 0 rtbe: 0 rtbke: 0 rtbre: 0 rtbf: 0 rtb: 0 nt: 22200203 onoff: 0/0:0/0 -1,0:-1,0 0:0 (HZ=250) barrier: 0/0:0 read-exits: 57409
[08:06:42]][60830.708581] rcu-torture: Reader Pipe: 133426404760 2118331 0 0 0 0 0 0 0 0 0
[08:06:42]][60830.715735] rcu-torture: Reader Batch: 133422733238 5792891 0 0 0 0 0 0 0 0 0
[08:06:42]][60830.722981] rcu-torture: Free-Block Circulation: 614613 614613 614612 614611 614610 614609 614608 614607 614606 614605 0
[08:06:42]][60830.733964] ??? Writer stall state RTWS_STUTTER(8) g4639925 f0x0 ->state 0x1 cpu 4
[08:06:42]][60830.742578] rcu: rcu_preempt: wait state: RCU_GP_WAIT_FQS(5) ->state: 0x402 delta ->gp_activity 2 ->gp_req_activity 3642057 ->gp_wake_time 13151 ->gp_wake_seq 4639925 ->gp_seq 4639925 ->gp_seq_needed 4639932 ->gp_flags 0x0
[08:06:42]][60830.742584] rcu: rcu_node 0:7 ->gp_seq 4639925 ->gp_seq_needed 4639932
[08:06:42]][60830.742590] rcu: cpu 0 ->gp_seq_needed 4639928
[08:06:42]][60830.742596] rcu: cpu 1 ->gp_seq_needed 4639928
[08:06:42]][60830.742602] rcu: cpu 2 ->gp_seq_needed 4639928
[08:06:42]][60830.742607] rcu: cpu 3 ->gp_seq_needed 4639928
[08:06:42]][60830.742612] rcu: cpu 5 ->gp_seq_needed 4639928
[08:06:42]][60830.742618] rcu: cpu 6 ->gp_seq_needed 4639928
[08:06:42]][60830.742624] rcu: cpu 7 ->gp_seq_needed 4639932
[08:06:42]][60830.742631] rcu: RCU callbacks invoked since boot: 223104966
[08:06:42]][60830.742638] rcu_tasks: RTGS_WAIT_CBS(11) since 15207685 g:0 i:0/0 k.
[08:06:42]][60830.742645] rcu_tasks_rude: RTGS_WAIT_CBS(11) since 15207685 g:0 i:0/0 k.
[08:06:42]][60830.742653] rcu_tasks_trace: RTGS_WAIT_CBS(11) since 15207685 g:0 i:0/0 k. N0 h:0/0/0
[08:06:42]][60841.139879] rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
[08:06:42]][60841.145967] rcu: 4-...0: (19 ticks this GP) idle=33a/1/0x4000000000000000 softirq=3058565/3058567 fqs=1347361
[08:06:42]][60841.156032] (detected by 3, t=3644661 jiffies, g=4639925, q=4273405)
[08:06:42]][60841.156035] Task dump for CPU 4:
[08:06:42]][60841.156039] task:rcu_torture_rea state:S stack: 0 pid: 619 ppid: 2 flags:0x0000002a
[08:06:42]][60841.156047] Call trace:
[08:06:42]][60841.156058] __switch_to+0xc0/0x118
[08:06:42]][60841.156062] 0xffff000b7e46a080
Thanks,
quanli
