Bug 219597 - iwlwifi: iwlmvm: Intel AX200 crashes on resume from suspend
Summary: iwlwifi: iwlmvm: Intel AX200 crashes on resume from suspend
Status: RESOLVED PATCH_ALREADY_AVAILABLE
Alias: None
Product: Drivers
Classification: Unclassified
Component: network-wireless-intel (show other bugs)
Hardware: Intel Linux
: P3 high
Assignee: networking_wireless@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-13 01:35 UTC by Avraham Hollander
Modified: 2024-12-26 00:19 UTC (History)
3 users (show)

See Also:
Kernel Version: 6.12.2
Subsystem:
Regression: Yes
Bisected commit-id: e53ebc72054efca12e0329d69342e3daf7250a5a


Attachments
Kernel configuration used to reproduce the issue. (116.99 KB, text/plain)
2024-12-13 01:35 UTC, Avraham Hollander
Details
series of patches on top of 6.12.5 (5.14 KB, application/gzip)
2024-12-16 07:28 UTC, Emmanuel Grumbach
Details
yet another patch (1.00 KB, patch)
2024-12-17 17:50 UTC, Emmanuel Grumbach
Details | Diff
patch for 6.12 (4.27 KB, patch)
2024-12-23 12:16 UTC, Emmanuel Grumbach
Details | Diff
patch for 6.12 (4.27 KB, patch)
2024-12-23 12:17 UTC, Emmanuel Grumbach
Details | Diff

Description Avraham Hollander 2024-12-13 01:35:03 UTC
Created attachment 307353 [details]
Kernel configuration used to reproduce the issue.

After upgrading from Linux 6.12.1 to 6.12.2, my Intel AX200 always crashes when resuming the system from S3. I noticed very obvious changes with commit e53ebc72054efca12e0329d69342e3daf7250a5a "wifi: iwlwifi: allow fast resume on ax200" and commit d1a54ec21b8e7bca59141ff1ac6ce73e07d744f2 "wifi: iwlwifi: mvm: tell iwlmei when we finished suspending," so I decided to investigate those.                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                            
Reverting either individually did not fix the issue. But after reverting both, it doesn't crash anymore.

Hardware info:
buildbox
    description: Desktop Computer
    product: System Product Name (SKU)
    vendor: ASUS
    version: System Version
    serial: System Serial Number
    width: 64 bits
    capabilities: smbios-3.3.0 dmi-3.3.0 smp vsyscall32
    configuration: boot=normal chassis=desktop family=To be filled by O.E.M. sku=SKU uuid=d24bc99d-577e-6320-46f7-581122b8e722
  *-core
       description: Motherboard
       product: PRIME B550M-A AC
       vendor: ASUSTeK COMPUTER INC.
       physical id: 0
       version: Rev X.0x
       serial: 220910454602529
       slot: Default string
     *-firmware
          description: BIOS
          vendor: American Megatrends Inc.
          physical id: 0
          version: 3611
          date: 09/29/2024
          size: 64KiB
          capacity: 16MiB
          capabilities: pci apm upgrade shadowing cdboot bootselect socketedrom edd int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer acpi usb biosbootspecification uefi
     *-memory
          description: System Memory
          physical id: 2d
          slot: System board or motherboard
          size: 16GiB
        *-bank:0
             description: [empty]
             product: Unknown
             vendor: Unknown
             physical id: 0
             serial: Unknown
             slot: DIMM_A1
        *-bank:1
             description: DIMM DDR4 Synchronous Unbuffered (Unregistered) 3400 MHz (0.3 ns)
             product: TEAMGROUP-UD4-3200
             vendor: Team Group Inc
             physical id: 1
             serial: 0104CFC9
             slot: DIMM_A2
             size: 8GiB
             width: 64 bits
             clock: 3400MHz (0.3ns)
        *-bank:2
             description: [empty]
             product: Unknown
             vendor: Unknown
             physical id: 2
             serial: Unknown
             slot: DIMM_B1
        *-bank:3
             description: DIMM DDR4 Synchronous Unbuffered (Unregistered) 3400 MHz (0.3 ns)
             product: TEAMGROUP-UD4-3200
             vendor: Team Group Inc
             physical id: 3
             serial: 0104CFCA
             slot: DIMM_B2
             size: 8GiB
             width: 64 bits
             clock: 3400MHz (0.3ns)
     *-cache:0
          description: L1 cache
          physical id: 2f
          slot: L1 - Cache
          size: 384KiB
          capacity: 384KiB
          clock: 1GHz (1.0ns)
          capabilities: pipeline-burst internal write-back unified
          configuration: level=1
     *-cache:1
          description: L2 cache
          physical id: 30
          slot: L2 - Cache
          size: 3MiB
          capacity: 3MiB
          clock: 1GHz (1.0ns)
          capabilities: pipeline-burst internal write-back unified
          configuration: level=2
     *-cache:2
          description: L3 cache
          physical id: 31
          slot: L3 - Cache
          size: 16MiB
          capacity: 16MiB
          clock: 1GHz (1.0ns)
          capabilities: pipeline-burst internal write-back unified
          configuration: level=3
     *-cpu
          description: CPU
          product: AMD Ryzen 5 5600G with Radeon Graphics
          vendor: Advanced Micro Devices [AMD]
          physical id: 32
          bus info: cpu@0
          version: 25.80.0
          serial: Unknown
          slot: AM4
          size: 3676MHz
          capacity: 4624MHz
          width: 64 bits
          clock: 100MHz
          capabilities: lm fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp x86-64 constant_tsc rep_good nopl xtopology nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ssbd mba ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local clzero irperf xsaveerptr rdpru wbnoinvd cppc arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif v_spec_ctrl umip pku vaes vpclmulqdq rdpid overflow_recov succor smca fsrm debug_swap cpufreq
          configuration: cores=6 enabledcores=6 microcode=173015057 threads=12
     *-pci:0
          description: Host bridge
          product: Renoir/Cezanne Root Complex
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 100
          bus info: pci@0000:00:00.0
          version: 00
          width: 32 bits
          clock: 33MHz
        *-generic UNCLAIMED
             description: IOMMU
             product: Renoir/Cezanne IOMMU
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 0.2
             bus info: pci@0000:00:00.2
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: msi ht bus_master cap_list
             configuration: latency=0
        *-pci:0
             description: PCI bridge
             product: Renoir PCIe GPP Bridge
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 1.1
             bus info: pci@0000:00:01.1
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: pci pm pciexpress msi ht normal_decode bus_master cap_list
             resources: ioport:f000(size=4096) memory:fca00000-fccfffff ioport:7c00000000(size=8858370048)
           *-pci
                description: PCI bridge
                product: Navi 10 XL Upstream Port of PCI Express Switch
                vendor: Advanced Micro Devices, Inc. [AMD/ATI]
                physical id: 0
                bus info: pci@0000:01:00.0
                version: c7
                width: 32 bits
                clock: 33MHz
                capabilities: pci pm pciexpress msi normal_decode bus_master cap_list
                resources: memory:fcc00000-fcc03fff ioport:f000(size=4096) memory:fca00000-fcbfffff ioport:7c00000000(size=8858370048)
              *-pci
                   description: PCI bridge
                   product: Navi 10 XL Downstream Port of PCI Express Switch
                   vendor: Advanced Micro Devices, Inc. [AMD/ATI]
                   physical id: 0
                   bus info: pci@0000:02:00.0
                   version: 00
                   width: 32 bits
                   clock: 33MHz
                   capabilities: pci pm pciexpress msi normal_decode bus_master cap_list
                   resources: ioport:f000(size=4096) memory:fca00000-fcbfffff ioport:7c00000000(size=8858370048)
                 *-display
                      description: VGA compatible controller
                      product: Navi 23 [Radeon RX 6600/6600 XT/6600M]
                      vendor: Advanced Micro Devices, Inc. [AMD/ATI]
                      physical id: 0
                      bus info: pci@0000:03:00.0
                      logical name: /dev/fb0
                      version: c7
                      width: 64 bits
                      clock: 33MHz
                      capabilities: pm pciexpress msi vga_controller bus_master cap_list rom fb
                      configuration: depth=32 driver=amdgpu latency=0 mode=2560x1440 resolution=2560,1440 visual=truecolor xres=2560 yres=1440
                      resources: iomemory:7c0-7bf iomemory:7e0-7df irq:89 memory:7c00000000-7dffffffff memory:7e00000000-7e0fffffff ioport:f000(size=256) memory:fca00000-fcafffff memory:fcb00000-fcb1ffff
                 *-multimedia
                      description: Audio device
                      product: Navi 21/23 HDMI/DP Audio Controller
                      vendor: Advanced Micro Devices, Inc. [AMD/ATI]
                      physical id: 0.1
                      bus info: pci@0000:03:00.1
                      logical name: card0
                      logical name: /dev/snd/controlC0
                      logical name: /dev/snd/hwC0D0
                      logical name: /dev/snd/pcmC0D10p
                      logical name: /dev/snd/pcmC0D3p
                      logical name: /dev/snd/pcmC0D7p
                      logical name: /dev/snd/pcmC0D8p
                      logical name: /dev/snd/pcmC0D9p
                      version: 00
                      width: 32 bits
                      clock: 33MHz
                      capabilities: pm pciexpress msi bus_master cap_list
                      configuration: driver=snd_hda_intel latency=0
                      resources: irq:49 memory:fcb20000-fcb23fff
                    *-input:0
                         product: HDA ATI HDMI HDMI/DP,pcm=8
                         physical id: 0
                         logical name: input10
                         logical name: /dev/input/event7
                    *-input:1
                         product: HDA ATI HDMI HDMI/DP,pcm=9
                         physical id: 1
                         logical name: input11
                         logical name: /dev/input/event11
                    *-input:2
                         product: HDA ATI HDMI HDMI/DP,pcm=10
                         physical id: 2
                         logical name: input12
                         logical name: /dev/input/event12
                    *-input:3
                         product: HDA ATI HDMI HDMI/DP,pcm=3
                         physical id: 3
                         logical name: input8
                         logical name: /dev/input/event2
                    *-input:4
                         product: HDA ATI HDMI HDMI/DP,pcm=7
                         physical id: 4
                         logical name: input9
                         logical name: /dev/input/event5
        *-pci:1
             description: PCI bridge
             product: Renoir/Cezanne PCIe GPP Bridge
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 2.1
             bus info: pci@0000:00:02.1
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: pci pm pciexpress msi ht normal_decode bus_master cap_list
             resources: memory:fcd00000-fcefffff
           *-usb
                description: USB controller
                product: 500 Series Chipset USB 3.1 XHCI Controller
                vendor: Advanced Micro Devices, Inc. [AMD]
                physical id: 0
                bus info: pci@0000:04:00.0
                version: 00
                width: 64 bits
                clock: 33MHz
                capabilities: msi msix pm pciexpress xhci bus_master cap_list
                configuration: driver=xhci_hcd latency=0
                resources: irq:41 memory:fcea0000-fcea7fff
           *-sata
                description: SATA controller
                product: 500 Series Chipset SATA Controller
                vendor: Advanced Micro Devices, Inc. [AMD]
                physical id: 0.1
                bus info: pci@0000:04:00.1
                version: 00
                width: 32 bits
                clock: 33MHz
                capabilities: sata msi pm pciexpress ahci_1.0 bus_master cap_list rom
                configuration: driver=ahci latency=0
                resources: irq:27 memory:fce80000-fce9ffff memory:fce00000-fce7ffff
           *-pci
                description: PCI bridge
                product: 500 Series Chipset Switch Upstream Port
                vendor: Advanced Micro Devices, Inc. [AMD]
                physical id: 0.2
                bus info: pci@0000:04:00.2
                version: 00
                width: 64 bits
                clock: 33MHz
                capabilities: pci msi pm pciexpress normal_decode bus_master cap_list
                resources: iomemory:1f10-1f0f memory:fcd00000-fcdfffff
              *-pci:0
                   description: PCI bridge
                   product: Advanced Micro Devices, Inc. [AMD]
                   vendor: Advanced Micro Devices, Inc. [AMD]
                   physical id: 0
                   bus info: pci@0000:05:00.0
                   version: 00
                   width: 32 bits
                   clock: 33MHz
                   capabilities: pci msi pm pciexpress normal_decode bus_master cap_list
              *-pci:1
                   description: PCI bridge
                   product: Advanced Micro Devices, Inc. [AMD]
                   vendor: Advanced Micro Devices, Inc. [AMD]
                   physical id: 1
                   bus info: pci@0000:05:01.0
                   version: 00
                   width: 32 bits
                   clock: 33MHz
                   capabilities: pci msi pm pciexpress normal_decode bus_master cap_list
              *-pci:2
                   description: PCI bridge
                   product: Advanced Micro Devices, Inc. [AMD]
                   vendor: Advanced Micro Devices, Inc. [AMD]
                   physical id: 2
                   bus info: pci@0000:05:02.0
                   version: 00
                   width: 32 bits
                   clock: 33MHz
                   capabilities: pci msi pm pciexpress normal_decode bus_master cap_list
              *-pci:3
                   description: PCI bridge
                   product: Advanced Micro Devices, Inc. [AMD]
                   vendor: Advanced Micro Devices, Inc. [AMD]
                   physical id: 3
                   bus info: pci@0000:05:03.0
                   version: 00
                   width: 32 bits
                   clock: 33MHz
                   capabilities: pci msi pm pciexpress normal_decode bus_master cap_list
                   resources: memory:fcd00000-fcdfffff
                 *-network
                      description: Ethernet interface
                      product: Wi-Fi 6 AX200
                      vendor: Intel Corporation
                      physical id: 0
                      bus info: pci@0000:09:00.0
                      logical name: wlan0
                      version: 1a
                      serial: 3c:21:9c:53:17:bd
                      width: 64 bits
                      clock: 33MHz
                      capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical
                      configuration: broadcast=yes driver=iwlwifi driverversion=6.12.2-vanilla-test firmware=77.0b4c06ad.0 cc-a0-77.ucode ip=192.168.1.235 latency=0 link=yes multicast=yes
                      resources: irq:47 memory:fcd00000-fcd03fff
              *-pci:4
                   description: PCI bridge
                   product: Advanced Micro Devices, Inc. [AMD]
                   vendor: Advanced Micro Devices, Inc. [AMD]
                   physical id: 4
                   bus info: pci@0000:05:04.0
                   version: 00
                   width: 32 bits
                   clock: 33MHz
                   capabilities: pci msi pm pciexpress normal_decode bus_master cap_list
        *-pci:2
             description: PCI bridge
             product: Renoir/Cezanne PCIe GPP Bridge
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 2.2
             bus info: pci@0000:00:02.2
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: pci pm pciexpress msi ht normal_decode bus_master cap_list
             resources: memory:fcf00000-fcffffff
           *-nvme
                description: NVMe device
                product: SKHynix_HFM256GDHTNI-87A0B
                vendor: SK hynix
                physical id: 0
                bus info: pci@0000:0b:00.0
                logical name: /dev/nvme0
                version: 11000C00
                serial: SN9BN44231010B90O
                width: 64 bits
                clock: 33MHz
                capabilities: nvme pm msi msix pciexpress nvm_express bus_master cap_list
                configuration: driver=nvme latency=0 nqn=nqn.2014.08.org.nvmexpress:1c5c1c5cSN9BN44231010B90O   SKHynix_HFM256GDHTNI-87A0B state=live
                resources: irq:26 memory:fcf00000-fcf03fff
              *-namespace:0
                   description: NVMe disk
                   physical id: 0
                   logical name: hwmon0
              *-namespace:1
                   description: NVMe disk
                   physical id: 2
                   logical name: /dev/ng0n1
              *-namespace:2
                   description: NVMe disk
                   physical id: 1
                   bus info: nvme@0:1
                   logical name: /dev/nvme0n1
                   size: 238GiB (256GB)
                   capabilities: gpt-1.00 partitioned partitioned:gpt
                   configuration: guid=5de77cff-3d59-8e41-b28c-1fd55dacdd82 logicalsectorsize=512 sectorsize=512 wwid=eui.ace42e0095811d3e
                 *-volume
                      description: EFI partition
                      physical id: 1
                      bus info: nvme@0:1,1
                      logical name: /dev/nvme0n1p1
                      logical name: /
                      serial: fc7c88d6-99dd-4549-8f11-34f1875acfe8
                      capacity: 238GiB
                      configuration: mount.fstype=btrfs mount.options=rw,noatime,nodiratime,compress-force=zstd:3,ssd,discard=async,space_cache=v2,subvolid=5,subvol=/ state=mounted
        *-pci:3
             description: PCI bridge
             product: Renoir Internal PCIe GPP Bridge to Bus
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 8.1
             bus info: pci@0000:00:08.1
             version: 00
             width: 32 bits
             clock: 33MHz
             capabilities: pci pm pciexpress msi normal_decode bus_master cap_list
             resources: memory:fc600000-fc9fffff
           *-generic:0 UNCLAIMED
                description: Non-Essential Instrumentation
                product: Zeppelin/Raven/Raven2 PCIe Dummy Function
                vendor: Advanced Micro Devices, Inc. [AMD]
                physical id: 0
                bus info: pci@0000:0c:00.0
                version: c9
                width: 32 bits
                clock: 33MHz
                capabilities: pm pciexpress cap_list
                configuration: latency=0
           *-multimedia:0
                description: Audio device
                product: Renoir Radeon High Definition Audio Controller
                vendor: Advanced Micro Devices, Inc. [AMD/ATI]
                physical id: 0.1
                bus info: pci@0000:0c:00.1
                logical name: card1
                logical name: /dev/snd/controlC1
                logical name: /dev/snd/hwC1D0
                logical name: /dev/snd/pcmC1D10p
                logical name: /dev/snd/pcmC1D11p
                logical name: /dev/snd/pcmC1D3p
                logical name: /dev/snd/pcmC1D7p
                logical name: /dev/snd/pcmC1D8p
                logical name: /dev/snd/pcmC1D9p
                version: 00
                width: 32 bits
                clock: 33MHz
                capabilities: pm pciexpress msi bus_master cap_list
                configuration: driver=snd_hda_intel latency=0
                resources: irq:28 memory:fc908000-fc90bfff
              *-input:0
                   product: HD-Audio Generic HDMI/DP,pcm=3
                   physical id: 0
                   logical name: input2
                   logical name: /dev/input/event3
              *-input:1
                   product: HD-Audio Generic HDMI/DP,pcm=7
                   physical id: 1
                   logical name: input3
                   logical name: /dev/input/event4
              *-input:2
                   product: HD-Audio Generic HDMI/DP,pcm=8
                   physical id: 2
                   logical name: input4
                   logical name: /dev/input/event6
              *-input:3
                   product: HD-Audio Generic HDMI/DP,pcm=9
                   physical id: 3
                   logical name: input5
                   logical name: /dev/input/event8
              *-input:4
                   product: HD-Audio Generic HDMI/DP,pcm=10
                   physical id: 4
                   logical name: input6
                   logical name: /dev/input/event9
              *-input:5
                   product: HD-Audio Generic HDMI/DP,pcm=11
                   physical id: 5
                   logical name: input7
                   logical name: /dev/input/event10
           *-generic:1
                description: Encryption controller
                product: Family 17h (Models 10h-1fh) Platform Security Processor
                vendor: Advanced Micro Devices, Inc. [AMD]
                physical id: 0.2
                bus info: pci@0000:0c:00.2
                version: 00
                width: 32 bits
                clock: 33MHz
                capabilities: pm pciexpress msi msix bus_master cap_list
                configuration: driver=ccp latency=0
                resources: irq:41 memory:fc800000-fc8fffff memory:fc90c000-fc90dfff
           *-usb:0
                description: USB controller
                product: Renoir/Cezanne USB 3.1
                vendor: Advanced Micro Devices, Inc. [AMD]
                physical id: 0.3
                bus info: pci@0000:0c:00.3
                version: 00
                width: 64 bits
                clock: 33MHz
                capabilities: pm pciexpress msi msix xhci bus_master cap_list
                configuration: driver=xhci_hcd latency=0
                resources: irq:25 memory:fc700000-fc7fffff
           *-usb:1
                description: USB controller
                product: Renoir/Cezanne USB 3.1
                vendor: Advanced Micro Devices, Inc. [AMD]
                physical id: 0.4
                bus info: pci@0000:0c:00.4
                version: 00
                width: 64 bits
                clock: 33MHz
                capabilities: pm pciexpress msi msix xhci bus_master cap_list
                configuration: driver=xhci_hcd latency=0
                resources: irq:50 memory:fc600000-fc6fffff
           *-multimedia:1
                description: Audio device
                product: Family 17h/19h/1ah HD Audio Controller
                vendor: Advanced Micro Devices, Inc. [AMD]
                physical id: 0.6
                bus info: pci@0000:0c:00.6
                logical name: card2
                logical name: /dev/snd/controlC2
                logical name: /dev/snd/hwC2D0
                logical name: /dev/snd/pcmC2D0c
                logical name: /dev/snd/pcmC2D0p
                logical name: /dev/snd/pcmC2D1p
                logical name: /dev/snd/pcmC2D2c
                version: 00
                width: 32 bits
                clock: 33MHz
                capabilities: pm pciexpress msi bus_master cap_list
                configuration: driver=snd_hda_intel latency=0
                resources: irq:29 memory:fc900000-fc907fff
              *-input:0
                   product: HD-Audio Generic Rear Mic
                   physical id: 0
                   logical name: input13
                   logical name: /dev/input/event13
              *-input:1
                   product: HD-Audio Generic Front Mic
                   physical id: 1
                   logical name: input14
                   logical name: /dev/input/event14
              *-input:2
                   product: HD-Audio Generic Line
                   physical id: 2
                   logical name: input15
                   logical name: /dev/input/event15
              *-input:3
                   product: HD-Audio Generic Line Out
                   physical id: 3
                   logical name: input16
                   logical name: /dev/input/event16
              *-input:4
                   product: HD-Audio Generic Front Headphone
                   physical id: 4
                   logical name: input17
                   logical name: /dev/input/event17
        *-serial
             description: SMBus
             product: FCH SMBus Controller
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 14
             bus info: pci@0000:00:14.0
             version: 51
             width: 32 bits
             clock: 66MHz
             configuration: driver=piix4_smbus latency=0
             resources: irq:0
        *-isa
             description: ISA bridge
             product: FCH LPC Bridge
             vendor: Advanced Micro Devices, Inc. [AMD]
             physical id: 14.3
             bus info: pci@0000:00:14.3
             version: 51
             width: 32 bits
             clock: 66MHz
             capabilities: isa bus_master
             configuration: latency=0
           *-pnp00:00
                product: System Board
                physical id: 0
                capabilities: pnp
                configuration: driver=system
           *-pnp00:01
                product: Motherboard registers
                physical id: 1
                capabilities: pnp
                configuration: driver=system
           *-pnp00:02
                product: AT Real-Time Clock
                physical id: 2
                capabilities: pnp
                configuration: driver=rtc_cmos
           *-pnp00:03
                product: Motherboard registers
                physical id: 3
                capabilities: pnp
                configuration: driver=system
           *-pnp00:04
                product: Motherboard registers
                physical id: 4
                capabilities: pnp
                configuration: driver=system
     *-pci:1
          description: Host bridge
          product: Renoir PCIe Dummy Host Bridge
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 101
          bus info: pci@0000:00:01.0
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:2
          description: Host bridge
          product: Renoir PCIe Dummy Host Bridge
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 102
          bus info: pci@0000:00:02.0
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:3
          description: Host bridge
          product: Renoir PCIe Dummy Host Bridge
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 103
          bus info: pci@0000:00:08.0
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:4
          description: Host bridge
          product: Cezanne Data Fabric; Function 0
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 104
          bus info: pci@0000:00:18.0
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:5
          description: Host bridge
          product: Cezanne Data Fabric; Function 1
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 105
          bus info: pci@0000:00:18.1
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:6
          description: Host bridge
          product: Cezanne Data Fabric; Function 2
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 106
          bus info: pci@0000:00:18.2
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:7
          description: Host bridge
          product: Cezanne Data Fabric; Function 3
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 107
          bus info: pci@0000:00:18.3
          version: 00
          width: 32 bits
          clock: 33MHz
          configuration: driver=k10temp
          resources: irq:0
     *-pci:8
          description: Host bridge
          product: Cezanne Data Fabric; Function 4
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 108
          bus info: pci@0000:00:18.4
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:9
          description: Host bridge
          product: Cezanne Data Fabric; Function 5
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 109
          bus info: pci@0000:00:18.5
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:10
          description: Host bridge
          product: Cezanne Data Fabric; Function 6
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 10a
          bus info: pci@0000:00:18.6
          version: 00
          width: 32 bits
          clock: 33MHz
     *-pci:11
          description: Host bridge
          product: Cezanne Data Fabric; Function 7
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 10b
          bus info: pci@0000:00:18.7
          version: 00
          width: 32 bits
          clock: 33MHz
  *-input:0
       product: Power Button
       physical id: 1
       logical name: input0
       logical name: /dev/input/event0
       capabilities: platform
  *-input:1
       product: Power Button
       physical id: 2
       logical name: input1
       logical name: /dev/input/event1
       capabilities: platform
  *-input:2
       product: BY Tech Usb Gaming Keyboard
       physical id: 3
       logical name: input18
       logical name: /dev/input/event18
       capabilities: usb
  *-input:3
       product: BY Tech Usb Gaming Keyboard System Control
       physical id: 4
       logical name: input19
       logical name: /dev/input/event19
       capabilities: usb
  *-input:4
       product: BY Tech Usb Gaming Keyboard Consumer Control
       physical id: 5
       logical name: input20
       logical name: /dev/input/event20
       capabilities: usb
  *-input:5
       product: BY Tech Usb Gaming Keyboard
       physical id: 6
       logical name: input22
       logical name: /dev/input/event21
       capabilities: usb
  *-input:6
       product: BY Tech Usb Gaming Keyboard Mouse
       physical id: 7
       logical name: input23
       logical name: /dev/input/event22
       logical name: /dev/input/mouse0
       capabilities: usb
  *-input:7
       product: Logitech G502 HERO Gaming Mouse
       physical id: 8
       logical name: input24
       logical name: /dev/input/event23
       logical name: /dev/input/mouse1
       capabilities: usb
  *-input:8
       product: Logitech G502 HERO Gaming Mouse Keyboard
       physical id: 9
       logical name: input25
       logical name: /dev/input/event24
       capabilities: usb
