Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp848315yba; Thu, 9 May 2019 06:55:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqzdmg+vi7WYp/ixfyb3woKHPRYj+wEK3Ktfpw1l/AszZHTIeSFyrRLglBMkS2YTgWl+COYT X-Received: by 2002:a63:fd50:: with SMTP id m16mr5767848pgj.192.1557410158038; Thu, 09 May 2019 06:55:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557410158; cv=none; d=google.com; s=arc-20160816; b=UynpeRHVMbHDzgQhzpTJLrBzD2AJYHKy89MivGNR7gxf0CH9LCawuNcWbJS3/9lYng 9ATRijxo8iGdDDca/dv8AY6sFI8etbWyolNteuOvcXUl+J74TNesqQH0KgVZYrSx5yTc QfSWRPiIoZ1NQNreFbW/DdhJ5j9chhWUsq6vqasL9Aqw7cn7PGRGtedOTNa4eCf72sSc /p/G44eP9FgB7QxNPNzsSyH1XNzT7ahKPSeBoBlMigivIWfInGF1gvb+pPz9KXQZdnOG 26oyGBFVhJL1WwgcARw7mciCFkvovBzwV4mLr4FEVw97PKjpQ1R3QfekkY3HNYrfN98C 3PGg== 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; bh=rmVRtiAZ+mA4MLxiuF1RgZvgs/Ye0sYAtoQd+QG1Dj8=; b=Mbc6Mqjs2vVXj4Wo57q1dz2i8MHDNKh7j3qMBwcZCjkwHnaqfTgtX30tr1XGL8f1lP vp+WuqjfT8t/vANsH/c6y5zVkj/EoDWgPvw/uDwict+Y+SujlqnlAfnf2Nw6G36AEtYd K6+zxBxtPugZu5IPfIkBNXnS86Lez9/+gUi5D6sQ8wwPxi8jV2HxkbQHELKT7smcVfIO S8zJmzv9VOqU7y/ElawyKqdXSmCS1aVzZsJfCzchhTJXy6gNtqEZU6HNOjIkjTTajCa5 aV8i9/P0pS596Uhl825L0Xdqxs2j2JHkTbsvrVH/p93fidiNgVi3hskPdjjKaDIWyZg7 ulaQ== 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; dmarc=fail (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 a11si3101369pgv.157.2019.05.09.06.55.41; Thu, 09 May 2019 06:55:58 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726682AbfEINyt (ORCPT + 99 others); Thu, 9 May 2019 09:54:49 -0400 Received: from mga11.intel.com ([192.55.52.93]:28319 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726192AbfEINyt (ORCPT ); Thu, 9 May 2019 09:54:49 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 May 2019 06:54:48 -0700 X-ExtLoop1: 1 Received: from unknown (HELO localhost.localdomain) ([10.232.112.69]) by fmsmga001.fm.intel.com with ESMTP; 09 May 2019 06:54:49 -0700 Date: Thu, 9 May 2019 07:49:17 -0600 From: Keith Busch To: Stefan Hajnoczi Cc: Maxim Levitsky , Christoph Hellwig , Fam Zheng , "Busch, Keith" , Sagi Grimberg , "kvm@vger.kernel.org" , Wolfram Sang , Greg Kroah-Hartman , "Liang, Cunming" , Nicolas Ferre , "linux-kernel@vger.kernel.org" , "linux-nvme@lists.infradead.org" , "David S . Miller" , Jens Axboe , Alex Williamson , Kirti Wankhede , Mauro Carvalho Chehab , Paolo Bonzini , "Liu, Changpeng" , "Paul E . McKenney" , Amnon Ilan , John Ferlan Subject: Re: [PATCH v2 00/10] RFC: NVME MDEV Message-ID: <20190509134917.GC8365@localhost.localdomain> References: <20190502114801.23116-1-mlevitsk@redhat.com> <20190503121838.GA21041@lst.de> <20190509091255.GB15331@stefanha-x1.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190509091255.GB15331@stefanha-x1.localdomain> User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 09, 2019 at 02:12:55AM -0700, Stefan Hajnoczi wrote: > On Mon, May 06, 2019 at 12:04:06PM +0300, Maxim Levitsky wrote: > > On top of that, it is expected that newer hardware will support the PASID based > > device subdivision, which will allow us to _directly_ pass through the > > submission queues of the device and _force_ us to use the NVME protocol for the > > frontend. > > I don't understand the PASID argument. The data path will be 100% > passthrough and this driver won't be necessary. We still need a non-passthrough component to handle slow path, non-doorbell controller registers and admin queue. That doesn't necessarily need to be a kernel driver, though.