Received: by 10.223.185.116 with SMTP id b49csp1430334wrg; Wed, 21 Feb 2018 19:06:02 -0800 (PST) X-Google-Smtp-Source: AH8x226OYKj3K8XY7HI8s2X7kJ+dtpgPUqnBy3+H2qJjkC3/uKTO5GRkqlLZKKkQioiVyZlf7rWR X-Received: by 10.98.138.66 with SMTP id y63mr5397074pfd.12.1519268762026; Wed, 21 Feb 2018 19:06:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519268761; cv=none; d=google.com; s=arc-20160816; b=NexmtaNiieS58A1mXIM5m7uTRuxVqHTORT18sldvzybQ4MPCaObclxuosHg0CyJWJg fD24ZixaCuodXc1Qlif7mZBQEE9oC4UJFdYynZNOtYK5CEIxZOj0UlDFytNAQU5AIGGG +yaUnfuC5M+DrSRI/2LvNzpWOeF7Xp9J4FEJsD+KjArjuLp5ye1J9ulvP+g5TDpiMzJ/ GU/CE7IFerCFWxzaSr1CAJZC4KDeFIvZUyj8Pv+dYoeVNXWzz32E3mUu73jSHXv7Jyse pkJl4fHh0O73rFmYVXeUVOl8rlFV0Dcnv7ug/ZAngwFI7n2TjImY7o2gZKeJWYRytgA8 KOOQ== 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=XBQ8SaQ4YiyC5ko6iDKHgBnW7RfQPjEPqIaNKiX2LDM3XFsiJ+Qg7PmETQbUAQrls8 w/SVkwfOLvnDJOHZHJSgLcywJ4rObwmqdFok8kqPjQY7RPQAhpgOZwxE8AzMyHIIEPr4 xSH/oNBYXaFS6TYq0coMqEn/T+7uMZG7l44sALXAWJRX3RWOLnzynoh7WZJh652tMWSJ JqQwpwmCW3qQvvkmXT0032REZGJjClIjTvcaon9SLNWohE/YuVYw633ye3UTklbwOPbb D6c4fyVKob+1nq59PAGDxgkNWfLD3MqAmYXNidosc49/gzwxw8g4FEaY3s7pQdAdya5B +yBw== 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 61-v6si10254138plq.737.2018.02.21.19.05.47; Wed, 21 Feb 2018 19:06:01 -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 S1752112AbeBVDE7 (ORCPT + 99 others); Wed, 21 Feb 2018 22:04:59 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:47226 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752036AbeBVDEn (ORCPT ); Wed, 21 Feb 2018 22:04:43 -0500 Received: from pps.filterd (m0098404.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w1M2wxQ3072704 for ; Wed, 21 Feb 2018 22:04:43 -0500 Received: from e06smtp14.uk.ibm.com (e06smtp14.uk.ibm.com [195.75.94.110]) by mx0a-001b2d01.pphosted.com with ESMTP id 2g9ffhuxtv-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Wed, 21 Feb 2018 22:04:42 -0500 Received: from localhost by e06smtp14.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 22 Feb 2018 03:04:40 -0000 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; Thu, 22 Feb 2018 03:04:38 -0000 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 w1M34bmV53608458; Thu, 22 Feb 2018 03:04:37 GMT Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 84E8DA4059; Thu, 22 Feb 2018 02:57:47 +0000 (GMT) Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 3BE26A404D; Thu, 22 Feb 2018 02:57:47 +0000 (GMT) Received: from ozlabs.au.ibm.com (unknown [9.192.253.14]) by d06av23.portsmouth.uk.ibm.com (Postfix) with ESMTP; Thu, 22 Feb 2018 02:57:47 +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 350D5A027B; Thu, 22 Feb 2018 14:04:36 +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 v2 2/2] ocxl: Document the OCXL_IOCTL_GET_METADATA IOCTL Date: Thu, 22 Feb 2018 14:03:34 +1100 X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180222030334.14060-1-alastair@au1.ibm.com> References: <20180222030334.14060-1-alastair@au1.ibm.com> X-TM-AS-GCONF: 00 x-cbid: 18022203-0016-0000-0000-000005284E2C X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18022203-0017-0000-0000-0000286464E2 Message-Id: <20180222030334.14060-3-alastair@au1.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-02-22_01:,, 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-1802220038 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