[4.9.10] ath10k workqueue warnings

Daniel J Blueman daniel at quora.org
Mon Feb 20 05:26:06 PST 2017


Running 4.9 with some kernel debug options enabled [1], I see two
workqueue warnings while ath10k work is being processed [3]. Full
dmesg output is available [2].

Let me know if getting any additional debug would help, or testing any changes.

Thanks!
  Dan

[1] https://quora.org/config
[2] https://quora.org/dmesg.txt

-- [3]

WARNING: CPU: 3 PID: 196 at kernel/workqueue.c:1509
__queue_delayed_work+0x301/0x3c0
CPU: 3 PID: 196 Comm: kworker/u8:3 Tainted: G   U     4.9.10-debug+ #3
Hardware name: Dell Inc. XPS 13 9360/0T3FTF, BIOS 1.3.2 01/18/2017
Workqueue: ath10k_wq ath10k_core_register_work [ath10k_core]
 ffff880236187e88 ffffffffb74d83a1 0000000000000000 0000000000000000
 ffff880236187ed0 ffffffffb6978b12 0000000000000082 00000000000005e5
 0000000000000046 0000000000000003 ffff880235d4a1c8 ffff8802361a42a0
Call Trace:
 <IRQ>
 [<ffffffffb74d83a1>] dump_stack+0x85/0xc4
 [<ffffffffb6978b12>] __warn+0x172/0x1b0
 [<ffffffffb6978d3d>] warn_slowpath_null+0x1d/0x20
 [<ffffffffb69ca541>] __queue_delayed_work+0x301/0x3c0
 [<ffffffffb69cc224>] queue_delayed_work_on+0x54/0xa0
 [<ffffffffc181a19d>]
pkg_temp_thermal_platform_thermal_notify+0x19d/0x24d
[x86_pkg_temp_thermal]
 [<ffffffffb6ca971c>] ? irq_work_run+0x2c/0x40
 [<ffffffffb68dac37>] intel_thermal_interrupt+0x2f7/0x4b0
 [<ffffffffb68daf11>] smp_thermal_interrupt+0x21/0x90
 [<ffffffffb83d2eac>] thermal_interrupt+0x8c/0xa0
 <EOI>
 [<ffffffffb83d0483>] ? _raw_spin_unlock_irq+0x33/0x40
 [<ffffffffb83d047c>] ? _raw_spin_unlock_irq+0x2c/0x40
 [<ffffffffb83bffdc>] __schedule+0x111c/0x1b80
 [<ffffffffb6a8a33e>] ? trace_hardirqs_on_caller+0x3fe/0x580
 [<ffffffffc167789c>] ? ath10k_ce_completed_recv_next+0x5c/0x70 [ath10k_pci]
 [<ffffffffb83c0ad4>] schedule+0x94/0x1b0
 [<ffffffffc166fd1d>] ath10k_pci_hif_exchange_bmi_msg+0xabd/0x1490 [ath10k_pci]
 [<ffffffffb6e45268>] ? kfree+0x258/0x2c0
 [<ffffffffc166f260>] ? ath10k_pci_fw_crashed_dump+0x1d0/0x1d0 [ath10k_pci]
 [<ffffffffc166f260>] ? ath10k_pci_fw_crashed_dump+0x1d0/0x1d0 [ath10k_pci]
 [<ffffffffb797d3cd>] ? dev_printk_emit+0x9d/0xd0
 [<ffffffffb797d330>] ? dev_vprintk_emit+0x600/0x600
 [<ffffffffb797dc0c>] ? __dev_printk+0xdc/0x300
 [<ffffffffc17b0345>] ath10k_bmi_lz_data+0x195/0x2c0 [ath10k_core]
 [<ffffffffc17b01b0>] ? ath10k_bmi_execute+0x2a0/0x2a0 [ath10k_core]
 [<ffffffffc17b0470>] ? ath10k_bmi_lz_data+0x2c0/0x2c0 [ath10k_core]
 [<ffffffffc17b0736>] ath10k_bmi_fast_download+0x106/0x130 [ath10k_core]
 [<ffffffffc17b0630>] ? ath10k_bmi_lz_stream_start+0x1c0/0x1c0 [ath10k_core]
 [<ffffffffc1738080>] ? ath10k_read_wmi_services+0x200/0x200 [ath10k_core]
 [<ffffffffc173ccdb>] ath10k_core_get_board_id_from_otp+0x10b/0x2e0
