Linux USB
 help / color / mirror / Atom feed
* [Bug 222360] New: igc doing double free_irq on resume causing USB to fail.
@ 2026-12-03 11:00 bugzilla-daemon
  0 siblings, 0 replies; only message in thread
From: bugzilla-daemon @ 2026-12-03 11:00 UTC (permalink / raw)
  To: linux-usb

https://bugzilla.kernel.org/show_bug.cgi?id=222360

            Bug ID: 222360
           Summary: igc doing double free_irq on resume causing USB to
                    fail.
           Product: Drivers
           Version: 2.5
          Hardware: AMD
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: USB
          Assignee: drivers_usb@kernel-bugs.kernel.org
          Reporter: pakar@imperialnet.org
        Regression: No

Created attachment 311653
  --> https://bugzilla.kernel.org/attachment.cgi?id=311653&action=edit
Dmesg of a few suspend/resume cycles

Not sure what driver i should log it under as it's USB that fails while it's
igc/thunderbolt/pcihp that seems to trigger the issue.

Exact kernel-version the issue started appearing at is currently unknown, but
it was definitely not in linux-7.2.14.arch1-1

I suspect that it started in linux-7.3.5.arch1-1 when looking at the
upgrade-logs and dates.
Upgrade-path was:
linux-7.2.14.arch1-1 -> linux-7.3.4.arch1-2 -> linux-7.3.5.arch1 ->
linux-7.3.6.arch1-1 and i know the issue could be reproduced every time on
resume in linux-7.3.5.arch1

HW:
HP HP ZBook Ultra G1a
CalDigit, Inc. Thunderbolt 4 Pro Dock


Steps to reproduce:
1. Suspend machine with TB4 dock attached.
2. Resume laptop.
3. USB connected devices are non-functional.

TB4 connection still seems to work, it's just USB that stops working, both USB
on the  dock and other USB ports on the laptop stops working.

Temporary fix is to do a unbind/bind of all *hci_hcd and *hci_pci drivers in a
script on resume to make USB work again.

