From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751646AbdJ2GQw (ORCPT ); Sun, 29 Oct 2017 02:16:52 -0400 Received: from bombadil.infradead.org ([65.50.211.133]:38335 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750999AbdJ2GQu (ORCPT ); Sun, 29 Oct 2017 02:16:50 -0400 Date: Sat, 28 Oct 2017 23:16:46 -0700 From: Christoph Hellwig To: "Duyck, Alexander H" Cc: "Wang, Liang-min" , "alex.williamson@redhat.com" , "linux-kernel@vger.kernel.org" , "Kirsher, Jeffrey T" , "kvm@vger.kernel.org" , "bhelgaas@google.com" , "linux-pci@vger.kernel.org" Subject: Re: [PATCH] Enable SR-IOV instantiation through /sys file Message-ID: <20171029061646.GA28105@infradead.org> References: <20171024200426.62811-1-jeffrey.t.kirsher@intel.com> <20171024234351.0af0ff4a@t450s.home> <20171025000654.7621b84e@t450s.home> <20171028001907.7b8fa60d@t450s.home> <1509146439.11655.60.camel@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1509146439.11655.60.camel@intel.com> User-Agent: Mutt/1.8.3 (2017-05-23) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 27, 2017 at 11:20:41PM +0000, Duyck, Alexander H wrote: > I don't see this so much as a security problem per-se. It all depends > on the hardware setup. If I recall correctly, there are devices where > the PF function doesn't really do much other than act as a bit more > heavy-weight VF, and the actual logic is handled by a firmware engine > on the device. Can you cite an example? While those surely could exist in theory, I can't think of a practical example. Maybe we can start with the practical use case for this patch. That is what device is this intended for?