Received: by 10.223.185.116 with SMTP id b49csp1479306wrg; Wed, 21 Feb 2018 20:20:31 -0800 (PST) X-Google-Smtp-Source: AH8x227H7bhH5zyD3GKzcyGByVkrKbc1/eSYL+AGPnjuEplG1S1cq0wFB/6yMtKdNstNyiqnFkrr X-Received: by 10.99.116.70 with SMTP id e6mr4555222pgn.256.1519273231601; Wed, 21 Feb 2018 20:20:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519273231; cv=none; d=google.com; s=arc-20160816; b=mkkYmvay+I9mxTui97qpgBlwupywZ5ZEpnCLKIL2uQujVg5ZY3su1raPKPu5HDxo2R 4FegzsrSRMCBLNt/yQPf16XWS3am9vu270xCJ/ddNV5A2HnUGTFcSLqJ8v5gwoHQb3L2 TkDDy+3wqnJU34Ky1tAOjEGj9chZs/409Iz3izGmlsSUtW5Rqt5y/kUO2SdWLNCN1S43 p+yu2x3dZOgUfWBpmrZzEPdBu73M08HkTjE3/Ldjy9b7Bp87Z8AVaMDlRXx+XbeaogCe /j0EI+2jICVkm52WlWDiASQGuSTMzAXIoEkhCtvi5o+ZVMaUoAwnAMqhvHgvBYqjCous CEbA== 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=7g7SoXwaEEnVnANyO1djIoEiPIRDYnZIr/wXGO9qA/Y=; b=ytV5HQD5jGq/R4Iy2Krw4OD+VuF8CR14A9N6Hhya97TvsOM6uDJtaQLW3RT7cMrfWQ FnJsKo6cW8Cm0WYJknWJWSNeH5mJec/2sW7luIL1gIB89UNbr1SzX8XxSXF3/oZz7uqJ tcD7O30sE74pKEPbKilxvcVM6TLMvTxGOfYtEl4hGO8xcbp4cW4p4VLs7CFFPc0WaWrg tUK4ormKFcGjXa7BuDDNnd8x7eESMpOda3H/WdeS2rsZnP9rvcLs0HNQ0rXOLvIzsdAe Uruk+OVjsh2xIzuCfV7v4Z4+i0xF77q831YXRbuR56DWJgMCTYMPL6FsbN/Cv9W6/KpD WLMQ== 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 h8si588771pgr.606.2018.02.21.20.20.17; Wed, 21 Feb 2018 20:20:31 -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 S1752221AbeBVES2 (ORCPT + 99 others); Wed, 21 Feb 2018 23:18:28 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:41856 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751978AbeBVES1 (ORCPT ); Wed, 21 Feb 2018 23:18:27 -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 w1M4EmGS058571 for ; Wed, 21 Feb 2018 23:18:27 -0500 Received: from e06smtp13.uk.ibm.com (e06smtp13.uk.ibm.com [195.75.94.109]) by mx0a-001b2d01.pphosted.com with ESMTP id 2g9ka06psc-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Wed, 21 Feb 2018 23:18:27 -0500 Received: from localhost by e06smtp13.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 22 Feb 2018 04:18:24 -0000 Received: from b06cxnps4075.portsmouth.uk.ibm.com (9.149.109.197) by e06smtp13.uk.ibm.com (192.168.101.143) 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 b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w1M4IKWc45351074; 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 DB77852041; 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 89AC552043; 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 2FBE6A00D7; 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 0/2] Add get_metadata IOCTL to share OCXL information to userspace Date: Thu, 22 Feb 2018 15:17:37 +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: 18022204-0012-0000-0000-000005B35491 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18022204-0013-0000-0000-0000192F6B63 Message-Id: <20180222041739.27899-1-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 This series adds a new IOCTL for OpenCAPI, which exposes adapter metadata to userspace. --- v1->v2: - Document the new IOCTL v2->v3: - Rename metadata struct - Document a couple of struct members that are not immediately obvious Alastair D'Silva (2): ocxl: Add get_metadata IOCTL to share OCXL information to userspace ocxl: Document the OCXL_IOCTL_GET_METADATA IOCTL Documentation/accelerators/ocxl.rst | 5 +++++ drivers/misc/ocxl/file.c | 27 +++++++++++++++++++++++++++ include/uapi/misc/ocxl.h | 17 +++++++++++++++++ 3 files changed, 49 insertions(+) -- 2.14.3