From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) (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 19AA9393DC1 for ; Mon, 13 Apr 2026 20:24:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776111881; cv=none; b=HUH8gSuoNLwWi3O6MwOmw7n7PvskShA4tNZ/NdSv/zcTbrA0N/t4TiGwGcYTRZpeOK6lowZ91QghiMM8YoNpMmW6Vpc2PlxwLGJCXNgpCvk7BNbdB5kFKR6PEXga/s3V/67BY7Pima61JT55p4PkcDZbx/JvQ84El8PT34lEMcU= 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.52 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-f52.google.com with SMTP id 5b1f17b1804b1-488a9033b2cso58982355e9.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=aqH5omeNGjrwWlxg7PjNg4rze5k91pHLwXbQy2830jP/zio+R3V3e6TG2G+jQIfbVH MFsr3kKPtJWVMjoBk5ue+iK4ec9Fs9vidr7oHkuJ0Fo9bb80MHBTE3NXrTBZ3aAZTmO4 60+gzC5kBpYVc712NBFX0S5foLxo5B9Zt2XChaaF3YluAUyxjMKCFVIGIVNARrA+OYuc zM58IHdU4JqjnMsU2eHLppYg8RIZlTGVpveX943z0lj30jC6fJpG/ufbYHbcWte2lQkp glAmbuecSHKpsDa2eY5jVYtyrOJQYNRB5xZCUrYxtya7+SxWMlxgc4lAiL/+E1WUYEEl 2gYw== X-Forwarded-Encrypted: i=1; AFNElJ8rTGANiVh5Hpk1qecOnM0ZmQ2qNzsSF2JuSZlFJNks/fFw1owScJSGbPzwU9bTKNEX+pl4wkY=@vger.kernel.org X-Gm-Message-State: AOJu0YxDb8HmhZiWxS5kn0G2iB4Mg4vjnx9S7p5uw/f0wWi2OhffF6Z6 +L/8pEC3ygAFD/zwfe/rJ4WDMkkxvp3tzpCvaBNdRmq0IIG28DMQsuBT X-Gm-Gg: AeBDiev9XPQ0lf6vATos+5P4NqFBdOqWntRvxvforRmN3aLG4IZQZhs7HOd4rQHcoFV EXmBjEZKPlhQYlJ8UttsJW6+5TCWMg4Gu7iEy0BW2RbZKkOBEhPp0AonbaqdXZOLqHLBK4U3z2Y yejOYQ7Arwx83VNnrcYWF0bCsADZnnGhT6OeDwxpbi4UdBfF/NV9upeAkqUfXM+lk1hYFA4yf8R DY0ZN7xtfj2wmnJSRCiMgk3CMbxn899DlGaB+gpDhNTau4g+pTtRI7rUL+nQFTUCPh1ZhTLbnoM 730aNjUblrurV5zX7Unk0D/4HTXdkSPqenU8EnWK7DhaDcbmE2+4NPDx1Bti3XYuCR0VOoi572Z doLgkyGKxymwC2Obrkw5fWgz6GcH50vHzI0bQM3zwexmngnvy5HojbqUJqx60XS4neU80Q1aHbK ShdEaVmqaYAJ/8GY5c28bctQENGmWHqJ83yDHoePG9ex3m8Q== 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: 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 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.