Comment 1 Avraham Hollander 2024-12-13 01:36:29 UTC
------------[ cut here ]------------
Timeout waiting for hardware access (CSR_GP_CNTRL 0x08040008)
WARNING: CPU: 6 PID: 2868 at drivers/net/wireless/intel/iwlwifi/pcie/trans.c:2244 __iwl_trans_pcie_grab_nic_access+0x157/0x160 [iwlwifi]
Modules linked in: fuse ctr ccm algif_aead crypto_null des3_ede_x86_64 cbc des_generic libdes ecb algif_skcipher cmac md5 md4 algif_hash af_alg ipv6 mousedev zram zsmalloc vfat fat hid_generic usbhid hid amdgpu iwlmvm mac80211 i2c_algo_bit libarc4 drm_ttm_helper ttm video drm_exec drm_suballoc_helper iwlwifi snd_hda_codec_realtek crc32_pclmul amdxcp crc32c_intel snd_hda_codec_generic drm_buddy polyval_clmulni snd_hda_scodec_component gpu_sched polyval_generic snd_hda_codec_hdmi led_class ghash_clmulni_intel sha512_ssse3 snd_hda_intel drm_display_helper sha512_generic cfg80211 snd_intel_dspcfg sha256_ssse3 sha1_ssse3 drm_kms_helper snd_hda_codec aesni_intel evdev tpm_crb snd_hwdep pkcs8_key_parser crypto_simd cryptd i2c_dev tpm_tis wmi_bmof snd_hda_core i2c_piix4 rfkill xhci_pci drm k10temp tpm_tis_core snd_pcm i2c_smbus ccp xhci_hcd snd_timer tpm i2c_core snd rtc_cmos backlight soundcore usbcore rng_core gpio_amdpt libaescfb ecdh_generic ecc gpio_generic usb_common button efivarfs
CPU: 6 UID: 0 PID: 2868 Comm: kworker/u48:19 Not tainted 6.12.2-vanilla-test #1
Hardware name: ASUS System Product Name/PRIME B550M-A AC, BIOS 3611 09/29/2024
Workqueue: async async_run_entry_fn
Sched_ext: lavd (enabled+all), task: runnable_at=-18ms
RIP: 0010:__iwl_trans_pcie_grab_nic_access+0x157/0x160 [iwlwifi]
Code: 3e e1 31 c0 e9 76 ff ff ff 31 f6 48 89 df e8 a0 fd ff ff eb e5 89 c6 48 c7 c7 f0 1a 58 a0 c6 05 30 ee 01 00 01 e8 49 bf b1 e0 <0f> 0b eb a5 0f 1f 44 00 00 0f 1f 44 00 00 48 83 ec 08 65 81 05 84
RSP: 0018:ffffc900004b7b60 EFLAGS: 00010202
RAX: 000000000000003d RBX: ffff888106074028 RCX: 0000000000000001
RDX: ffffffff8250d478 RSI: 0000000000000086 RDI: 0000000000000001
RBP: 0000000008040008 R08: 0000000000000000 R09: ffffffff824dd208
R10: 00000000ffffe000 R11: 0000000000000002 R12: ffff888106075c94
R13: 0000000000000001 R14: 0000000000000011 R15: ffff88810814a018
FS:  0000000000000000(0000) GS:ffff88841df80000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000002416000 CR4: 0000000000350eb0
Call Trace:
 <TASK>
 ? __iwl_trans_pcie_grab_nic_access+0x157/0x160 [iwlwifi]
 ? __warn.cold+0xad/0x108
 ? __iwl_trans_pcie_grab_nic_access+0x157/0x160 [iwlwifi]
 ? report_bug+0x122/0x170
 ? handle_bug+0x4f/0x90
 ? exc_invalid_op+0x17/0x70
 ? vprintk_emit+0x202/0x460
 ? asm_exc_invalid_op+0x16/0x20
 ? __iwl_trans_pcie_grab_nic_access+0x157/0x160 [iwlwifi]
 iwl_trans_pcie_grab_nic_access+0x19/0x40 [iwlwifi]
 ? acpi_ut_repair_name+0x3c/0xd0
 iwl_trans_pcie_read_mem+0x3d/0x100 [iwlwifi]
 iwl_mvm_check_rt_status+0x9e/0x110 [iwlmvm]
 ? acpi_ns_lookup+0x286/0x490
 iwl_mvm_fast_resume+0x87/0x170 [iwlmvm]
 __iwl_mvm_mac_start+0xf9/0x2f0 [iwlmvm]
 iwl_mvm_mac_start+0x47/0x100 [iwlmvm]
 drv_start+0x33/0xf0 [mac80211]
 ieee80211_reconfig+0x71/0x14e0 [mac80211]
 ? __bpf_prog_exit+0x1d/0x30
 ? bpf__sched_ext_ops_runnable+0x5d/0xa3
 ? dispatch_enqueue+0x184/0x3c0
 ? wait_for_completion+0x22/0x100
 ? enqueue_task_scx+0x179/0x220
 ? scx_pick_idle_cpu+0x41/0x70
 wiphy_resume+0x7e/0x1a0 [cfg80211]
 ? wiphy_suspend+0x2e0/0x2e0 [cfg80211]
 dpm_run_callback+0x2b/0xe0
 device_resume+0xbd/0x3a0
 async_resume+0x19/0x30
 async_run_entry_fn+0x2e/0xc0
 process_one_work+0x144/0x2e0
 worker_thread+0x2fa/0x430
 ? flush_rcu_work+0x50/0x50
 kthread+0xc5/0xf0
 ? kthread_park+0x80/0x80
 ret_from_fork+0x49/0x60
 ? kthread_park+0x80/0x80
 ret_from_fork_asm+0x11/0x20
 </TASK>
