Received: by 10.223.185.116 with SMTP id b49csp1478645wrg; Wed, 21 Feb 2018 20:19:30 -0800 (PST) X-Google-Smtp-Source: AH8x22419J7EHaGdjdHQoUpuOtXEgF7j6xXIQbqeS+G60yrhljDpeWXR7rRoI1mFBX6pogW23U8n X-Received: by 10.98.155.194 with SMTP id e63mr5498044pfk.95.1519273170091; Wed, 21 Feb 2018 20:19:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519273170; cv=none; d=google.com; s=arc-20160816; b=JvEZTT1u2SPlpgy/LVuvGNOI1x9RyoxbNnQKNrzh4v8uBisLbZq0bGj6YH2lBH1ty0 ypbmZ0O/GNGAbW4pgniOSpYD++3aKntv2pFtpCE64nj6nXXLggRoxtAu4j6/A5eKwpVC D3bHTM/pcTB3LCMqTGkoBoNxpZCeJ+AlC37J4Dxihv1p8mo4n20p47zsz79Xbry3bwXh cUPu3HE3EeVEQeIvwwRe/NROeoeueKcRJIyJVSqz/zMf7NIkCOEws572wR6QuueAK3fQ /Avj4vrCUJOT5L3xyCQ2kHlDLaQXidoCTXe3W2shGiGVneHy+myqL0oRw4jSxdKLLJVX EpLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:references:in-reply-to:date :subject:cc:to:from:arc-authentication-results; bh=Xm05GBSKsCmZmKNxJ+Y2zr10ntonOj5mFOtEejVNkvI=; b=wrB6y33+v+AQq4NJ21Wwz0fqSYfgB5LstxZAKEvqBKhdDFAfFRWJ2ujpUQ5SHFKvQH TTurZPgl4VfwKk692muZCP4C96khlPZNOgQ9NxmZmQnJAERT5TwimgmT9RSehDYHhR6v +GG/C9jea7haW6r4teV50gfgBdvNQ8rmF5oX3XktZypo9m7gtsL+TAsovgJQB9EXOjcs Xr88FbTo7YMDXZTvtZniFCZPy/pH93HIbV+9qd/hUa/rraknyET3rNtlc5JdHRNQLMZj LaFR2g/eo6yxGHMKPDoD78/VPBy2a34A2bWsshgTYRMaPLeaBHmZ84JuN3h7lNrRYF3q U3WQ== 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 21si1105742pfj.306.2018.02.21.20.19.15; Wed, 21 Feb 2018 20:19:30 -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 S1752318AbeBVESb (ORCPT + 99 others); Wed, 21 Feb 2018 23:18:31 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:41876 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752193AbeBVES2 (ORCPT ); Wed, 21 Feb 2018 23:18:28 -0500 Received: from pps.filterd (m0098396.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w1M4EopN058734 for ; Wed, 21 Feb 2018 23:18:27 -0500 Received: from e06smtp11.uk.ibm.com (e06smtp11.uk.ibm.com [195.75.94.107]) by mx0a-001b2d01.pphosted.com with ESMTP id 2g9ka06psp-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Wed, 21 Feb 2018 23:18:27 -0500 Received: from localhost by e06smtp11.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 22 Feb 2018 04:18:25 -0000 Received: from b06cxnps4076.portsmouth.uk.ibm.com (9.149.109.198) by e06smtp11.uk.ibm.com (192.168.101.141) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Thu, 22 Feb 2018 04:18:21 -0000 Received: from d06av21.portsmouth.uk.ibm.com (d06av21.portsmouth.uk.ibm.com [9.149.105.232]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w1M4IKQ841680904; Thu, 22 Feb 2018 04:18:20 GMT Received: from d06av21.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id EF05652045; Thu, 22 Feb 2018 03:10:13 +0000 (GMT) Received: from ozlabs.au.ibm.com (unknown [9.192.253.14]) by d06av21.portsmouth.uk.ibm.com (Postfix) with ESMTP id 9C25652047; Thu, 22 Feb 2018 03:10:13 +0000 (GMT) Received: from adsilva.ozlabs.ibm.com (haven.au.ibm.com [9.192.254.114]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.au.ibm.com (Postfix) with ESMTPSA id 4316DA0331; Thu, 22 Feb 2018 15:18:19 +1100 (AEDT) From: "Alastair D'Silva" To: linuxppc-dev@ozlabs.org, linux-kernel@vger.kernel.org Cc: frederic.barrat@fr.ibm.com, andrew.donnellan@au1.ibm.com, arnd@arndb.de, gregkh@linuxfoundation.org, alastair@au1.ibm.com, "Alastair D'Silva" Subject: [PATCH v3 2/2] ocxl: Document the OCXL_IOCTL_GET_METADATA IOCTL Date: Thu, 22 Feb 2018 15:17:39 +1100 X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180222041739.27899-1-alastair@au1.ibm.com> References: <20180222030334.14060-1-alastair@au1.ibm.com> <20180222041739.27899-1-alastair@au1.ibm.com> X-TM-AS-GCONF: 00 x-cbid: 18022204-0040-0000-0000-0000043653E2 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18022204-0041-0000-0000-000020D86AF5 Message-Id: <20180222041739.27899-3-alastair@au1.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-02-22_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=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1802220053 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Alastair D'Silva Signed-off-by: Alastair D'Silva --- Documentation/accelerators/ocxl.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/accelerators/ocxl.rst b/Documentation/accelerators/ocxl.rst index 4f7af841d935..ddcc58d01cfb 100644 --- a/Documentation/accelerators/ocxl.rst +++ b/Documentation/accelerators/ocxl.rst @@ -152,6 +152,11 @@ OCXL_IOCTL_IRQ_SET_FD: Associate an event fd to an AFU interrupt so that the user process can be notified when the AFU sends an interrupt. +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. + mmap ---- -- 2.14.3