Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp183930ybi; Thu, 13 Jun 2019 13:59:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqwktIP1nDg/09qLz7NsCEJxXjQdGZkyks1+bg/gD/2fderK4mLQ9KFu43FUdzQJZui0Yybs X-Received: by 2002:a63:5c16:: with SMTP id q22mr1388081pgb.200.1560459585434; Thu, 13 Jun 2019 13:59:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560459585; cv=none; d=google.com; s=arc-20160816; b=G6n/cTPRWwn2TaWQ+3myJgUrGLW/9mARrBTcgie5rWiy8sM33VlfoAiGE2HYBuUeDI iKg0i+3ssWT3GUGN/Ua7dRxvlRY4+E3z0/yE4Mpyw8oirursQn3UJ5KuAWUzKtEKSFLv sfVlie7DIZ6wePstmWZuTSa6Qy3JqDXQt3zDmGobwbdEQqmsLPO1KHviXpPyvpRn3QDA 5jfOCdFR70Dgmckd0fiv39styEZ1g2C4lQLlFQWWbXgJXyqKxNszni4kLAGBt7HDIclB prVJOaNuzW6WmXPNS553XERs3YDt4F+hqMjaTP9A8OQOhF7+8LgWufmaLUZy1yX9AkV7 cYgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=dFSBjir9qQAi3zOvCNQ8Rb+Dq+vtU35uVeFGf6L+tfU=; b=T6bkE8kHz+7hQygZsbgFZ/vZ/CarmDS3k4luS1SMuQOojnDW5a6dGev74lbQz2wwbv nurKnpNrbHTkkCW/kJ5y3gw+dFLw2lHSG9khgpmsycuVppwbtp3tp8SIHJcxAi7DeK/s d5zZGwbbzkXRhNc3Msdkdb4lp7/6HD0TUX1TwkJ5WXlAwwmE13WwObY0p4L628KAtyy7 O/MxqcB8vHC5BtoXSHUlU+1wilqLDbAd3fjrkLeHR/+vPMcVc45Ml8YSFr+HCaGymJe5 RmCejry0qrv1XhmOlRKRDbWzuGADglVD63h/JXzBrkyR+Gd8698Pp0d9AaVZfYosMgyl uaAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=MWlcQbiL; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s12si508322pji.93.2019.06.13.13.59.30; Thu, 13 Jun 2019 13:59:45 -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; dkim=pass header.i=@kernel.org header.s=default header.b=MWlcQbiL; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730164AbfFMU5X (ORCPT + 99 others); Thu, 13 Jun 2019 16:57:23 -0400 Received: from mail.kernel.org ([198.145.29.99]:36614 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725747AbfFMU5X (ORCPT ); Thu, 13 Jun 2019 16:57:23 -0400 Received: from localhost (unknown [69.71.4.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1FBAA2147A; Thu, 13 Jun 2019 20:57:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1560459442; bh=ynYXrVPpg6dMM+W2dK/RdVD0nFgDHcTYdgal/Qhx8Oo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=MWlcQbiLe3rTPsZji+iFlViw6PrJntxG8S0JZevnNOTMhHHjmxZcOHB3pSTOiunUo gLpdLf+LonjG2jYsPB4oXCRMic8z2mKlq+MNB6LqPJeEfSDuWNq7fvnMAttvPWOXuX O++HrLO3wfuiFefro6+QZAEjOHCaO5EBMVBvpSdU= Date: Thu, 13 Jun 2019 15:57:20 -0500 From: Bjorn Helgaas To: Abhishek Sahu Cc: linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, lukas@wunner.de Subject: Re: [PATCH v2 0/2] PCI: device link quirk for NVIDIA GPU Message-ID: <20190613205720.GK13533@google.com> References: <20190606092225.17960-1-abhsahu@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190606092225.17960-1-abhsahu@nvidia.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 06, 2019 at 02:52:23PM +0530, Abhishek Sahu wrote: > * v2: > > 1. Make the pci device link helper function generic which can be > used for other multi-function PCI devices also. > 2. Minor changes in comments and commit logs. > > * v1: > > NVIDIA Turing GPU [1] has hardware support for USB Type-C and > VirtualLink [2]. The Turing GPU is a multi-function PCI device > which has the following four functions: > > - VGA display controller (Function 0) > - Audio controller (Function 1) > - USB xHCI Host controller (Function 2) > - USB Type-C USCI controller (Function 3) > > Currently NVIDIA and Nouveau GPU drivers only manage function 0. > Rest of the functions are managed by other drivers. These functions > internally in the hardware are tightly coupled. When function 0 goes > in runtime suspended state, then it will do power gating for most of > the hardware blocks. Some of these hardware blocks are used by > the other PCI functions, which leads to functional failure. In the > mainline kernel, the device link is present between > function 0 and function 1. This patch series deals with creating > a similar kind of device link between function 0 and > functions 2 and 3. > > [1] https://www.nvidia.com/content/dam/en-zz/Solutions/design-visualization/technologies/turing-architecture/NVIDIA-Turing-Architecture-Whitepaper.pdf > [2] https://en.wikipedia.org/wiki/VirtualLink > > Abhishek Sahu (2): > PCI: Code reorganization for creating device link > PCI: Create device link for NVIDIA GPU Applied to pci/misc for v5.3, thanks!