Full dmesg attached. Added short cutout to make it searchable for others.
[166229.061095] thunderbolt 0000:c5:00.6: 0:2: failed to reach state
TB_PORT_UP. Ignoring port...
[166229.061114] thunderbolt 0000:c5:00.6: 0:2: lost during suspend,
disconnecting
[166229.062184] thunderbolt 1-0:2.1: retimer disconnected
[166229.062871] thunderbolt 1-2:1.1: retimer disconnected
[166229.063122] thunderbolt 1-2: device disconnected
[166230.237108] pcieport 0000:61:00.0: not ready 1023ms after resume; giving up
[166230.237237] pcieport 0000:00:01.2: pciehp: Slot(0-1): Card not present
[166230.237859] igc 0000:c0:00.0 enp192s0: PCIe link lost, device now detached
[166230.238108] igc 0000:c0:00.0 enp192s0: PHC removed
[166230.238450] ------------[ cut here ]------------
[166230.238453] Trying to free already-free IRQ 159
[166230.238455] WARNING: kernel/irq/manage.c:1894 at free_irq+0x208/0x360,
CPU#9: irq/34-pciehp/248
[166230.238468] Modules linked in: nf_conntrack_netlink xt_nat xt_tcpudp veth
snd_usb_audio snd_usbmidi_lib snd_ump snd_rawmidi mc rpcsec_gss_krb5 krb5
auth_rpcgss nfsv4 dns_resolver nfs lockd grace nfs_localio sunrpc netfs rfcomm
algif_hash algif_skcipher af_alg snd_seq_dummy snd_hrtimer snd_seq
snd_seq_device uinput hid_sensor_prox hid_sensor_gyro_3d hid_sensor_trigger
kfifo_buf hid_sensor_iio_common industrialio hid_sensor_hub amd_sfh_tabletmode
nf_conntrack_netbios_ns nf_conntrack_broadcast bridge stp llc xfrm_user
xfrm_algo xt_set ip_set xt_addrtype nft_compat x_tables nft_masq nft_fib_inet
nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6
nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6
nf_defrag_ipv4 nf_tables igc ptp pps_core overlay bnep vfat fat
snd_acp_legacy_mach snd_acp_mach snd_soc_nau8821 snd_acp3x_rn snd_acp70
snd_acp_i2s snd_acp_pdm snd_soc_dmic snd_acp_pcm snd_sof_amd_acp7x
snd_sof_amd_acp70 snd_sof_amd_acp63 snd_sof_amd_vangogh snd_sof_amd_rembrandt
[166230.238532]  snd_sof_amd_renoir intel_rapl_msr snd_sof_amd_acp
intel_rapl_common snd_hda_scodec_cs35l56_spi snd_sof_pci snd_sof_xtensa_dsp
snd_sof snd_sof_utils snd_pci_acp7x snd_ctl_led snd_pci_ps
snd_soc_acpi_amd_match snd_hda_codec_alc269 snd_amd_sdw_acpi soundwire_amd
snd_hda_codec_realtek_lib mt7925e soundwire_generic_allocation
snd_hda_scodec_component mt7925_common soundwire_bus snd_hda_codec_generic
mt792x_lib snd_soc_sdca snd_hda_codec_atihdmi snd_hda_codec_hdmi hp_bioscfg
mt76_connac_lib snd_soc_core kvm_amd snd_compress mt76 snd_hda_intel
snd_hda_scodec_cs35l56_i2c ac97_bus firmware_attributes_class snd_pcm_dmaengine
snd_hda_scodec_cs35l56 btusb snd_hda_codec snd_hda_cirrus_scodec snd_acp_pci
kvm btmtk mac80211 snd_amd_acpi_mach snd_soc_cs35l56_shared snd_hda_core btrtl
snd_acp_legacy_common spd5118 snd_soc_cs_amp_lib snd_intel_dspcfg snd_pci_acp6x
btbcm snd_intel_sdw_acpi hid_multitouch cs_dsp amdxdna sp5100_tco btintel
snd_pci_acp5x ucsi_acpi hp_wmi irqbypass snd_hwdep gpio_keys bluetooth mousedev
joydev
[166230.238588]  wmi_bmof sparse_keymap rapl cfg80211 snd_rn_pci_acp3x snd_pcm
i2c_piix4 typec_ucsi snd_acp_config i2c_hid_acpi pcspkr k10temp i2c_hid
snd_soc_acpi i2c_smbus snd_timer roles rfkill serial_multi_instantiate amd_pmf
snd amdtee snd_pci_acp3x soc_button_array amd_sfh typec amd_pmc soundcore
wireless_hotkey libarc4 mac_hid ntsync i2c_dev crypto_user pkcs8_key_parser
zram 842_decompress 842_compress lz4hc_compress hid_logitech_hidpp
hid_logitech_dj dm_crypt encrypted_keys trusted asn1_encoder tee dm_mod amdgpu
drm_buddy amdxcp i2c_algo_bit drm_ttm_helper ttm drm_exec
drm_panel_backlight_quirks gpu_sched nvme drm_suballoc_helper aesni_intel
nvme_core gf128mul video drm_display_helper serio_raw nvme_keyring ccp cec
nvme_auth wmi thunderbolt
[166230.238645] CPU: 9 UID: 0 PID: 248 Comm: irq/34-pciehp Tainted: G        W 
         7.3.6-arch1-2 #1 PREEMPT(full) 
