Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965970AbdLSAXH (ORCPT ); Mon, 18 Dec 2017 19:23:07 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:44960 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965034AbdLSAXD (ORCPT ); Mon, 18 Dec 2017 19:23:03 -0500 Subject: Re: [PATCH 00/13] New driver to support OpenCAPI devices on POWER9 To: Frederic Barrat , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Cc: arnd@arndb.de, gregkh@linuxfoundation.org, mpe@ellerman.id.au, alastair@au1.ibm.com, linux-accelerators@lists.ozlabs.org References: From: Andrew Donnellan Date: Tue, 19 Dec 2017 11:22:55 +1100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-AU Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 x-cbid: 17121900-0040-0000-0000-0000041B85DB X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17121900-0041-0000-0000-000020BEA794 Message-Id: <68527540-291e-90cd-6fbd-4aea267d2723@au1.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-12-18_17:,, 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-1712190000 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1818 Lines: 47 On 19/12/17 02:21, Frederic Barrat wrote: > This series adds support for Open Coherent Accelerator (ocxl) devices > on POWER9 processor. OpenCAPI is a consortium developing the > specifications for an interface between processors and accelerators, > allowing sharing the host memory with the accelerators, using virtual > addresses. > > The OpenCAPI device can also have its own local memory and provide > access to the host, though it is not supported by that series. > > The OpenCAPI specification is processor agnostic, but this series adds > support specifically for powerpc. > > Even though the underlying transport is not PCI, the firmware > abstracts the hardware like a PCI host bridge and Linux sees the > OpenCAPI devices as PCI devices. So a lot of existing infrastructure > and commands can be reused. > > Patches 1-5: add the platform-specific services needed by the driver > Patches 6-10: driver code > Patch 11: small correction to existing cxl driver > Patch 12: documentation > > Current limitations, that will be addressed in later patches: > - no capability to trigger a reset of the opencapi adapter > - no support for the 'wake_host_thread' command > - no support for adapters with a dual-link connection (none exists yet) > - no access to the adapter-local memory > > Many people contributed directly or indirectly, from the software, > hardware and bringup teams. In particular Andrew Donnellan and > Alastair D'Silva, who are developing the related firmware and library. > > Feedback welcome! [+ linux-accelerators] The corresponding patch series for skiboot/OPAL can be found at: https://patchwork.ozlabs.org/project/skiboot/list/?series=19043 Andrew -- Andrew Donnellan OzLabs, ADL Canberra andrew.donnellan@au1.ibm.com IBM Australia Limited