Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp759887ybg; Fri, 12 Jun 2020 14:00:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzMFv8wP0AF1z5hV3ZgPBkYMoIm7TYIJMnozcXdIbSgelQcbe8Vy4jGKXaH26Uei9G4nNLJ X-Received: by 2002:a17:907:11c8:: with SMTP id va8mr16211785ejb.90.1591995657037; Fri, 12 Jun 2020 14:00:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591995657; cv=none; d=google.com; s=arc-20160816; b=vYxsmc2Cl3HvflTVYZgDrY8C9+cKCE1d9gLnQpIeMHIZo0CRY1gB5gTBdZgSobPWCg ID1ADQ0LembDqjUbKDbJ2xvdskujtxf+Wnp4xquVIgYCk7gYoq+IulmPcDw4YbrrqMLY Y429WVnmuuaGg0kFHxLrB6iVCptktDJPAdGf+UVvzSmiFLEMC66nB/zo3tJfKXAa9gqv VsOf7XyOMA9dZnqkB6qqVaedXTD4/TdmmUmHRcCxDeHSQXFt5Z84VKO67n40vq/y/M6p 6nqNgxWgCsFIRGpUNIsATYL9mO5ICI0+s+7mfJ2TcJGUg8YXn+tBCAl5OsJ3zfzLmWv0 4BYQ== 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=8492gg95CgYFtm/T6J75G8xlXsAyzqnEgzFk929J88g=; b=qfMZL6DJzAU4RBujsnESgMPQTI8b3/0gyA+v6Q4rtBJDgVj9NXVAJ48Inf7Lvsg4/R 4MrKD8WkvLLcjNN1UnaIqxg9mY6Z+WdkVcjT3JsxN0jmXjJZxMTpud4bQgNxVn0jfWZj z0trUUq8EjCPmNjBZgdgtLESH2mMcMAvsr/GvaJfOHRtOCYyPNQfn1d3FlkgBBRfdatq OKuPseevN6bEa5Nk9oABHn8ABVtDP+ZdjLPY0U6IFoDVQ0NIh2L/CusESZwiFWPGgpqC xOrH/Fv8arFUKIE6FXM4tr14b+zxn94/eBFL8gYgzmh/zArweFHVK6FBFGXIQsg0Jfdc YJvA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ks19si4631659ejb.409.2020.06.12.14.00.33; Fri, 12 Jun 2020 14:00:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726308AbgFLU6r (ORCPT + 99 others); Fri, 12 Jun 2020 16:58:47 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:37015 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726268AbgFLU6q (ORCPT ); Fri, 12 Jun 2020 16:58:46 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 49kCkV6DzMz1qskQ; Fri, 12 Jun 2020 22:58:42 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 49kCkV4stTz1qqkg; Fri, 12 Jun 2020 22:58:42 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id PkQqnMB5DaDJ; Fri, 12 Jun 2020 22:58:41 +0200 (CEST) X-Auth-Info: Twafrtj8Ua9iF2yDfSwwTTI7dYNAl95yld2H0He8dv8= Received: from [IPv6:::1] (unknown [195.140.253.167]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Fri, 12 Jun 2020 22:58:41 +0200 (CEST) Subject: Re: [PATCH v4 5/5] usb: xhci-pci: Add reset controller support To: Nicolas Saenz Julienne , mbrugger@suse.com, u-boot@lists.denx.de, bmeng.cn@gmail.com, linux-kernel@vger.kernel.org Cc: sjg@chromium.org, m.szyprowski@samsung.com, s.nawrocki@samsung.com, mark.kettenis@xs4all.nl References: <20200612164632.25648-1-nsaenzjulienne@suse.de> <20200612164632.25648-6-nsaenzjulienne@suse.de> From: Marek Vasut Message-ID: <7959ad10-4112-e880-14d9-9c24574c8026@denx.de> Date: Fri, 12 Jun 2020 19:08:07 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: <20200612164632.25648-6-nsaenzjulienne@suse.de> Content-Type: text/plain; charset=utf-8 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 6/12/20 6:46 PM, Nicolas Saenz Julienne wrote: > Some atypical users of xhci-pci might need to manually reset their xHCI > controller before starting the HCD setup. Check if a reset controller > device is available to the PCI bus and trigger a reset. > > Signed-off-by: Nicolas Saenz Julienne > --- > drivers/usb/host/xhci-pci.c | 38 +++++++++++++++++++++++++++++++++++-- > 1 file changed, 36 insertions(+), 2 deletions(-) Can the XHCI core code do the reset management instead ? Then everyone benefits from it. The rest of the series is nice, thanks.