From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Google-Smtp-Source: AIpwx48/5QA0xpgB1PzqFsjrkJe0ZUjVyXfG6VMDlMXQpaiLBUeZz13/FoQI5vi3oYOCPY6Wzc8S ARC-Seal: i=1; a=rsa-sha256; t=1523936730; cv=none; d=google.com; s=arc-20160816; b=ejw/gEyCNgxIbuWSxN6W01AtqjxkyCdk6UvwBClXyFwUMjjjz7JjpmWJJUH+M95gUq 5C2knBZc4UeuRuInq7T4pdlAVIQMtOvj4lr2Hjnwa+14Ab1OZ6waWwX+RDTcR7F1KYlE azxCjlCV+SoHqEjaAUTicCtKJIaVewdlxfepD6ERn9NIRfCV1z9N+XLFfHxh1eQqLABJ CDzECgBB5JtQSwfhAR04XCZxYNP8pNMfCnJBt7xWnU6+IoKHsjwGED4KhdIXDG/OJ+y1 +5zZOPRBrIrzjAAajhJ4dkVyGnPUKYPNDLme4hMRNozbGMpnMBneU+MJkR8JZr759k9P E32w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=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=Lns6jFOb/7O0ELepNo/mOfJznQZs/wzSPW6k4p9NDhVoBI5thvgM9xrdAUQTR/zi37 84tOnQSbm0y6+82nACAY2ALjbSau/ZBR9W2/UDI6b/IqsNX/6H/yJsN513l/mlWG2A0O 0GtLEiaRzNdEB+uuJeFEK93wa/kaSbUX0BF14LDkR6+gEaYVTmqw4zU6gprLKrSrzYk9 9yuK2Mdd43z4kfg07QCWp5AuRkTtAoGfqWiBT2FXY0lvZYmO+Gt+BgTOhx1iVcPfg5Qx TLz1qcSWIjok3p/j25X7gEnZf8CxE6Gr90/kQ9QqYv+RBZKZNa1sNwH3KvBYsQx7vrk9 vHKQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of andrew.donnellan@au1.ibm.com designates 148.163.158.5 as permitted sender) smtp.mailfrom=andrew.donnellan@au1.ibm.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Authentication-Results: mx.google.com; spf=pass (google.com: domain of andrew.donnellan@au1.ibm.com designates 148.163.158.5 as permitted sender) smtp.mailfrom=andrew.donnellan@au1.ibm.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com 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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: =?utf-8?q?1597957551491860164?= X-GMAIL-MSGID: =?utf-8?q?1597963480866720661?= X-Mailing-List: linux-kernel@vger.kernel.org List-ID: 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on archive.lwn.net X-Spam-Level: X-Spam-Status: No, score=-5.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham autolearn_force=no version=3.4.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by archive.lwn.net (Postfix) with ESMTP id 619E47DE78 for ; Tue, 17 Apr 2018 03:45:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752938AbeDQDpa (ORCPT ); Mon, 16 Apr 2018 23:45:30 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:50068 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752387AbeDQDp3 (ORCPT ); Mon, 16 Apr 2018 23:45:29 -0400 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 w3H3iPTg058362 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 2hd5mffjc4-1 (version=TLSv1.2 cipher=AES256-SHA256 bits=256 verify=NOT) for ; Mon, 16 Apr 2018 23:45:29 -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-doc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-doc@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 -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html