Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp6698439ybx; Mon, 11 Nov 2019 13:13:09 -0800 (PST) X-Google-Smtp-Source: APXvYqyLWsI6fW7ShahweSHzkeTuxNU0TcOAecd8zEv8YoT6vQhozRs66w+s5eKsBzKfg1EMXKGz X-Received: by 2002:a50:f747:: with SMTP id j7mr28964017edn.247.1573506789753; Mon, 11 Nov 2019 13:13:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573506789; cv=none; d=google.com; s=arc-20160816; b=B/JPYwd8b1ZLUA/IuHIUDGSULgGRYymNNdoZAHhPBq4MjwUt7AD2ZgrjkujL/Vx7FC Om04dfoG28ag3OtJEuiuf7kOXNUxlCjIW5VEDX5B7PxyjgUe7PcQaA0xkYuU02HYrM3o kCj2yyur4sfOp64MP54+voYEKrspehabW8822Z03kuPmqfyFEw/a3xWQv5MVjMNeR8v1 pws+hMvHZv/wGj95zMYbULGRR8D4p/9lET2VzOe9m19GqGFYXfw36WHjYzCbljCtIzSN TvbbqQOOJT0WeUVxPNFHcCWmVjr+6BE8n2BZVOuvuR4/LtWmDQYe+yJlKr9lVQ1dyZ9M 0yng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=iHSEG4DClXubyHOt3t2tdpDOQlrHJ64gHfdeM+gLICY=; b=yAkYGzAFpPyZWKzzl5b/i9AJDKQrU4oMkbZOD/rEG66PEMO7mBLGO85TuiUcLmqS1O pDLYuW2I4ZA877AtAFKf3LYXNvnvdSK5ReE2r9XuxxYC2dVq/kI+OVQpnhMJ20LQRNy6 xv/KaBXsmJ9yZd9gzttDcZZllCV50k48Yi2CoPKjSiUu5l6rkRVB/M5VT8pY78J3LtbR wcCBnAlrX5oWvzKMJB1vf7PwmStmeS1n6CVCXtP+PuzcZFOm8uQM512xjCRLvitRzB7i rw0lnuTh6Ug3bThVzoE98zKuWO7s6ZvrDblUDk9t5JsVl7JFgBSP9NFjIOx1NAqvUJie ASrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=C0byJPAH; 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 w3si9902791ejf.140.2019.11.11.13.12.38; Mon, 11 Nov 2019 13:13:09 -0800 (PST) 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=@sifive.com header.s=google header.b=C0byJPAH; 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 S1726927AbfKKVJa (ORCPT + 99 others); Mon, 11 Nov 2019 16:09:30 -0500 Received: from mail-lf1-f67.google.com ([209.85.167.67]:39090 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726821AbfKKVJa (ORCPT ); Mon, 11 Nov 2019 16:09:30 -0500 Received: by mail-lf1-f67.google.com with SMTP id j14so2389569lfk.6 for ; Mon, 11 Nov 2019 13:09:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=iHSEG4DClXubyHOt3t2tdpDOQlrHJ64gHfdeM+gLICY=; b=C0byJPAHyBGELNR8VxwingUMAz9SgITb+A9AjnUdlNbZN9If1XFd42A9WqMnybvxSh 0xLiQLCshpJ61VXki7XNugUcsdTCSnlP9Uq5ZvPtpwpXSh0oF/NEQUSxl30OzkfQZhqn 1rf/q3MlN+w9M3x5JJsgY/AKPYTzGwbGoib87YokicnBfZgpLs1wXPr9Y9SpAD004Vpc 6eDlSOScgt1RgLLp75LmDJ1HFnQwHPq2IYG+5NGSbdCgOJG4spodRKfaDMd6ziILXev2 RIhm/RbObZ1Dj6FfGK7ro1/9OeFAFam69eF05Ix8bUzPjkHTLXqiKHkU0rFiMpVWLzrf Y+uQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=iHSEG4DClXubyHOt3t2tdpDOQlrHJ64gHfdeM+gLICY=; b=jeJ5lsPzhEe4GKDe5ZOi2ORQiKBplbiyVHRkPoWDDrQ02xejOL4cEwIhTlMYk0AEfC ROUj7dUlp8A0aslimPG3NcRzIefxQho+IG45525L6KDgeQ+gVWKTZhoY9d3hVJ4TpF6f mJnu8fFNVgUGMjtlkQWrAN+AinJsVC9HexwUzVFQLr4RXXaymtfdEy8/djH/UCuEqv0M uGSkJrDoNrf/RnQFuljbrfGPOEK6dzlp3rASyK+dM6w4Pksqz30CqVFPCsv0CGPHL7Ba 1+SZfaXj+EjrtXtQhHJcupFpFaTyIuJ2b8AP8iHDfC+ZtF1fTgfzANz0voVG44m9yqaF 8QMw== X-Gm-Message-State: APjAAAUyS77FVaMQnolSK5GcnV/NjQvdRS86NcWkZdaHQLQQ0DevO3m6 3CEUI0y3ZgMZondciiaw+cgo+exC9jBeXh7TFe7JFg== X-Received: by 2002:ac2:5305:: with SMTP id c5mr9157574lfh.55.1573506568166; Mon, 11 Nov 2019 13:09:28 -0800 (PST) MIME-Version: 1.0 References: <1573493889-22336-1-git-send-email-alan.mikhak@sifive.com> <20191111203743.GA25876@lst.de> In-Reply-To: <20191111203743.GA25876@lst.de> From: Alan Mikhak Date: Mon, 11 Nov 2019 13:09:17 -0800 Message-ID: Subject: Re: [PATCH RFC] PCI: endpoint: Add NVMe endpoint function driver To: Christoph Hellwig Cc: linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, linux-nvme@lists.infradead.org, Kishon Vijay Abraham I , lorenzo.pieralisi@arm.com, Bjorn Helgaas , Palmer Dabbelt , Paul Walmsley Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 11, 2019 at 12:37 PM Christoph Hellwig wrote: > > On Mon, Nov 11, 2019 at 09:38:09AM -0800, Alan Mikhak wrote: > > A design goal is to not modify the Linux NVMe target driver > > at all. > > As I told you before that is not a "goal" but a fundamental mistake and > against the design philosophy of all major Linux subsystems. Please fix > your series to move all command parsing to the code based on flags for > fabrics vs PCIe in the few places where they significantly differ. Thanks Christoph. Let me repeat what I think your comment is saying to me. You prefer all parsing for nvme command received from host over PCIe to be removed from nvme function driver and added to existing fabrics command parsing in nvme target code with new flags introduced to indicate fabrics vs. PCIe. Any more thoughts?