From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 42A6EC77B6E for ; Wed, 12 Apr 2023 11:55:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231234AbjDLLzG (ORCPT ); Wed, 12 Apr 2023 07:55:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35460 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230082AbjDLLzE (ORCPT ); Wed, 12 Apr 2023 07:55:04 -0400 Received: from m12.mail.163.com (m12.mail.163.com [220.181.12.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 96C6765B8 for ; Wed, 12 Apr 2023 04:54:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=Message-ID:Date:MIME-Version:From:Subject: Content-Type; bh=VY5vMpjnNlyF0O+wXC1YpqWkBwUifFQvtKyidMV5JjE=; b=pTFjd1EbJFPfdb72wG7wc67SbvlkrmfKP3FOBKf+sttRzDfBlv29TyNL9HdjBa 4PMuKekwvBqPUhBEaO/IS61mmNuL9451GykXRG2BFzLnqZSfy2l+IPYpR15pS3FI L/euPmqe5wbB+J5PH5XTa8XjlxtoioyzMybKUrHp2G/uw= Received: from [172.21.25.67] (unknown [218.201.129.19]) by zwqz-smtp-mta-g3-1 (Coremail) with SMTP id _____wA3Kw3zmzZkGsEeBQ--.59479S2; Wed, 12 Apr 2023 19:54:28 +0800 (CST) Message-ID: <580d8541-1eca-e7b1-ccf5-66eda3e88761@163.com> Date: Wed, 12 Apr 2023 19:54:28 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Content-Language: en-US To: linux-usb@vger.kernel.org Cc: Johan Hovold , Greg Kroah-Hartman , Bin Liu From: qianfan Subject: BUG: linux 5.15.0 hang on usb_wwan_indat_callback Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-CM-TRANSID: _____wA3Kw3zmzZkGsEeBQ--.59479S2 X-Coremail-Antispam: 1Uf129KBjvAXoWfZr18tF15WF4rCrWDXFWrXwb_yoW5JryxCo W5JF1UXa1kWrn8ta48C3WDt34rJw1vy3W7tF1jkw4UC3W7ZrWDtryjyr1rJa1rXa4UXFyY yr4UKwn5ua1fta97n29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73VFW2AGmfu7bjvjm3 AaLaJ3UbIYCTnIWIevJa73UjIFyTuYvjxUnrWFDUUUU X-Originating-IP: [218.201.129.19] X-CM-SenderInfo: htld0w5dqj3xxmlqqiywtou0bp/1tbiXBVP7VXl6OtLpgABs0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Hi: The linux system maybe hang in usb_wwan_indat_callback when the usb modem sudden disconnected. This problem has a very small probability and can not make it repeat easy. hardware: allwinner R40 with 4 cortex-a7 software: linux 5.15.0 Next is the log capture form usb serial console: [   82.700600] option 4-1:1.0: GSM modem (1-port) converter detected [   82.720622] usb 4-1: GSM modem (1-port) converter now attached to ttyUSB0 [   82.734545] option 4-1:1.1: GSM modem (1-port) converter detected [   82.758139] usb 4-1: GSM modem (1-port) converter now attached to ttyUSB1 [   82.768024] option 4-1:1.2: GSM modem (1-port) converter detected [   82.776918] usb 4-1: GSM modem (1-port) converter now attached to ttyUSB2 [   82.822713] cdc_ether 4-1:1.3 usb0: register 'cdc_ether' at usb-1c1c000.usb-1, CDC Ethernet Device, 02:0c:29:a3:9b:6d [  113.950770] rcu: INFO: rcu_sched self-detected stall on CPU [  113.958037] rcu:     0-....: (2590 ticks this GP) idle=89f/1/0x40000004 softirq=7864/7864 fqs=598 [  114.005867]     (t=2605 jiffies g=8609 q=1090) [  114.011438] NMI backtrace for cpu 0 [  114.015988] CPU: 0 PID: 85 Comm: sugov:0 Tainted: G        W O      5.15.0 #1 [  114.024477] Hardware name: Wisdom T3 based CCT Family [  114.030640] [] (unwind_backtrace) from [] (show_stack+0x10/0x14) [  114.040122] [] (show_stack) from [] (dump_stack_lvl+0x58/0x70) [  114.049245] [] (dump_stack_lvl) from [] (nmi_cpu_backtrace+0x120/0x140) [  114.059144] [] (nmi_cpu_backtrace) from [] (nmi_trigger_cpumask_backtrace+0x11c/0x164) [  114.070338] [] (nmi_trigger_cpumask_backtrace) from [] (rcu_dump_cpu_stacks+0x128/0x20c) [  114.081837] [] (rcu_dump_cpu_stacks) from [] (rcu_sched_clock_irq+0xd14/0x1124) [  114.092555] [] (rcu_sched_clock_irq) from [] (update_process_times+0xa0/0xc8) [  114.102921] [] (update_process_times) from [] (tick_sched_timer+0x4c/0xb0) [  114.113126] [] (tick_sched_timer) from [] (__hrtimer_run_queues+0x2a0/0x5fc) [  114.123513] [] (__hrtimer_run_queues) from [] (hrtimer_interrupt+0x114/0x2cc) [  114.133894] [] (hrtimer_interrupt) from [] (arch_timer_handler_phys+0x28/0x30) [  114.144411] [] (arch_timer_handler_phys) from [] (handle_percpu_devid_irq+0xd0/0x350) [  114.155609] [] (handle_percpu_devid_irq) from [] (handle_domain_irq+0x5c/0x78) [  114.166272] [] (handle_domain_irq) from [] (gic_handle_irq+0x7c/0x90) [  114.176097] [] (gic_handle_irq) from [] (__irq_svc+0x60/0x80) [  114.185015] Exception stack(0xc27e9bb8 to 0xc27e9c00) [  114.191219] 9ba0: c5fc0280 00000005 [  114.200654] 9bc0: c0428280 00000003 c5fc0280 00000a20 c5eff000 00000002 00000000 c0c6540c [  114.210116] 9be0: 00000200 ffffe000 00000200 c27e9c08 c0804c34 c07da090 600e0113 ffffffff [  114.219409] [] (__irq_svc) from [] (usb_submit_urb+0x1dc/0x58c) [  114.228726] [] (usb_submit_urb) from [] (usb_wwan_indat_callback+0x30/0xa0) [  114.239138] [] (usb_wwan_indat_callback) from [] (__usb_hcd_giveback_urb+0x54/0xdc) [  114.250205] [] (__usb_hcd_giveback_urb) from [] (usb_giveback_urb_bh+0x9c/0xec) [  114.260912] [] (usb_giveback_urb_bh) from [] (tasklet_action_common.constprop.6+0xd0/0xec) [  114.272561] [] (tasklet_action_common.constprop.6) from [] (__do_softirq+0x138/0x5c8) [  114.283720] [] (__do_softirq) from [] (irq_exit+0x194/0x1dc) [  114.292613] [] (irq_exit) from [] (handle_domain_irq+0x60/0x78) [  114.301896] [] (handle_domain_irq) from [] (gic_handle_irq+0x7c/0x90) [  114.311686] [] (gic_handle_irq) from [] (__irq_svc+0x60/0x80) [  114.320589] Exception stack(0xc27e9d48 to 0xc27e9d90) [  114.326904] 9d40:                   15962135 d888ee9e 00000001 000276d9 a00e0013 c1215a34 [  114.336350] 9d60: 00000002 c27e9df0 c2517c50 00000000 c2517e58 c122dbf0 2e63a000 c27e9d98 [  114.345677] 9d80: c0bd9a2c c0bd9a30 600e0013 ffffffff [  114.351773] [] (__irq_svc) from [] (_raw_spin_unlock_irqrestore+0x30/0x4c) [  114.362088] [] (_raw_spin_unlock_irqrestore) from [] (ccu_gate_helper_enable+0x18/0x20) [  114.373626] [] (ccu_gate_helper_enable) from [] (ccu_pll_notifier_cb+0x28/0x5c) [  114.384363] [] (ccu_pll_notifier_cb) from [] (srcu_notifier_call_chain+0x94/0x110) [  114.395290] [] (srcu_notifier_call_chain) from [] (__clk_notify+0x80/0xac) [  114.405476] [] (__clk_notify) from [] (clk_change_rate+0x238/0x770) [  114.415144] [] (clk_change_rate) from [] (clk_core_set_rate_nolock+0x254/0x274) [  114.425911] [] (clk_core_set_rate_nolock) from [] (clk_set_rate+0x30/0x64) [  114.436228] [] (clk_set_rate) from [] (_set_opp+0x274/0x50c) [  114.445312] [] (_set_opp) from [] (dev_pm_opp_set_rate+0x100/0x15c) [  114.454903] [] (dev_pm_opp_set_rate) from [] (__cpufreq_driver_target+0xf0/0x22c) [  114.465688] [] (__cpufreq_driver_target) from [] (sugov_work+0x4c/0x58) [  114.475572] [] (sugov_work) from [] (kthread_worker_fn+0x118/0x3f0) [  114.485193] [] (kthread_worker_fn) from [] (kthread+0x16c/0x18c) [  114.494544] [] (kthread) from [] (ret_from_fork+0x14/0x38) [  114.503259] Exception stack(0xc27e9fb0 to 0xc27e9ff8) [  114.509477] 9fa0: 00000000 00000000 00000000 00000000 [  114.518884] 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [  114.528233] 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000 [  182.177926] sun4i-emac 1c0b000.ethernet FE0: Link is Down [  192.570871] rcu: INFO: rcu_sched self-detected stall on CPU [  192.578097] rcu:     0-....: (10394 ticks this GP) idle=89f/1/0x40000004 softirq=7864/7864 fqs=2202 [  192.588506]     (t=10463 jiffies g=8609 q=3618) [  192.593986] NMI backtrace for cpu 0 [  192.598506] CPU: 0 PID: 85 Comm: sugov:0 Tainted: G        W O      5.15.0 #1 [  192.606971] Hardware name: Wisdom T3 based CCT Family [  192.613162] [] (unwind_backtrace) from [] (show_stack+0x10/0x14) [  192.622647] [] (show_stack) from [] (dump_stack_lvl+0x58/0x70) [  192.631737] [] (dump_stack_lvl) from [] (nmi_cpu_backtrace+0x120/0x140) [  192.641614] [] (nmi_cpu_backtrace) from [] (nmi_trigger_cpumask_backtrace+0x11c/0x164) [  192.652791] [] (nmi_trigger_cpumask_backtrace) from [] (rcu_dump_cpu_stacks+0x128/0x20c) [  192.664294] [] (rcu_dump_cpu_stacks) from [] (rcu_sched_clock_irq+0xd14/0x1124) [  192.675012] [] (rcu_sched_clock_irq) from [] (update_process_times+0xa0/0xc8) [  192.685372] [] (update_process_times) from [] (tick_sched_timer+0x4c/0xb0) [  192.695580] [] (tick_sched_timer) from [] (__hrtimer_run_queues+0x2a0/0x5fc) [  192.705948] [] (__hrtimer_run_queues) from [] (hrtimer_interrupt+0x114/0x2cc) [  192.716337] [] (hrtimer_interrupt) from [] (arch_timer_handler_phys+0x28/0x30) [  192.726842] [] (arch_timer_handler_phys) from [] (handle_percpu_devid_irq+0xd0/0x350) [  192.738039] [] (handle_percpu_devid_irq) from [] (handle_domain_irq+0x5c/0x78) [  192.748701] [] (handle_domain_irq) from [] (gic_handle_irq+0x7c/0x90) [  192.758501] [] (gic_handle_irq) from [] (__irq_svc+0x60/0x80) [  192.767439] Exception stack(0xc27e9bc0 to 0xc27e9c08) [  192.773823] 9bc0: c1273940 d888ee9e 0000002c c0f3c500 c118cb18 0000954c c118c900 c118cb18 [  192.783274] 9be0: c36739a4 c27e8000 00000101 ffffe000 2e63a000 c27e9c10 c01d714c c08b2220 [  192.792546] 9c00: 600e0113 ffffffff [  192.797092] [] (__irq_svc) from [] (arch_counter_read+0x8/0x10) [  192.806240] [] (arch_counter_read) from [] (ktime_get_mono_fast_ns+0x44/0xc4) [  192.816685] [] (ktime_get_mono_fast_ns) from [] (usb_wwan_indat_callback+0x68/0xa0) [  192.827707] [] (usb_wwan_indat_callback) from [] (__usb_hcd_giveback_urb+0x54/0xdc) [  192.838779] [] (__usb_hcd_giveback_urb) from [] (usb_giveback_urb_bh+0x9c/0xec) [  192.849473] [] (usb_giveback_urb_bh) from [] (tasklet_action_common.constprop.6+0xd0/0xec) [  192.861113] [] (tasklet_action_common.constprop.6) from [] (__do_softirq+0x138/0x5c8) [  192.872264] [] (__do_softirq) from [] (irq_exit+0x194/0x1dc) [  192.881152] [] (irq_exit) from [] (handle_domain_irq+0x60/0x78) [  192.890430] [] (handle_domain_irq) from [] (gic_handle_irq+0x7c/0x90) [  192.900222] [] (gic_handle_irq) from [] (__irq_svc+0x60/0x80) [  192.909124] Exception stack(0xc27e9d48 to 0xc27e9d90) [  192.915429] 9d40:                   15962135 d888ee9e 00000001 000276d9 a00e0013 c1215a34 [  192.924872] 9d60: 00000002 c27e9df0 c2517c50 00000000 c2517e58 c122dbf0 2e63a000 c27e9d98 [  192.934208] 9d80: c0bd9a2c c0bd9a30 600e0013 ffffffff [  192.940314] [] (__irq_svc) from [] (_raw_spin_unlock_irqrestore+0x30/0x4c) [  192.950627] [] (_raw_spin_unlock_irqrestore) from [] (ccu_gate_helper_enable+0x18/0x20) [  192.962159] [] (ccu_gate_helper_enable) from [] (ccu_pll_notifier_cb+0x28/0x5c) [  192.972894] [] (ccu_pll_notifier_cb) from [] (srcu_notifier_call_chain+0x94/0x110) [  192.983800] [] (srcu_notifier_call_chain) from [] (__clk_notify+0x80/0xac) [ 192.993991] [] (__clk_notify) from [] (clk_change_rate+0x238/0x770) [  193.003643] [] (clk_change_rate) from [] (clk_core_set_rate_nolock+0x254/0x274) [  193.014411] [] (clk_core_set_rate_nolock) from [] (clk_set_rate+0x30/0x64) [  193.024720] [] (clk_set_rate) from [] (_set_opp+0x274/0x50c) [  193.033791] [] (_set_opp) from [] (dev_pm_opp_set_rate+0x100/0x15c) [  193.043368] [] (dev_pm_opp_set_rate) from [] (__cpufreq_driver_target+0xf0/0x22c) [  193.054162] [] (__cpufreq_driver_target) from [] (sugov_work+0x4c/0x58) [  193.064062] [] (sugov_work) from [] (kthread_worker_fn+0x118/0x3f0) [  193.073706] [] (kthread_worker_fn) from [] (kthread+0x16c/0x18c) [  193.083070] [] (kthread) from [] (ret_from_fork+0x14/0x38) [  193.091785] Exception stack(0xc27e9fb0 to 0xc27e9ff8) [  193.098009] 9fa0: 00000000 00000000 00000000 00000000 [  193.107431] 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [  193.116794] 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000 [  208.495677] rcu: INFO: rcu_sched detected expedited stalls on CPUs/tasks: { 0-... } 2618 jiffies s: 605 root: 0x1/. [  208.546254] rcu: blocking rcu_node structures (internal RCU debug): [  208.557377] Task dump for CPU 0: [  208.565683] task:sugov:0         state:R  running task stack:    0 pid:   85 ppid:     2 flags:0x00000002 [  208.588368] [] (__schedule) from [] (0xffffe000) [  271.151219] rcu: INFO: rcu_sched self-detected stall on CPU [  271.158481] rcu:     0-....: (18198 ticks this GP) idle=89f/1/0x40000004 softirq=7864/7864 fqs=4188 [  271.168918]     (t=18321 jiffies g=8609 q=5640) [  271.174398] NMI backtrace for cpu 0 [  271.178919] CPU: 0 PID: 85 Comm: sugov:0 Tainted: G        W O      5.15.0 #1 [  271.187379] Hardware name: Wisdom T3 based CCT Family [  271.193549] [] (unwind_backtrace) from [] (show_stack+0x10/0x14) [  271.203009] [] (show_stack) from [] (dump_stack_lvl+0x58/0x70) [  271.212136] [] (dump_stack_lvl) from [] (nmi_cpu_backtrace+0x120/0x140) [  271.222044] [] (nmi_cpu_backtrace) from [] (nmi_trigger_cpumask_backtrace+0x11c/0x164) [  271.233216] [] (nmi_trigger_cpumask_backtrace) from [] (rcu_dump_cpu_stacks+0x128/0x20c) [  271.244720] [] (rcu_dump_cpu_stacks) from [] (rcu_sched_clock_irq+0xd14/0x1124) [  271.255427] [] (rcu_sched_clock_irq) from [] (update_process_times+0xa0/0xc8) [  271.265802] [] (update_process_times) from [] (tick_sched_timer+0x4c/0xb0) [  271.275991] [] (tick_sched_timer) from [] (__hrtimer_run_queues+0x2a0/0x5fc) [  271.286358] [] (__hrtimer_run_queues) from [] (hrtimer_interrupt+0x114/0x2cc) [  271.296739] [] (hrtimer_interrupt) from [] (arch_timer_handler_phys+0x28/0x30) [  271.307240] [] (arch_timer_handler_phys) from [] (handle_percpu_devid_irq+0xd0/0x350) [  271.318430] [] (handle_percpu_devid_irq) from [] (handle_domain_irq+0x5c/0x78) [  271.329082] [] (handle_domain_irq) from [] (gic_handle_irq+0x7c/0x90) [  271.338886] [] (gic_handle_irq) from [] (__irq_svc+0x60/0x80) [  271.347815] Exception stack(0xc27e9c08 to 0xc27e9c50) [  271.354140] 9c00:                   15962135 d888ee9e 00000001 00033808 c36739a4 c27e9c64 [  271.363581] 9c20: 00000000 c36739c8 c36739a4 c27e8000 00000101 ffffe000 2e63a000 c27e9c58 [  271.372897] 9c40: c0bd99e0 c0bd99e4 600e0113 ffffffff [  271.379002] [] (__irq_svc) from [] (_raw_spin_unlock_irq+0x24/0x40) [  271.388681] [] (_raw_spin_unlock_irq) from [] (usb_giveback_urb_bh+0x64/0xec) [  271.399304] [] (usb_giveback_urb_bh) from [] (tasklet_action_common.constprop.6+0xd0/0xec) [  271.411181] [] (tasklet_action_common.constprop.6) from [] (__do_softirq+0x138/0x5c8) [  271.423075] [] (__do_softirq) from [] (irq_exit+0x194/0x1dc) [  271.432177] [] (irq_exit) from [] (handle_domain_irq+0x60/0x78) [  271.441459] [] (handle_domain_irq) from [] (gic_handle_irq+0x7c/0x90) [  271.451240] [] (gic_handle_irq) from [] (__irq_svc+0x60/0x80) [  271.460145] Exception stack(0xc27e9d48 to 0xc27e9d90) [  271.466462] 9d40:                   15962135 d888ee9e 00000001 000276d9 a00e0013 c1215a34 [  271.475901] 9d60: 00000002 c27e9df0 c2517c50 00000000 c2517e58 c122dbf0 2e63a000 c27e9d98 [  271.485478] 9d80: c0bd9a2c c0bd9a30 600e0013 ffffffff [  271.491874] [] (__irq_svc) from [] (_raw_spin_unlock_irqrestore+0x30/0x4c) [  271.502909] [] (_raw_spin_unlock_irqrestore) from [] (ccu_gate_helper_enable+0x18/0x20) [  271.514616] [] (ccu_gate_helper_enable) from [] (ccu_pll_notifier_cb+0x28/ 0x5c) [  271.525361] [] (ccu_pll_notifier_cb) from [] (srcu_notifier_call_chain+0x94/0x110) [  271.536285] [] (srcu_notifier_call_chain) from [] (__clk_notify+0x80/0xac) [  271.546636] [] (__clk_notify) from [] (clk_change_rate+0x238/0x770) [  271.556504] [] (clk_change_rate) from [] (clk_core_set_rate_nolock+0x254/0x274) [  271.567264] [] (clk_core_set_rate_nolock) from [] (clk_set_rate+0x30/0x64) [  271.577578] [] (clk_set_rate) from [] (_set_opp+0x274/0x50c) [  271.586649] [] (_set_opp) from [] (dev_pm_opp_set_rate+0x100/0x15c) [  271.596237] [] (dev_pm_opp_set_rate) from [] (__cpufreq_driver_target+0xf0/0x22c) [  271.607013] [] (__cpufreq_driver_target) from [] (sugov_work+0x4c/0x58) [  271.616883] [] (sugov_work) from [] (kthread_worker_fn+0x118/0x3f0) [  271.626496] [] (kthread_worker_fn) from [] (kthread+0x16c/0x18c) [  271.635849] [] (kthread) from [] (ret_from_fork+0x14/0x38) [  271.644559] Exception stack(0xc27e9fb0 to 0xc27e9ff8) [  271.650818] 9fa0: 00000000 00000000 00000000 00000000 [  271.660239] 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [  271.669599] 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000 [  289.784027] rcu: INFO: rcu_sched detected expedited stalls on CPUs/tasks: { 0-... } 10746 jiffies s: 605 root: 0x1/. [  289.803250] rcu: blocking rcu_node structures (internal RCU debug): [  289.815089] Task dump for CPU 0: [  289.819607] task:sugov:0         state:R  running task stack:    0 pid:   85 ppid:     2 flags:0x00000002 [  289.843571] [] (__schedule) from [] (0xffffe000) [  295.138141] sun4i-emac 1c0b000.ethernet FE0: Link is Up - 100Mbps/Full - flow control off [  349.270798] rcu: INFO: rcu_sched self-detected stall on CPU [  349.278061] rcu:     0-....: (25957 ticks this GP) idle=89f/1/0x40000004 softirq=7864/7864 fqs=6201 [  349.288467]     (t=26133 jiffies g=8609 q=7632) [  349.293951] NMI backtrace for cpu 0 [  349.298467] CPU: 0 PID: 85 Comm: sugov:0 Tainted: G        W O      5.15.0 #1 [  349.306913] Hardware name: Wisdom T3 based CCT Family [  349.313102] [] (unwind_backtrace) from [] (show_stack+0x10/0x14) [  349.322561] [] (show_stack) from [] (dump_stack_lvl+0x58/0x70) [  349.331662] [] (dump_stack_lvl) from [] (nmi_cpu_backtrace+0x120/0x140) [  349.341553] [] (nmi_cpu_backtrace) from [] (nmi_trigger_cpumask_backtrace+0x11c/0x164) [  349.352731] [] (nmi_trigger_cpumask_backtrace) from [] (rcu_dump_cpu_stacks+0x128/0x20c) [  349.364229] [] (rcu_dump_cpu_stacks) from [] (rcu_sched_clock_irq+0xd14/0x1124) [  349.374933] [] (rcu_sched_clock_irq) from [] (update_process_times+0xa0/0xc8) [  349.385291] [] (update_process_times) from [] (tick_sched_timer+0x4c/0xb0) [  349.395487] [] (tick_sched_timer) from [] (__hrtimer_run_queues+0x2a0/0x5fc) [  349.405854] [] (__hrtimer_run_queues) from [] (hrtimer_interrupt+0x114/0x2cc) [  349.416240] [] (hrtimer_interrupt) from [] (arch_timer_handler_phys+0x28/0x30) [  349.426735] [] (arch_timer_handler_phys) from [] (handle_percpu_devid_irq+0xd0/0x350) [  349.437915] [] (handle_percpu_devid_irq) from [] (handle_domain_irq+0x5c/0x78) [  349.448576] [] (handle_domain_irq) from [] (gic_handle_irq+0x7c/0x90) [  349.458389] [] (gic_handle_irq) from [] (__irq_svc+0x60/0x80) [  349.467306] Exception stack(0xc27e9c08 to 0xc27e9c50) [  349.473628] 9c00:                   15962135 d888ee9e 00000001 00038a2c c36739a4 c27e9c64 [  349.483087] 9c20: 00000000 c36739c8 c36739a4 c27e8000 00000101 ffffe000 2e63a000 c27e9c58 [  349.492403] 9c40: c0bd99e0 c0bd99e4 600e0113 ffffffff [  349.498522] [] (__irq_svc) from [] (_raw_spin_unlock_irq+0x24/0x40) [  349.508204] [] (_raw_spin_unlock_irq) from [] (usb_giveback_urb_bh+0x64/0xec) [  349.518828] [] (usb_giveback_urb_bh) from [] (tasklet_action_common.constprop.6+0xd0/0xec) [  349.530478] [] (tasklet_action_common.constprop.6) from [] (__do_softirq+0x138/0x5c8) [  349.541617] [] (__do_softirq) from [] (irq_exit+0x194/0x1dc) [  349.550515] [] (irq_exit) from [] (handle_domain_irq+0x60/0x78) [  349.559802] [] (handle_domain_irq) from [] (gic_handle_irq+0x7c/0x90) [  349.569583] [] (gic_handle_irq) from [] (__irq_svc+0x60/0x80) [  349.578502] Exception stack(0xc27e9d48 to 0xc27e9d90) [  349.584814] 9d40:                   15962135 d888ee9e 00000001 000276d9 a00e0013 c1215a34 [  349.594250] 9d60: 00000002 c27e9df0 c2517c50 00000000 c2517e58 c122dbf0 2e63a000 c27e9d98 [  349.603576] 9d80: c0bd9a2c c0bd9a30 600e0013 ffffffff [  349.609683] [] (__irq_svc) from [] (_raw_spin_unlock_irqrestore+0x30/0x4c) [  349.619966] [] (_raw_spin_unlock_irqrestore) from [] (ccu_gate_helper_enable+0x18/0x20) [  349.631499] [] (ccu_gate_helper_enable) from [] (ccu_pll_notifier_cb+0x28/ 0x5c) [  349.642223] [] (ccu_pll_notifier_cb) from [] (srcu_notifier_call_chain+0x94/0x110) [  349.653140] [] (srcu_notifier_call_chain) from [] (__clk_notify+0x80/0xac) [  349.663310] [] (__clk_notify) from [] (clk_change_rate+0x238/0x770) [  349.672977] [] (clk_change_rate) from [] (clk_core_set_rate_nolock+0x254/0x274) [  349.683747] [] (clk_core_set_rate_nolock) from [] (clk_set_rate+0x30/0x64) [  349.694061] [] (clk_set_rate) from [] (_set_opp+0x274/0x50c) [  349.703143] [] (_set_opp) from [] (dev_pm_opp_set_rate+0x100/0x15c) [  349.712729] [] (dev_pm_opp_set_rate) from [] (__cpufreq_driver_target+0xf0/0x22c) [  349.723503] [] (__cpufreq_driver_target) from [] (sugov_work+0x4c/0x58) [  349.733396] [] (sugov_work) from [] (kthread_worker_fn+0x118/0x3f0) [  349.743021] [] (kthread_worker_fn) from [] (kthread+0x16c/0x18c) [  349.752388] [] (kthread) from [] (ret_from_fork+0x14/0x38) [  349.761111] Exception stack(0xc27e9fb0 to 0xc27e9ff8) [  349.767328] 9fa0: 00000000 00000000 00000000 00000000 [  349.776733] 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [  349.786083] 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000 [  371.717054] rcu: INFO: rcu_sched detected expedited stalls on CPUs/tasks: { 0-... } 18939 jiffies s: 605 root: 0x1/. [  371.734234] rcu: blocking rcu_node structures (internal RCU debug): [  371.746559] Task dump for CPU 0: [  371.755757] task:sugov:0         state:R  running task stack:    0 pid:   85 ppid:     2 flags:0x00000002 [  371.775738] [] (__schedule) from [] (0xffffe000) Seems usb_wwan_indat_callback is not good. I had checked the other drivers, "-ECONNRESET" is not handle in this function. I can't make sure this bug is trigger by "-ECONNRESET", so send this email and hope that we can discuss this question. Thanks.