Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp526497ybc; Fri, 22 Nov 2019 08:55:18 -0800 (PST) X-Google-Smtp-Source: APXvYqxzbnjEJlxo0aml100ZgfuqnrFqPXiylyfWViAyiWEQ27nXid7pMLluyNO+H28ao9TaR9+n X-Received: by 2002:a05:6402:339:: with SMTP id q25mr2303001edw.80.1574441718568; Fri, 22 Nov 2019 08:55:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574441718; cv=none; d=google.com; s=arc-20160816; b=bHhc54R2V8cNa19loOtLpW65kcQzjutP6ltxLCEbS5zqcUegbg7XloXZ+R1+VVkuvi V0DMp0e17C4RT7wvSLgaBAvdlLAJkjKGExJbrEWDASOLrtuiX5Gn57GvoncXCzcD15hh gY+JH6LlAAwvMWoEyvzDb/waVPBZHtggYDrfUe7gP98bUFWQjwicTqTGTRPXBzAu9aSC kolGOmrxSUxzuc1JbcI6eT69N35BG9zPtehWXUiMzlORokTuJRU3k0MCfBVILgt38Sgd i1udb0JirbKIAdeR1vxHvLXBNJz5giWeZTZm0+fzVTIyA318rajTsom/bvAxVVEByTku ykOA== 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=6dUTQFHzRuabNBMyrs5GkBicfPIuqmo06cnBTonBbSE=; b=0E74+2TKMNY18OCm2phbAtJSf3+qveJGoDwPIMR8cMM+B2Nq3a6Hdu5QnZomYueJm1 4d44srt0BUQyEZSNFfW8F1XiNHSDz7/3GtxkAzvqbCowsEmwqldS7L6VixYvUN1+QaL9 7ZkMitwSfU5cWXqfxg0/5lXVTlyHWqkqhOmnQ5OAGP5o0MEPY34RtJhThLV0oxKK7DL6 6TJ5C4GJDKMSRjpRWLL+Me44zEt6Co8Xbk3ib8kpSxJ071BWGq14VrAyLvw5y8lW638T g1y/Hg6yVd0m1rYjycoRYLIV9rjtU09So0sohuKavTO6lqvnefCr3nCnsOhHSQs5Lv+s EF4w== 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 p3si5555042edj.395.2019.11.22.08.54.54; Fri, 22 Nov 2019 08:55:18 -0800 (PST) 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 S1727457AbfKVQxC (ORCPT + 99 others); Fri, 22 Nov 2019 11:53:02 -0500 Received: from mga02.intel.com ([134.134.136.20]:35043 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726620AbfKVQxC (ORCPT ); Fri, 22 Nov 2019 11:53:02 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Nov 2019 08:53:02 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,230,1571727600"; d="scan'208";a="201578209" Received: from mattu-haswell.fi.intel.com (HELO [10.237.72.170]) ([10.237.72.170]) by orsmga008.jf.intel.com with ESMTP; 22 Nov 2019 08:53:00 -0800 Subject: Re: [PATCH] xhci: Increase STS_HALT timeout in xhci_suspend() To: Kai-Heng Feng , Mathias Nyman , Greg KH Cc: "Atroshko, Yevhen" , USB list , Kernel development list References: <20191104055217.10475-1-kai.heng.feng@canonical.com> <34F5BCC9-18EE-466D-BBAF-B3D3C1CD525B@canonical.com> From: Mathias Nyman Message-ID: <032e9537-1a84-9e01-20f8-9cd9e394ca3d@linux.intel.com> Date: Fri, 22 Nov 2019 18:54:43 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <34F5BCC9-18EE-466D-BBAF-B3D3C1CD525B@canonical.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 22.11.2019 18.36, Kai-Heng Feng wrote: > Hi Matthias, > >> On Nov 4, 2019, at 13:52, Kai-Heng Feng wrote: >> >> I've recently observed failed xHCI suspend attempt on AMD Raven Ridge >> system: >> kernel: xhci_hcd 0000:04:00.4: WARN: xHC CMD_RUN timeout >> kernel: PM: suspend_common(): xhci_pci_suspend+0x0/0xd0 returns -110 >> kernel: PM: pci_pm_suspend(): hcd_pci_suspend+0x0/0x30 returns -110 >> kernel: PM: dpm_run_callback(): pci_pm_suspend+0x0/0x150 returns -110 >> kernel: PM: Device 0000:04:00.4 failed to suspend async: error -110 >> >> Similar to commit ac343366846a ("xhci: Increase STS_SAVE timeout in >> xhci_suspend()") we also need to increase the HALT timeout to make it be >> able to suspend again. > > Seems like there are more broken AMD xHCI in the wild, so please merge this patch if there's no further concerns. > > Kai-Heng Added to queue, -Mathias