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 C41BF17B43F for ; Sat, 11 Apr 2026 13:39:41 +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=1775914783; cv=none; b=h8Q5qqJ8B2mzdrL78RjLn117qMf7mCHsqqzN8aXJ2n/rYO3J46ZN/rkY9emQ7CvC1cKZ7larExLYVpCfhvaRHJzEuwvrP0LEhLqMqWMsjaTTCMRz8s8w1s3hPrKQOMv9AnsJ1n8lVlxD2XVMYpNwZVI43lAJXQb4V7oThzJLP7g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775914783; c=relaxed/simple; bh=GlYCZfWgWZ+Auk8Kau0yI40Dl4yPnI6VLalMiXlRhRg=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=TX2b6FURSfK8PaMhd/RL3a71E9jRtuyyHj+lG8I3/EBxcsxXu86r++83yc48+4aRAIV3usqICwdd8hXLc1BdewpxM1Z9KNRoaWwYvogz/VY/kzeLLnE9WjCBLDYqWD72xjtYQ0I7zsD0JGmcEK/bnMqzP1bq8jiQ2fg/w0Qxg+M= 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=NaJqVQ36; 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="NaJqVQ36" Received: by mail-wm1-f53.google.com with SMTP id 5b1f17b1804b1-48896199cbaso31685445e9.1 for ; Sat, 11 Apr 2026 06:39:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1775914780; x=1776519580; 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=pDRr3a1WzbFHjnYdc5Yz0jdXm1HUWqyueTEULNfk4+U=; b=NaJqVQ36UnAvMXD6iIduaGM/LB1QYrOxPYSAR5JnvcrjYm0aFHr6nXJNegqNQr6CO4 5mB9QEvjTUFJ9YODYPs+OOl8Kc/ctWPJ7f5/NHSb4+01tml3n3zyw1b7C6GskQc+ZDH+ 3h9mPl4gZ/U9jzNEKGV6yNMWc9wPZtl0KR5MnVKFBAoYnQzqLGEhM+1W3HLCNWeRQxF8 1CU1zmrGd8P3lwvc28Gt49CfLkm9mPL91GaaRYQApA49bO3DfakkZCYx6Vqx0jaPEIZc 48zGYJysJiLfBx70dLWSWeTXMo6yIKjk0bhKiqOj6DW2VTcHabry0aFhPNjeb4MyRCvZ jaBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1775914780; x=1776519580; 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=pDRr3a1WzbFHjnYdc5Yz0jdXm1HUWqyueTEULNfk4+U=; b=JWbiDRVPrmohlHx0azNVrXu7V6Ls9dYmzlPMIzP5xXdD4yXS9bbq+YOycPL7KDfpkm sll8ALyyTk4tPJeCGEJw8Gggj9Cpt7UvjLHfeddl9lD7GAQBOPOjKz2KZAn9DAsrZv5X SE4AbNw3hWFsaB530dgfIoU2l56Q0AnIJfOySTWuFRFH8YshwK65yCMm5azb9J9wG5/L 5+xrGsmu7Na4n/OrVYwA+TJ1uRbDzrwTvHe6z0dbUlb/lMv8WPdPaxaR5DjESq0WIIgJ 0drN6kRvEmsDJTwTV1CqZiyMca2ithjRuE/fkIrP31zB/YZZs3J7FG4mSMttiO6MJrn9 FmrA== X-Forwarded-Encrypted: i=1; AJvYcCXeZldr6VXIk2vW7zqTaXHaja0LTEqLtvtt5Amj1/Lq93ShYowfWtawCGuMpptAvtfZZyI/YE0=@vger.kernel.org X-Gm-Message-State: AOJu0YxtdRBZd0pze5Ys9b3xMQ77+JlJQ+yBSsIxZgajpm5FHqFZJIiC roW2B4a2SMi9vxM/l9eQPhEUAl8EJM4tr98oa0j4bBXnmwxtBgiehXz/QmYPzQ== X-Gm-Gg: AeBDietl6xR3rtZ2qeKlxmAEGJSDysyU4xligVxh6SsomTSyBTYwbP64ffOJftnFaLk J1dRUOotPx8izkMI/DyXqmkgIgHO3m7Bb6bF3MikvnrH2fzLPmuKiDXzfB3cCKpZYVn30MLK+jH A1MA3P9ezE09DSwboaRb+Ob1hfmBVZyXnG+SiASHkp+b+tYdx2PpkjnfQym4fjuW/k8PZ2YEnOJ u6qczytINrLjKkFqBB3iSceZh3Y+HTuMetzRp5u2nHM3G/jxDoaETvl+gwhrIwDT0wqBgvPrn+e 3h74J1++Rb9mUGHMPYQ3GuTand3t6x5uTXngjauJ7orH1JFcs3BtMhpaPgT6B8Vp1NMv91SQML+ P1LCTV4EpJvWS+bid92exIP3wwCPJkS8lsh8eGiFeeqzH0/fJfXJCoO4XTEO8WRcDed2Q/9u+PP 25LZk4n0Mv3aLSWT0/NA81WzrZHKTLtn0+yr4= X-Received: by 2002:a05:600c:8585:b0:488:9bf8:7f17 with SMTP id 5b1f17b1804b1-488d684bcb0mr70355895e9.14.1775914780064; Sat, 11 Apr 2026 06:39:40 -0700 (PDT) Received: from foxbook (bfi125.neoplus.adsl.tpnet.pl. [83.28.46.125]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-488d5347ea5sm169775625e9.8.2026.04.11.06.39.38 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Sat, 11 Apr 2026 06:39:39 -0700 (PDT) Date: Sat, 11 Apr 2026 15:39:35 +0200 From: Michal Pecio To: Mathias Nyman Cc: Ricardo Ribalda , JP Hein , 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: <20260411153935.2fc5c030.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: stable@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 Sat, 11 Apr 2026 00:48:05 +0300, Mathias Nyman wrote: > > Five seconds later two control URBs are unlinked: > > Mar 30 16:59:21 katana kernel: xhci_hcd 0000:00:14.0: Cancel URB 00000000122aa5e2, dev 3.1, ep 0x0, starting at offset 0x11e227b40 > > Mar 30 16:59:21 katana kernel: xhci_hcd 0000:00:14.0: // Ding dong! > > Mar 30 16:59:21 katana kernel: xhci_hcd 0000:00:14.0: Cancel URB 000000008a55bcd3, dev 3.1, ep 0x0, starting at offset 0x11e227b20 > > Mar 30 16:59:21 katana kernel: xhci_hcd 0000:00:14.0: Not queuing Stop Endpoint on slot 18 ep 0 in state 0x44 > > log continues with: > Mar 30 16:59:21 katana kernel: xhci_hcd 0000:00:14.0: Removing canceled TD starting at 0x11e227b40 (dma) in stream 0 URB 00000000122aa5e2 > Mar 30 16:59:21 katana kernel: xhci_hcd 0000:00:14.0: Removing canceled TD starting at 0x11e227b20 (dma) in stream 0 URB 000000008a55bcd3 > Mar 30 16:59:21 katana kernel: xhci_hcd 0000:00:14.0: Set TR Deq ptr 0x11e227b40, cycle 0 > > One theory could be that xHC control endpoint refuses to restart when > its dequeue pointer is moved to a no-op TD like in this case (second > cancelled URB). This could explain why it doesn't work later, but not why these URBs have been unlinked after making no progress for 5 seconds. EP0 was probably still functioning normally during those submit-unlink cycles on 0x85 and there were no EP0 unlinks until these above. Another corner case which could potentially confuse HCs is Set TR Deq to a Link TRB, but it doesn't occur in this log on any endpoint. By the way, are you able to find out what this is? 198 falls into the "vendor defined error" range and vendor is Intel. crash-6.17.0-xhci-test-20260410-154243.log, isochronous URB unlink: [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