Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp636738ybc; Tue, 19 Nov 2019 06:57:00 -0800 (PST) X-Google-Smtp-Source: APXvYqyhBWI+oTdcpz8KEM4vykJF4FYpFl3/1FzwGdmJZwoCvKVMcRX6yJRWY53FYV7KU8fuw1h4 X-Received: by 2002:a17:906:a38d:: with SMTP id k13mr35021938ejz.213.1574175420412; Tue, 19 Nov 2019 06:57:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574175420; cv=none; d=google.com; s=arc-20160816; b=hzNFA15jlF/kg0c0c789U0HSBBZOug/mYT6Ybl8TfK9m2rYJTsvS6HbXET91YFA0F4 uFmr+cBEQ8DFQOVdPMxwKCc8u5bADsJ/ZZuf3A8QKsKrIQ2AMu5ImMg5YxaqW2dT/CGt dry0iFGZ3DTT70bshiJ0GW+7LawAvbTYF/7GDCi2Q+PEmgnpdzd8GLKPRutlE8lLGCYf /IMJxjSbh9YwX+DgI9FX+kQ4OuX9Bx/7pk4WdHZ3k5Ts25gkLA1pf17XPGq/PkslkZ1I gtLnEjKItcdUKy+DhOZzHRdNcL3mF0P0W/+sx8HxeBigET5IVt0IqLB2vPGFRZaFOvK5 gq+g== 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=2ck79EBC5E+ehUyREOL+zwrojiTciRGBzMzgwN7DQT8=; b=Fjy7nW/JVKbACbmEG91wrhWCcUQfQlkJlgt3WVP5auRViA2GErXVP2p/+AHg2EVUaY Y34tR8WkMRgeNoBgozwztBC1ef+btWq2SmEnyvOPC4pOX2hZeC0UtuAHP9TqxdpVm5Dr T/jXKlyDRo7iZnP2gQN2k5ggeEbA740N9CpXElvzMTn+JnTLewcxiJWLn3MJwGXkM71e wpAGtRVWZCYBDKr+PeovbXLfELGCR9aHWcostVHG7ZEWU/p8zStjxwDYLpEHJXZ89lD5 bXottXSYEsKxDfm5FZweed+IGXRG9AOQz2o6DEERp5MWjmCNL4ukeMdopizle/P4AS3c tzZQ== 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 va7si13388122ejb.18.2019.11.19.06.56.36; Tue, 19 Nov 2019 06:57:00 -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 S1727912AbfKSOzV (ORCPT + 99 others); Tue, 19 Nov 2019 09:55:21 -0500 Received: from mga01.intel.com ([192.55.52.88]:43779 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726682AbfKSOzU (ORCPT ); Tue, 19 Nov 2019 09:55:20 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Nov 2019 06:55:20 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,324,1569308400"; d="scan'208";a="407774783" Received: from mattu-haswell.fi.intel.com (HELO [10.237.72.170]) ([10.237.72.170]) by fmsmga006.fm.intel.com with ESMTP; 19 Nov 2019 06:55:19 -0800 Subject: Re: [PATCH v3] usb: xhci: only set D3hot for pci device To: Henry Lin Cc: Mathias Nyman , Greg Kroah-Hartman , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org References: <20191113014927.11915-1-henryl@nvidia.com> <20191119081656.8746-1-henryl@nvidia.com> From: Mathias Nyman Message-ID: Date: Tue, 19 Nov 2019 16:57:36 +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: <20191119081656.8746-1-henryl@nvidia.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 19.11.2019 10.16, Henry Lin wrote: > Xhci driver cannot call pci_set_power_state() on non-pci xhci host > controllers. For example, NVIDIA Tegra XHCI host controller which acts > as platform device with XHCI_SPURIOUS_WAKEUP quirk set in some platform > hits this issue during shutdown. > > Signed-off-by: Henry Lin Thanks, looks great. I like this solution. Keeps original code sequence, removes pci specific calls from generic xhci code, and at the same time it fixes the NVIDIA Tegra xHC shutdown issue. Adding to queue -Mathias