From patchwork Wed Apr 12 08:30:32 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Christophe Lombard X-Patchwork-Id: 749815 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3w2xxJ56nKz9s2s for ; Wed, 12 Apr 2017 18:32:20 +1000 (AEST) Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 3w2xxJ4JNrzDqKF for ; Wed, 12 Apr 2017 18:32:20 +1000 (AEST) X-Original-To: linuxppc-dev@lists.ozlabs.org Delivered-To: linuxppc-dev@lists.ozlabs.org Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3w2xw95smxzDq7h for ; Wed, 12 Apr 2017 18:31:21 +1000 (AEST) Received: from pps.filterd (m0098394.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.20/8.16.0.20) with SMTP id v3C8NiO5115518 for ; Wed, 12 Apr 2017 04:31:15 -0400 Received: from e06smtp11.uk.ibm.com (e06smtp11.uk.ibm.com [195.75.94.107]) by mx0a-001b2d01.pphosted.com with ESMTP id 29sb7c45yq-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Wed, 12 Apr 2017 04:31:15 -0400 Received: from localhost by e06smtp11.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 12 Apr 2017 09:31:12 +0100 Received: from b06cxnps3075.portsmouth.uk.ibm.com (9.149.109.195) by e06smtp11.uk.ibm.com (192.168.101.141) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Wed, 12 Apr 2017 09:31:10 +0100 Received: from d06av26.portsmouth.uk.ibm.com (d06av26.portsmouth.uk.ibm.com [9.149.105.62]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id v3C8Ud4761079620; Wed, 12 Apr 2017 08:30:39 GMT Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 4F89AAE2C7; Wed, 12 Apr 2017 09:29:33 +0100 (BST) Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B0474AE275; Wed, 12 Apr 2017 09:29:31 +0100 (BST) Received: from [9.164.160.107] (unknown [9.164.160.107]) by d06av26.portsmouth.uk.ibm.com (Postfix) with ESMTP; Wed, 12 Apr 2017 09:29:31 +0100 (BST) Subject: Re: [PATCH V4 7/7] cxl: Add psl9 specific code To: Michael Ellerman , Frederic Barrat , linuxppc-dev@lists.ozlabs.org, imunsie@au1.ibm.com, andrew.donnellan@au1.ibm.com References: <1491574319-11852-1-git-send-email-clombard@linux.vnet.ibm.com> <1491574319-11852-8-git-send-email-clombard@linux.vnet.ibm.com> <2584b575-bc19-d7d8-3017-7c462a5fa800@linux.vnet.ibm.com> <87bms2v0h2.fsf@concordia.ellerman.id.au> From: christophe lombard Date: Wed, 12 Apr 2017 10:30:32 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <87bms2v0h2.fsf@concordia.ellerman.id.au> X-TM-AS-GCONF: 00 x-cbid: 17041208-0040-0000-0000-00000384D238 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17041208-0041-0000-0000-00001FABDFC5 Message-Id: <55ea010d-fc0b-9f8b-35f5-37cdc5d4792f@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-04-12_06:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1702020001 definitions=main-1704120071 X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" Le 12/04/2017 à 04:11, Michael Ellerman a écrit : > Frederic Barrat writes: > >> Le 07/04/2017 à 16:11, Christophe Lombard a écrit : >>> The new Coherent Accelerator Interface Architecture, level 2, for the >>> IBM POWER9 brings new content and features: >>> - POWER9 Service Layer >>> - Registers >>> - Radix mode >>> - Process element entry >>> - Dedicated-Shared Process Programming Model >>> - Translation Fault Handling >>> - CAPP >>> - Memory Context ID >>> If a valid mm_struct is found the memory context id is used for each >>> transaction associated with the process handle. The PSL uses the >>> context ID to find the corresponding process element. >>> >>> Signed-off-by: Christophe Lombard >>> --- >> >> I'm ok with the code. However checkpatch is complaining about a >> tab/space error in native.c > I already fixed it up when I applied them (and a bunch of other things). > >> If you have a quick respin, I also have a comment below about the >> documentation. > So please send me an incremental patch to update the doco and I'll > squash it before merging the series. > > cheers > Hi, Here is a new patch which updates the documentation based on the complet PATCH V4 7/7. Let me know if it suits you. Thanks Index: capi2_linux_prepare_patch_V4/Documentation/powerpc/cxl.txt =================================================================== --- capi2_linux_prepare_patch_V4.orig/Documentation/powerpc/cxl.txt +++ capi2_linux_prepare_patch_V4/Documentation/powerpc/cxl.txt @@ -62,6 +62,7 @@ Hardware overview POWER8 <-----> PSL Version 8 is compliant to the CAIA Version 1.0. POWER9 <-----> PSL Version 9 is compliant to the CAIA Version 2.0. This PSL Version 9 provides new features as: + * Interaction with the nest MMU which resides within each P9 chip. * Native DMA support. * Supports sending ASB_Notify messages for host thread wakeup. * Supports Atomic operations.