From patchwork Wed May 11 03:01:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jian Hui Lee X-Patchwork-Id: 1629420 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=n/SsSci4; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4Kyfp84MGsz9sGD for ; Wed, 11 May 2022 13:02:07 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1nocbs-0001kc-RR; Wed, 11 May 2022 03:01:56 +0000 Received: from smtp-relay-internal-0.internal ([10.131.114.225] helo=smtp-relay-internal-0.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1nocbr-0001kV-U8 for kernel-team@lists.ubuntu.com; Wed, 11 May 2022 03:01:55 +0000 Received: from mail-pf1-f197.google.com (mail-pf1-f197.google.com [209.85.210.197]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id AFF8E3F1A1 for ; Wed, 11 May 2022 03:01:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1652238115; bh=WP3V65frHfo9JlRMsRZzCRfwPgR8uwsnm8wWExgST/A=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=n/SsSci4VG8vx6WbbjOBgdaoX334Fg1f2vIE+Me7Jvhutpx6x4TcSWsDaNzeq/mNw vcXynzkiztllraUDetTjCNbh8wdOZbN8gicxguUqqcwMiMZVksPem3JvDExKrIZxLS eCsa1KJLaM6f025hDvpXNxJ7QE7addfzwMdr7kMsoz5yy4rzW52u9NrRQUsE7MD3oY s0oOWA99Sra2rDL1tLsSfziFbO0/oKTFgRZ1Z1l48cKE0VN2MjxiQp49S5jiDBu9QM k/F1D6zBMBo+YcsmUaKTl4FGQAh2UpQj0XYRqd7cIcruemLj6xakdbDap+RmIFVjyE jgxDdOu6kwxbA== Received: by mail-pf1-f197.google.com with SMTP id c202-20020a621cd3000000b0050dd228152aso451456pfc.11 for ; Tue, 10 May 2022 20:01:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=WP3V65frHfo9JlRMsRZzCRfwPgR8uwsnm8wWExgST/A=; b=8IKDyXVg2YEdCQDAHmyTaqXFDXDT8mgvkPKRP5W2evx52iO/RWmL5yBW2D7rvJXIQL AMbFbHgFoLZlK1f+o2iS+lA7nvXjG27mfeB/Qszse00NxoVhn8YHIhlKRjI8s5KH4T4z ZfFVyUiU+8xW6hFWlqId4DUCBSbLl6IHp1eTPsug1Of78Dyt94YCL9yvFHLVgx/l7RCS QUTRTMyDBQADNgCHPLNtwU0SLATaaIPap6p082Tz9gXklxb5f0kaeoRbffcXTVdzkNzU +VPIdlBt48evU5KjT/49dtkM0LhJIk2GcchE4Z9o/BWJRxQ17eTKXZQdKgXc2lwjzjyL f33g== X-Gm-Message-State: AOAM533HnFEgZhqPyq7ovGnDyDhkqv3NKfHthmP5kwf93h5j9F2ksy67 kIdBglgzWriGLDCzOJ8msX5qiPD3/LdfkwfhpKnHxn39fCd9UUrP0IdPAJ0ZeKyaXahIF4oez2l eMHgu900eaF5bhzXZeoDHEPIYFhslc6g+b3WmHNvJ3w== X-Received: by 2002:a17:902:e945:b0:15f:22cd:c6cc with SMTP id b5-20020a170902e94500b0015f22cdc6ccmr6778894pll.162.1652238114038; Tue, 10 May 2022 20:01:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxb8fKzvRlVTpT2/8KBeshoDYf2xEPwcsOogfZXtVuD+E0l2ILhKTorATg4vSO+TBo0CjJluQ== X-Received: by 2002:a17:902:e945:b0:15f:22cd:c6cc with SMTP id b5-20020a170902e94500b0015f22cdc6ccmr6778878pll.162.1652238113760; Tue, 10 May 2022 20:01:53 -0700 (PDT) Received: from localhost.localdomain (36-230-93-232.dynamic-ip.hinet.net. [36.230.93.232]) by smtp.gmail.com with ESMTPSA id e17-20020a62aa11000000b0050dc762815asm295027pff.52.2022.05.10.20.01.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 May 2022 20:01:53 -0700 (PDT) From: Jian Hui Lee To: kernel-team@lists.ubuntu.com Subject: [SRU][Jammy:linux-intel-iotg][PATCH v2 0/1] Bail out when USB port is stuck in reset loop Date: Wed, 11 May 2022 11:01:09 +0800 Message-Id: <20220511030110.188288-1-jianhui.lee@canonical.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://launchpad.net/bugs/1960777 [Impact] USB port stops working after unplug an USB device. [Fix] Commit c89686118c786a523eee3ef68ed38330319626d8 ("usb: core: Bail out when port is stuck in reset loop") [Test] Affected vendor confirmed the patch can fix the issue after numerous round of tests. [Where problems could occur] If there's any peculiar USB hub depends on the old (and buggy) behavior, this can potentially bring a regression to the hub. Kai-Heng Feng (1): usb: core: Bail out when port is stuck in reset loop drivers/usb/core/hub.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) Acked-by: Tim Gardner