Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp135648imj; Wed, 13 Feb 2019 06:00:47 -0800 (PST) X-Google-Smtp-Source: AHgI3IZwocBteWmvl0vnp+MLIAVkHkKk7KRwz/KKjI69TCRdp+8/MOoLT9fTspkPkRAQ4gem99cT X-Received: by 2002:a17:902:a512:: with SMTP id s18mr662748plq.139.1550066447684; Wed, 13 Feb 2019 06:00:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550066447; cv=none; d=google.com; s=arc-20160816; b=pvPTbPChYMkAC2+0YEiIFSI0M31CkRq7OIyqMZThjHdLN7+05kIG9nlhPPoLsu6SZS Vfgs5rB4z8v5UreoZeeFjDgth4lYLZ2fTQ0NbrqHxIkwWCEhtbKeHRxARErSzdbVPGfK GqwNCeQzaX3Cy5k4EUJ7qGda+wBgY8ZVwWAHe8lMxCISUFSxYD7uUV7tQJ/ZwF+ixS1Q beCJbhILEYNvwvEttEbxKQw6MGugWKpI5MKwkesDqaPVqFmaM4Y+OyKdtrw8deXvSRdt ObXlMtlz8FcmDv4Do5ecndqoknTI8sYE9HLTHHvfCDf18zaUCP6hNcS4dHD7wbffnix7 cZdg== 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=nucCEWpWRbNF0FDehOdiLXP1edOAolkluWaU0WAgrMg=; b=RYLjJU44JCmWho175sK7wzzcpCrsrb6ch4sSJDsOsn9ZPFI47eHMgdnjME7LvEV46A oXRcOAjuNjI5l+amgu1taM3rCgKjRYDAECpAuhcMwlaMqj3FzMuwdtQprPGt31eAYogw FhemyLeKcM1/Dp4wrL5cdh2J95NFhwNnuEY3ChJSTLpVv3omHaBCyMU23syOG/Ffg2j6 Ew+dNA5FWjvoYwU5k0GvQvunWWIIHF1Tv+vHJr1+kjJmtPcc665OCv20i3FkUSK0LXGj 9O/fTj+86dFqrrEzlRoN95RqCazYiBV92d040Hw423+iGNNb5Y5Cnmoc5P2/yjFKmLK0 wJeQ== 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 62si16632950plc.87.2019.02.13.06.00.30; Wed, 13 Feb 2019 06:00:47 -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 S1732525AbfBMMEV (ORCPT + 99 others); Wed, 13 Feb 2019 07:04:21 -0500 Received: from mgwkm03.jp.fujitsu.com ([202.219.69.170]:12696 "EHLO mgwkm03.jp.fujitsu.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728015AbfBMMEU (ORCPT ); Wed, 13 Feb 2019 07:04:20 -0500 Received: from kw-mxauth.gw.nic.fujitsu.com (unknown [192.168.231.132]) by mgwkm03.jp.fujitsu.com with smtp id 0cfa_a3df_d945260a_7030_4754_9494_9d6dc70b2112; Wed, 13 Feb 2019 21:04:13 +0900 Received: from g01jpfmpwkw02.exch.g01.fujitsu.local (g01jpfmpwkw02.exch.g01.fujitsu.local [10.0.193.56]) by kw-mxauth.gw.nic.fujitsu.com (Postfix) with ESMTP id 84F74AC011D for ; Wed, 13 Feb 2019 21:04:12 +0900 (JST) Received: from g01jpexchkw33.g01.fujitsu.local (unknown [10.0.193.4]) by g01jpfmpwkw02.exch.g01.fujitsu.local (Postfix) with ESMTP id 4A3B9328701; Wed, 13 Feb 2019 21:04:11 +0900 (JST) Received: from localhost (10.17.204.234) by g01jpexchkw33.g01.fujitsu.local (10.0.193.36) with Microsoft SMTP Server id 14.3.408.0; Wed, 13 Feb 2019 21:04:11 +0900 X-SecurityPolicyCheck: OK by SHieldMailChecker v2.5.2 X-SHieldMailCheckerPolicyVersion: FJ-ISEC-20170217-enc X-SHieldMailCheckerMailID: f8d45dfa1c5d4dbcafffd1e55cc164d4 Date: Wed, 13 Feb 2019 21:03:58 +0900 From: Takao Indoh To: Christoph Hellwig CC: Keith Busch , Takao Indoh , , , , Subject: Re: [PATCH] nvme: Enable acceleration feature of A64FX processor Message-ID: <20190213120358.GA3559@esprimo> References: <20190201124615.16107-1-indou.takao@jp.fujitsu.com> <20190201145414.GA22199@localhost.localdomain> <20190205124757.GA28465@esprimo> <20190205143905.GG22199@localhost.localdomain> <20190205161347.GA847@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20190205161347.GA847@lst.de> User-Agent: Mutt/1.10.1 (2018-07-13) X-SecurityPolicyCheck-GC: OK by FENCE-Mail X-TM-AS-MML: disable 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 05:13:47PM +0100, Christoph Hellwig wrote: > 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. Ok, let me think about how I should change this patch. I'm thinking that the problem of this patch is adding processor specific code into NVMe common driver, is this correct? Or another problem? It would be great if you could give me a hint to improve this patch. Thanks, Takao Indoh