From patchwork Wed Nov 28 15:29:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aaron Ma X-Patchwork-Id: 1004595 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=canonical.com 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 ozlabs.org (Postfix) with ESMTPS id 434l2M3jnKz9s4s; Thu, 29 Nov 2018 02:29:47 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1gS1mX-0002iv-N0; Wed, 28 Nov 2018 15:29:41 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.86_2) (envelope-from ) id 1gS1mV-0002ih-72 for kernel-team@lists.ubuntu.com; Wed, 28 Nov 2018 15:29:39 +0000 Received: from [123.118.222.217] (helo=localhost.localdomain) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1gS1mU-0006Yi-2J for kernel-team@lists.ubuntu.com; Wed, 28 Nov 2018 15:29:38 +0000 From: Aaron Ma To: kernel-team@lists.ubuntu.com Subject: [SRU][B/OEM][PATCH 0/2][v2]: SRU: xhci hang when resume from S3 Date: Wed, 28 Nov 2018 23:29:22 +0800 Message-Id: <20181128152924.16867-1-aaron.ma@canonical.com> X-Mailer: git-send-email 2.17.1 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: , MIME-Version: 1.0 Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/1805344 Chnangelog: V2: Add BugLink. [Impact] On some thinkpad laptops, Realtek USB3.0 Card Reader [0bda:0328] reports wrong port status on Cannon lake PCH USB3.1 xHCI [8086:a36d] after resume from S3, then kernel hang. [Fix] Restrict the USB2 resume status check in USB2 roothub to fix hang issue. [Test Case] Suspend/resume 30 times OK. [Regression Potential] Low, upstream fix backported/cherry-picked. These 2 patches are already Cc: stable@vger.kernel.org, cosmic and future kernel will get these 2 patches. Aaron Ma (2): usb: xhci: fix uninitialized completion when USB3 port got wrong status usb: xhci: fix timeout for transition from RExit to U0 drivers/usb/host/xhci-hub.c | 6 +++--- drivers/usb/host/xhci-ring.c | 2 +- drivers/usb/host/xhci.h | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) Acked-By: AceLan Kao Acked-by: Hui Wang