Received: by 10.213.65.68 with SMTP id h4csp206480imn; Tue, 13 Mar 2018 01:17:46 -0700 (PDT) X-Google-Smtp-Source: AG47ELvyf2rKUa+bCZPitQ50susRcgU0evw8RSFQCqsUbTlUoFW10Y31pOcICcBv1ydtXYbZt40h X-Received: by 2002:a17:902:9a05:: with SMTP id v5-v6mr11007335plp.69.1520929066027; Tue, 13 Mar 2018 01:17:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520929065; cv=none; d=google.com; s=arc-20160816; b=DLRurk4knO2by2GXAEkvxIIAwvtm0tdOWBHx08CkJz//CO4yEkUS2ud1tZpXkaYDWT qlFveP37tFWfQAIeyQit+uZhTU0mzcx81IVDtgh5NOJ3O0rTTPZ4CX2F7ZjiuTIm10nm +SRFrp20rX/mjCZbAdHkRRKcpKGQF0sdMJRU9kEzPB6Y6kAuR4QH6l8OIWmzoUZpid+8 JNo2L6SQ/l3HKh43ZA3SAWseZMBxicTzhMObrysT/v4sA5NkitQfvvCD22qTbbUMPrCG +bezxlR6gKzyRDG8cCCqI2PYuGN1fs/fY7aTE0s4kyTIPU2y9Yaq3MrZKnlhcSMsUWxy IfYA== 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:arc-authentication-results; bh=hDImC60NM/nXmIlpj/i2OlYCM424qilV9Ayg9RRccmI=; b=Xo7X80S9n5oSgTZKW0gvMMLQ92M3lzNM00gBIPgII/RBcf0feNM6trDBwbYvmVgXkb jtS8kIMu4GIQJeqZ3lN+vNlHTsKnKtlem8eHprVfR/7hlEhwkUnSXezQkB8Isutuxr+P yLMtcPA7Ivpu/XVnTvXrymPjIbvrKwMZJRW9KfOmXDBuOxq4/NnMwUY+uh2WGfAehqDS m5unC/Ki6oLB64FL1zVYlxMipbMWTcBY8S4iySxo59Ij1wjcmdEiNrgzUYCIIJMOCDK6 Rj9z7dA1a7aHT1csU2jtDwBzAiKbIB6D4DtZXXnnm9UXwx+mrOHOMeDnQzUZzo7V3g9Y D8Kw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b91-v6si7229359plb.268.2018.03.13.01.17.31; Tue, 13 Mar 2018 01:17: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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752274AbeCMIQc (ORCPT + 99 others); Tue, 13 Mar 2018 04:16:32 -0400 Received: from verein.lst.de ([213.95.11.211]:56598 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751769AbeCMIQa (ORCPT ); Tue, 13 Mar 2018 04:16:30 -0400 Received: by newverein.lst.de (Postfix, from userid 2407) id 9B0567F173; Tue, 13 Mar 2018 09:16:28 +0100 (CET) Date: Tue, 13 Mar 2018 09:16:28 +0100 From: Christoph Hellwig To: David Woodhouse Cc: Alexander Duyck , bhelgaas@google.com, alexander.h.duyck@intel.com, linux-pci@vger.kernel.org, virtio-dev@lists.oasis-open.org, kvm@vger.kernel.org, netdev@vger.kernel.org, dan.daly@intel.com, linux-kernel@vger.kernel.org, linux-nvme@lists.infradead.org, keith.busch@intel.com, netanel@amazon.com, mheyne@amazon.de, liang-min.wang@intel.com, mark.d.rustad@intel.com, hch@lst.de Subject: Re: [pci PATCH v5 3/4] ena: Migrate over to unmanaged SR-IOV support Message-ID: <20180313081628.GA618@lst.de> References: <20180312171813.3487.94803.stgit@localhost.localdomain> <20180312172309.3487.76690.stgit@localhost.localdomain> <1520928772.28745.53.camel@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1520928772.28745.53.camel@infradead.org> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 13, 2018 at 08:12:52AM +0000, David Woodhouse wrote: > I'd also *really* like to see a way to enable this for PFs which don't > have (and don't need) a driver. We seem to have lost that along the > way. We've been forth and back on that. I agree that not having any driver just seems dangerous. If your PF really does nothing we should just have a trivial pf_stub driver that does nothing but wiring up pci_sriov_configure_simple. We can then add PCI IDs to it either statically, or using the dynamic ids mechanism.