Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2418192ybi; Mon, 17 Jun 2019 04:35:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqwhzHKzzICPf6wdYWUVCs4EzweBT34IZ9Bb67vMdi78aRPqjWUaFgya3R9/rLbcDxXsoF1T X-Received: by 2002:a17:902:bb95:: with SMTP id m21mr109090919pls.154.1560771318114; Mon, 17 Jun 2019 04:35:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560771318; cv=none; d=google.com; s=arc-20160816; b=cU7xTGQV2b1xBrvPNw8bS51FnO+q2KC/KMRsuJHjxCymOP2V9pZTtslsrcqoYarqSP 9ZN8P/tDl9Rwwf3r8q+DqaTfGvZ3HmxQ6Zfbhp/y8X/I/z2xV/ZM/oxU63ZaZJGUaKfI DJaxur/EiPTzbsDLay909O3/z4cy460V3yt3DMhpoqnPgcl6QNKqnvsvqvIUmPrUKgbm JidrwEafWFqCs5HMOEUzxiM22Z4Dri5jZKgqhAFMg8p8b+6f0BgAvk+tgF+jDdo/vZKZ dmW4zFzLwnKfe5GOnNpeSs6g0nSrEVW5OPakTvOMg3I7Vyu9JdUKx5MoHlFKG/EQqfA+ JP4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=Hk/6KBGqJg6eibtneR2WtGviyInDD/OJ7+WqSEyVYRc=; b=mnaEUapxUawe7pHdOWWDFJDfmK8oTIncUX6s6JaJ3O+TbFaJimATM7cidXhq4RvcHA ygtUo/BXThDhx55zyotCvNbZHog5GHME1Ust5LnbIR1C5gVksOq2ei/wqmP7kqt7hRZH XeMkE50QhU3L8M4vRpe1S+qpD7l5mUS/bTqFWyrrelq9ZlSjnxDJBVc65QhNdgvV9bQq r1eet5wODDxmh+gu4R0DQ6GCIxUVPm/dGHS9p68F0O10+X1EYows4o2ka5+mLiL1NsNZ fB3pmlohJZX4utlYKn7KqSxIW6g75gPFJqLBiHZU7zLcCLM2l3RtjUsHkUsswdePHQYa NYbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=bieRDgFe; 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=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q2si10059349pjv.99.2019.06.17.04.35.01; Mon, 17 Jun 2019 04:35:18 -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=@nvidia.com header.s=n1 header.b=bieRDgFe; 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=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727323AbfFQLeu (ORCPT + 99 others); Mon, 17 Jun 2019 07:34:50 -0400 Received: from hqemgate16.nvidia.com ([216.228.121.65]:4018 "EHLO hqemgate16.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725681AbfFQLeu (ORCPT ); Mon, 17 Jun 2019 07:34:50 -0400 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqemgate16.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Mon, 17 Jun 2019 04:34:49 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Mon, 17 Jun 2019 04:34:49 -0700 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Mon, 17 Jun 2019 04:34:49 -0700 Received: from [10.24.247.153] (10.124.1.5) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 17 Jun 2019 11:34:47 +0000 Subject: Re: [PATCH v2 0/2] PCI: device link quirk for NVIDIA GPU To: Bjorn Helgaas CC: , , References: <20190606092225.17960-1-abhsahu@nvidia.com> <20190613205720.GK13533@google.com> X-Nvconfidentiality: public From: Abhishek Sahu Message-ID: Date: Mon, 17 Jun 2019 17:04:43 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <20190613205720.GK13533@google.com> X-Originating-IP: [10.124.1.5] X-ClientProxiedBy: HQMAIL104.nvidia.com (172.18.146.11) To HQMAIL107.nvidia.com (172.20.187.13) Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1560771289; bh=Hk/6KBGqJg6eibtneR2WtGviyInDD/OJ7+WqSEyVYRc=; h=X-PGP-Universal:Subject:To:CC:References:X-Nvconfidentiality:From: Message-ID:Date:User-Agent:MIME-Version:In-Reply-To: X-Originating-IP:X-ClientProxiedBy:Content-Type:Content-Language: Content-Transfer-Encoding; b=bieRDgFeWAkiTRJzUdd4ELyDZRMADAoqyCE90ifyaN/QNX4qV7WRSuW+zpDQdVBpH iDhxm8A09dE/2J1ceOTaoQpvXVrwF9b8KIX9OQSN7NdpniNwOBVmtM3MNxtMrrCK4O oQ3ECSTaM9mN5k39Smjq3UQseOaBRSuhdP0EBn+FHWC4/TyRClbaZNBOAmXE/MjFG0 qsUZvBKSbAlxX9eJwm+JXyHErDFO4ATEKM+ikjX1AV0JawFOjvzYNERL/phM31pmoX 7a5buzhrPg9Hy2tdb1b7XBqTzu+nGBo4bvEebzUUjQrrEYP//SEKgX2Ky6hxv6PDyV G/3ysW/Dp1ghg== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/14/2019 2:27 AM, Bjorn Helgaas wrote: > 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! Thanks Bjorn for your review and support! The runtime PM changes in USB Type-C USCI driver is also applied for v5.3 https://marc.info/?l=linux-usb&m=155994544705901&w=2 It will help in achieving run-time PM for Turing GPUs in v5.3. Regards, Abhishek