---[ end trace 0000000000000000 ]---
iwlwifi 0000:09:00.0: iwlwifi transaction failed, dumping registers
iwlwifi 0000:09:00.0: iwlwifi device config registers:
iwlwifi 0000:09:00.0: 00000000: 27238086 00100406 0280001a 00000010 fcd00004 00000000 00000000 00000000
iwlwifi 0000:09:00.0: 00000020: 00000000 00000000 00000000 00808086 00000000 000000c8 00000000 000001ff
iwlwifi 0000:09:00.0: 00000040: 00028010 10008ec0 00100c10 0345e812 10120040 00000000 00000000 00000000
iwlwifi 0000:09:00.0: 00000060: 00000000 00080812 00000005 00000006 00000002 00000000 00000000 00000000
iwlwifi 0000:09:00.0: 00000080: 800f0011 00002000 00003000 00000000 00000000 00000000 00000000 00000000
iwlwifi 0000:09:00.0: 000000a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
iwlwifi 0000:09:00.0: 000000c0: 00000000 00000000 c823d001 0d000008 00804005 00000000 00000000 00000000
iwlwifi 0000:09:00.0: 000000e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
iwlwifi 0000:09:00.0: 00000100: 14c10001 00000000 00000000 00462031 00000000 00002000 00000000 00000000
iwlwifi 0000:09:00.0: 00000120: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
iwlwifi 0000:09:00.0: 00000140: 14c00000 ff000000 000000ff 15410018 00000000 0001001e 00481e1f 00000000
iwlwifi 0000:09:00.0: iwlwifi device memory mapped registers:
iwlwifi 0000:09:00.0: 00000000: 00080000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
iwlwifi 0000:09:00.0: 00000020: 00000011 08040008 00000340 d55555d5 d55555d5 d55555d5 80008040 001f0046
iwlwifi 0000:09:00.0: iwlwifi device AER capability structure:
iwlwifi 0000:09:00.0: 00000000: 14c10001 00000000 00000000 00462031 00000000 00002000 00000000 00000000
iwlwifi 0000:09:00.0: 00000020: 00000000 00000000 00000000
iwlwifi 0000:09:00.0: iwlwifi parent port (0000:05:03.0) config registers:
iwlwifi 0000:05:03.0: 00000000: 43ea1022 00100007 06040000 00010010 00000000 00000000 00090905 000001f1
iwlwifi 0000:05:03.0: 00000020: fcd0fcd0 0001fff1 00000000 00000000 00000000 00000050 00000000 001201ff
iwlwifi 0000:05:03.0: 00000040: 00000000 00000000 00000000 00000000 00807805 00000000 00000000 00000000
iwlwifi 0000:05:03.0: 00000060: 00000000 00000000 00077811 00002000 00002080 00000000 c0438001 00000008
iwlwifi 0000:05:03.0: 00000080: 0162c010 00008022 00112910 03737813 70120040 00080d00 01480000 00000000
iwlwifi 0000:05:03.0: 000000a0: 00000000 00100800 00000000 0000000e 00000003 00000000 00000000 00000000
iwlwifi 0000:05:03.0: 000000c0: 0000000d 33081b21 00000000 00000000 00000000 00000000 00000000 00000000
iwlwifi 0000:05:03.0: 000000e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
iwlwifi 0000:05:03.0: 00000100: 20010001 00000000 00000000 00062031 00000001 00002000 00000020 00000000
iwlwifi 0000:05:03.0: 00000120: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
iwlwifi 0000:05:03.0: 00000140: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
iwlwifi 0000:05:03.0: 00000160: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
iwlwifi 0000:05:03.0: 00000180: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
iwlwifi 0000:05:03.0: 000001a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
iwlwifi 0000:05:03.0: 000001c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
iwlwifi 0000:05:03.0: 000001e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
iwlwifi 0000:05:03.0: 00000200: 00010019 00000000 00000001
iwlwifi 0000:09:00.0: HW error, resetting before reading
iwlwifi 0000:09:00.0: Start IWL Error Log Dump:
iwlwifi 0000:09:00.0: Transport status: 0x00000042, valid: -1059602113
iwlwifi 0000:09:00.0: Loaded firmware version: 77.0b4c06ad.0 cc-a0-77.ucode
iwlwifi 0000:09:00.0: 0x1D812EF9 | ADVANCED_SYSASSERT          
iwlwifi 0000:09:00.0: 0x3ACDB7DE | trm_hw_status0
iwlwifi 0000:09:00.0: 0x9F814A80 | trm_hw_status1
iwlwifi 0000:09:00.0: 0x75303B38 | branchlink2
iwlwifi 0000:09:00.0: 0x3934FB5E | interruptlink1
iwlwifi 0000:09:00.0: 0xDE9874EC | interruptlink2
iwlwifi 0000:09:00.0: 0x2471FBDF | data1
iwlwifi 0000:09:00.0: 0x7ED7FCE6 | data2
iwlwifi 0000:09:00.0: 0xF93593A3 | data3
iwlwifi 0000:09:00.0: 0x383BBA0E | beacon time
iwlwifi 0000:09:00.0: 0xB75254A3 | tsf low
iwlwifi 0000:09:00.0: 0xDFA6B562 | tsf hi
iwlwifi 0000:09:00.0: 0xDEECBEB0 | time gp1
iwlwifi 0000:09:00.0: 0x2548F97D | time gp2
iwlwifi 0000:09:00.0: 0x547BDE7E | uCode revision type
iwlwifi 0000:09:00.0: 0xFBD75DFF | uCode version major
iwlwifi 0000:09:00.0: 0x116355E1 | uCode version minor
iwlwifi 0000:09:00.0: 0x8E72DDFD | hw version
iwlwifi 0000:09:00.0: 0xF3059FAD | board version
iwlwifi 0000:09:00.0: 0x867780F8 | hcmd
iwlwifi 0000:09:00.0: 0xEC07DBF0 | isr0
iwlwifi 0000:09:00.0: 0x43B83D23 | isr1
iwlwifi 0000:09:00.0: 0xB5D1F132 | isr2
iwlwifi 0000:09:00.0: 0x05E2181B | isr3
iwlwifi 0000:09:00.0: 0x08FBAFA7 | isr4
iwlwifi 0000:09:00.0: 0x058BCE6F | last cmd Id
iwlwifi 0000:09:00.0: 0x93AE668E | wait_event
iwlwifi 0000:09:00.0: 0x077675D6 | l2p_control
iwlwifi 0000:09:00.0: 0x6C3FFCE7 | l2p_duration
iwlwifi 0000:09:00.0: 0xFAC2BFA1 | l2p_mhvalid
iwlwifi 0000:09:00.0: 0x19FD37AA | l2p_addr_match
iwlwifi 0000:09:00.0: 0x8CCB57CB | lmpm_pmg_sel
iwlwifi 0000:09:00.0: 0xF8DDD47A | timestamp
iwlwifi 0000:09:00.0: 0x8BE7345A | flow_handler
iwlwifi 0000:09:00.0: Start IWL Error Log Dump:
iwlwifi 0000:09:00.0: Transport status: 0x00000042, valid: -423836102
iwlwifi 0000:09:00.0: 0x69F04EF2 | ADVANCED_SYSASSERT
iwlwifi 0000:09:00.0: 0x753EBEDF | umac branchlink1
iwlwifi 0000:09:00.0: 0xC35787CF | umac branchlink2
iwlwifi 0000:09:00.0: 0xD22ABFF1 | umac interruptlink1
iwlwifi 0000:09:00.0: 0xCD404CD4 | umac interruptlink2
iwlwifi 0000:09:00.0: 0xBA4FBE79 | umac data1
iwlwifi 0000:09:00.0: 0xFC6BDEE7 | umac data2
iwlwifi 0000:09:00.0: 0xA4CBF9E9 | umac data3
iwlwifi 0000:09:00.0: 0xF7281138 | umac major
iwlwifi 0000:09:00.0: 0xAB8FB85F | umac minor
iwlwifi 0000:09:00.0: 0xF61D2C4B | frame pointer
iwlwifi 0000:09:00.0: 0x4C83BCD5 | stack pointer
iwlwifi 0000:09:00.0: 0xD250CE1F | last host cmd
iwlwifi 0000:09:00.0: 0x8F67AE93 | isr status reg
iwlwifi 0000:09:00.0: IML/ROM dump:
iwlwifi 0000:09:00.0: 0x00000000 | IML/ROM error/state
iwlwifi 0000:09:00.0: 0x00000000 | IML/ROM data1
iwlwifi 0000:09:00.0: 0x00000000 | IML/ROM WFPM_AUTH_KEY_0
iwlwifi 0000:09:00.0: Fseq Registers:
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | FSEQ_ERROR_CODE
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | FSEQ_TOP_INIT_VERSION
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | FSEQ_CNVIO_INIT_VERSION
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | FSEQ_OTP_VERSION
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | FSEQ_TOP_CONTENT_VERSION
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | FSEQ_ALIVE_TOKEN
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | FSEQ_CNVI_ID
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | FSEQ_CNVR_ID
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | CNVI_AUX_MISC_CHIP
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | CNVR_AUX_MISC_CHIP
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | FSEQ_PREV_CNVIO_INIT_VERSION
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | FSEQ_WIFI_FSEQ_VERSION
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | FSEQ_BT_FSEQ_VERSION
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | FSEQ_CLASS_TP_VERSION
iwlwifi 0000:09:00.0: UMAC CURRENT PC: 0xa5a5a5a2
iwlwifi 0000:09:00.0: LMAC1 CURRENT PC: 0xa5a5a5a2
iwlwifi 0000:09:00.0: WRT: Collecting data: ini trigger 4 fired (delay=0ms).
iwlwifi 0000:09:00.0: timeout waiting for FW reset ACK (inta_hw=0x20020000)
iwlwifi 0000:09:00.0: Failed to start RT ucode: -110
iwlwifi 0000:09:00.0: WRT: Collecting data: ini trigger 13 fired (delay=0ms).
iwlwifi 0000:09:00.0: Start IWL Error Log Dump:
iwlwifi 0000:09:00.0: Transport status: 0x0000004A, valid: 6
iwlwifi 0000:09:00.0: Loaded firmware version: 77.0b4c06ad.0 cc-a0-77.ucode
iwlwifi 0000:09:00.0: 0x00000084 | NMI_INTERRUPT_UNKNOWN       
iwlwifi 0000:09:00.0: 0x002022F0 | trm_hw_status0
iwlwifi 0000:09:00.0: 0x00000000 | trm_hw_status1
iwlwifi 0000:09:00.0: 0x004F8CE6 | branchlink2
iwlwifi 0000:09:00.0: 0x004EED36 | interruptlink1
iwlwifi 0000:09:00.0: 0x004EED36 | interruptlink2
iwlwifi 0000:09:00.0: 0x00014EF6 | data1
iwlwifi 0000:09:00.0: 0x01000000 | data2
iwlwifi 0000:09:00.0: 0x00000000 | data3
iwlwifi 0000:09:00.0: 0x00000000 | beacon time
iwlwifi 0000:09:00.0: 0x00209FE9 | tsf low
iwlwifi 0000:09:00.0: 0x00000000 | tsf hi
iwlwifi 0000:09:00.0: 0x00000000 | time gp1
iwlwifi 0000:09:00.0: 0x0020F9EE | time gp2
iwlwifi 0000:09:00.0: 0x00000001 | uCode revision type
iwlwifi 0000:09:00.0: 0x0000004D | uCode version major
iwlwifi 0000:09:00.0: 0x0B4C06AD | uCode version minor
iwlwifi 0000:09:00.0: 0x00000340 | hw version
iwlwifi 0000:09:00.0: 0x00489000 | board version
iwlwifi 0000:09:00.0: 0x8003FC12 | hcmd
iwlwifi 0000:09:00.0: 0x00020000 | isr0
iwlwifi 0000:09:00.0: 0x00000000 | isr1
iwlwifi 0000:09:00.0: 0x08F00002 | isr2
iwlwifi 0000:09:00.0: 0x00C0001C | isr3
iwlwifi 0000:09:00.0: 0x00000000 | isr4
iwlwifi 0000:09:00.0: 0x00000000 | last cmd Id
iwlwifi 0000:09:00.0: 0x00014EF6 | wait_event
iwlwifi 0000:09:00.0: 0x00000000 | l2p_control
iwlwifi 0000:09:00.0: 0x00000000 | l2p_duration
iwlwifi 0000:09:00.0: 0x00000000 | l2p_mhvalid
iwlwifi 0000:09:00.0: 0x00000000 | l2p_addr_match
iwlwifi 0000:09:00.0: 0x00000009 | lmpm_pmg_sel
iwlwifi 0000:09:00.0: 0x00000000 | timestamp
iwlwifi 0000:09:00.0: 0x00000020 | flow_handler
iwlwifi 0000:09:00.0: Start IWL Error Log Dump:
iwlwifi 0000:09:00.0: Transport status: 0x0000004A, valid: 7
iwlwifi 0000:09:00.0: 0x20000066 | NMI_INTERRUPT_HOST
iwlwifi 0000:09:00.0: 0x00000000 | umac branchlink1
iwlwifi 0000:09:00.0: 0x80455D6E | umac branchlink2
iwlwifi 0000:09:00.0: 0x8047300E | umac interruptlink1
iwlwifi 0000:09:00.0: 0x8047300E | umac interruptlink2
iwlwifi 0000:09:00.0: 0x01000000 | umac data1
iwlwifi 0000:09:00.0: 0x8047300E | umac data2
iwlwifi 0000:09:00.0: 0x00000000 | umac data3
iwlwifi 0000:09:00.0: 0x0000004D | umac major
iwlwifi 0000:09:00.0: 0x0B4C06AD | umac minor
iwlwifi 0000:09:00.0: 0x0020F9EC | frame pointer
iwlwifi 0000:09:00.0: 0xC0886260 | stack pointer
iwlwifi 0000:09:00.0: 0x00000000 | last host cmd
iwlwifi 0000:09:00.0: 0x00000000 | isr status reg
iwlwifi 0000:09:00.0: IML/ROM dump:
iwlwifi 0000:09:00.0: 0x00000003 | IML/ROM error/state
iwlwifi 0000:09:00.0: 0x0000583F | IML/ROM data1
iwlwifi 0000:09:00.0: 0x00000080 | IML/ROM WFPM_AUTH_KEY_0
iwlwifi 0000:09:00.0: Fseq Registers:
iwlwifi 0000:09:00.0: 0x20000000 | FSEQ_ERROR_CODE
iwlwifi 0000:09:00.0: 0x80290021 | FSEQ_TOP_INIT_VERSION
iwlwifi 0000:09:00.0: 0x00050008 | FSEQ_CNVIO_INIT_VERSION
iwlwifi 0000:09:00.0: 0x0000A503 | FSEQ_OTP_VERSION
iwlwifi 0000:09:00.0: 0x80000003 | FSEQ_TOP_CONTENT_VERSION
iwlwifi 0000:09:00.0: 0x4552414E | FSEQ_ALIVE_TOKEN
iwlwifi 0000:09:00.0: 0x00100530 | FSEQ_CNVI_ID
iwlwifi 0000:09:00.0: 0x00000532 | FSEQ_CNVR_ID
iwlwifi 0000:09:00.0: 0x00100530 | CNVI_AUX_MISC_CHIP
iwlwifi 0000:09:00.0: 0x00000532 | CNVR_AUX_MISC_CHIP
iwlwifi 0000:09:00.0: 0x05B0905B | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
iwlwifi 0000:09:00.0: 0x0000025B | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
iwlwifi 0000:09:00.0: 0x00000000 | FSEQ_PREV_CNVIO_INIT_VERSION
iwlwifi 0000:09:00.0: 0x00290021 | FSEQ_WIFI_FSEQ_VERSION
iwlwifi 0000:09:00.0: 0xA1CD8AA9 | FSEQ_BT_FSEQ_VERSION
iwlwifi 0000:09:00.0: 0x00000104 | FSEQ_CLASS_TP_VERSION
iwlwifi 0000:09:00.0: UMAC CURRENT PC: 0x80472b1c
iwlwifi 0000:09:00.0: LMAC1 CURRENT PC: 0xd0
iwlwifi 0000:09:00.0: Starting mac, retry will be triggered anyway
iwlwifi 0000:09:00.0: mac start retry 0
iwlwifi 0000:09:00.0: DEVICE_ENABLED bit is not set. Aborting dump.
iwlwifi 0000:09:00.0: WRT: Collecting data: ini trigger 4 fired (delay=0ms).
iwlwifi 0000:09:00.0: Device is not enabled - cannot dump error
iwlwifi 0000:09:00.0: Failed to start RT ucode: -110
iwlwifi 0000:09:00.0: WRT: Collecting data: ini trigger 13 fired (delay=0ms).
iwlwifi 0000:09:00.0: Start IWL Error Log Dump:
iwlwifi 0000:09:00.0: Transport status: 0x0000004A, valid: 6
iwlwifi 0000:09:00.0: Loaded firmware version: 77.0b4c06ad.0 cc-a0-77.ucode
iwlwifi 0000:09:00.0: 0x00000084 | NMI_INTERRUPT_UNKNOWN       
iwlwifi 0000:09:00.0: 0x002022F0 | trm_hw_status0
iwlwifi 0000:09:00.0: 0x00000000 | trm_hw_status1
iwlwifi 0000:09:00.0: 0x004F8CE6 | branchlink2
iwlwifi 0000:09:00.0: 0x004EED36 | interruptlink1
iwlwifi 0000:09:00.0: 0x004EED36 | interruptlink2
iwlwifi 0000:09:00.0: 0x00014EF6 | data1
iwlwifi 0000:09:00.0: 0x01000000 | data2
iwlwifi 0000:09:00.0: 0x00000000 | data3
iwlwifi 0000:09:00.0: 0x00000000 | beacon time
iwlwifi 0000:09:00.0: 0x0020853B | tsf low
iwlwifi 0000:09:00.0: 0x00000000 | tsf hi
iwlwifi 0000:09:00.0: 0x00000000 | time gp1
iwlwifi 0000:09:00.0: 0x0020DE9E | time gp2
iwlwifi 0000:09:00.0: 0x00000001 | uCode revision type
iwlwifi 0000:09:00.0: 0x0000004D | uCode version major
iwlwifi 0000:09:00.0: 0x0B4C06AD | uCode version minor
iwlwifi 0000:09:00.0: 0x00000340 | hw version
iwlwifi 0000:09:00.0: 0x00489000 | board version
iwlwifi 0000:09:00.0: 0x8003FC12 | hcmd
iwlwifi 0000:09:00.0: 0x00020000 | isr0
iwlwifi 0000:09:00.0: 0x00000000 | isr1
iwlwifi 0000:09:00.0: 0x08F00002 | isr2
iwlwifi 0000:09:00.0: 0x00C0001C | isr3
iwlwifi 0000:09:00.0: 0x00000000 | isr4
iwlwifi 0000:09:00.0: 0x00000000 | last cmd Id
iwlwifi 0000:09:00.0: 0x00014EF6 | wait_event
iwlwifi 0000:09:00.0: 0x00000000 | l2p_control
iwlwifi 0000:09:00.0: 0x00000000 | l2p_duration
iwlwifi 0000:09:00.0: 0x00000000 | l2p_mhvalid
iwlwifi 0000:09:00.0: 0x00000000 | l2p_addr_match
iwlwifi 0000:09:00.0: 0x00000009 | lmpm_pmg_sel
iwlwifi 0000:09:00.0: 0x00000000 | timestamp
iwlwifi 0000:09:00.0: 0x00000020 | flow_handler
iwlwifi 0000:09:00.0: Start IWL Error Log Dump:
iwlwifi 0000:09:00.0: Transport status: 0x0000004A, valid: 7
iwlwifi 0000:09:00.0: 0x20000066 | NMI_INTERRUPT_HOST
iwlwifi 0000:09:00.0: 0x00000000 | umac branchlink1
iwlwifi 0000:09:00.0: 0x80455D6E | umac branchlink2
iwlwifi 0000:09:00.0: 0x8047300E | umac interruptlink1
iwlwifi 0000:09:00.0: 0x8047300E | umac interruptlink2
iwlwifi 0000:09:00.0: 0x01000000 | umac data1
iwlwifi 0000:09:00.0: 0x8047300E | umac data2
iwlwifi 0000:09:00.0: 0x00000000 | umac data3
iwlwifi 0000:09:00.0: 0x0000004D | umac major
iwlwifi 0000:09:00.0: 0x0B4C06AD | umac minor
iwlwifi 0000:09:00.0: 0x0020DE9C | frame pointer
iwlwifi 0000:09:00.0: 0xC0886260 | stack pointer
iwlwifi 0000:09:00.0: 0x00000000 | last host cmd
iwlwifi 0000:09:00.0: 0x00000000 | isr status reg
iwlwifi 0000:09:00.0: IML/ROM dump:
iwlwifi 0000:09:00.0: 0x00000003 | IML/ROM error/state
iwlwifi 0000:09:00.0: 0x0000583E | IML/ROM data1
iwlwifi 0000:09:00.0: 0x00000080 | IML/ROM WFPM_AUTH_KEY_0
iwlwifi 0000:09:00.0: Fseq Registers:
iwlwifi 0000:09:00.0: 0x60000000 | FSEQ_ERROR_CODE
iwlwifi 0000:09:00.0: 0x80290021 | FSEQ_TOP_INIT_VERSION
iwlwifi 0000:09:00.0: 0x00050008 | FSEQ_CNVIO_INIT_VERSION
iwlwifi 0000:09:00.0: 0x0000A503 | FSEQ_OTP_VERSION
iwlwifi 0000:09:00.0: 0x80000003 | FSEQ_TOP_CONTENT_VERSION
iwlwifi 0000:09:00.0: 0x4552414E | FSEQ_ALIVE_TOKEN
iwlwifi 0000:09:00.0: 0x00100530 | FSEQ_CNVI_ID
iwlwifi 0000:09:00.0: 0x00000532 | FSEQ_CNVR_ID
iwlwifi 0000:09:00.0: 0x00100530 | CNVI_AUX_MISC_CHIP
iwlwifi 0000:09:00.0: 0x00000532 | CNVR_AUX_MISC_CHIP
iwlwifi 0000:09:00.0: 0x05B0905B | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
iwlwifi 0000:09:00.0: 0x0000025B | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
iwlwifi 0000:09:00.0: 0x00050008 | FSEQ_PREV_CNVIO_INIT_VERSION
iwlwifi 0000:09:00.0: 0x00290021 | FSEQ_WIFI_FSEQ_VERSION
iwlwifi 0000:09:00.0: 0xA1CD8AA9 | FSEQ_BT_FSEQ_VERSION
iwlwifi 0000:09:00.0: 0x00000104 | FSEQ_CLASS_TP_VERSION
iwlwifi 0000:09:00.0: UMAC CURRENT PC: 0x80472b1c
iwlwifi 0000:09:00.0: LMAC1 CURRENT PC: 0xd0
iwlwifi 0000:09:00.0: Starting mac, retry will be triggered anyway
iwlwifi 0000:09:00.0: mac start retry 1
iwlwifi 0000:09:00.0: DEVICE_ENABLED bit is not set. Aborting dump.
iwlwifi 0000:09:00.0: WRT: Collecting data: ini trigger 4 fired (delay=0ms).
iwlwifi 0000:09:00.0: Device is not enabled - cannot dump error
iwlwifi 0000:09:00.0: Failed to start RT ucode: -110
iwlwifi 0000:09:00.0: WRT: Collecting data: ini trigger 13 fired (delay=0ms).
iwlwifi 0000:09:00.0: Start IWL Error Log Dump:
iwlwifi 0000:09:00.0: Transport status: 0x0000004A, valid: 6
iwlwifi 0000:09:00.0: Loaded firmware version: 77.0b4c06ad.0 cc-a0-77.ucode
iwlwifi 0000:09:00.0: 0x00000084 | NMI_INTERRUPT_UNKNOWN       
iwlwifi 0000:09:00.0: 0x002022F0 | trm_hw_status0
iwlwifi 0000:09:00.0: 0x00000000 | trm_hw_status1
iwlwifi 0000:09:00.0: 0x004F8CE6 | branchlink2
iwlwifi 0000:09:00.0: 0x004EED36 | interruptlink1
iwlwifi 0000:09:00.0: 0x004EED36 | interruptlink2
iwlwifi 0000:09:00.0: 0x00014EF6 | data1
iwlwifi 0000:09:00.0: 0x01000000 | data2
iwlwifi 0000:09:00.0: 0x00000000 | data3
iwlwifi 0000:09:00.0: 0x00000000 | beacon time
iwlwifi 0000:09:00.0: 0x00208560 | tsf low
iwlwifi 0000:09:00.0: 0x00000000 | tsf hi
iwlwifi 0000:09:00.0: 0x00000000 | time gp1
iwlwifi 0000:09:00.0: 0x0020DEAC | time gp2
iwlwifi 0000:09:00.0: 0x00000001 | uCode revision type
iwlwifi 0000:09:00.0: 0x0000004D | uCode version major
iwlwifi 0000:09:00.0: 0x0B4C06AD | uCode version minor
iwlwifi 0000:09:00.0: 0x00000340 | hw version
iwlwifi 0000:09:00.0: 0x00489000 | board version
iwlwifi 0000:09:00.0: 0x8003FC12 | hcmd
iwlwifi 0000:09:00.0: 0x00020000 | isr0
iwlwifi 0000:09:00.0: 0x00000000 | isr1
iwlwifi 0000:09:00.0: 0x08F00002 | isr2
iwlwifi 0000:09:00.0: 0x00C0000C | isr3
iwlwifi 0000:09:00.0: 0x00000000 | isr4
iwlwifi 0000:09:00.0: 0x00000000 | last cmd Id
iwlwifi 0000:09:00.0: 0x00014EF6 | wait_event
iwlwifi 0000:09:00.0: 0x00000000 | l2p_control
iwlwifi 0000:09:00.0: 0x00000000 | l2p_duration
iwlwifi 0000:09:00.0: 0x00000000 | l2p_mhvalid
iwlwifi 0000:09:00.0: 0x00000000 | l2p_addr_match
iwlwifi 0000:09:00.0: 0x00000009 | lmpm_pmg_sel
iwlwifi 0000:09:00.0: 0x00000000 | timestamp
iwlwifi 0000:09:00.0: 0x00000020 | flow_handler
iwlwifi 0000:09:00.0: Start IWL Error Log Dump:
iwlwifi 0000:09:00.0: Transport status: 0x0000004A, valid: 7
iwlwifi 0000:09:00.0: 0x20000066 | NMI_INTERRUPT_HOST
iwlwifi 0000:09:00.0: 0x00000000 | umac branchlink1
iwlwifi 0000:09:00.0: 0x80455D6E | umac branchlink2
iwlwifi 0000:09:00.0: 0x8047300E | umac interruptlink1
iwlwifi 0000:09:00.0: 0x8047300E | umac interruptlink2
iwlwifi 0000:09:00.0: 0x01000000 | umac data1
iwlwifi 0000:09:00.0: 0x8047300E | umac data2
iwlwifi 0000:09:00.0: 0x00000000 | umac data3
iwlwifi 0000:09:00.0: 0x0000004D | umac major
iwlwifi 0000:09:00.0: 0x0B4C06AD | umac minor
iwlwifi 0000:09:00.0: 0x0020DEAA | frame pointer
iwlwifi 0000:09:00.0: 0xC0886260 | stack pointer
iwlwifi 0000:09:00.0: 0x00000000 | last host cmd
iwlwifi 0000:09:00.0: 0x00000000 | isr status reg
iwlwifi 0000:09:00.0: IML/ROM dump:
iwlwifi 0000:09:00.0: 0x00000003 | IML/ROM error/state
iwlwifi 0000:09:00.0: 0x0000583A | IML/ROM data1
iwlwifi 0000:09:00.0: 0x00000080 | IML/ROM WFPM_AUTH_KEY_0
iwlwifi 0000:09:00.0: Fseq Registers:
iwlwifi 0000:09:00.0: 0x60000000 | FSEQ_ERROR_CODE
iwlwifi 0000:09:00.0: 0x80290021 | FSEQ_TOP_INIT_VERSION
iwlwifi 0000:09:00.0: 0x00050008 | FSEQ_CNVIO_INIT_VERSION
iwlwifi 0000:09:00.0: 0x0000A503 | FSEQ_OTP_VERSION
iwlwifi 0000:09:00.0: 0x80000003 | FSEQ_TOP_CONTENT_VERSION
iwlwifi 0000:09:00.0: 0x4552414E | FSEQ_ALIVE_TOKEN
iwlwifi 0000:09:00.0: 0x00100530 | FSEQ_CNVI_ID
iwlwifi 0000:09:00.0: 0x00000532 | FSEQ_CNVR_ID
iwlwifi 0000:09:00.0: 0x00100530 | CNVI_AUX_MISC_CHIP
iwlwifi 0000:09:00.0: 0x00000532 | CNVR_AUX_MISC_CHIP
iwlwifi 0000:09:00.0: 0x05B0905B | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
iwlwifi 0000:09:00.0: 0x0000025B | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
iwlwifi 0000:09:00.0: 0x00050008 | FSEQ_PREV_CNVIO_INIT_VERSION
iwlwifi 0000:09:00.0: 0x00290021 | FSEQ_WIFI_FSEQ_VERSION
iwlwifi 0000:09:00.0: 0xA1CD8AA9 | FSEQ_BT_FSEQ_VERSION
iwlwifi 0000:09:00.0: 0x00000104 | FSEQ_CLASS_TP_VERSION
iwlwifi 0000:09:00.0: UMAC CURRENT PC: 0x80472b1c
iwlwifi 0000:09:00.0: LMAC1 CURRENT PC: 0xd0
iwlwifi 0000:09:00.0: Starting mac, retry will be triggered anyway
iwlwifi 0000:09:00.0: mac start retry 2
------------[ cut here ]------------
Hardware became unavailable upon resume. This could be a software issue prior to suspend or a hardware issue.
WARNING: CPU: 0 PID: 2868 at net/mac80211/util.c:1842 ieee80211_reconfig+0x88/0x14e0 [mac80211]
Modules linked in: fuse ctr ccm algif_aead crypto_null des3_ede_x86_64 cbc des_generic libdes ecb algif_skcipher cmac md5 md4 algif_hash af_alg ipv6 mousedev zram zsmalloc vfat fat hid_generic usbhid hid amdgpu iwlmvm mac80211 i2c_algo_bit libarc4 drm_ttm_helper ttm video drm_exec drm_suballoc_helper iwlwifi snd_hda_codec_realtek crc32_pclmul amdxcp crc32c_intel snd_hda_codec_generic drm_buddy polyval_clmulni snd_hda_scodec_component gpu_sched polyval_generic snd_hda_codec_hdmi led_class ghash_clmulni_intel sha512_ssse3 snd_hda_intel drm_display_helper sha512_generic cfg80211 snd_intel_dspcfg sha256_ssse3 sha1_ssse3 drm_kms_helper snd_hda_codec aesni_intel evdev tpm_crb snd_hwdep pkcs8_key_parser crypto_simd cryptd i2c_dev tpm_tis wmi_bmof snd_hda_core i2c_piix4 rfkill xhci_pci drm k10temp tpm_tis_core snd_pcm i2c_smbus ccp xhci_hcd snd_timer tpm i2c_core snd rtc_cmos backlight soundcore usbcore rng_core gpio_amdpt libaescfb ecdh_generic ecc gpio_generic usb_common button efivarfs
CPU: 0 UID: 0 PID: 2868 Comm: kworker/u48:19 Tainted: G        W          6.12.2-vanilla-test #1
Tainted: [W]=WARN
Hardware name: ASUS System Product Name/PRIME B550M-A AC, BIOS 3611 09/29/2024
Workqueue: async async_run_entry_fn
Sched_ext: lavd (enabled+all), task: runnable_at=+0ms
RIP: 0010:ieee80211_reconfig+0x88/0x14e0 [mac80211]
Code: 02 00 00 41 c6 87 ad 05 00 00 00 4c 89 ff e8 6f d3 fb ff 85 c0 41 89 c4 0f 84 e6 02 00 00 48 c7 c7 00 62 6a a0 e8 e8 ac a0 e0 <0f> 0b eb 2d 84 c0 0f 85 86 01 00 00 c6 87 ad 05 00 00 00 e8 40 d3
RSP: 0018:ffffc900004b7cf8 EFLAGS: 00010286
RAX: 000000000000006d RBX: ffff888108148538 RCX: 0000000000000001
RDX: ffffffff8250d478 RSI: 0000000000000082 RDI: 0000000000000001
RBP: ffff8881081483c0 R08: 0000000000000000 R09: ffffffff824dd208
R10: 00000000ffffe000 R11: 0000000000000002 R12: 00000000ffffff92
R13: ffff8881002edc00 R14: ffff8881081485b8 R15: ffff8881081488e0
FS:  0000000000000000(0000) GS:ffff88841de00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f064b3fa170 CR3: 0000000002416000 CR4: 0000000000350eb0
Call Trace:
 <TASK>
 ? ieee80211_reconfig+0x88/0x14e0 [mac80211]
 ? __warn.cold+0xad/0x108
 ? ieee80211_reconfig+0x88/0x14e0 [mac80211]
 ? report_bug+0x122/0x170
 ? up+0x16/0x50
 ? handle_bug+0x4f/0x90
 ? exc_invalid_op+0x17/0x70
 ? asm_exc_invalid_op+0x16/0x20
 ? ieee80211_reconfig+0x88/0x14e0 [mac80211]
 ? ieee80211_reconfig+0x88/0x14e0 [mac80211]
 ? __bpf_prog_exit+0x1d/0x30
 ? bpf__sched_ext_ops_runnable+0x5d/0xa3
 ? dispatch_enqueue+0x184/0x3c0
 ? wait_for_completion+0x22/0x100
 ? enqueue_task_scx+0x179/0x220
 ? scx_pick_idle_cpu+0x41/0x70
 wiphy_resume+0x7e/0x1a0 [cfg80211]
 ? wiphy_suspend+0x2e0/0x2e0 [cfg80211]
 dpm_run_callback+0x2b/0xe0
 device_resume+0xbd/0x3a0
 async_resume+0x19/0x30
 async_run_entry_fn+0x2e/0xc0
 process_one_work+0x144/0x2e0
 worker_thread+0x2fa/0x430
 ? flush_rcu_work+0x50/0x50
 kthread+0xc5/0xf0
 ? kthread_park+0x80/0x80
 ret_from_fork+0x49/0x60
 ? kthread_park+0x80/0x80
 ret_from_fork_asm+0x11/0x20
 </TASK>
