Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp4121934ybf; Tue, 3 Mar 2020 20:44:07 -0800 (PST) X-Google-Smtp-Source: ADFU+vs+V0WSZWv+rOuKlMD43xv0ZZpyd7XLhbrXtSlBrO6nslWRuOUIqVN8B1Qmc3GpW8zJRxh0 X-Received: by 2002:a9d:2264:: with SMTP id o91mr999280ota.328.1583297047545; Tue, 03 Mar 2020 20:44:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583297047; cv=none; d=google.com; s=arc-20160816; b=hRL4wMJJwAxyqV1rVu7f0eKfCwhPKsV7QAtJonBWRzdhVLjz+7nV+CW3MGxgUhtPRU MsqFCTKWZjjDfR0LAY+ekO4R8v8nZPMORw1EkdXZnJbdQAxQVPC/UeF69z9mo7KPuhSQ JZ8EcOx+qjwCVVRyz7y+8Jm9EtFjUZ1k54PvohVjnmXFnUvuzplj9CYxayRPITO01c+Q GT4XHWgcnghnQewCcRkoESfAIyMwiE13cnfz7hkhq/uTw27aZdofv+OpLF7pivFygBze QK/6d1zWbqqe/Mn3LDBnpXgqSiqhTq3cnAsPsdUv36PkpemmQ2sLPy2fC552wCOYFw+y 09kw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:subject:message-id :content-transfer-encoding:mime-version:user-agent:organization :references:in-reply-to:date:cc:to:from; bh=1HNgWr/LgVUOLi6kkJjl2E7uc+m6fVyUE2j0kPDhsnA=; b=YS26404VCKYxaPMESoLrcrMvftl5sd5J2V5J3lsiF9CigeD4hbztV7guRKOSOrP0aI QRHFO9UJsK+ikLiUd7G9Y2MEVhQCPaZKvxuk8X3I7dY7mlX0FW2pUhTu3Ywbwe6Vuno0 9l4Evq/TNd8BZS+cehQPBrR4q/jQLvUV2mH/QAOUQqTK/a7zwwSzCRIdRTAdrAjNwOMt kNmOzBOkYvAejXI5X32rL1L7b1QzqjieZ85f1/mjxV6QIqQM5In6XUvnXiuKlFMG72aH Q+txF7JcouCyFdSgRQYGxlH5hR+nXKF840jcnnT8Ug6LBw2/MJDPPgXjWYgFpWUzMM9w 5LzQ== 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=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m19si424730otq.40.2020.03.03.20.43.40; Tue, 03 Mar 2020 20:44:07 -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=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727026AbgCDEnI (ORCPT + 99 others); Tue, 3 Mar 2020 23:43:08 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:18996 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725773AbgCDEnH (ORCPT ); Tue, 3 Mar 2020 23:43:07 -0500 Received: from pps.filterd (m0098399.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 0244YWYo137219 for ; Tue, 3 Mar 2020 23:43:06 -0500 Received: from e06smtp03.uk.ibm.com (e06smtp03.uk.ibm.com [195.75.94.99]) by mx0a-001b2d01.pphosted.com with ESMTP id 2yhsv97hu8-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 03 Mar 2020 23:43:06 -0500 Received: from localhost by e06smtp03.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 4 Mar 2020 04:43:03 -0000 Received: from b06cxnps4076.portsmouth.uk.ibm.com (9.149.109.198) by e06smtp03.uk.ibm.com (192.168.101.133) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Wed, 4 Mar 2020 04:42:56 -0000 Received: from d06av26.portsmouth.uk.ibm.com (d06av26.portsmouth.uk.ibm.com [9.149.105.62]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 0244gtTI44564560 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 4 Mar 2020 04:42:55 GMT Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 56622AE053; Wed, 4 Mar 2020 04:42:55 +0000 (GMT) Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 00F85AE051; Wed, 4 Mar 2020 04:42:55 +0000 (GMT) Received: from ozlabs.au.ibm.com (unknown [9.192.253.14]) by d06av26.portsmouth.uk.ibm.com (Postfix) with ESMTP; Wed, 4 Mar 2020 04:42:54 +0000 (GMT) Received: from adsilva.ozlabs.ibm.com (haven.au.ibm.com [9.192.254.114]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.au.ibm.com (Postfix) with ESMTPSA id CFCCAA023A; Wed, 4 Mar 2020 15:42:49 +1100 (AEDT) From: "Alastair D'Silva" To: Dan Williams , Frederic Barrat Cc: "Aneesh Kumar K . V" , "Oliver O'Halloran" , Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , Andrew Donnellan , Arnd Bergmann , Greg Kroah-Hartman , Vishal Verma , Dave Jiang , Ira Weiny , Andrew Morton , Mauro Carvalho Chehab , "David S. Miller" , Rob Herring , Anton Blanchard , Krzysztof Kozlowski , Mahesh Salgaonkar , Madhavan Srinivasan , =?ISO-8859-1?Q?C=E9dric?= Le Goater , Anju T Sudhakar , Hari Bathini , Thomas Gleixner , Greg Kurz , Nicholas Piggin , Masahiro Yamada , Alexey Kardashevskiy , Linux Kernel Mailing List , linuxppc-dev , linux-nvdimm , Linux MM Date: Wed, 04 Mar 2020 15:42:53 +1100 In-Reply-To: References: <20200221032720.33893-1-alastair@au1.ibm.com> <20200221032720.33893-16-alastair@au1.ibm.com> <9e40ad40-6fa8-0fd2-a53a-8a3029a3639c@linux.ibm.com> Organization: IBM Australia Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.4 (3.34.4-1.fc31) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 x-cbid: 20030404-0012-0000-0000-0000038CF56C X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 20030404-0013-0000-0000-000021C9AE38 Message-Id: <86c3523e9cb2c0a53fdcffca95117e84df452937.camel@au1.ibm.com> Subject: RE: [PATCH v3 15/27] powerpc/powernv/pmem: Add support for near storage commands X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138,18.0.572 definitions=2020-03-03_08:2020-03-03,2020-03-03 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 mlxlogscore=967 clxscore=1015 suspectscore=0 impostorscore=0 adultscore=0 spamscore=0 malwarescore=0 bulkscore=0 lowpriorityscore=0 mlxscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2001150001 definitions=main-2003040032 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2020-03-02 at 10:42 -0800, Dan Williams wrote: > On Mon, Mar 2, 2020 at 9:59 AM Frederic Barrat > wrote: > > > > > > Le 21/02/2020 à 04:27, Alastair D'Silva a écrit : > > > From: Alastair D'Silva > > > > > > Similar to the previous patch, this adds support for near storage > > > commands. > > > > > > Signed-off-by: Alastair D'Silva > > > --- > > > > Is any of these new functions ever called? > > This is my concern as well. The libnvdimm command support is limited > to the commands that Linux will use. Other passthrough commands are > supported through a passthrough interface. However, that passthrough > interface is explicitly limited to publicly documented command sets > so > that the kernel has an opportunity to constrain and consolidate > command implementations across vendors. It will be in the patch that implements overwrite. I moved that patch out of this series, as it needs more testing, so I guess I can submit this alongside it. -- Alastair D'Silva Open Source Developer Linux Technology Centre, IBM Australia mob: 0423 762 819