Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp5246047ima; Tue, 5 Feb 2019 08:35:10 -0800 (PST) X-Google-Smtp-Source: AHgI3IZazkMZJusYsaCyzZAiZJx4apOP8C6n8D5ZVJmNGA8C9KaYQCjZbwrk1uuD06YAevGgJU0P X-Received: by 2002:a62:ca9c:: with SMTP id y28mr5843414pfk.236.1549384510106; Tue, 05 Feb 2019 08:35:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549384510; cv=none; d=google.com; s=arc-20160816; b=U9Le9Hbxdkx5tErC0tBwWO35rLrQZ5Vbx/W8gzBd/SscVesQKrUMydzgH8jQtttTlV BEUbmImB8pneeAfBk7PoNKQyqzb5p8R2aPC6o4ZyltDlQHnrRutUU67X8kVAdvt9YP4h MUX701ElvzCdIucvoeUtZ09SEI5ez8qGJaAheXwiLEg98ncc4EA7v2B0rSYHGWM+WxuQ +x/sKQw/h2liV15olQQMq2ZdRkxCe7auo4GFPHLOb0RAJtd5KBIw93VheWRwHd0mjkgY 3+QXz4qs7OW5E0IdXzxXoJDOuzzL/CbckdpqLNrLvqTjB2GOZMezoqu9wmSbiHdtRVbm UdCw== 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=RVbh8o0w7pe+mMeJjgzagDLiOwXQqaEBz18C/fLMAuM=; b=LuOjH3lUDyXsWtneRXVGnCOSW4fu/GIJCaTsHjTePVs2OJ2vl/Nr8PuEcuZZa6JhBO PmWDAyNX9eAo3ix/0RaM2isJGDPvCWHaYrA1d/6nGg6+dwx9mIGLIm4DUKtOyKAvN8YT xgTQGCrDxleVmIGWvFHewycyXKCDm6rQqwVWh3YRMGl+39aGDamkiF1X5ZKskhDWX3CR ebKtfCF+KFkylST6rWB0b2rt19mTCzB0fbDYF2xZei12MRf5yVnjZRLY3ud5x45mti38 jpl1gLqdzkhy8TvhDyuNRavNv3qSN4UuRVIg0kD7lIoN6WoB2fnyXwFgyEuH6WEiUZoN BOMA== 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 64si3801959pld.436.2019.02.05.08.34.54; Tue, 05 Feb 2019 08:35:10 -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; 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 S1729199AbfBEQNu (ORCPT + 99 others); Tue, 5 Feb 2019 11:13:50 -0500 Received: from verein.lst.de ([213.95.11.211]:54978 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728574AbfBEQNt (ORCPT ); Tue, 5 Feb 2019 11:13:49 -0500 Received: by newverein.lst.de (Postfix, from userid 2407) id CC15C68D93; Tue, 5 Feb 2019 17:13:47 +0100 (CET) Date: Tue, 5 Feb 2019 17:13:47 +0100 From: Christoph Hellwig To: Keith Busch Cc: Takao Indoh , Takao Indoh , axboe@fb.com, hch@lst.de, sagi@grimberg.me, linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] nvme: Enable acceleration feature of A64FX processor Message-ID: <20190205161347.GA847@lst.de> References: <20190201124615.16107-1-indou.takao@jp.fujitsu.com> <20190201145414.GA22199@localhost.localdomain> <20190205124757.GA28465@esprimo> <20190205143905.GG22199@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190205143905.GG22199@localhost.localdomain> 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, Feb 05, 2019 at 07:39:06AM -0700, Keith Busch wrote: > > Standard PCIe devices can use Relaxed Ordering (RO) by setting Attr > > field in the TLP header, however, this mechanism cannot be utilized if > > the device does not support RO feature. Fujitsu A64FX processor has an > > alternate feature to enable RO in its Root Port by setting the bit 56 of > > DMA address. This mechanism enables to utilize RO feature even if the > > device does not support standard PCIe RO. > > I think you're better of just purchasing devices that support the > capability per spec rather than with a non-standard work around. Agreed, this seems like a pretty gross hack.