---[ end trace 0000000000000000 ]---
------------[ cut here ]------------
WARNING: CPU: 3 PID: 2868 at net/mac80211/driver-ops.c:41 drv_stop+0xe5/0x100 [mac80211]
Modules linked in: fuse ctr ccm algif_aead crypto_null des3_ede_x86_64 cbc des_generic libdes ecb algif_skcipher cmac md5 md4 algif_hash af_alg ipv6 mousedev zram zsmalloc vfat fat hid_generic usbhid hid amdgpu iwlmvm mac80211 i2c_algo_bit libarc4 drm_ttm_helper ttm video drm_exec drm_suballoc_helper iwlwifi snd_hda_codec_realtek crc32_pclmul amdxcp crc32c_intel snd_hda_codec_generic drm_buddy polyval_clmulni snd_hda_scodec_component gpu_sched polyval_generic snd_hda_codec_hdmi led_class ghash_clmulni_intel sha512_ssse3 snd_hda_intel drm_display_helper sha512_generic cfg80211 snd_intel_dspcfg sha256_ssse3 sha1_ssse3 drm_kms_helper snd_hda_codec aesni_intel evdev tpm_crb snd_hwdep pkcs8_key_parser crypto_simd cryptd i2c_dev tpm_tis wmi_bmof snd_hda_core i2c_piix4 rfkill xhci_pci drm k10temp tpm_tis_core snd_pcm i2c_smbus ccp xhci_hcd snd_timer tpm i2c_core snd rtc_cmos backlight soundcore usbcore rng_core gpio_amdpt libaescfb ecdh_generic ecc gpio_generic usb_common button efivarfs
CPU: 3 UID: 0 PID: 2868 Comm: kworker/u48:19 Tainted: G        W          6.12.2-vanilla-test #1
Tainted: [W]=WARN
Hardware name: ASUS System Product Name/PRIME B550M-A AC, BIOS 3611 09/29/2024
Workqueue: async async_run_entry_fn
Sched_ext: lavd (enabled+all), task: runnable_at=+0ms
RIP: 0010:drv_stop+0xe5/0x100 [mac80211]
Code: 48 85 c0 74 0e 48 8b 78 08 89 ea 48 89 de e8 a2 d6 04 00 65 ff 0d 23 93 a1 5f 0f 85 42 ff ff ff e8 b0 0d 9f e0 e9 38 ff ff ff <0f> 0b 90 0f 1f 84 00 00 00 00 00 c3 66 66 2e 0f 1f 84 00 00 00 00
RSP: 0018:ffffc900004b7cc8 EFLAGS: 00010246
RAX: ffff888108148398 RBX: ffff88810f8cc000 RCX: 0000000000000000
RDX: 0000000000000001 RSI: 0000000000000000 RDI: ffff8881081488e0
RBP: ffffc900004b7d70 R08: ffffffff82511e58 R09: ffff88810f8cd688
R10: ffff8881081491f0 R11: 0000000000000246 R12: ffff8881081488e0
R13: 0000000000000001 R14: ffffc900004b7d00 R15: ffffc900004b7d00
FS:  0000000000000000(0000) GS:ffff88841dec0000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000002416000 CR4: 0000000000350eb0
Call Trace:
 <TASK>
 ? drv_stop+0xe5/0x100 [mac80211]
 ? __warn.cold+0xad/0x108
 ? drv_stop+0xe5/0x100 [mac80211]
 ? report_bug+0x122/0x170
 ? handle_bug+0x4f/0x90
 ? exc_invalid_op+0x17/0x70
 ? asm_exc_invalid_op+0x16/0x20
 ? drv_stop+0xe5/0x100 [mac80211]
 ieee80211_do_stop+0x698/0x870 [mac80211]
 ? kick_pool+0x58/0x120
 cfg80211_stop_p2p_device+0x5a/0x170 [cfg80211]
 cfg80211_shutdown_all_interfaces+0xa2/0xe0 [cfg80211]
 wiphy_resume+0xb7/0x1a0 [cfg80211]
 ? wiphy_suspend+0x2e0/0x2e0 [cfg80211]
 dpm_run_callback+0x2b/0xe0
 device_resume+0xbd/0x3a0
 async_resume+0x19/0x30
 async_run_entry_fn+0x2e/0xc0
 process_one_work+0x144/0x2e0
 worker_thread+0x2fa/0x430
 ? flush_rcu_work+0x50/0x50
 kthread+0xc5/0xf0
 ? kthread_park+0x80/0x80
 ret_from_fork+0x49/0x60
 ? kthread_park+0x80/0x80
 ret_from_fork_asm+0x11/0x20
 </TASK>
---[ end trace 0000000000000000 ]---
ieee80211 phy0: PM: dpm_run_callback(): wiphy_resume [cfg80211] returns -110
ieee80211 phy0: PM: failed to resume async: error -110
iwlwifi 0000:09:00.0: DEVICE_ENABLED bit is not set. Aborting dump.
iwlwifi 0000:09:00.0: WRT: Collecting data: ini trigger 4 fired (delay=0ms).
iwlwifi 0000:09:00.0: Device is not enabled - cannot dump error
iwlwifi 0000:09:00.0: Failed to start RT ucode: -110
iwlwifi 0000:09:00.0: WRT: Collecting data: ini trigger 13 fired (delay=0ms).
iwlwifi 0000:09:00.0: Start IWL Error Log Dump:
iwlwifi 0000:09:00.0: Transport status: 0x0000004A, valid: 6
iwlwifi 0000:09:00.0: Loaded firmware version: 77.0b4c06ad.0 cc-a0-77.ucode
iwlwifi 0000:09:00.0: 0x00000084 | NMI_INTERRUPT_UNKNOWN       
iwlwifi 0000:09:00.0: 0x0020A2F0 | trm_hw_status0
iwlwifi 0000:09:00.0: 0x00000000 | trm_hw_status1
iwlwifi 0000:09:00.0: 0x004F8CE6 | branchlink2
iwlwifi 0000:09:00.0: 0x004EED36 | interruptlink1
iwlwifi 0000:09:00.0: 0x004EED36 | interruptlink2
iwlwifi 0000:09:00.0: 0x00014EF6 | data1
iwlwifi 0000:09:00.0: 0x01000000 | data2
iwlwifi 0000:09:00.0: 0x00000000 | data3
iwlwifi 0000:09:00.0: 0x00000000 | beacon time
iwlwifi 0000:09:00.0: 0x002080FF | tsf low
iwlwifi 0000:09:00.0: 0x00000000 | tsf hi
iwlwifi 0000:09:00.0: 0x00000000 | time gp1
iwlwifi 0000:09:00.0: 0x0020DA4A | time gp2
iwlwifi 0000:09:00.0: 0x00000001 | uCode revision type
iwlwifi 0000:09:00.0: 0x0000004D | uCode version major
iwlwifi 0000:09:00.0: 0x0B4C06AD | uCode version minor
iwlwifi 0000:09:00.0: 0x00000340 | hw version
iwlwifi 0000:09:00.0: 0x00489000 | board version
iwlwifi 0000:09:00.0: 0x8003FC12 | hcmd
iwlwifi 0000:09:00.0: 0x20028000 | isr0
iwlwifi 0000:09:00.0: 0x00000000 | isr1
iwlwifi 0000:09:00.0: 0x08F00002 | isr2
iwlwifi 0000:09:00.0: 0x00C0001C | isr3
iwlwifi 0000:09:00.0: 0x00000000 | isr4
iwlwifi 0000:09:00.0: 0x00000000 | last cmd Id
iwlwifi 0000:09:00.0: 0x00014EF6 | wait_event
iwlwifi 0000:09:00.0: 0x00000000 | l2p_control
iwlwifi 0000:09:00.0: 0x00000000 | l2p_duration
iwlwifi 0000:09:00.0: 0x00000000 | l2p_mhvalid
iwlwifi 0000:09:00.0: 0x00000000 | l2p_addr_match
iwlwifi 0000:09:00.0: 0x00000009 | lmpm_pmg_sel
iwlwifi 0000:09:00.0: 0x00000000 | timestamp
iwlwifi 0000:09:00.0: 0x00000020 | flow_handler
iwlwifi 0000:09:00.0: Start IWL Error Log Dump:
iwlwifi 0000:09:00.0: Transport status: 0x0000004A, valid: 7
iwlwifi 0000:09:00.0: 0x20000066 | NMI_INTERRUPT_HOST
iwlwifi 0000:09:00.0: 0x00000000 | umac branchlink1
iwlwifi 0000:09:00.0: 0x80455D6E | umac branchlink2
iwlwifi 0000:09:00.0: 0x8047300E | umac interruptlink1
iwlwifi 0000:09:00.0: 0x8047300E | umac interruptlink2
iwlwifi 0000:09:00.0: 0x01000000 | umac data1
iwlwifi 0000:09:00.0: 0x8047300E | umac data2
iwlwifi 0000:09:00.0: 0x00000000 | umac data3
iwlwifi 0000:09:00.0: 0x0000004D | umac major
iwlwifi 0000:09:00.0: 0x0B4C06AD | umac minor
iwlwifi 0000:09:00.0: 0x0020DA48 | frame pointer
iwlwifi 0000:09:00.0: 0xC0886260 | stack pointer
iwlwifi 0000:09:00.0: 0x00000000 | last host cmd
iwlwifi 0000:09:00.0: 0x00000000 | isr status reg
iwlwifi 0000:09:00.0: IML/ROM dump:
iwlwifi 0000:09:00.0: 0x00000003 | IML/ROM error/state
iwlwifi 0000:09:00.0: 0x0000583D | IML/ROM data1
iwlwifi 0000:09:00.0: 0x00000080 | IML/ROM WFPM_AUTH_KEY_0
iwlwifi 0000:09:00.0: Fseq Registers:
iwlwifi 0000:09:00.0: 0x60000000 | FSEQ_ERROR_CODE
iwlwifi 0000:09:00.0: 0x80290021 | FSEQ_TOP_INIT_VERSION
iwlwifi 0000:09:00.0: 0x00050008 | FSEQ_CNVIO_INIT_VERSION
iwlwifi 0000:09:00.0: 0x0000A503 | FSEQ_OTP_VERSION
iwlwifi 0000:09:00.0: 0x80000003 | FSEQ_TOP_CONTENT_VERSION
iwlwifi 0000:09:00.0: 0x4552414E | FSEQ_ALIVE_TOKEN
iwlwifi 0000:09:00.0: 0x00100530 | FSEQ_CNVI_ID
iwlwifi 0000:09:00.0: 0x00000532 | FSEQ_CNVR_ID
iwlwifi 0000:09:00.0: 0x00100530 | CNVI_AUX_MISC_CHIP
iwlwifi 0000:09:00.0: 0x00000532 | CNVR_AUX_MISC_CHIP
iwlwifi 0000:09:00.0: 0x05B0905B | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
iwlwifi 0000:09:00.0: 0x0000025B | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
iwlwifi 0000:09:00.0: 0x00050008 | FSEQ_PREV_CNVIO_INIT_VERSION
iwlwifi 0000:09:00.0: 0x00290021 | FSEQ_WIFI_FSEQ_VERSION
iwlwifi 0000:09:00.0: 0xA1CD8AA9 | FSEQ_BT_FSEQ_VERSION
iwlwifi 0000:09:00.0: 0x00000104 | FSEQ_CLASS_TP_VERSION
iwlwifi 0000:09:00.0: UMAC CURRENT PC: 0x80472b1c
iwlwifi 0000:09:00.0: LMAC1 CURRENT PC: 0xd0
iwlwifi 0000:09:00.0: Starting mac, retry will be triggered anyway
iwlwifi 0000:09:00.0: mac start retry 0
iwlwifi 0000:09:00.0: DEVICE_ENABLED bit is not set. Aborting dump.
iwlwifi 0000:09:00.0: WRT: Collecting data: ini trigger 4 fired (delay=0ms).
iwlwifi 0000:09:00.0: Device is not enabled - cannot dump error
iwlwifi 0000:09:00.0: Failed to start RT ucode: -110
iwlwifi 0000:09:00.0: WRT: Collecting data: ini trigger 13 fired (delay=0ms).
iwlwifi 0000:09:00.0: Start IWL Error Log Dump:
iwlwifi 0000:09:00.0: Transport status: 0x0000004A, valid: 6
iwlwifi 0000:09:00.0: Loaded firmware version: 77.0b4c06ad.0 cc-a0-77.ucode
iwlwifi 0000:09:00.0: 0x00000084 | NMI_INTERRUPT_UNKNOWN       
iwlwifi 0000:09:00.0: 0x002022F0 | trm_hw_status0
iwlwifi 0000:09:00.0: 0x00000000 | trm_hw_status1
iwlwifi 0000:09:00.0: 0x004F8CE6 | branchlink2
iwlwifi 0000:09:00.0: 0x004EED36 | interruptlink1
iwlwifi 0000:09:00.0: 0x004EED36 | interruptlink2
iwlwifi 0000:09:00.0: 0x00014EF6 | data1
iwlwifi 0000:09:00.0: 0x01000000 | data2
iwlwifi 0000:09:00.0: 0x00000000 | data3
iwlwifi 0000:09:00.0: 0x00000000 | beacon time
iwlwifi 0000:09:00.0: 0x002080C4 | tsf low
iwlwifi 0000:09:00.0: 0x00000000 | tsf hi
iwlwifi 0000:09:00.0: 0x00000000 | time gp1
iwlwifi 0000:09:00.0: 0x0020DA16 | time gp2
iwlwifi 0000:09:00.0: 0x00000001 | uCode revision type
iwlwifi 0000:09:00.0: 0x0000004D | uCode version major
iwlwifi 0000:09:00.0: 0x0B4C06AD | uCode version minor
iwlwifi 0000:09:00.0: 0x00000340 | hw version
iwlwifi 0000:09:00.0: 0x00489000 | board version
iwlwifi 0000:09:00.0: 0x8003FC12 | hcmd
iwlwifi 0000:09:00.0: 0x00020000 | isr0
iwlwifi 0000:09:00.0: 0x00000000 | isr1
iwlwifi 0000:09:00.0: 0x08F00002 | isr2
iwlwifi 0000:09:00.0: 0x00C0000C | isr3
iwlwifi 0000:09:00.0: 0x00000000 | isr4
iwlwifi 0000:09:00.0: 0x00000000 | last cmd Id
iwlwifi 0000:09:00.0: 0x00014EF6 | wait_event
iwlwifi 0000:09:00.0: 0x00000000 | l2p_control
iwlwifi 0000:09:00.0: 0x00000000 | l2p_duration
iwlwifi 0000:09:00.0: 0x00000000 | l2p_mhvalid
iwlwifi 0000:09:00.0: 0x00000000 | l2p_addr_match
iwlwifi 0000:09:00.0: 0x00000009 | lmpm_pmg_sel
iwlwifi 0000:09:00.0: 0x00000000 | timestamp
iwlwifi 0000:09:00.0: 0x00000020 | flow_handler
iwlwifi 0000:09:00.0: Start IWL Error Log Dump:
iwlwifi 0000:09:00.0: Transport status: 0x0000004A, valid: 7
iwlwifi 0000:09:00.0: 0x20000066 | NMI_INTERRUPT_HOST
iwlwifi 0000:09:00.0: 0x00000000 | umac branchlink1
iwlwifi 0000:09:00.0: 0x80455D6E | umac branchlink2
iwlwifi 0000:09:00.0: 0x8047300E | umac interruptlink1
iwlwifi 0000:09:00.0: 0x8047300E | umac interruptlink2
iwlwifi 0000:09:00.0: 0x01000000 | umac data1
iwlwifi 0000:09:00.0: 0x8047300E | umac data2
iwlwifi 0000:09:00.0: 0x00000000 | umac data3
iwlwifi 0000:09:00.0: 0x0000004D | umac major
iwlwifi 0000:09:00.0: 0x0B4C06AD | umac minor
iwlwifi 0000:09:00.0: 0x0020DA14 | frame pointer
iwlwifi 0000:09:00.0: 0xC0886260 | stack pointer
iwlwifi 0000:09:00.0: 0x00000000 | last host cmd
iwlwifi 0000:09:00.0: 0x00000000 | isr status reg
iwlwifi 0000:09:00.0: IML/ROM dump:
iwlwifi 0000:09:00.0: 0x00000003 | IML/ROM error/state
iwlwifi 0000:09:00.0: 0x00005848 | IML/ROM data1
iwlwifi 0000:09:00.0: 0x00000080 | IML/ROM WFPM_AUTH_KEY_0
iwlwifi 0000:09:00.0: Fseq Registers:
iwlwifi 0000:09:00.0: 0x60000000 | FSEQ_ERROR_CODE
iwlwifi 0000:09:00.0: 0x80290021 | FSEQ_TOP_INIT_VERSION
iwlwifi 0000:09:00.0: 0x00050008 | FSEQ_CNVIO_INIT_VERSION
iwlwifi 0000:09:00.0: 0x0000A503 | FSEQ_OTP_VERSION
iwlwifi 0000:09:00.0: 0x80000003 | FSEQ_TOP_CONTENT_VERSION
iwlwifi 0000:09:00.0: 0x4552414E | FSEQ_ALIVE_TOKEN
iwlwifi 0000:09:00.0: 0x00100530 | FSEQ_CNVI_ID
iwlwifi 0000:09:00.0: 0x00000532 | FSEQ_CNVR_ID
iwlwifi 0000:09:00.0: 0x00100530 | CNVI_AUX_MISC_CHIP
iwlwifi 0000:09:00.0: 0x00000532 | CNVR_AUX_MISC_CHIP
iwlwifi 0000:09:00.0: 0x05B0905B | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
iwlwifi 0000:09:00.0: 0x0000025B | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
iwlwifi 0000:09:00.0: 0x00050008 | FSEQ_PREV_CNVIO_INIT_VERSION
iwlwifi 0000:09:00.0: 0x00290021 | FSEQ_WIFI_FSEQ_VERSION
iwlwifi 0000:09:00.0: 0xA1CD8AA9 | FSEQ_BT_FSEQ_VERSION
iwlwifi 0000:09:00.0: 0x00000104 | FSEQ_CLASS_TP_VERSION
iwlwifi 0000:09:00.0: UMAC CURRENT PC: 0x80472b1c
iwlwifi 0000:09:00.0: LMAC1 CURRENT PC: 0xd0
iwlwifi 0000:09:00.0: Starting mac, retry will be triggered anyway
iwlwifi 0000:09:00.0: mac start retry 1
iwlwifi 0000:09:00.0: DEVICE_ENABLED bit is not set. Aborting dump.
iwlwifi 0000:09:00.0: WRT: Collecting data: ini trigger 4 fired (delay=0ms).
iwlwifi 0000:09:00.0: Device is not enabled - cannot dump error
iwlwifi 0000:09:00.0: Failed to start RT ucode: -110
iwlwifi 0000:09:00.0: WRT: Collecting data: ini trigger 13 fired (delay=0ms).
iwlwifi 0000:09:00.0: Start IWL Error Log Dump:
iwlwifi 0000:09:00.0: Transport status: 0x0000004A, valid: 6
iwlwifi 0000:09:00.0: Loaded firmware version: 77.0b4c06ad.0 cc-a0-77.ucode
iwlwifi 0000:09:00.0: 0x00000084 | NMI_INTERRUPT_UNKNOWN       
iwlwifi 0000:09:00.0: 0x002022F0 | trm_hw_status0
iwlwifi 0000:09:00.0: 0x00000000 | trm_hw_status1
iwlwifi 0000:09:00.0: 0x004F8CE6 | branchlink2
iwlwifi 0000:09:00.0: 0x004EED36 | interruptlink1
iwlwifi 0000:09:00.0: 0x004EED36 | interruptlink2
iwlwifi 0000:09:00.0: 0x00014EF6 | data1
iwlwifi 0000:09:00.0: 0x01000000 | data2
iwlwifi 0000:09:00.0: 0x00000000 | data3
iwlwifi 0000:09:00.0: 0x00000000 | beacon time
iwlwifi 0000:09:00.0: 0x002084BC | tsf low
iwlwifi 0000:09:00.0: 0x00000000 | tsf hi
iwlwifi 0000:09:00.0: 0x00000000 | time gp1
iwlwifi 0000:09:00.0: 0x0020DE0C | time gp2
iwlwifi 0000:09:00.0: 0x00000001 | uCode revision type
iwlwifi 0000:09:00.0: 0x0000004D | uCode version major
iwlwifi 0000:09:00.0: 0x0B4C06AD | uCode version minor
iwlwifi 0000:09:00.0: 0x00000340 | hw version
iwlwifi 0000:09:00.0: 0x00489000 | board version
iwlwifi 0000:09:00.0: 0x8003FC12 | hcmd
iwlwifi 0000:09:00.0: 0x00020000 | isr0
iwlwifi 0000:09:00.0: 0x00000000 | isr1
iwlwifi 0000:09:00.0: 0x08F00002 | isr2
iwlwifi 0000:09:00.0: 0x00C0001C | isr3
iwlwifi 0000:09:00.0: 0x00000000 | isr4
iwlwifi 0000:09:00.0: 0x00000000 | last cmd Id
iwlwifi 0000:09:00.0: 0x00014EF6 | wait_event
iwlwifi 0000:09:00.0: 0x00000000 | l2p_control
iwlwifi 0000:09:00.0: 0x00000000 | l2p_duration
iwlwifi 0000:09:00.0: 0x00000000 | l2p_mhvalid
iwlwifi 0000:09:00.0: 0x00000000 | l2p_addr_match
iwlwifi 0000:09:00.0: 0x00000009 | lmpm_pmg_sel
iwlwifi 0000:09:00.0: 0x00000000 | timestamp
iwlwifi 0000:09:00.0: 0x00000020 | flow_handler
iwlwifi 0000:09:00.0: Start IWL Error Log Dump:
iwlwifi 0000:09:00.0: Transport status: 0x0000004A, valid: 7
iwlwifi 0000:09:00.0: 0x20000066 | NMI_INTERRUPT_HOST
iwlwifi 0000:09:00.0: 0x00000000 | umac branchlink1
iwlwifi 0000:09:00.0: 0x80455D6E | umac branchlink2
iwlwifi 0000:09:00.0: 0x8047300E | umac interruptlink1
iwlwifi 0000:09:00.0: 0x8047300E | umac interruptlink2
iwlwifi 0000:09:00.0: 0x01000000 | umac data1
iwlwifi 0000:09:00.0: 0x8047300E | umac data2
iwlwifi 0000:09:00.0: 0x00000000 | umac data3
iwlwifi 0000:09:00.0: 0x0000004D | umac major
iwlwifi 0000:09:00.0: 0x0B4C06AD | umac minor
iwlwifi 0000:09:00.0: 0x0020DE0B | frame pointer
iwlwifi 0000:09:00.0: 0xC0886260 | stack pointer
iwlwifi 0000:09:00.0: 0x00000000 | last host cmd
iwlwifi 0000:09:00.0: 0x00000000 | isr status reg
iwlwifi 0000:09:00.0: IML/ROM dump:
iwlwifi 0000:09:00.0: 0x00000003 | IML/ROM error/state
iwlwifi 0000:09:00.0: 0x00005846 | IML/ROM data1
iwlwifi 0000:09:00.0: 0x00000080 | IML/ROM WFPM_AUTH_KEY_0
iwlwifi 0000:09:00.0: Fseq Registers:
iwlwifi 0000:09:00.0: 0x60000000 | FSEQ_ERROR_CODE
iwlwifi 0000:09:00.0: 0x80290021 | FSEQ_TOP_INIT_VERSION
iwlwifi 0000:09:00.0: 0x00050008 | FSEQ_CNVIO_INIT_VERSION
iwlwifi 0000:09:00.0: 0x0000A503 | FSEQ_OTP_VERSION
iwlwifi 0000:09:00.0: 0x80000003 | FSEQ_TOP_CONTENT_VERSION
iwlwifi 0000:09:00.0: 0x4552414E | FSEQ_ALIVE_TOKEN
iwlwifi 0000:09:00.0: 0x00100530 | FSEQ_CNVI_ID
iwlwifi 0000:09:00.0: 0x00000532 | FSEQ_CNVR_ID
iwlwifi 0000:09:00.0: 0x00100530 | CNVI_AUX_MISC_CHIP
iwlwifi 0000:09:00.0: 0x00000532 | CNVR_AUX_MISC_CHIP
iwlwifi 0000:09:00.0: 0x05B0905B | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
iwlwifi 0000:09:00.0: 0x0000025B | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
iwlwifi 0000:09:00.0: 0x00050008 | FSEQ_PREV_CNVIO_INIT_VERSION
iwlwifi 0000:09:00.0: 0x00290021 | FSEQ_WIFI_FSEQ_VERSION
iwlwifi 0000:09:00.0: 0xA1CD8AA9 | FSEQ_BT_FSEQ_VERSION
iwlwifi 0000:09:00.0: 0x00000104 | FSEQ_CLASS_TP_VERSION
iwlwifi 0000:09:00.0: UMAC CURRENT PC: 0x80472b1c
iwlwifi 0000:09:00.0: LMAC1 CURRENT PC: 0xd0
iwlwifi 0000:09:00.0: Starting mac, retry will be triggered anyway
iwlwifi 0000:09:00.0: mac start retry 2
Comment 3 Emmanuel Grumbach 2024-12-13 08:09:56 UTC
I think it should avoid most of the errors you're seeing.
I also would to understand what is the real impact (besides the nasty errors in the logs). Is wifi functional?
Comment 4 Avraham Hollander 2024-12-13 14:14:55 UTC
Oops, in all my editing I forgot to mention that no, wifi is not functional after resume. It only works again after unloading and reloading iwlwifi and iwlmvm.

I'll try that commit later today. I gather it's already supposed to be reloading the firmware if the NIC is unresponsive, but it's failing to do so somehow.
Comment 5 Avraham Hollander 2024-12-13 15:12:15 UTC
Ok so I couldn't cleanly apply the patch to 6.12.2, so I just built right against commit 0572b7715ffd2cac20aac00333706f3094028180.
It recovers successfully now, but I still get errors on resume:

------------[ cut here ]------------
Timeout waiting for hardware access (CSR_GP_CNTRL 0x08040008)
WARNING: CPU: 2 PID: 2909 at drivers/net/wireless/intel/iwlwifi/pcie/trans.c:2246 __iwl_trans_pcie_grab_nic_access+0x157/0x160 [iwlwifi]
Modules linked in: fuse ctr ccm algif_aead crypto_null des3_ede_x86_64 cbc des_generic libdes ecb algif_skcipher cmac md5 md4 algif_hash af_alg ipv6 zram zsmalloc vfat fat mousedev hid_generic usbhid hid amdgpu iwlmvm mac80211 libarc4 i2c_algo_bit drm_ttm_helper crc32_pclmul ttm crc32c_intel snd_hda_codec_realtek video polyval_clmulni iwlwifi drm_exec snd_hda_codec_generic polyval_generic drm_suballoc_helper ghash_clmulni_intel amdxcp snd_hda_scodec_component led_class sha512_ssse3 snd_hda_codec_hdmi drm_buddy sha512_generic cfg80211 sha256_ssse3 gpu_sched snd_hda_intel evdev tpm_crb sha1_ssse3 snd_intel_dspcfg aesni_intel drm_display_helper snd_hda_codec crypto_simd tpm_tis cryptd drm_kms_helper tpm_tis_core snd_hwdep i2c_piix4 wmi_bmof i2c_smbus k10temp rfkill snd_hda_core tpm xhci_pci drm pkcs8_key_parser snd_pcm rng_core i2c_dev xhci_hcd rtc_cmos libaescfb snd_timer i2c_core ecdh_generic gpio_amdpt usbcore snd backlight ecc gpio_generic ccp button soundcore usb_common efivarfs
CPU: 2 UID: 0 PID: 2909 Comm: kworker/u48:33 Not tainted 6.12.0-rc4-vanilla-test+ #2
Hardware name: ASUS System Product Name/PRIME B550M-A AC, BIOS 3611 09/29/2024
Workqueue: async async_run_entry_fn
Sched_ext: lavd (enabled+all), task: runnable_at=-18ms
RIP: 0010:__iwl_trans_pcie_grab_nic_access+0x157/0x160 [iwlwifi]
Code: 44 e1 31 c0 e9 76 ff ff ff 31 f6 48 89 df e8 a0 fd ff ff eb e5 89 c6 48 c7 c7 08 eb 54 a0 c6 05 30 ee 04 00 01 e8 89 de b7 e0 <0f> 0b eb a5 0f 1f 44 00 00 0f 1f 44 00 00 48 83 ec 08 65 81 05 84
RSP: 0018:ffffc9000384bb60 EFLAGS: 00010202
RAX: 000000000000003d RBX: ffff88810a780028 RCX: 0000000000000001
RDX: ffffffff8250d478 RSI: 0000000000000086 RDI: 0000000000000001
RBP: 0000000008040008 R08: 0000000000000000 R09: ffffffff824dd208
R10: 00000000ffffe000 R11: 0000000000000002 R12: ffff88810a781c94
R13: 0000000000000001 R14: 0000000000000011 R15: ffff888136b188e0
FS:  0000000000000000(0000) GS:ffff88841de80000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000002416000 CR4: 0000000000350eb0
Call Trace:
 <TASK>
 ? __iwl_trans_pcie_grab_nic_access+0x157/0x160 [iwlwifi]
 ? __warn.cold+0xad/0x108
 ? __iwl_trans_pcie_grab_nic_access+0x157/0x160 [iwlwifi]
 ? report_bug+0x122/0x170
 ? handle_bug+0x4f/0x90
 ? exc_invalid_op+0x17/0x70
 ? vprintk_emit+0x202/0x460
 ? asm_exc_invalid_op+0x16/0x20
 ? __iwl_trans_pcie_grab_nic_access+0x157/0x160 [iwlwifi]
 iwl_trans_pcie_grab_nic_access+0x19/0x40 [iwlwifi]
 iwl_trans_pcie_read_mem+0x3d/0x100 [iwlwifi]
 iwl_fwrt_read_err_table+0x36/0x70 [iwlwifi]
 iwl_mvm_check_rt_status+0x25/0xc0 [iwlmvm]
 ? iwl_fw_dbg_read_d3_debug_data+0x47/0xe0 [iwlwifi]
 iwl_mvm_fast_resume+0x87/0x1a0 [iwlmvm]
 __iwl_mvm_mac_start+0xf9/0x2f0 [iwlmvm]
 iwl_mvm_mac_start+0x47/0xc0 [iwlmvm]
 drv_start+0x33/0xf0 [mac80211]
 ieee80211_reconfig+0x6f/0x1520 [mac80211]
 ? __bpf_prog_exit+0x1d/0x30
 ? dispatch_enqueue+0x184/0x3c0
 ? wait_for_completion+0x22/0x100
 ? enqueue_task_scx+0x179/0x220
 ? scx_pick_idle_cpu+0x41/0x70
 wiphy_resume+0x7e/0x1a0 [cfg80211]
 ? wiphy_suspend+0x2e0/0x2e0 [cfg80211]
 dpm_run_callback+0x2b/0xe0
 device_resume+0xbd/0x3a0
 async_resume+0x19/0x30
 async_run_entry_fn+0x2e/0xc0
 process_one_work+0x144/0x2e0
 worker_thread+0x2fa/0x430
 ? flush_rcu_work+0x50/0x50
 kthread+0xc5/0xf0
 ? kthread_park+0x80/0x80
 ret_from_fork+0x49/0x60
 ? kthread_park+0x80/0x80
 ret_from_fork_asm+0x11/0x20
 </TASK>
---[ end trace 0000000000000000 ]---
iwlwifi 0000:09:00.0: iwlwifi transaction failed, dumping registers
iwlwifi 0000:09:00.0: iwlwifi device config registers:
iwlwifi 0000:09:00.0: 00000000: 27238086 00100406 0280001a 00000010 fcd00004 00000000 00000000 00000000
iwlwifi 0000:09:00.0: 00000020: 00000000 00000000 00000000 00808086 00000000 000000c8 00000000 000001ff
iwlwifi 0000:09:00.0: 00000040: 00028010 10008ec0 00100c10 0345e812 10120040 00000000 00000000 00000000
iwlwifi 0000:09:00.0: 00000060: 00000000 00080812 00000005 00000006 00000002 00000000 00000000 00000000
iwlwifi 0000:09:00.0: 00000080: 800f0011 00002000 00003000 00000000 00000000 00000000 00000000 00000000
iwlwifi 0000:09:00.0: 000000a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
iwlwifi 0000:09:00.0: 000000c0: 00000000 00000000 c823d001 0d000008 00804005 00000000 00000000 00000000
iwlwifi 0000:09:00.0: 000000e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
iwlwifi 0000:09:00.0: 00000100: 14c10001 00000000 00000000 00462031 00000000 00002000 00000000 00000000
iwlwifi 0000:09:00.0: 00000120: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
iwlwifi 0000:09:00.0: 00000140: 14c00000 ff000000 000000ff 15410018 00000000 0001001e 00481e1f 00000000
iwlwifi 0000:09:00.0: iwlwifi device memory mapped registers:
iwlwifi 0000:09:00.0: 00000000: 00080000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
iwlwifi 0000:09:00.0: 00000020: 00000011 08040008 00000340 d55555d5 d55555d5 d55555d5 80008040 001f0046
iwlwifi 0000:09:00.0: iwlwifi device AER capability structure:
iwlwifi 0000:09:00.0: 00000000: 14c10001 00000000 00000000 00462031 00000000 00002000 00000000 00000000
iwlwifi 0000:09:00.0: 00000020: 00000000 00000000 00000000
iwlwifi 0000:09:00.0: iwlwifi parent port (0000:05:03.0) config registers:
iwlwifi 0000:05:03.0: 00000000: 43ea1022 00100007 06040000 00010010 00000000 00000000 00090905 000001f1
iwlwifi 0000:05:03.0: 00000020: fcd0fcd0 0001fff1 00000000 00000000 00000000 00000050 00000000 001201ff
iwlwifi 0000:05:03.0: 00000040: 00000000 00000000 00000000 00000000 00807805 00000000 00000000 00000000
iwlwifi 0000:05:03.0: 00000060: 00000000 00000000 00077811 00002000 00002080 00000000 c0438001 00000008
iwlwifi 0000:05:03.0: 00000080: 0162c010 00008022 00112910 03737813 70120040 00080d00 01480000 00000000
iwlwifi 0000:05:03.0: 000000a0: 00000000 00100800 00000000 0000000e 00000003 00000000 00000000 00000000
iwlwifi 0000:05:03.0: 000000c0: 0000000d 33081b21 00000000 00000000 00000000 00000000 00000000 00000000
iwlwifi 0000:05:03.0: 000000e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
iwlwifi 0000:05:03.0: 00000100: 20010001 00000000 00000000 00062031 00000001 00002000 00000020 00000000
iwlwifi 0000:05:03.0: 00000120: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
iwlwifi 0000:05:03.0: 00000140: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
iwlwifi 0000:05:03.0: 00000160: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
iwlwifi 0000:05:03.0: 00000180: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
iwlwifi 0000:05:03.0: 000001a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
iwlwifi 0000:05:03.0: 000001c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
iwlwifi 0000:05:03.0: 000001e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
iwlwifi 0000:05:03.0: 00000200: 00010019 00000000 00000001
iwlwifi 0000:09:00.0: iwl_mvm_check_rt_status failed, device is gone during suspend
iwlwifi 0000:09:00.0: HW error, resetting before reading
iwlwifi 0000:09:00.0: Start IWL Error Log Dump:
iwlwifi 0000:09:00.0: Transport status: 0x00000042, valid: -1026039489
iwlwifi 0000:09:00.0: Loaded firmware version: 77.0b4c06ad.0 cc-a0-77.ucode
iwlwifi 0000:09:00.0: 0x1D812C7D | ADVANCED_SYSASSERT
iwlwifi 0000:09:00.0: 0x3ECF3756 | trm_hw_status0
iwlwifi 0000:09:00.0: 0x9F914A90 | trm_hw_status1
iwlwifi 0000:09:00.0: 0x75B03B38 | branchlink2
iwlwifi 0000:09:00.0: 0x3B34F95E | interruptlink1
iwlwifi 0000:09:00.0: 0xDE9876AC | interruptlink2
iwlwifi 0000:09:00.0: 0x2479B9DF | data1
iwlwifi 0000:09:00.0: 0xFFD7FCE6 | data2
iwlwifi 0000:09:00.0: 0xF97593A3 | data3
iwlwifi 0000:09:00.0: 0x381BBA3E | beacon time
iwlwifi 0000:09:00.0: 0xB75354A3 | tsf low
iwlwifi 0000:09:00.0: 0xDFA3A562 | tsf hi
iwlwifi 0000:09:00.0: 0xDEECBEB0 | time gp1
iwlwifi 0000:09:00.0: 0x0560F96D | time gp2
iwlwifi 0000:09:00.0: 0x747BDE7E | uCode revision type
iwlwifi 0000:09:00.0: 0x73D7DDDF | uCode version major
iwlwifi 0000:09:00.0: 0x116357E1 | uCode version minor
iwlwifi 0000:09:00.0: 0x0E72DDFD | hw version
iwlwifi 0000:09:00.0: 0xF381DFED | board version
iwlwifi 0000:09:00.0: 0x86E782FA | hcmd
iwlwifi 0000:09:00.0: 0xEC07DBF0 | isr0
iwlwifi 0000:09:00.0: 0x43B83825 | isr1
iwlwifi 0000:09:00.0: 0xF5D1F132 | isr2
iwlwifi 0000:09:00.0: 0x35E6189B | isr3
iwlwifi 0000:09:00.0: 0x08FBAEA7 | isr4
iwlwifi 0000:09:00.0: 0x0583CE6F | last cmd Id
iwlwifi 0000:09:00.0: 0x1BAE668E | wait_event
iwlwifi 0000:09:00.0: 0x077675D6 | l2p_control
iwlwifi 0000:09:00.0: 0x6C37F8C7 | l2p_duration
iwlwifi 0000:09:00.0: 0xFAC2BFA1 | l2p_mhvalid
iwlwifi 0000:09:00.0: 0x19FD77BA | l2p_addr_match
iwlwifi 0000:09:00.0: 0x8CCB57CB | lmpm_pmg_sel
iwlwifi 0000:09:00.0: 0xF8DDD47A | timestamp
iwlwifi 0000:09:00.0: 0x8FF73558 | flow_handler
iwlwifi 0000:09:00.0: Start IWL Error Log Dump:
iwlwifi 0000:09:00.0: Transport status: 0x00000042, valid: -423835974
iwlwifi 0000:09:00.0: 0x69F04EF2 | ADVANCED_SYSASSERT
iwlwifi 0000:09:00.0: 0x753E9EDF | umac branchlink1
iwlwifi 0000:09:00.0: 0xC35787CB | umac branchlink2
iwlwifi 0000:09:00.0: 0xD0AAB7F1 | umac interruptlink1
iwlwifi 0000:09:00.0: 0xCD484CD6 | umac interruptlink2
iwlwifi 0000:09:00.0: 0xBA4FBC79 | umac data1
iwlwifi 0000:09:00.0: 0xDC6BDEE7 | umac data2
iwlwifi 0000:09:00.0: 0xA4CBF9E9 | umac data3
iwlwifi 0000:09:00.0: 0xF5281928 | umac major
iwlwifi 0000:09:00.0: 0xBB8F985F | umac minor
iwlwifi 0000:09:00.0: 0x761D2C43 | frame pointer
iwlwifi 0000:09:00.0: 0x4C83ACD5 | stack pointer
iwlwifi 0000:09:00.0: 0xD050CE1F | last host cmd
iwlwifi 0000:09:00.0: 0x8F67AE93 | isr status reg
iwlwifi 0000:09:00.0: IML/ROM dump:
iwlwifi 0000:09:00.0: 0x00000000 | IML/ROM error/state
iwlwifi 0000:09:00.0: 0x00000000 | IML/ROM data1
iwlwifi 0000:09:00.0: 0x00000000 | IML/ROM WFPM_AUTH_KEY_0
iwlwifi 0000:09:00.0: Fseq Registers:
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | FSEQ_ERROR_CODE
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | FSEQ_TOP_INIT_VERSION
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | FSEQ_CNVIO_INIT_VERSION
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | FSEQ_OTP_VERSION
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | FSEQ_TOP_CONTENT_VERSION
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | FSEQ_ALIVE_TOKEN
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | FSEQ_CNVI_ID
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | FSEQ_CNVR_ID
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | CNVI_AUX_MISC_CHIP
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | CNVR_AUX_MISC_CHIP
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | FSEQ_PREV_CNVIO_INIT_VERSION
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | FSEQ_WIFI_FSEQ_VERSION
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | FSEQ_BT_FSEQ_VERSION
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | FSEQ_CLASS_TP_VERSION
iwlwifi 0000:09:00.0: UMAC CURRENT PC: 0xa5a5a5a2
iwlwifi 0000:09:00.0: LMAC1 CURRENT PC: 0xa5a5a5a2
iwlwifi 0000:09:00.0: WRT: Collecting data: ini trigger 4 fired (delay=0ms).
wlan0: authenticate with 04:a2:22:d1:ad:06 (local address=3c:21:9c:53:17:bd)
wlan0: send auth to 04:a2:22:d1:ad:06 (try 1/3)
wlan0: authenticated
wlan0: associate with 04:a2:22:d1:ad:06 (try 1/3)
wlan0: RX AssocResp from 04:a2:22:d1:ad:06 (capab=0x1011 status=0 aid=14)
wlan0: associated
wlan0: Limiting TX power to 24 (24 - 0) dBm as advertised by 04:a2:22:d1:ad:06
Comment 6 Emmanuel Grumbach 2024-12-14 15:50:49 UTC
Ok, so we're in a better shape already.
Can you check if your BIOS allows WLAN operation during S3 state?
It looks like the platform shuts down the NIC during suspend.

We can recover from this, but it causes all those noise messages.
Comment 7 Avraham Hollander 2024-12-14 23:43:54 UTC
Nothing about WLAN power management in the BIOS. I don't think it would matter, as the built-in Realtek wireless NIC is disabled in the BIOS because it performs poorly under Linux. I also don't have any M.2 E key slots, so I am using the Intel AX200 on a riser card instead. So the BIOS should theoretically treat it like any other PCIe device.

I don't see anything that stands out to me for general power management either.
Comment 8 Emmanuel Grumbach 2024-12-15 05:43:35 UTC
Ok, then... I'm not surprised...

