Received: by 10.192.165.148 with SMTP id m20csp3699465imm; Mon, 7 May 2018 17:42:43 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpCEnvQM9ey57ifIrBPwwXktZKJciUZAtT4VSssuCx6ErVTN9uPrbSa+rGRVcr0FV82H1ST X-Received: by 2002:a17:902:8345:: with SMTP id z5-v6mr38438411pln.311.1525740163343; Mon, 07 May 2018 17:42:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525740163; cv=none; d=google.com; s=arc-20160816; b=ymMCMJ/hGqx0WKLDFNfcCn9oAbLA3E7JAz5ComGAj/w510u8agwQjy7YBITmVrEhS4 RnWkY7J2TYrAR9L8J1G+3CflLHyIq9VauKMVL8pwDwpw6U10fud1loM9UMf/R6Z9nOlr hBQyZ+7qYpGOl9WIdWgQNYNuEbkfHM+4AbvNvDO0xOGHnVkB805+OGQlYZvS7bpKsV5t VQLxpMRGo/imN8+ruTmxVLwjHGOXfB52SlQf+GoSb6868QjTuyh9gN+YYtaNt0+8Ks5v yyDoZyQx0PTmi7BkbQL0N3hJnMHHbaayIM+ljmaI0zVsa0e/fWs4AgGXfhyUswUjtXXI AlIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:content-transfer-encoding :mime-version:organization:references:in-reply-to:date:cc:to:from :subject:arc-authentication-results; bh=6pRfv6b5e/exxd2d94+/JrRU/vi4KMMmhrgkF3Ldh+o=; b=wFuaj6tr1Tew/kF4PC9s+/8C3d/kSxuHYHta6C0Tn8a/OVQ0MbYHbD3g+GRD2qQAyA vlog2NBuvhBKZ01iNMFEYzKb+7MYHFKgVP426jVhMGg907uGSgsRwiSh+k4CvqXsKg2F zMjObF9zeRrP+tW4ulvfhNky0WeffjVmc/hPvGduZLMzcd2YGIt1OJKsIGibHccOGWEx I0Mowky3vu4GjYcy89K2eiJ/s3wKQPN/DsTHzJIbKYun+H8HJUt1E487eSCPV+BIXXkI Ba8YebYLbuoTM+wnVUluYQsB7+eJgjEQM6HLofqSI0bNoi8vvIsCenRFWLUbgI1b7Myt xUUA== 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 h8-v6si23521533pli.474.2018.05.07.17.42.29; Mon, 07 May 2018 17:42:43 -0700 (PDT) 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 S1753839AbeEHAmG (ORCPT + 99 others); Mon, 7 May 2018 20:42:06 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:33416 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753392AbeEHAmE (ORCPT ); Mon, 7 May 2018 20:42:04 -0400 Received: from pps.filterd (m0098394.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w480cnDZ033933 for ; Mon, 7 May 2018 20:42:03 -0400 Received: from e06smtp11.uk.ibm.com (e06smtp11.uk.ibm.com [195.75.94.107]) by mx0a-001b2d01.pphosted.com with ESMTP id 2htx2xq4x5-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 07 May 2018 20:42:03 -0400 Received: from localhost by e06smtp11.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 8 May 2018 01:42:01 +0100 Received: from b06cxnps4075.portsmouth.uk.ibm.com (9.149.109.197) by e06smtp11.uk.ibm.com (192.168.101.141) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Tue, 8 May 2018 01:41:57 +0100 Received: from d06av21.portsmouth.uk.ibm.com (d06av21.portsmouth.uk.ibm.com [9.149.105.232]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w480fvmv7668070; Tue, 8 May 2018 00:41:57 GMT Received: from d06av21.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 5DE285204D; Tue, 8 May 2018 00:32:17 +0100 (BST) Received: from ozlabs.au.ibm.com (unknown [9.192.253.14]) by d06av21.portsmouth.uk.ibm.com (Postfix) with ESMTP id 0B8905204B; Tue, 8 May 2018 00:32:17 +0100 (BST) 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 626BCA0254; Tue, 8 May 2018 10:41:55 +1000 (AEST) Subject: Re: [PATCH v2 6/7] ocxl: Add an IOCTL so userspace knows what CPU features are available From: "Alastair D'Silva" To: Frederic Barrat , linuxppc-dev@lists.ozlabs.org Cc: 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, npiggin@gmail.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 10:41:55 +1000 In-Reply-To: References: <20180417020950.21446-1-alastair@au1.ibm.com> <20180418010810.30937-1-alastair@au1.ibm.com> <20180418010810.30937-7-alastair@au1.ibm.com> Organization: IBM Australia Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.26.6 (3.26.6-1.fc27) Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 x-cbid: 18050800-0040-0000-0000-0000045717B0 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18050800-0041-0000-0000-000020FB18D7 Message-Id: <1525740115.7796.46.camel@au1.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-05-07_11:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1805080004 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. -- Alastair D'Silva Open Source Developer Linux Technology Centre, IBM Australiamob: 0423 762 819