Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp3995662ybp; Mon, 7 Oct 2019 01:12:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqxQ8lq0Ul7nlWYPc/aOsqrmgsmtSvyG3bBixwC3vwtsPjaT4fRKdKbT3tejGZYksL2rZwIh X-Received: by 2002:a17:906:41a:: with SMTP id d26mr22395196eja.17.1570435979223; Mon, 07 Oct 2019 01:12:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570435979; cv=none; d=google.com; s=arc-20160816; b=wE0k8XN2W5T1rtfWcnl6amr+IlfJVDYd0L/FwQDqwpj36Aqozc5e9PZ1UtU4zpPLPj bVqSnDQMtKZPp4l7GlOHwB5FymnaWB4nhN6tuuWCePlaD4O8gx+/2YMbeQCj+GOH5jL2 OK3bgwVKgMsvOmv252jvxFG9ro3IZy4Y+M40H+3Yx/foe89fSFkfRoAzRVNP+KVPRdAs +OplLWfnz6HbQ/KTOUmWYF/7ikx1K6p/OVhk5zTZxczYb77hHX4MU2X5nHLe2v3WKvuY nZP6QSkuAQ196bVWptjRt873HSpwn5/kOjazTLy1NxlOx7oQXIW1jEBd4mRmOe2NIauV B5HQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=tWToRk5DTefjvsCL04zcQ7jcQvG9tSAn8Su1SyspTQE=; b=We8S+970njfhTWIODLKmQSGd6wDhKCo1WFDs06sw2wmOcSJDt9KJZZ7iayVyDoVWYj I8BPLjaKx4QMvIlW1/jaN7AJTr1ZXGOQbjzACzAdWX+TzXHZKrdGnzwxY2j7Yg3nqkny RB91F7UNqulQ5wrmNTlsYoevhmnOZVktt07XCJM8YuqLR7jPPX82WeZ+xRMrtm97Vg3+ F+0NO3Wy3nWR8XO8k/69uxpJo1Z14MCcZGyGhG5+ZSuece4FiXshTAzaYEUw3YrvR6up FT1L1HUBDjLM9kdHkAYvJOh1kumUj28LqncKiFNo1IL6IBnzITuXVieCOgLdWfdbAZI1 i8gA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id fj16si6712753ejb.385.2019.10.07.01.12.36; Mon, 07 Oct 2019 01:12:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727458AbfJGIMA (ORCPT + 99 others); Mon, 7 Oct 2019 04:12:00 -0400 Received: from mga18.intel.com ([134.134.136.126]:26507 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726889AbfJGIMA (ORCPT ); Mon, 7 Oct 2019 04:12:00 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Oct 2019 01:11:58 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.67,265,1566889200"; d="scan'208";a="196220046" Received: from mattu-haswell.fi.intel.com (HELO [10.237.72.170]) ([10.237.72.170]) by orsmga003.jf.intel.com with ESMTP; 07 Oct 2019 01:11:56 -0700 Subject: Re: [BISECTED] Suspend / USB broken on XPS 9370 + TB16 To: Carlo Caione , linux-kernel@vger.kernel.org Cc: andrew.smirnov@gmail.com, rrangel@chromium.org, gregkh@linuxfoundation.org, kamal@canonical.com, khalid.elmously@canonical.com References: <2f2f62bc-558f-70d1-44bf-a95334453f8a@gmail.com> From: Mathias Nyman Message-ID: <294a9515-962a-d64b-c113-b73e9fe85fa8@linux.intel.com> Date: Mon, 7 Oct 2019 11:13:57 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <2f2f62bc-558f-70d1-44bf-a95334453f8a@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7.10.2019 10.21, Carlo Caione wrote: > Hi, > I bisected an issue down to commit f7fac17ca925 "xhci: Convert xhci_handshake() to use readl_poll_timeout_atomic()". > > Setup: > XPS 9370 + Thunderbolt dock Dell TB16 > > Issue: > The laptop is unable to go to sleep. It never really goes to sleep and after a few seconds the USB dies. > > Log: > https://termbin.com/icix > > Cheers! > Does the below patch help? Greg just applied it to his usb-linus branch. ac343366846a xhci: Increase STS_SAVE timeout in xhci_suspend() Link: https://lore.kernel.org/r/1570190373-30684-8-git-send-email-mathias.nyman@linux.intel.com -Mathias