[ath10k_core]
 [<ffffffffc173cbd0>] ? ath10k_download_cal_file+0xc0/0xc0 [ath10k_core]
 [<ffffffffc1673058>] ? ath10k_pci_hif_power_up+0x2b8/0x530 [ath10k_pci]
 [<ffffffffc174259f>] ath10k_core_register_work+0x5cf/0x1960 [ath10k_core]
 [<ffffffffb6a8f214>] ? lock_acquire+0x1b4/0x330
 [<ffffffffc1741fd0>] ? ath10k_core_stop+0x160/0x160 [ath10k_core]
 [<ffffffffb69ce832>] process_one_work+0x6a2/0x1b00
 [<ffffffffb69ce798>] ? process_one_work+0x608/0x1b00
 [<ffffffffb83d047c>] ? _raw_spin_unlock_irq+0x2c/0x40
 [<ffffffffb69ce190>] ? pwq_dec_nr_in_flight+0x2b0/0x2b0
 [<ffffffffb69cfd70>] worker_thread+0xe0/0x1460
 [<ffffffffb83bf6bb>] ? __schedule+0x7fb/0x1b80
 [<ffffffffb69cfc90>] ? process_one_work+0x1b00/0x1b00
 [<ffffffffb69e3082>] kthread+0x222/0x2e0
 [<ffffffffb69e2e60>] ? kthread_park+0x80/0x80
 [<ffffffffb69e2e60>] ? kthread_park+0x80/0x80
 [<ffffffffb69e2e60>] ? kthread_park+0x80/0x80
 [<ffffffffb83d0eaa>] ret_from_fork+0x2a/0x40

WARNING: CPU: 3 PID: 196 at kernel/workqueue.c:1511
__queue_delayed_work+0x26f/0x3c0
CPU: 3 PID: 196 Comm: kworker/u8:3 Tainted: G   U W    4.9.10-debug+ #3
Hardware name: Dell Inc. XPS 13 9360/0T3FTF, BIOS 1.3.2 01/18/2017
Workqueue: ath10k_wq ath10k_core_register_work [ath10k_core]
 ffff880236187e88 ffffffffb74d83a1 0000000000000000 0000000000000000
 ffff880236187ed0 ffffffffb6978b12 0000000000000082 00000000000005e7
 ffff8802361a4268 0000000000000003 ffff880235d4a1c8 ffff8802361a42a0
Call Trace:
 <IRQ>
 [<ffffffffb74d83a1>] dump_stack+0x85/0xc4
 [<ffffffffb6978b12>] __warn+0x172/0x1b0
 [<ffffffffb6978d3d>] warn_slowpath_null+0x1d/0x20
 [<ffffffffb69ca4af>] __queue_delayed_work+0x26f/0x3c0
 [<ffffffffb69cc224>] queue_delayed_work_on+0x54/0xa0
 [<ffffffffc181a19d>]
