UCSI retry floods boot logs after USB merge for 7.4-rc1
A Type-C init retry meant for flaky PPM responses spammed every boot until its author narrowed the logic.
After the USB and Thunderbolt updates for Linux 7.4-rc1 merged, Linus Torvalds reported that a new UCSI initialization retry was flooding his laptop boot log with more than a hundred identical error lines on every startup.
The change, from Jacob Riff, was meant to retry UCSI setup when a Platform Policy Manager answers early commands incorrectly for a short window during boot. On Torvalds's machine the failure is permanent: no USB role switch is available, so port registration always fails. Before the retry logic that produced a pair of error lines. Afterward the driver retried on the order of a hundred times over ten seconds, logging the role-switch failure each time before finally giving up. Torvalds called the volume excessive, noting the retries had never succeeded on that laptop and had no effect beyond the noise.
Riff posted a fix the same day. It retries only genuine PPM-not-ready cases, for about one second instead of ten, and lets permanent errors such as a missing role switch fail once, as they did before. He also noted that building UCSI without USB role switch support has long been a separate dead end at probe time.
The broader pull from Greg Kroah-Hartman covered Thunderbolt, xHCI, Type-C, gadget, dwc3, device-tree schema work, and assorted fixes already carried in linux-next.