From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 195363932FA for ; Mon, 13 Apr 2026 20:24:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776111881; cv=none; b=aDzemKbpdQwL4OkckAY0L+d+yJQ+ua0flZ1xnVK80cwAGuyBz9H0eoLgMynq+A5qPGTfjtgNYR67DpbIbtDiTAaHLT+6rEh+idkDZSj5+26Nfjyaz/xc7LSpwvqk+ZDHkPqTedf5JnbVHvs4Vt9toB1lxW7dnYQsi27DZPYyDMg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776111881; c=relaxed/simple; bh=r035kg2j5tap0sXoLHNh8z+DMzv3pfkJNjVz0DQOCNw=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=RyOr16tWHFjuuRKDyPznbbAm6pgQB240W/qw5i9lrxe+ZmG9mTDft0eQQDGhTSq5ZVMzI2FJxZd6kZqm7ZGk/spsm6RxoWfXeWwa0Mf7vBTzyMgFBkdHSQcF2Kfc+/vdQtqJroFUfDVGID8fYMstiSZCGVcmhLkjBYnM5nHV82U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=IrR7S2ik; arc=none smtp.client-ip=209.85.128.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="IrR7S2ik" Received: by mail-wm1-f53.google.com with SMTP id 5b1f17b1804b1-488a9033b2cso58982345e9.2 for ; Mon, 13 Apr 2026 13:24:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1776111878; x=1776716678; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=e+Q7hBnkIm57QECCVy2ANNrMAu0aGQ9vQGD+qze2OxU=; b=IrR7S2ikOIlFA4P1IcTIsOdMb7lDHUPEN+r7tc0VPjp5SIzRUhJ9blk3xXoTkm0oqr 3aTjY5wv6ouqALgxjxqjLyH9PJ9f9KJ8SxqKVLtBmMjGBh6HGrsKmtoZfMFxSL3ZHfQG 8wpSPBznm9rxe+QbFFMZftpaSEZN2swhLHStaTs84CFbr5NLwncDl/JWZ9dPuizsbRVs 0xvyHjRxkpxHHHeSwmTXe3x/vXxetXXhTtOFgRPcgsgMaeiHywM9cTtT4tKBBKGTVHzT IK67kEuPe+B6BHRqJq84SV1HMbRlsKrRAViBpoFccbXkzwnMbkYoAbViBBBHx9ywnCqZ 7p9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1776111878; x=1776716678; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=e+Q7hBnkIm57QECCVy2ANNrMAu0aGQ9vQGD+qze2OxU=; b=VQBEIlkQES3h2PIFR9jL0IF+7cM5cUhyHQJt2tCP4Bg4b5u5FxaE4busV1bLr6Ao09 qHhRr/XQDcDblhW5ibvVAHkuOeuLInhBGHqMn86X6xt5ctvXJQuhE9vtKbY8kSTRkO9A AeufFmeEUqdMlS+j+2pcRmYI+g9vMaYKZwbDcvYTPycn8F0wE1HqX62bG448KsGm5Cu6 gk3X01ibBwhigzDfxwrCD6FxizdErI/FevKxEf1GIon4EfVn0lCWxhIgby00WQnY1Ic5 iFYLnrYmxZgXvkjnJoIBpuc0bvKsfzfGLHHmVZMnvxvD8ZTqI3cQlaukmPMXXIYaCy3W tErw== X-Forwarded-Encrypted: i=1; AFNElJ+cw74DhpHdrm3qHXaBHmgWB1FacUbOrj3yAlll4hROnfROBBp0sl5FcObWXU7uKXsVQhfvo/mWeeg=@vger.kernel.org X-Gm-Message-State: AOJu0YxkNgFt0gHaVPegliHDv1DWV1JUuZLA+cBHRL5H+WYFvtuEngZt 5r0dfJvHwANg7cMlmJib7oCKmTjt++LEq93VFG0iCXq1F6UCtMzBGNu4 X-Gm-Gg: AeBDietWDpe8+p4We16NCeo1ukVQmZwWnWDNf9HxGmSi3iJ4MNY8SI5jV7oZCfVBNAf PW6r2XP2LOQ72oEuWrDAiH5/RIR04uUveQ0vgb/i/7an/Oqr4PR4Oh4qvUtohDWu19j66r9ZFD/ F/+UMMgWB9vZi5VV/gDR/TjlZusgRCim9nNgktQ72k+9t86aG2tP5fURBPI+pdl+bhZNERqB/3Z g5N6eWQXQKZLlkgwYFUasIsp3eZU0U4k5k1SjlxfMB3oX50+GnEUMwq2NxO9ZNRoxbKRSzS9L0t DL4ImtbmjHxmCVHN2P1uw26141DC8J0qoz0cSF9CdGCFiwZeRnV3yEjpi/D05qzRdTMMQT3Q8P/ 7xKLBs1hNpECQwHzLalIouAbwIj9GSmlJBTYXn1jASBNtnLWdqwjMCS1f+8EKewQyz4IjG1A6xV SSeHDejT8H85vKsAdrQBf+auoB/ILCrC8o4q5a4YmQNqSsMA== X-Received: by 2002:a05:600c:3b24:b0:488:c078:bfda with SMTP id 5b1f17b1804b1-488d688d2a1mr202847345e9.26.1776111878178; Mon, 13 Apr 2026 13:24:38 -0700 (PDT) Received: from foxbook (bfi125.neoplus.adsl.tpnet.pl. [83.28.46.125]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-488d67e685csm159780385e9.6.2026.04.13.13.24.36 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Mon, 13 Apr 2026 13:24:37 -0700 (PDT) Date: Mon, 13 Apr 2026 22:24:32 +0200 From: Michal Pecio To: Jeffrey Hein Cc: Mathias Nyman , Ricardo Ribalda , Alan Stern , Laurent Pinchart , Hans de Goede , Greg Kroah-Hartman , linux-media@vger.kernel.org, linux-usb@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH v5 2/3] media: uvcvideo: add UVC_QUIRK_CTRL_THROTTLE for fragile firmware Message-ID: <20260413222432.3f15151c.michal.pecio@gmail.com> In-Reply-To: References: <20260331003806.212565-1-jp@jphein.com> <20260331003806.212565-3-jp@jphein.com> <20260409100247.7cfb62d1.michal.pecio@gmail.com> <20260409221749.5e6bccab.michal.pecio@gmail.com> Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Fri, 10 Apr 2026 16:06:43 -0700, Jeffrey Hein wrote: > Test 2: Michal's xhci patch ONLY (clean isolation) > ==================================================== > Active: ONLY Michal's xhci patch. No usbcore.quirks cmdline, stock > uvcvideo (DKMS module disabled), LPM and autosuspend at defaults. > > Result: HC survived. > > Video call ran successfully. Something weird when video was being disabled: [Fri Apr 10 15:44:31 2026] xhci_hcd 0000:00:14.0: Spurious event dma 0x0000000272e42200, comp_code 13 after 13 [Fri Apr 10 15:44:31 2026] xhci_hcd 0000:00:14.0: Spurious event dma 0x0000000272e42230, comp_code 13 after 13 [Fri Apr 10 15:44:31 2026] xhci_hcd 0000:00:14.0: Cancel URB 0000000052d839d8, dev 3.1, ep 0x81, starting at offset 0x272e42f00 [Fri Apr 10 15:44:31 2026] xhci_hcd 0000:00:14.0: // Ding dong! [Fri Apr 10 15:44:31 2026] xhci_hcd 0000:00:14.0: Stopped on Transfer TRB for slot 36 ep 2 [Fri Apr 10 15:44:31 2026] xhci_hcd 0000:00:14.0: Removing canceled TD starting at 0x272e42f00 (dma) in stream 0 URB 0000000052d839d8 [...] [Fri Apr 10 15:44:31 2026] xhci_hcd 0000:00:14.0: xhci_giveback_invalidated_tds: Giveback cancelled URB 0000000052d839d8 TD [Fri Apr 10 15:44:31 2026] xhci_hcd 0000:00:14.0: Cancel URB 00000000d8d84b58, dev 3.1, ep 0x81, starting at offset 0x260549210 [Fri Apr 10 15:44:31 2026] xhci_hcd 0000:00:14.0: // Ding dong! [Fri Apr 10 15:44:31 2026] xhci_hcd 0000:00:14.0: ERROR Unknown event condition 198 for slot 36 ep 2 , HC probably busted [Fri Apr 10 15:44:31 2026] xhci_hcd 0000:00:14.0: ERROR Unknown event condition 198 for slot 36 ep 2 , HC probably busted [Fri Apr 10 15:44:31 2026] xhci_hcd 0000:00:14.0: ERROR Unknown event condition 198 for slot 36 ep 2 , HC probably busted [Fri Apr 10 15:44:31 2026] xhci_hcd 0000:00:14.0: ERROR Unknown event condition 198 for slot 36 ep 2 , HC probably busted [Fri Apr 10 15:44:31 2026] xhci_hcd 0000:00:14.0: ERROR Unknown event condition 198 for slot 36 ep 2 , HC probably busted [Fri Apr 10 15:44:31 2026] xhci_hcd 0000:00:14.0: ERROR Unknown event condition 198 for slot 36 ep 2 , HC probably busted [Fri Apr 10 15:44:31 2026] xhci_hcd 0000:00:14.0: ERROR Unknown event condition 198 for slot 36 ep 2 , HC probably busted [Fri Apr 10 15:44:31 2026] xhci_hcd 0000:00:14.0: ERROR Unknown event condition 198 for slot 36 ep 2 , HC probably busted [Fri Apr 10 15:44:31 2026] xhci_hcd 0000:00:14.0: Transfer error for slot 36 ep 2 on endpoint [Fri Apr 10 15:44:31 2026] xhci_hcd 0000:00:14.0: ERROR Unknown event condition 198 for slot 36 ep 2 , HC probably busted [Fri Apr 10 15:44:31 2026] xhci_hcd 0000:00:14.0: Stopped on Transfer TRB for slot 36 ep 2 [...] [Fri Apr 10 15:44:31 2026] xhci_hcd 0000:00:14.0: drop ep 0x81, slot id 36, new drop flags = 0x8, new add flags = 0x0 Video started again, seemed to work for a while: [Fri Apr 10 15:44:47 2026] xhci_hcd 0000:00:14.0: add ep 0x81, slot id 36, new drop flags = 0x0, new add flags = 0x8 [Fri Apr 10 15:44:47 2026] xhci_hcd 0000:00:14.0: xhci_check_bandwidth called for udev 00000000e40f0c43 [Fri Apr 10 15:44:47 2026] xhci_hcd 0000:00:14.0: // Ding dong! [Fri Apr 10 15:44:47 2026] xhci_hcd 0000:00:14.0: Successful Endpoint Configure command [Fri Apr 10 15:44:47 2026] usb 2-3.1: Hub-initiated U1 disabled due to long timeout 16800us [Fri Apr 10 15:44:47 2026] usb 2-3.1: Hub-initiated U1 disabled due to long timeout 132us [Fri Apr 10 15:44:47 2026] usb 2-3.1: Hub-initiated U1 disabled due to long timeout 1050us [Fri Apr 10 15:44:47 2026] xhci_hcd 0000:00:14.0: Set up evaluate context for LPM MEL change. [Fri Apr 10 15:44:47 2026] xhci_hcd 0000:00:14.0: // Ding dong! [Fri Apr 10 15:44:47 2026] xhci_hcd 0000:00:14.0: Successful evaluate context command [Fri Apr 10 15:44:47 2026] usb 2-3.1: Disable U2, ESIT shorter than exit latency [Fri Apr 10 15:44:47 2026] xhci_hcd 0000:00:14.0: Spurious event dma 0x0000000260549020, comp_code 13 after 13 [Fri Apr 10 15:44:47 2026] xhci_hcd 0000:00:14.0: Spurious event dma 0x0000000260549050, comp_code 13 after 13 Until it broke, not sure what caused this. No EP5IN unlinks here. [Fri Apr 10 15:45:09 2026] xhci_hcd 0000:00:14.0: Spurious event dma 0x0000000272e42690, comp_code 13 after 13 [Fri Apr 10 15:45:09 2026] xhci_hcd 0000:00:14.0: Spurious event dma 0x0000000272e426d0, comp_code 13 after 13 [Fri Apr 10 15:45:09 2026] xhci_hcd 0000:00:14.0: No Ping response error for slot 36 ep 2, Skip one Isoc TD [Fri Apr 10 15:45:09 2026] xhci_hcd 0000:00:14.0: No Ping response error for slot 36 ep 2, Skip one Isoc TD [Fri Apr 10 15:45:09 2026] xhci_hcd 0000:00:14.0: No Ping response error for slot 36 ep 2, Skip one Isoc TD Then EP5IN also fails and is soft-retried, but it doesn't help. Control requests get EPROTO or ETIMEDOUT as usual. [Fri Apr 10 15:45:09 2026] xhci_hcd 0000:00:14.0: Transfer error for slot 36 ep 10 on endpoint [Fri Apr 10 15:45:09 2026] xhci_hcd 0000:00:14.0: Soft-reset ep 10, slot 36 Looks like the device is dead indeed, or the HC broke down and can't communiate with it.