Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp5121108ima; Tue, 5 Feb 2019 06:43:51 -0800 (PST) X-Google-Smtp-Source: AHgI3Ib6Ubqvt5Fw9tEIr9MpsnojbaPkql+VxBR4nubqcdga3422DX+oaU+lKrq61TfzTSVShOZY X-Received: by 2002:a63:2744:: with SMTP id n65mr4854393pgn.65.1549377831709; Tue, 05 Feb 2019 06:43:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549377831; cv=none; d=google.com; s=arc-20160816; b=jzpDUWKpiwdMaE038R+M8OZJNPZbKtTAQGdP9gcIJgP2bLDgGWt5OAehGme9N3bm3k 7kNaGXywavHeQclperqitVv5SoDWBiapgZSgsnz527x+rVsAwe79d0gM/ZxBG2LRWsVn 5AT9xuuq3At5waZfvZiDhu7TcJh+qVMHpVHLd4fy45/astzqGli3gdfCWu+Idtd/ZV78 9hYWa4O83y8eEyAINuV/0k3ALV237ObZ4QQN+SpBy/ZSyFZtUiPHwQ2uSO/PabO5//35 zdCVh4Iv+x6o8rpwH/r7Utb6qbC9/BND/bFo7oo1D2f616JrfFcPDWEb0pMgB+2TBxey bHQQ== 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=cJ4jT7eF3otlxly00Alg5B2t6aU2qI3gMRuDqGOIR74=; b=KDndbvh8Xtz2nT8ox83b3R98aVqa0rsiTcKR/U3ajVffb9KblrLmrqjo4IBJz2WlSa HY6j5qflGrSQouS79Y1bx0kex/w0JmOdUkS1ATnnY6rnXqvxdmDnqGjzQS0fBudHQ1/y Idf8ds8iv6O/44Yh9itwyAUb9mKOED5/kUEoZGRqm8hYVAC4r0EaeTqHt3C0Y2kQ6Y28 W/cSPkVnhrE8gBIriXT5R7jJt3o5wCjKXKnk/bvyMMXCMAcdnWQUn1BeQa8EgcIBnkxD B2adc8nst1cwNjQNBJdXLuV0r0dNiqEGUNS/vDuM8I5pydUKCJV2nsH5sHp7DDkssoUu pxKw== 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d19si3279855pgg.314.2019.02.05.06.43.36; Tue, 05 Feb 2019 06:43:51 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727895AbfBEOjk (ORCPT + 99 others); Tue, 5 Feb 2019 09:39:40 -0500 Received: from mga05.intel.com ([192.55.52.43]:9637 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726276AbfBEOjk (ORCPT ); Tue, 5 Feb 2019 09:39:40 -0500 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Feb 2019 06:39:40 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,564,1539673200"; d="scan'208";a="297418131" Received: from unknown (HELO localhost.localdomain) ([10.232.112.69]) by orsmga005.jf.intel.com with ESMTP; 05 Feb 2019 06:39:39 -0800 Date: Tue, 5 Feb 2019 07:39:06 -0700 From: Keith Busch To: Takao Indoh Cc: 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: <20190205143905.GG22199@localhost.localdomain> References: <20190201124615.16107-1-indou.takao@jp.fujitsu.com> <20190201145414.GA22199@localhost.localdomain> <20190205124757.GA28465@esprimo> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190205124757.GA28465@esprimo> 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 Tue, Feb 05, 2019 at 09:56:05PM +0900, Takao Indoh wrote: > On Fri, Feb 01, 2019 at 07:54:14AM -0700, Keith Busch wrote: > > On Fri, Feb 01, 2019 at 09:46:15PM +0900, Takao Indoh wrote: > > > From: Takao Indoh > > > > > > Fujitsu A64FX processor has a feature to accelerate data transfer of > > > internal bus by relaxed ordering. It is enabled when the bit 56 of dma > > > address is set to 1. > > > > Wait, what? RO is a standard PCIe TLP attribute. Why would we need this? > > I should have explained this patch more carefully. > > 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.