Received: by 10.192.165.156 with SMTP id m28csp1380897imm; Mon, 16 Apr 2018 20:47:15 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+ZXEsunPM+0u+nWwse7cvYV/xHp/mZV5+F07socO2dZFl4o+KWfbF2Ap9A3dICnnDAAAbK X-Received: by 10.98.75.194 with SMTP id d63mr445513pfj.99.1523936835190; Mon, 16 Apr 2018 20:47:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523936835; cv=none; d=google.com; s=arc-20160816; b=PMCNWKTIQnKCSvgLH60GIIuc51ILBJOUy69YN8IDt7v1FTZKOaSV0gfR4HpXRJtte4 ltVnfaFP/FiWtj3N3Aeh2OJ497dLiB5Z6QH71FyDIM9mzdrO485r1vK8XMfj9C/p3Fds Xdqcs3kon9lSsfqPVFFG7byAASk5JHwVasyK2ny+OeOy5KNVSwmmizpwdgBPRNyY06GA s5KK6A4tjqQFrnp31ZAeqBWQtYdlFK39djK8ZDNFHU7jme9kxNXkvh2iu2329VUaCg4k FCH2dinBfKwwEajACcf+AglPPW/KU1wyOlbWi0rUw5AWU9KHgDHap+5q+95d1xw8l9SU rz/A== 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 :content-language:in-reply-to:mime-version:user-agent:date:from :references:cc:to:subject:arc-authentication-results; bh=MAkfVYP1XX9aNzkFNaWXEKEVzKMW1G1K4ZHt+GsgWkw=; b=tf5WqNvoik/qyz+ReGrWFG4a31Ka9orhQDOsRLaPQvt8PHM3DYk128mwJVbqnh1hEC eim5j2F4HyujsP1kE2R473E31pGvkv4PQUR43iCOXzt3y8gEsGxiwTAswz2bNCTIfYs7 Q9H8DQZpuVWTt/2RbL5zhFCexrggVh3qyEwqkS0+uhgzhQ0L533vHqRi1gRWeNkGEJbZ CFT7EpcYUyckUtS28mzKYf6S/GX3fsQBoxkYeejidJsrtL5YTV2ox/SAGIcfBVEGYONE /rUwNrirGwZQKu0EHzm5G/XmdB/CsMonwBbaoDOKOApAfX9w+Vqn+Mkm5neVWWEQ2WT5 YAJA== 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 t2si10714812pgb.209.2018.04.16.20.47.01; Mon, 16 Apr 2018 20:47:15 -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 S1752947AbeDQDpb (ORCPT + 99 others); Mon, 16 Apr 2018 23:45:31 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:49952 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751927AbeDQDp3 (ORCPT ); Mon, 16 Apr 2018 23:45:29 -0400 Received: from pps.filterd (m0098417.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w3H3iQaE123904 for ; Mon, 16 Apr 2018 23:45:29 -0400 Received: from e06smtp14.uk.ibm.com (e06smtp14.uk.ibm.com [195.75.94.110]) by mx0a-001b2d01.pphosted.com with ESMTP id 2hd67fxk1g-1 (version=TLSv1.2 cipher=AES256-SHA256 bits=256 verify=NOT) for ; Mon, 16 Apr 2018 23:45:28 -0400 Received: from localhost by e06smtp14.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 17 Apr 2018 04:45:26 +0100 Received: from b06cxnps3074.portsmouth.uk.ibm.com (9.149.109.194) by e06smtp14.uk.ibm.com (192.168.101.144) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Tue, 17 Apr 2018 04:45:23 +0100 Received: from d06av23.portsmouth.uk.ibm.com (d06av23.portsmouth.uk.ibm.com [9.149.105.59]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w3H3jMDd10289422; Tue, 17 Apr 2018 03:45:22 GMT Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 365AAA4053; Tue, 17 Apr 2018 04:37:32 +0100 (BST) Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D9225A4040; Tue, 17 Apr 2018 04:37:31 +0100 (BST) Received: from ozlabs.au.ibm.com (unknown [9.192.253.14]) by d06av23.portsmouth.uk.ibm.com (Postfix) with ESMTP; Tue, 17 Apr 2018 04:37:31 +0100 (BST) Received: from [10.61.2.125] (haven.au.ibm.com [9.192.254.114]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ozlabs.au.ibm.com (Postfix) with ESMTPSA id 50BFEA0195; Tue, 17 Apr 2018 13:45:20 +1000 (AEST) Subject: Re: [PATCH 7/7] ocxl: Document new OCXL IOCTLs To: "Alastair D'Silva" , 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, fbarrat@linux.vnet.ibm.com, corbet@lwn.net, "Alastair D'Silva" References: <20180417020950.21446-1-alastair@au1.ibm.com> <20180417020950.21446-8-alastair@au1.ibm.com> From: Andrew Donnellan Date: Tue, 17 Apr 2018 13:45:20 +1000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180417020950.21446-8-alastair@au1.ibm.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-AU Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 x-cbid: 18041703-0044-0000-0000-00000548FDEE X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18041703-0045-0000-0000-000028890909 Message-Id: X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-04-17_02:,, 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=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1804170034 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 17/04/18 12:09, Alastair D'Silva wrote: > From: Alastair D'Silva > > Signed-off-by: Alastair D'Silva > --- > Documentation/accelerators/ocxl.rst | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/Documentation/accelerators/ocxl.rst b/Documentation/accelerators/ocxl.rst > index ddcc58d01cfb..144595a80a1c 100644 > --- a/Documentation/accelerators/ocxl.rst > +++ b/Documentation/accelerators/ocxl.rst > @@ -157,6 +157,16 @@ 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. > > +OCXL_IOCTL_ENABLE_P9_WAIT: > + > + Allows the AFU to wake a userspace thread executing 'wait'. Returns > + information to userspace to allow it to configure the AFU. Note that this is only available on POWER9. > + > +OCXL_IOCTL_GET_PLATFORM: > + > + Notifies userspace as to the platform the kernel believes we are on, > + which may differ from what userspace believes. Also reports on which CPU > + features which are usable from userspace. The first sentence here doesn't seem to relate to anything that GET_PLATFORM actually does - afaict you're just passing flags which I suppose imply what the correct platform is, but really they're just feature flags? -- Andrew Donnellan OzLabs, ADL Canberra andrew.donnellan@au1.ibm.com IBM Australia Limited