From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 40g5GV6XYgzF1n5 for ; Tue, 8 May 2018 13:54:42 +1000 (AEST) Received: from pps.filterd (m0098393.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w483s5GO043506 for ; Mon, 7 May 2018 23:54:40 -0400 Received: from e06smtp13.uk.ibm.com (e06smtp13.uk.ibm.com [195.75.94.109]) by mx0a-001b2d01.pphosted.com with ESMTP id 2htwgrdey7-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 07 May 2018 23:54:39 -0400 Received: from localhost by e06smtp13.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 8 May 2018 04:54:37 +0100 Subject: Re: [PATCH v2 6/7] ocxl: Add an IOCTL so userspace knows what CPU features are available From: "Alastair D'Silva" To: Nicholas Piggin Cc: Frederic Barrat , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, mikey@neuling.org, vaibhav@linux.vnet.ibm.com, aneesh.kumar@linux.vnet.ibm.com, malat@debian.org, felix@linux.vnet.ibm.com, pombredanne@nexb.com, sukadev@linux.vnet.ibm.com, gregkh@linuxfoundation.org, arnd@arndb.de, andrew.donnellan@au1.ibm.com, fbarrat@linux.vnet.ibm.com, corbet@lwn.net Date: Tue, 08 May 2018 13:54:31 +1000 In-Reply-To: <20180508135019.3e08d57a@roar.ozlabs.ibm.com> References: <20180417020950.21446-1-alastair@au1.ibm.com> <20180418010810.30937-1-alastair@au1.ibm.com> <20180418010810.30937-7-alastair@au1.ibm.com> <1525740115.7796.46.camel@au1.ibm.com> <20180508135019.3e08d57a@roar.ozlabs.ibm.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Message-Id: <1525751671.7796.49.camel@au1.ibm.com> List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, 2018-05-08 at 13:50 +1000, Nicholas Piggin wrote: > On Tue, 08 May 2018 10:41:55 +1000 > "Alastair D'Silva" wrote: > > > On Mon, 2018-05-07 at 20:14 +0200, Frederic Barrat wrote: > > > > > > Le 18/04/2018 à 03:08, Alastair D'Silva a écrit : > > > > From: Alastair D'Silva > > > > > > > > In order for a userspace AFU driver to call the Power9 specific > > > > OCXL_IOCTL_ENABLE_P9_WAIT, it needs to verify that it can > > > > actually > > > > make that call. > > > > > > > > Signed-off-by: Alastair D'Silva > > > > --- > > > > Documentation/accelerators/ocxl.rst | 1 - > > > > drivers/misc/ocxl/file.c | 25 > > > > +++++++++++++++++++++++++ > > > > include/uapi/misc/ocxl.h | 4 ++++ > > > > 3 files changed, 29 insertions(+), 1 deletion(-) > > > > > > > > diff --git a/Documentation/accelerators/ocxl.rst > > > > b/Documentation/accelerators/ocxl.rst > > > > index ddcc58d01cfb..7904adcc07fd 100644 > > > > --- a/Documentation/accelerators/ocxl.rst > > > > +++ b/Documentation/accelerators/ocxl.rst > > > > @@ -157,7 +157,6 @@ OCXL_IOCTL_GET_METADATA: > > > > Obtains configuration information from the card, such at > > > > the > > > > size of > > > > MMIO areas, the AFU version, and the PASID for the current > > > > context. > > > > > > > > - > > > > > > > > > Intended? > > > > > > Other than that, > > > Acked-by: Frederic Barrat > > > > > > > Nope, I'll fix that, thanks. > > > > Just to be clear, this is for OCXL features. I would just make that > explicit in the title (s/CPU/OCXL). > > Thanks, > Nick > OK, sounds reasonable. -- Alastair D'Silva Open Source Developer Linux Technology Centre, IBM Australia mob: 0423 762 819