b9e6d7397c557aa4dec86502d9cbc32a06884ea7
[166230.238649] Tainted: [W]=WARN
[166230.238650] Hardware name: HP HP ZBook Ultra G1a 14 inch Mobile Workstation
PC/8D01, BIOS X89 Ver. 01.06.02 08/26/2026
[166230.238654] RIP: 0010:free_irq+0x20b/0x360
[166230.238656] Code: 4c 8b 6c 24 28 4c 8b 74 24 30 4c 89 f8 48 8b 5c 24 10 4c
8b 7c 24 38 48 83 c4 40 c3 cc cc cc cc 48 8d 3d 28 91 6b 02 44 89 ee <67> 48 0f
b9 3a 48 8b 34 24 4c 89 e7 e8 64 11 1a 01 49 8b 47 40 48
[166230.238658] RSP: 0018:ffffd08bc0d47ae0 EFLAGS: 00010046
[166230.238659] RAX: ffff8c10fa5fa070 RBX: ffff8c10dea30b40 RCX:
0000000000000282
[166230.238661] RDX: 0000000000000001 RSI: 000000000000009f RDI:
ffffffff9d90a0d0
[166230.238661] RBP: ffff8c10fa5fa190 R08: ffff8c14aa0f0e00 R09:
0000000000000001
[166230.238662] R10: 0000000000000000 R11: 0000000000000000 R12:
ffff8c10fa5fa0a8
[166230.238662] R13: 000000000000009f R14: 0000000000000000 R15:
ffff8c10fa5fa000
[166230.238663] FS:  0000000000000000(0000) GS:ffff8c2fc014e000(0000)
knlGS:0000000000000000
[166230.238664] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[166230.238664] CR2: 000033cc025ada90 CR3: 000000129dc22000 CR4:
0000000000f50ef0
[166230.238665] PKRU: 55555554
[166230.238666] Call Trace:
[166230.238671]  <TASK>
[166230.238683]  __igc_close.isra.0+0x12b/0x170 [igc
b0550e1e47250963425e69ecc57886225423f41f]
[166230.238700]  igc_close+0x2d/0x40 [igc
b0550e1e47250963425e69ecc57886225423f41f]
[166230.238702]  __dev_close_many+0xbc/0x210
[166230.238710]  netif_close_many+0xcc/0x200
[166230.238711]  unregister_netdevice_many_notify+0x270/0xb10
[166230.238715]  unregister_netdev+0x56/0xa0
[166230.238717]  igc_remove+0x105/0x1f0 [igc
b0550e1e47250963425e69ecc57886225423f41f]
[166230.238719]  pci_device_remove+0x4a/0xb0
[166230.238728]  device_release_driver_internal+0x191/0x240
[166230.238736]  pci_stop_bus_device+0x80/0xa0
[166230.238742]  pci_stop_bus_device+0x39/0xa0
[166230.238743]  pci_stop_bus_device+0x39/0xa0
[166230.238744]  pci_stop_and_remove_bus_device+0x16/0x30
[166230.238746]  pciehp_unconfigure_device+0xab/0x1c0
[166230.238751]  pciehp_disable_slot+0x66/0x100
[166230.238753]  pciehp_handle_presence_or_link_change+0x73/0x380
[166230.238755]  pciehp_ist+0x17b/0x210
[166230.238757]  ? __set_cpus_allowed_ptr+0x66/0xc0
[166230.238766]  ? __pfx_irq_thread_fn+0x10/0x10
[166230.238768]  irq_thread_fn+0x25/0x60
[166230.238770]  irq_thread+0x1a8/0x310
[166230.238772]  ? __pfx_irq_thread+0x10/0x10
[166230.238773]  kthread+0xe6/0x120
[166230.238779]  ? __pfx_kthread+0x10/0x10
[166230.238782]  ret_from_fork+0x2a9/0x340
[166230.238790]  ? __pfx_kthread+0x10/0x10
[166230.238792]  ret_from_fork_asm+0x1a/0x30
[166230.238801]  </TASK>
[166230.238802] ---[ end trace 0000000000000000 ]---
[166230.251376] PM: noirq resume of devices complete after 2250.533 msecs

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-12-03 11:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-03 11:00 [Bug 222360] New: igc doing double free_irq on resume causing USB to fail bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox