Linux kernel -stable discussions
 help / color / mirror / Atom feed
* regression from 6.12.48 to 6.12.49: usb wlan adaptor stops working: bisected
@ 2025-09-26 15:54 Wolfgang Walter
  2025-09-29 13:27 ` Greg Kroah-Hartman
  2025-09-29 14:08 ` Neronin, Niklas
  0 siblings, 2 replies; 5+ messages in thread
From: Wolfgang Walter @ 2025-09-26 15:54 UTC (permalink / raw)
  To: Niklas Neronin; +Cc: Greg Kroah-Hartman, stable

Hello,o
after upgrading to 6.12.49 my wlan adapter stops working. It is 
detected:

kernel: mt76x2u 4-2:1.0: ASIC revision: 76120044
kernel: mt76x2u 4-2:1.0: ROM patch build: 20141115060606a
kernel: usb 3-4: reset high-speed USB device number 2 using xhci_hcd
kernel: mt76x2u 4-2:1.0: Firmware Version: 0.0.00
kernel: mt76x2u 4-2:1.0: Build: 1
kernel: mt76x2u 4-2:1.0: Build Time: 201507311614____

but does nor work. The following 2 messages probably are relevant:

kernel: mt76x2u 4-2:1.0: MAC RX failed to stop
kernel: mt76x2u 4-2:1.0: MAC RX failed to stop

later I see a lot of

kernel: mt76x2u 4-2:1.0: error: mt76x02u_mcu_wait_resp failed with -110


I bisected it down to commit

9b28ef1e4cc07cdb35da257aa4358d0127168b68
usb: xhci: remove option to change a default ring's TRB cycle bit


9b28ef1e4cc07cdb35da257aa4358d0127168b68 is the first bad commit
commit 9b28ef1e4cc07cdb35da257aa4358d0127168b68
Author: Niklas Neronin <niklas.neronin@linux.intel.com>
Date:   Wed Sep 17 08:39:07 2025 -0400

     usb: xhci: remove option to change a default ring's TRB cycle bit

     [ Upstream commit e1b0fa863907a61e86acc19ce2d0633941907c8e ]

     The TRB cycle bit indicates TRB ownership by the Host Controller 
(HC) or
     Host Controller Driver (HCD). New rings are initialized with 
'cycle_state'
     equal to one, and all its TRBs' cycle bits are set to zero. When 
handling
     ring expansion, set the source ring cycle bits to the same value as 
the
     destination ring.

     Move the cycle bit setting from xhci_segment_alloc() to 
xhci_link_rings(),
     and remove the 'cycle_state' argument from 
xhci_initialize_ring_info().
     The xhci_segment_alloc() function uses kzalloc_node() to allocate 
segments,
     ensuring that all TRB cycle bits are initialized to zero.

     Signed-off-by: Niklas Neronin <niklas.neronin@linux.intel.com>
     Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
     Link: 
https://lore.kernel.org/r/20241106101459.775897-12-mathias.nyman@linux.intel.com
     Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
     Stable-dep-of: a5c98e8b1398 ("xhci: dbc: Fix full DbC transfer ring 
after several reconnects")
     Signed-off-by: Sasha Levin <sashal@kernel.org>
     Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>




Regards,
-- 
Wolfgang Walter
Studierendenwerk München Oberbayern
Anstalt des öffentlichen Rechts

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-09-30 17:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-26 15:54 regression from 6.12.48 to 6.12.49: usb wlan adaptor stops working: bisected Wolfgang Walter
2025-09-29 13:27 ` Greg Kroah-Hartman
2025-09-30 17:56   ` Wolfgang Walter
2025-09-29 14:08 ` Neronin, Niklas
2025-09-29 17:53   ` Wolfgang Walter

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