We rely on the WLAN being powered on during S3 which is standard on laptops nowadays. If this is not the case, you'll see errors in the logs but wifi will be functional upon resume.
So, as far as I am concerned, I don't think I consider your issue as a real bug. You have a non-standard configuration (your device lots its power during suspend resume), yet you have Wifi upon resume.
Comment 9 Frank Kruger 2024-12-15 17:54:38 UTC
I am experiencing the same issue with openSUSE TW20241213 and kernel 6.12.4: After resume WLAN is not available anymore. For version < 6.12.2 the issue didn't show up, kernel 6.13.0-rc2 works fine. @Emmanuel: Isn't the issue related to https://bugzilla.kernel.org/show_bug.cgi?id=219447? Thx.
Comment 10 Emmanuel Grumbach 2024-12-15 17:57:00 UTC
Nope. https://bugzilla.kernel.org/show_bug.cgi?id=219447 didn't make the NIC disappear. We just couldn't connect.
You're welcome to test the patch I mentioned in comment#2
Comment 11 Avraham Hollander 2024-12-15 18:07:25 UTC
(In reply to Frank Kruger from comment #9)
> I am experiencing the same issue with openSUSE TW20241213 and kernel 6.12.4:
> After resume WLAN is not available anymore. For version < 6.12.2 the issue
> didn't show up, kernel 6.13.0-rc2 works fine. @Emmanuel: Isn't the issue
> related to https://bugzilla.kernel.org/show_bug.cgi?id=219447? Thx.

What's your hardware configuration? How is the card installed in your system?

I have two other systems with AX200s, an Acer Aspire TC-705 (Haswell) with it mounted on a mini-PCIe to M.2 adapter and an Intel NUC5i5MYBE (Broadwell) with it mounted right in the M.2 slot. I'm going to see if either of those is broken too.
Comment 12 Emmanuel Grumbach 2024-12-15 18:11:21 UTC
The problem is less about how the NIC is mounted in terms of connectors, but more about how the BIOS power gate the connector to which the NIC is mounted.

On standard modern laptop, the BIOS keeps powering the WLAN device in order to allow features like WoWLAN. So it knows where the NIC is (configured by the OEM) and it keeps the power running during S3.
Comment 13 Emmanuel Grumbach 2024-12-15 18:15:39 UTC
You may also use our latest and greatest here:
https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/backport-iwlwifi.git/
This is include more fixes that are on their way upstream.
Comment 14 Frank Kruger 2024-12-15 18:36:41 UTC
(In reply to Avraham Hollander from comment #11)
> (In reply to Frank Kruger from comment #9)
> > I am experiencing the same issue with openSUSE TW20241213 and kernel
> 6.12.4:
> > After resume WLAN is not available anymore. For version < 6.12.2 the issue
> > didn't show up, kernel 6.13.0-rc2 works fine. @Emmanuel: Isn't the issue
> > related to https://bugzilla.kernel.org/show_bug.cgi?id=219447? Thx.
> 
> What's your hardware configuration? How is the card installed in your system?

ThinkPad T14 Gen 1 with AMD Ryzen 7 PRO 4750U, Intel Wi-Fi 6 AX200.
Comment 15 Avraham Hollander 2024-12-15 18:38:00 UTC
(In reply to Emmanuel Grumbach from comment #12)
> The problem is less about how the NIC is mounted in terms of connectors, but
> more about how the BIOS power gate the connector to which the NIC is mounted.
> 
> On standard modern laptop, the BIOS keeps powering the WLAN device in order
> to allow features like WoWLAN. So it knows where the NIC is (configured by
> the OEM) and it keeps the power running during S3.

Right, so if you add one to a regular desktop PCIe slot with a riser card, the BIOS has no idea and shuts it down. That's what I was getting at with asking about how it's mounted. But thinking about it, it should be somewhat dynamic, no? Because the BIOS needs to keep the GPU powered to preserve the contents of VRAM, but it has no guarantee of what slot it's in. But I guess it'd have to be configured to look for NICs too.

Is the NIC really supposed to stay powered even if WoWLAN and S0ix are both disabled in BIOS and/or unsupported? What is the purpose of that? I'm really just asking out of curiosity because I don't see an obvious reason.
Comment 16 Emmanuel Grumbach 2024-12-15 18:48:24 UTC
> 
> Is the NIC really supposed to stay powered even if WoWLAN and S0ix are both
> disabled in BIOS and/or unsupported? What is the purpose of that? I'm really
> just asking out of curiosity because I don't see an obvious reason.

The BIOS can power gate the NIC, it is possible. But our integration team who works with OEMs told us it is almost never done which is why they wanted the "fast resume" feature for AX200 which allows to resume much faster (unless the BIOS *did* power gate the NIC).
Comment 17 Avraham Hollander 2024-12-15 19:04:13 UTC
(In reply to Frank Kruger from comment #14)
> (In reply to Avraham Hollander from comment #11)
> > (In reply to Frank Kruger from comment #9)
> > > I am experiencing the same issue with openSUSE TW20241213 and kernel
> > 6.12.4:
> > > After resume WLAN is not available anymore. For version < 6.12.2 the
> issue
> > > didn't show up, kernel 6.13.0-rc2 works fine. @Emmanuel: Isn't the issue
> > > related to https://bugzilla.kernel.org/show_bug.cgi?id=219447? Thx.
> > 
> > What's your hardware configuration? How is the card installed in your
> system?
> 
> ThinkPad T14 Gen 1 with AMD Ryzen 7 PRO 4750U, Intel Wi-Fi 6 AX200.

I have a T14s Gen 1 with those exact specs. I just tested Linux 6.12.2 from the Ubuntu mainline repository. It crashes, but it does recover, unlike you, who has no WiFi at all after resume.

On the Intel NUC, a far older machine, I did the same (both of these are running 24.04) and it works.

I have not tested a kernel newer than 6.12.2, though.
Comment 18 Frank Kruger 2024-12-15 21:40:52 UTC
(In reply to Emmanuel Grumbach from comment #13)
> You may also use our latest and greatest here:
> https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/backport-iwlwifi.git/
> This is include more fixes that are on their way upstream.

I am really puzzled that kernel version > 6.12.2 breaks resume with AX200, which was introduced in 2019.
Comment 19 Avraham Hollander 2024-12-15 22:24:25 UTC
(In reply to Frank Kruger from comment #18)
> (In reply to Emmanuel Grumbach from comment #13)
> > You may also use our latest and greatest here:
> >
> https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/backport-iwlwifi.git/
> > This is include more fixes that are on their way upstream.
> 
> I am really puzzled that kernel version > 6.12.2 breaks resume with AX200,
> which was introduced in 2019.

*Fast* resume support was introduced earlier this year in https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e8bb19c1d5906d2f31ae61853fea2a9abc71e951. The gist is if we don't power down the NIC and its firmware stays running during suspend, then we don't have to start it back up from square 0 on resume, which saves a bit of time. This is a new feature vs. the resume support you are referring to.

We already discussed this, but I'll reiterate it again as a summary without the back-and-forth and the long crash dumps:

These two commits were backported to 6.12.2. One fixes a bug with fast resume and the other enables it  for the AX200.:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d1a54ec21b8e7bca59141ff1ac6ce73e07d744f2

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e53ebc72054efca12e0329d69342e3daf7250a5a

From testing on my desktop, I found that reverting one or the other did not fix the issue, but reverting both together did.

Emmanuel Grumbach says that the problem here is that the BIOS should be configured by the OEM keep the slot the NIC is installed in powered during the S3 sleep state, but it is not. For my desktop, this is because I am using a riser card and the BIOS has no idea about the NIC's existence. For the T14/T14s, this would be considered a BIOS bug.


Now:

What's strange now to me is the inconsistency. On my desktop, 6.12.2 is broken entirely. But with https://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless.git/commit/?id=0572b7715ffd2cac20aac00333706f3094028180, it recovers again.

"If the NIC is dead upon resume, try to catch the error earlier and exit
earlier. We'll print less error messages and get to the same recovery
path as before: reload the firmware."

So even with 6.12.2, it should already recover itself by rebooting the card, but it's not for some reason. And for some reason building against a checkout of the above commit, it recovers (still crashes, but recovers). Why? That makes no sense.

On your ThinkPad T14 Gen 1, 6.12.2 crashes and does not recover, just like on my desktop. But I have a ThinkPad T14s Gen 1, where 6.12.2 crashes, but does recover.

So what exactly is going on here? What is stopping it from recovering from a crash in some situations, but recovering just fine in others? I'm left with more questions than answers.
Comment 20 Emmanuel Grumbach 2024-12-16 07:27:40 UTC
Note that you didn't just cherry-picked that commit, you said you checked-out the commit IIRC.

In any case, I prepared a tarball of patches that apply on v6.12.5. I'd like you to test and tell me how it goes.
Thanks!
Comment 21 Emmanuel Grumbach 2024-12-16 07:28:34 UTC
Created attachment 307362 [details]
series of patches on top of 6.12.5

This contains fixes from out internal tree.
Comment 22 Avraham Hollander 2024-12-17 17:40:19 UTC
It recovers, but I'm still getting a crash dump.

------------[ cut here ]------------
Timeout waiting for hardware access (CSR_GP_CNTRL 0x08040008)
WARNING: CPU: 10 PID: 2894 at drivers/net/wireless/intel/iwlwifi/pcie/trans.c:2246 __iwl_trans_pcie_grab_nic_access+0x157/0x160 [iwlwifi]
Modules linked in: fuse ctr ccm algif_aead crypto_null des3_ede_x86_64 cbc des_generic libdes ecb algif_skcipher cmac md5 md4 algif_hash af_alg ipv6 zram zsmalloc mousedev vfat fat hid_generic usbhid hid amdgpu iwlmvm mac80211 snd_hda_codec_realtek snd_hda_codec_generic snd_hda_scodec_component libarc4 led_class i2c_algo_bit drm_ttm_helper snd_hda_codec_hdmi ttm iwlwifi crc32_pclmul video crc32c_intel drm_exec snd_hda_intel drm_suballoc_helper polyval_clmulni polyval_generic amdxcp snd_intel_dspcfg drm_buddy ghash_clmulni_intel cfg80211 snd_hda_codec gpu_sched sha512_ssse3 sha512_generic drm_display_helper snd_hwdep sha256_ssse3 sha1_ssse3 snd_hda_core drm_kms_helper evdev aesni_intel tpm_crb crypto_simd snd_pcm wmi_bmof drm cryptd tpm_tis pkcs8_key_parser xhci_pci snd_timer i2c_piix4 tpm_tis_core rfkill i2c_dev i2c_smbus ccp k10temp xhci_hcd snd i2c_core tpm rng_core rtc_cmos soundcore backlight usbcore libaescfb gpio_amdpt ecdh_generic gpio_generic ecc usb_common button efivarfs
CPU: 10 UID: 0 PID: 2894 Comm: kworker/u48:44 Not tainted 6.12.5-vanilla-test #1
Hardware name: ASUS System Product Name/PRIME B550M-A AC, BIOS 3611 09/29/2024
Workqueue: async async_run_entry_fn
Sched_ext: lavd (enabled+all), task: runnable_at=-18ms
RIP: 0010:__iwl_trans_pcie_grab_nic_access+0x157/0x160 [iwlwifi]
Code: 44 e1 31 c0 e9 76 ff ff ff 31 f6 48 89 df e8 a0 fd ff ff eb e5 89 c6 48 c7 c7 18 9b 52 a0 c6 05 10 ee 01 00 01 e8 29 3f b7 e0 <0f> 0b eb a5 0f 1f 44 00 00 0f 1f 44 00 00 48 83 ec 08 65 81 05 64
RSP: 0018:ffffc9000428fb48 EFLAGS: 00010202
RAX: 000000000000003d RBX: ffff8881020e4028 RCX: 0000000000000001
RDX: ffffffff8250d4d8 RSI: 0000000000000086 RDI: 0000000000000001
RBP: 0000000008040008 R08: 0000000000000000 R09: ffffffff824dd268
R10: 00000000ffffe000 R11: 0000000000000002 R12: ffff8881020e5c94
R13: 0000000000000001 R14: 0000000000000011 R15: ffff88813dd12018
FS:  0000000000000000(0000) GS:ffff88841e080000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000002416000 CR4: 0000000000350eb0
Call Trace:
 <TASK>
 ? __iwl_trans_pcie_grab_nic_access+0x157/0x160 [iwlwifi]
 ? __warn.cold+0xad/0x108
 ? __iwl_trans_pcie_grab_nic_access+0x157/0x160 [iwlwifi]
 ? report_bug+0x122/0x170
 ? up+0x16/0x50
 ? handle_bug+0x4f/0x90
 ? exc_invalid_op+0x17/0x70
 ? asm_exc_invalid_op+0x16/0x20
 ? __iwl_trans_pcie_grab_nic_access+0x157/0x160 [iwlwifi]
 ? __iwl_trans_pcie_grab_nic_access+0x157/0x160 [iwlwifi]
 iwl_trans_pcie_grab_nic_access+0x19/0x40 [iwlwifi]
 iwl_trans_pcie_read_mem+0x3d/0x100 [iwlwifi]
 iwl_fwrt_read_err_table+0x36/0x70 [iwlwifi]
 iwl_mvm_check_rt_status+0x25/0xd0 [iwlmvm]
 ? iwl_fw_dbg_read_d3_debug_data+0x47/0xe0 [iwlwifi]
 iwl_mvm_fast_resume+0x87/0x1a0 [iwlmvm]
 __iwl_mvm_mac_start+0xf9/0x2f0 [iwlmvm]
 iwl_mvm_mac_start+0x47/0x100 [iwlmvm]
 drv_start+0x33/0xf0 [mac80211]
 ieee80211_reconfig+0x71/0x14e0 [mac80211]
 ? __bpf_prog_exit+0x1d/0x30
 ? bpf__sched_ext_ops_runnable+0x5d/0xa3
 ? dispatch_enqueue+0x184/0x3c0
 ? wait_for_completion+0x22/0x100
 ? enqueue_task_scx+0x179/0x220
 wiphy_resume+0x7e/0x1a0 [cfg80211]
 ? wiphy_suspend+0x2e0/0x2e0 [cfg80211]
 dpm_run_callback+0x2b/0xe0
 device_resume+0xbd/0x3a0
 async_resume+0x19/0x30
 async_run_entry_fn+0x2e/0xc0
 process_one_work+0x144/0x2e0
 worker_thread+0x2fa/0x430
 ? flush_rcu_work+0x50/0x50
 kthread+0xc5/0xf0
 ? kthread_park+0x80/0x80
 ret_from_fork+0x49/0x60
 ? kthread_park+0x80/0x80
 ret_from_fork_asm+0x11/0x20
 </TASK>
---[ end trace 0000000000000000 ]---
iwlwifi 0000:09:00.0: iwlwifi transaction failed, dumping registers
iwlwifi 0000:09:00.0: iwlwifi device config registers:
iwlwifi 0000:09:00.0: 00000000: 27238086 00100406 0280001a 00000010 fcd00004 00000000 00000000 00000000
iwlwifi 0000:09:00.0: 00000020: 00000000 00000000 00000000 00808086 00000000 000000c8 00000000 000001ff
iwlwifi 0000:09:00.0: 00000040: 00028010 10008ec0 00100c10 0345e812 10120040 00000000 00000000 00000000
iwlwifi 0000:09:00.0: 00000060: 00000000 00080812 00000005 00000006 00000002 00000000 00000000 00000000
iwlwifi 0000:09:00.0: 00000080: 800f0011 00002000 00003000 00000000 00000000 00000000 00000000 00000000
iwlwifi 0000:09:00.0: 000000a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
iwlwifi 0000:09:00.0: 000000c0: 00000000 00000000 c823d001 0d000008 00804005 00000000 00000000 00000000
iwlwifi 0000:09:00.0: 000000e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
iwlwifi 0000:09:00.0: 00000100: 14c10001 00000000 00000000 00462031 00000000 00002000 00000000 00000000
iwlwifi 0000:09:00.0: 00000120: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
iwlwifi 0000:09:00.0: 00000140: 14c00000 ff000000 000000ff 15410018 00000000 0001001e 00481e1f 00000000
iwlwifi 0000:09:00.0: iwlwifi device memory mapped registers:
iwlwifi 0000:09:00.0: 00000000: 00080000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
iwlwifi 0000:09:00.0: 00000020: 00000011 08040008 00000340 d55555d5 d55555d5 d55555d5 80008040 001f0046
iwlwifi 0000:09:00.0: iwlwifi device AER capability structure:
iwlwifi 0000:09:00.0: 00000000: 14c10001 00000000 00000000 00462031 00000000 00002000 00000000 00000000
iwlwifi 0000:09:00.0: 00000020: 00000000 00000000 00000000
iwlwifi 0000:09:00.0: iwlwifi parent port (0000:05:03.0) config registers:
iwlwifi 0000:05:03.0: 00000000: 43ea1022 00100007 06040000 00010010 00000000 00000000 00090905 000001f1
iwlwifi 0000:05:03.0: 00000020: fcd0fcd0 0001fff1 00000000 00000000 00000000 00000050 00000000 001201ff
iwlwifi 0000:05:03.0: 00000040: 00000000 00000000 00000000 00000000 00807805 00000000 00000000 00000000
iwlwifi 0000:05:03.0: 00000060: 00000000 00000000 00077811 00002000 00002080 00000000 c0438001 00000008
iwlwifi 0000:05:03.0: 00000080: 0162c010 00008022 00112910 03737813 70120040 00080d00 01480000 00000000
iwlwifi 0000:05:03.0: 000000a0: 00000000 00100800 00000000 0000000e 00000003 00000000 00000000 00000000
iwlwifi 0000:05:03.0: 000000c0: 0000000d 33081b21 00000000 00000000 00000000 00000000 00000000 00000000
iwlwifi 0000:05:03.0: 000000e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
iwlwifi 0000:05:03.0: 00000100: 20010001 00000000 00000000 00062031 00000001 00002000 00000020 00000000
iwlwifi 0000:05:03.0: 00000120: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
iwlwifi 0000:05:03.0: 00000140: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
iwlwifi 0000:05:03.0: 00000160: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
iwlwifi 0000:05:03.0: 00000180: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
iwlwifi 0000:05:03.0: 000001a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
iwlwifi 0000:05:03.0: 000001c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
iwlwifi 0000:05:03.0: 000001e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
iwlwifi 0000:05:03.0: 00000200: 00010019 00000000 00000001
iwlwifi 0000:09:00.0: FW Error occurred during suspend. Restarting.
iwlwifi 0000:09:00.0: HW error, resetting before reading
iwlwifi 0000:09:00.0: Start IWL Error Log Dump:
iwlwifi 0000:09:00.0: Transport status: 0x00000042, valid: -1009270466
iwlwifi 0000:09:00.0: Loaded firmware version: 77.0b4c06ad.0 cc-a0-77.ucode
iwlwifi 0000:09:00.0: 0x1D812CF9 | ADVANCED_SYSASSERT          
iwlwifi 0000:09:00.0: 0x3ECFA7DE | trm_hw_status0
iwlwifi 0000:09:00.0: 0x97814A80 | trm_hw_status1
iwlwifi 0000:09:00.0: 0x75B03B38 | branchlink2
iwlwifi 0000:09:00.0: 0x3994F95E | interruptlink1
iwlwifi 0000:09:00.0: 0xDE9874EC | interruptlink2
iwlwifi 0000:09:00.0: 0x2471BBDF | data1
iwlwifi 0000:09:00.0: 0x7FD7FCEE | data2
iwlwifi 0000:09:00.0: 0xF97593A3 | data3
iwlwifi 0000:09:00.0: 0x383BBA1E | beacon time
iwlwifi 0000:09:00.0: 0xB75354AA | tsf low
iwlwifi 0000:09:00.0: 0xDFA7B573 | tsf hi
iwlwifi 0000:09:00.0: 0xDEEDBEB0 | time gp1
iwlwifi 0000:09:00.0: 0x2568F97D | time gp2
iwlwifi 0000:09:00.0: 0xF47BDE7E | uCode revision type
iwlwifi 0000:09:00.0: 0x7BD7DDDF | uCode version major
iwlwifi 0000:09:00.0: 0x116357E1 | uCode version minor
iwlwifi 0000:09:00.0: 0x0E729D9D | hw version
iwlwifi 0000:09:00.0: 0xF3819FAD | board version
iwlwifi 0000:09:00.0: 0x8667A0F8 | hcmd
iwlwifi 0000:09:00.0: 0xEC47DBF4 | isr0
iwlwifi 0000:09:00.0: 0x47B83923 | isr1
iwlwifi 0000:09:00.0: 0x95D1F132 | isr2
iwlwifi 0000:09:00.0: 0x65E6181B | isr3
iwlwifi 0000:09:00.0: 0x09F9AEA7 | isr4
iwlwifi 0000:09:00.0: 0x0183CE6F | last cmd Id
iwlwifi 0000:09:00.0: 0x9BAE268E | wait_event
iwlwifi 0000:09:00.0: 0x077655D6 | l2p_control
iwlwifi 0000:09:00.0: 0x6C37FCC7 | l2p_duration
iwlwifi 0000:09:00.0: 0xFAC6BFA9 | l2p_mhvalid
iwlwifi 0000:09:00.0: 0x1DFC77AE | l2p_addr_match
iwlwifi 0000:09:00.0: 0x8CCB574B | lmpm_pmg_sel
iwlwifi 0000:09:00.0: 0xBCDD947A | timestamp
iwlwifi 0000:09:00.0: 0x8BE7355A | flow_handler
iwlwifi 0000:09:00.0: Start IWL Error Log Dump:
iwlwifi 0000:09:00.0: Transport status: 0x00000042, valid: -960707014
iwlwifi 0000:09:00.0: 0x69F04EF2 | ADVANCED_SYSASSERT
iwlwifi 0000:09:00.0: 0x753E9EDF | umac branchlink1
iwlwifi 0000:09:00.0: 0xC35797CB | umac branchlink2
iwlwifi 0000:09:00.0: 0xD0AAB5F1 | umac interruptlink1
iwlwifi 0000:09:00.0: 0xCD484CD6 | umac interruptlink2
iwlwifi 0000:09:00.0: 0xBA4FBC7B | umac data1
iwlwifi 0000:09:00.0: 0xDC6BDEE7 | umac data2
iwlwifi 0000:09:00.0: 0xE4CBF9E9 | umac data3
iwlwifi 0000:09:00.0: 0xE5281928 | umac major
iwlwifi 0000:09:00.0: 0xBF8FB85F | umac minor
iwlwifi 0000:09:00.0: 0xF61D2C4B | frame pointer
iwlwifi 0000:09:00.0: 0x4C83ACD5 | stack pointer
iwlwifi 0000:09:00.0: 0xD250CE1F | last host cmd
iwlwifi 0000:09:00.0: 0x8F67AE93 | isr status reg
iwlwifi 0000:09:00.0: IML/ROM dump:
iwlwifi 0000:09:00.0: 0x00000000 | IML/ROM error/state
iwlwifi 0000:09:00.0: 0x00000000 | IML/ROM data1
iwlwifi 0000:09:00.0: 0x00000000 | IML/ROM WFPM_AUTH_KEY_0
iwlwifi 0000:09:00.0: Fseq Registers:
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | FSEQ_ERROR_CODE
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | FSEQ_TOP_INIT_VERSION
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | FSEQ_CNVIO_INIT_VERSION
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | FSEQ_OTP_VERSION
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | FSEQ_TOP_CONTENT_VERSION
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | FSEQ_ALIVE_TOKEN
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | FSEQ_CNVI_ID
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | FSEQ_CNVR_ID
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | CNVI_AUX_MISC_CHIP
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | CNVR_AUX_MISC_CHIP
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | FSEQ_PREV_CNVIO_INIT_VERSION
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | FSEQ_WIFI_FSEQ_VERSION
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | FSEQ_BT_FSEQ_VERSION
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | FSEQ_CLASS_TP_VERSION
iwlwifi 0000:09:00.0: UMAC CURRENT PC: 0xa5a5a5a2
iwlwifi 0000:09:00.0: LMAC1 CURRENT PC: 0xa5a5a5a2
iwlwifi 0000:09:00.0: WRT: Collecting data: ini trigger 4 fired (delay=0ms).
Comment 23 Emmanuel Grumbach 2024-12-17 17:50:53 UTC
Created attachment 307367 [details]
yet another patch

I think that my latest rework killed that again..
we don't have test for this flow because it is very unlikely...

Sorry for the mess.
Yet another patch to test?

Thanks for your patience!
Comment 24 Avraham Hollander 2024-12-17 18:02:45 UTC
Looks like it's falling through to FW_ERROR, based on the lack of "Rfkill was toggled during suspend".

------------[ cut here ]------------
Timeout waiting for hardware access (CSR_GP_CNTRL 0x08040008)
WARNING: CPU: 1 PID: 2861 at drivers/net/wireless/intel/iwlwifi/pcie/trans.c:2246 __iwl_trans_pcie_grab_nic_access+0x157/0x160 [iwlwifi]
Modules linked in: fuse ctr ccm algif_aead crypto_null des3_ede_x86_64 cbc des_generic libdes ecb algif_skcipher cmac md5 md4 algif_hash af_alg mousedev ipv6 zram zsmalloc hid_generic usbhid vfat hid fat amdgpu iwlmvm mac80211 snd_hda_codec_realtek snd_hda_codec_generic snd_hda_scodec_component libarc4 led_class i2c_algo_bit drm_ttm_helper snd_hda_codec_hdmi iwlwifi ttm crc32_pclmul video crc32c_intel snd_hda_intel drm_exec polyval_clmulni snd_intel_dspcfg drm_suballoc_helper amdxcp snd_hda_codec polyval_generic drm_buddy ghash_clmulni_intel snd_hwdep cfg80211 gpu_sched sha512_ssse3 snd_hda_core sha512_generic drm_display_helper sha256_ssse3 sha1_ssse3 drm_kms_helper snd_pcm aesni_intel xhci_pci evdev rfkill snd_timer tpm_crb crypto_simd drm xhci_hcd snd cryptd wmi_bmof tpm_tis tpm_tis_core pkcs8_key_parser ccp soundcore backlight i2c_piix4 tpm usbcore i2c_dev rtc_cmos i2c_smbus rng_core libaescfb usb_common i2c_core ecdh_generic gpio_amdpt ecc gpio_generic k10temp button efivarfs
CPU: 1 UID: 0 PID: 2861 Comm: kworker/u48:16 Not tainted 6.12.5-vanilla-test #1
Hardware name: ASUS System Product Name/PRIME B550M-A AC, BIOS 3611 09/29/2024
Workqueue: async async_run_entry_fn
Sched_ext: lavd (enabled+all), task: runnable_at=-19ms
RIP: 0010:__iwl_trans_pcie_grab_nic_access+0x157/0x160 [iwlwifi]
Code: 41 e1 31 c0 e9 76 ff ff ff 31 f6 48 89 df e8 a0 fd ff ff eb e5 89 c6 48 c7 c7 18 3b 55 a0 c6 05 10 ee 01 00 01 e8 29 9f b4 e0 <0f> 0b eb a5 0f 1f 44 00 00 0f 1f 44 00 00 48 83 ec 08 65 81 05 64
RSP: 0018:ffffc90000b0fb48 EFLAGS: 00010202
RAX: 000000000000003d RBX: ffff888106290028 RCX: 0000000000000001
RDX: ffffffff8250d4d8 RSI: 0000000000000086 RDI: 0000000000000001
RBP: 0000000008040008 R08: 0000000000000000 R09: ffffffff824dd268
R10: 00000000ffffe000 R11: 0000000000000002 R12: ffff888106291c94
R13: 0000000000000001 R14: 0000000000000011 R15: ffff88814a11a018
FS:  0000000000000000(0000) GS:ffff88841de40000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000002416000 CR4: 0000000000350eb0
Call Trace:
 <TASK>
 ? __iwl_trans_pcie_grab_nic_access+0x157/0x160 [iwlwifi]
 ? __warn.cold+0xad/0x108
 ? __iwl_trans_pcie_grab_nic_access+0x157/0x160 [iwlwifi]
 ? report_bug+0x122/0x170
 ? up+0x16/0x50
 ? handle_bug+0x4f/0x90
 ? exc_invalid_op+0x17/0x70
 ? asm_exc_invalid_op+0x16/0x20
 ? __iwl_trans_pcie_grab_nic_access+0x157/0x160 [iwlwifi]
 ? __iwl_trans_pcie_grab_nic_access+0x157/0x160 [iwlwifi]
 iwl_trans_pcie_grab_nic_access+0x19/0x40 [iwlwifi]
 iwl_trans_pcie_read_mem+0x3d/0x100 [iwlwifi]
 iwl_fwrt_read_err_table+0x36/0x70 [iwlwifi]
 iwl_mvm_check_rt_status+0x25/0xe0 [iwlmvm]
 ? acpi_os_release_object+0xa/0x10
 ? acpi_ut_update_object_reference+0x5b/0x1e0
 ? iwl_fw_dbg_read_d3_debug_data+0x47/0xe0 [iwlwifi]
 iwl_mvm_fast_resume+0x87/0x1a0 [iwlmvm]
 __iwl_mvm_mac_start+0xf9/0x2f0 [iwlmvm]
 iwl_mvm_mac_start+0x47/0x100 [iwlmvm]
 drv_start+0x33/0xf0 [mac80211]
 ieee80211_reconfig+0x71/0x14e0 [mac80211]
 ? ttwu_do_activate.isra.0+0xb3/0x1e0
 ? wait_for_completion+0x22/0x100
 ? try_to_wake_up+0x23c/0x500
 wiphy_resume+0x7e/0x1a0 [cfg80211]
 ? wiphy_suspend+0x2e0/0x2e0 [cfg80211]
 dpm_run_callback+0x2b/0xe0
 device_resume+0xbd/0x3a0
 async_resume+0x19/0x30
 async_run_entry_fn+0x2e/0xc0
 process_one_work+0x144/0x2e0
 worker_thread+0x2fa/0x430
 ? flush_rcu_work+0x50/0x50
 kthread+0xc5/0xf0
 ? kthread_park+0x80/0x80
 ret_from_fork+0x49/0x60
 ? kthread_park+0x80/0x80
 ret_from_fork_asm+0x11/0x20
 </TASK>
---[ end trace 0000000000000000 ]---
iwlwifi 0000:09:00.0: iwlwifi transaction failed, dumping registers
iwlwifi 0000:09:00.0: iwlwifi device config registers:
iwlwifi 0000:09:00.0: 00000000: 27238086 00100406 0280001a 00000010 fcd00004 00000000 00000000 00000000
iwlwifi 0000:09:00.0: 00000020: 00000000 00000000 00000000 00808086 00000000 000000c8 00000000 000001ff
iwlwifi 0000:09:00.0: 00000040: 00028010 10008ec0 00100c10 0345e812 10120040 00000000 00000000 00000000
iwlwifi 0000:09:00.0: 00000060: 00000000 00080812 00000005 00000006 00000002 00000000 00000000 00000000
iwlwifi 0000:09:00.0: 00000080: 800f0011 00002000 00003000 00000000 00000000 00000000 00000000 00000000
iwlwifi 0000:09:00.0: 000000a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
iwlwifi 0000:09:00.0: 000000c0: 00000000 00000000 c823d001 0d000008 00804005 00000000 00000000 00000000
iwlwifi 0000:09:00.0: 000000e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
iwlwifi 0000:09:00.0: 00000100: 14c10001 00000000 00000000 00462031 00000000 00002000 00000000 00000000
iwlwifi 0000:09:00.0: 00000120: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
iwlwifi 0000:09:00.0: 00000140: 14c00000 ff000000 000000ff 15410018 00000000 0001001e 00481e1f 00000000
iwlwifi 0000:09:00.0: iwlwifi device memory mapped registers:
iwlwifi 0000:09:00.0: 00000000: 00080000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
iwlwifi 0000:09:00.0: 00000020: 00000011 08040008 00000340 d55555d5 d55555d5 d55555d5 80008040 001f0046
iwlwifi 0000:09:00.0: iwlwifi device AER capability structure:
iwlwifi 0000:09:00.0: 00000000: 14c10001 00000000 00000000 00462031 00000000 00002000 00000000 00000000
iwlwifi 0000:09:00.0: 00000020: 00000000 00000000 00000000
iwlwifi 0000:09:00.0: iwlwifi parent port (0000:05:03.0) config registers:
iwlwifi 0000:05:03.0: 00000000: 43ea1022 00100007 06040000 00010010 00000000 00000000 00090905 000001f1
iwlwifi 0000:05:03.0: 00000020: fcd0fcd0 0001fff1 00000000 00000000 00000000 00000050 00000000 001201ff
iwlwifi 0000:05:03.0: 00000040: 00000000 00000000 00000000 00000000 00807805 00000000 00000000 00000000
iwlwifi 0000:05:03.0: 00000060: 00000000 00000000 00077811 00002000 00002080 00000000 c0438001 00000008
iwlwifi 0000:05:03.0: 00000080: 0162c010 00008022 00112910 03737813 70120040 00080d00 01480000 00000000
iwlwifi 0000:05:03.0: 000000a0: 00000000 00100800 00000000 0000000e 00000003 00000000 00000000 00000000
iwlwifi 0000:05:03.0: 000000c0: 0000000d 33081b21 00000000 00000000 00000000 00000000 00000000 00000000
iwlwifi 0000:05:03.0: 000000e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
iwlwifi 0000:05:03.0: 00000100: 20010001 00000000 00000000 00062031 00000001 00002000 00000020 00000000
iwlwifi 0000:05:03.0: 00000120: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
iwlwifi 0000:05:03.0: 00000140: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
iwlwifi 0000:05:03.0: 00000160: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
iwlwifi 0000:05:03.0: 00000180: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
iwlwifi 0000:05:03.0: 000001a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
iwlwifi 0000:05:03.0: 000001c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
iwlwifi 0000:05:03.0: 000001e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
iwlwifi 0000:05:03.0: 00000200: 00010019 00000000 00000001
iwlwifi 0000:09:00.0: FW Error occurred during suspend. Restarting.
iwlwifi 0000:09:00.0: HW error, resetting before reading
iwlwifi 0000:09:00.0: Start IWL Error Log Dump:
iwlwifi 0000:09:00.0: Transport status: 0x00000042, valid: -891829985
iwlwifi 0000:09:00.0: Loaded firmware version: 77.0b4c06ad.0 cc-a0-77.ucode
iwlwifi 0000:09:00.0: 0x1D812CF9 | ADVANCED_SYSASSERT          
iwlwifi 0000:09:00.0: 0x3ECFB75E | trm_hw_status0
iwlwifi 0000:09:00.0: 0x9F914A80 | trm_hw_status1
iwlwifi 0000:09:00.0: 0x75B03B38 | branchlink2
iwlwifi 0000:09:00.0: 0x3914F95E | interruptlink1
iwlwifi 0000:09:00.0: 0xDE9874EC | interruptlink2
iwlwifi 0000:09:00.0: 0x2471BBDF | data1
iwlwifi 0000:09:00.0: 0x76D7FCEA | data2
iwlwifi 0000:09:00.0: 0xF96583A3 | data3
iwlwifi 0000:09:00.0: 0x381BBA3E | beacon time
iwlwifi 0000:09:00.0: 0xB75354A3 | tsf low
iwlwifi 0000:09:00.0: 0xDFA7A562 | tsf hi
iwlwifi 0000:09:00.0: 0xDEE5BEB0 | time gp1
iwlwifi 0000:09:00.0: 0x2568F97D | time gp2
iwlwifi 0000:09:00.0: 0x746BDE7E | uCode revision type
iwlwifi 0000:09:00.0: 0x7BD7DDDF | uCode version major
iwlwifi 0000:09:00.0: 0x116355E1 | uCode version minor
iwlwifi 0000:09:00.0: 0x0E72DDFD | hw version
iwlwifi 0000:09:00.0: 0xF383BFAD | board version
iwlwifi 0000:09:00.0: 0x866780FA | hcmd
iwlwifi 0000:09:00.0: 0xEC07DBF1 | isr0
iwlwifi 0000:09:00.0: 0x43B83D23 | isr1
iwlwifi 0000:09:00.0: 0x95F1B1B2 | isr2
iwlwifi 0000:09:00.0: 0x25B618DB | isr3
iwlwifi 0000:09:00.0: 0x08FBAEA5 | isr4
iwlwifi 0000:09:00.0: 0x0D83CE6F | last cmd Id
iwlwifi 0000:09:00.0: 0x1BAF268E | wait_event
iwlwifi 0000:09:00.0: 0x077675DE | l2p_control
iwlwifi 0000:09:00.0: 0x6C377CC7 | l2p_duration
iwlwifi 0000:09:00.0: 0xFAC2BFA9 | l2p_mhvalid
iwlwifi 0000:09:00.0: 0x19FC77BA | l2p_addr_match
iwlwifi 0000:09:00.0: 0x8CCB57CB | lmpm_pmg_sel
iwlwifi 0000:09:00.0: 0xF8DD547A | timestamp
iwlwifi 0000:09:00.0: 0x0BF7355A | flow_handler
iwlwifi 0000:09:00.0: Start IWL Error Log Dump:
iwlwifi 0000:09:00.0: Transport status: 0x00000042, valid: -423836102
iwlwifi 0000:09:00.0: 0x69E04EF2 | ADVANCED_SYSASSERT
iwlwifi 0000:09:00.0: 0x753A9EDF | umac branchlink1
iwlwifi 0000:09:00.0: 0x835787CB | umac branchlink2
iwlwifi 0000:09:00.0: 0xD22AB4F1 | umac interruptlink1
iwlwifi 0000:09:00.0: 0xCD484CD6 | umac interruptlink2
iwlwifi 0000:09:00.0: 0xBA4FFC79 | umac data1
iwlwifi 0000:09:00.0: 0xF46BDCE7 | umac data2
iwlwifi 0000:09:00.0: 0xA4CBF9E9 | umac data3
iwlwifi 0000:09:00.0: 0xF5281828 | umac major
iwlwifi 0000:09:00.0: 0xBF8FB85F | umac minor
iwlwifi 0000:09:00.0: 0xF61B2C4B | frame pointer
iwlwifi 0000:09:00.0: 0x4E83BCD5 | stack pointer
iwlwifi 0000:09:00.0: 0xD050CE3F | last host cmd
iwlwifi 0000:09:00.0: 0x8F67AE93 | isr status reg
iwlwifi 0000:09:00.0: IML/ROM dump:
iwlwifi 0000:09:00.0: 0x00000000 | IML/ROM error/state
iwlwifi 0000:09:00.0: 0x00000000 | IML/ROM data1
iwlwifi 0000:09:00.0: 0x00000000 | IML/ROM WFPM_AUTH_KEY_0
iwlwifi 0000:09:00.0: Fseq Registers:
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | FSEQ_ERROR_CODE
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | FSEQ_TOP_INIT_VERSION
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | FSEQ_CNVIO_INIT_VERSION
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | FSEQ_OTP_VERSION
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | FSEQ_TOP_CONTENT_VERSION
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | FSEQ_ALIVE_TOKEN
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | FSEQ_CNVI_ID
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | FSEQ_CNVR_ID
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | CNVI_AUX_MISC_CHIP
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | CNVR_AUX_MISC_CHIP
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | FSEQ_PREV_CNVIO_INIT_VERSION
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | FSEQ_WIFI_FSEQ_VERSION
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | FSEQ_BT_FSEQ_VERSION
iwlwifi 0000:09:00.0: 0xA5A5A5A2 | FSEQ_CLASS_TP_VERSION
iwlwifi 0000:09:00.0: UMAC CURRENT PC: 0xa5a5a5a2
iwlwifi 0000:09:00.0: LMAC1 CURRENT PC: 0xa5a5a5a2
iwlwifi 0000:09:00.0: WRT: Collecting data: ini trigger 4 fired (delay=0ms).
Comment 25 Emmanuel Grumbach 2024-12-17 18:04:00 UTC
I was expecting err_id to be 0...
Comment 26 Emmanuel Grumbach 2024-12-17 18:06:18 UTC
annoying, hard to repro on my end of course..

iwl_fwrt_read_err_table should set err_id to 0 and exit because iwl_trans_read_mem_bytes failed..
Comment 27 Frank Kruger 2024-12-23 11:18:09 UTC
(In reply to Emmanuel Grumbach from comment #21)
> Created attachment 307362 [details]
> series of patches on top of 6.12.5
> 
> This contains fixes from out internal tree.

JFYI, with kernel 6.12.6 the issue still exists, while 6.13-rc4 works fine.
Comment 28 Emmanuel Grumbach 2024-12-23 12:16:21 UTC
Created attachment 307392 [details]
patch for 6.12

I sent the patch attached to stable for 6.12
Comment 29 Emmanuel Grumbach 2024-12-23 12:17:02 UTC
Created attachment 307393 [details]
patch for 6.12

I sent the patch attached to stable for 6.12

Note You need to log in before you can comment on or make changes to this bug.