linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [REGRESSION] usb: xhci port capability storage change broke fastboot android bootloader utility
@ 2024-12-27 21:59 Forest
  2025-01-02 14:13 ` Mathias Nyman
  0 siblings, 1 reply; 13+ messages in thread
From: Forest @ 2024-12-27 21:59 UTC (permalink / raw)
  To: Mathias Nyman; +Cc: linux-usb, regressions, stable

#regzbot introduced: 63a1f8454962

Dear maintainer,

I think I have found a regression in kernels version 6.10 and newer,
including the latest mainline v6.13-rc4:

fastboot (the tool for communicating with Android bootloaders) now fails to
perform various operations over USB.

The problem manifests as an error when attempting to 'fastboot flash' an
image (e.g. a new kernel containing security updates) to a LineageOS phone.
It also manifests with simpler operations like reading a variable from the
bootloader. For example:

  fastboot getvar kernel

A typical error message when the failure occurs:

  getvar:kernel  FAILED (remote: 'GetVar Variable Not found')

I can reproduce this at will. It happens about 50% of the time when I
run the above getvar command, and almost all the time when I try to push
a new kernel to a device.

A git bisect reveals this:

63a1f8454962a64746a59441687dc2401290326c is the first bad commit
commit 63a1f8454962a64746a59441687dc2401290326c
Author: Mathias Nyman <mathias.nyman@linux.intel.com>
Date:   Mon Apr 29 17:02:28 2024 +0300
    xhci: stored cached port capability values in one place

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

end of thread, other threads:[~2025-02-14 15:55 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-27 21:59 [REGRESSION] usb: xhci port capability storage change broke fastboot android bootloader utility Forest
2025-01-02 14:13 ` Mathias Nyman
2025-01-05 23:42   ` Forest
2025-01-07 12:29     ` Mathias Nyman
2025-01-11  0:00       ` Forest
2025-01-13 15:05         ` Mathias Nyman
2025-01-15  1:38           ` Forest
2025-01-15  7:33             ` Greg KH
2025-01-24 19:44           ` Forest
2025-01-29 11:01             ` Mathias Nyman
2025-02-13 20:24               ` Salvatore Bonaccorso
2025-02-14 12:29                 ` Mathias Nyman
2025-02-14 15:55                   ` Salvatore Bonaccorso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).