pkg_temp_thermal_platform_thermal_notify+0x19d/0x24d
[x86_pkg_temp_thermal]
 [<ffffffffb6ca971c>] ? irq_work_run+0x2c/0x40
 [<ffffffffb68dac37>] intel_thermal_interrupt+0x2f7/0x4b0
 [<ffffffffb68daf11>] smp_thermal_interrupt+0x21/0x90
 [<ffffffffb83d2eac>] thermal_interrupt+0x8c/0xa0
 <EOI>
 [<ffffffffb83d0483>] ? _raw_spin_unlock_irq+0x33/0x40
 [<ffffffffb83d047c>] ? _raw_spin_unlock_irq+0x2c/0x40
 [<ffffffffb83bffdc>] __schedule+0x111c/0x1b80
 [<ffffffffb6a8a33e>] ? trace_hardirqs_on_caller+0x3fe/0x580
 [<ffffffffc167789c>] ? ath10k_ce_completed_recv_next+0x5c/0x70 [ath10k_pci]
 [<ffffffffb83c0ad4>] schedule+0x94/0x1b0
 [<ffffffffc166fd1d>] ath10k_pci_hif_exchange_bmi_msg+0xabd/0x1490 [ath10k_pci]
 [<ffffffffb6e45268>] ? kfree+0x258/0x2c0
 [<ffffffffc166f260>] ? ath10k_pci_fw_crashed_dump+0x1d0/0x1d0 [ath10k_pci]
 [<ffffffffc166f260>] ? ath10k_pci_fw_crashed_dump+0x1d0/0x1d0 [ath10k_pci]
 [<ffffffffb797d3cd>] ? dev_printk_emit+0x9d/0xd0
 [<ffffffffb797d330>] ? dev_vprintk_emit+0x600/0x600
 [<ffffffffb797dc0c>] ? __dev_printk+0xdc/0x300
 [<ffffffffc17b0345>] ath10k_bmi_lz_data+0x195/0x2c0 [ath10k_core]
 [<ffffffffc17b01b0>] ? ath10k_bmi_execute+0x2a0/0x2a0 [ath10k_core]
 [<ffffffffc17b0470>] ? ath10k_bmi_lz_data+0x2c0/0x2c0 [ath10k_core]
 [<ffffffffc17b0736>] ath10k_bmi_fast_download+0x106/0x130 [ath10k_core]
 [<ffffffffc17b0630>] ? ath10k_bmi_lz_stream_start+0x1c0/0x1c0 [ath10k_core]
 [<ffffffffc1738080>] ? ath10k_read_wmi_services+0x200/0x200 [ath10k_core]
 [<ffffffffc173ccdb>] ath10k_core_get_board_id_from_otp+0x10b/0x2e0
[ath10k_core]
 [<ffffffffc173cbd0>] ? ath10k_download_cal_file+0xc0/0xc0 [ath10k_core]
 [<ffffffffc1673058>] ? ath10k_pci_hif_power_up+0x2b8/0x530 [ath10k_pci]
 [<ffffffffc174259f>] ath10k_core_register_work+0x5cf/0x1960 [ath10k_core]
 [<ffffffffb6a8f214>] ? lock_acquire+0x1b4/0x330
 [<ffffffffc1741fd0>] ? ath10k_core_stop+0x160/0x160 [ath10k_core]
 [<ffffffffb69ce832>] process_one_work+0x6a2/0x1b00
 [<ffffffffb69ce798>] ? process_one_work+0x608/0x1b00
 [<ffffffffb83d047c>] ? _raw_spin_unlock_irq+0x2c/0x40
 [<ffffffffb69ce190>] ? pwq_dec_nr_in_flight+0x2b0/0x2b0
 [<ffffffffb69cfd70>] worker_thread+0xe0/0x1460
 [<ffffffffb83bf6bb>] ? __schedule+0x7fb/0x1b80
 [<ffffffffb69cfc90>] ? process_one_work+0x1b00/0x1b00
 [<ffffffffb69e3082>] kthread+0x222/0x2e0
 [<ffffffffb69e2e60>] ? kthread_park+0x80/0x80
 [<ffffffffb69e2e60>] ? kthread_park+0x80/0x80
 [<ffffffffb69e2e60>] ? kthread_park+0x80/0x80
 [<ffffffffb83d0eaa>] ret_from_fork+0x2a/0x40
-- 
Daniel J Blueman



More information about the ath10k mailing list