From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751957AbeAQCuv (ORCPT + 1 other); Tue, 16 Jan 2018 21:50:51 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:43580 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750861AbeAQCut (ORCPT ); Tue, 16 Jan 2018 21:50:49 -0500 From: Sukadev Bhattiprolu To: Michael Ellerman Cc: Benjamin Herrenschmidt , mikey@neuling.org, hbabu@us.ibm.com, linuxppc-dev@ozlabs.org, Subject: [PATCH 0/5] Implement FTW driver Date: Tue, 16 Jan 2018 18:50:38 -0800 X-Mailer: git-send-email 2.7.4 X-TM-AS-GCONF: 00 x-cbid: 18011702-0048-0000-0000-00000226794B X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00008392; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000246; SDB=6.00976119; UDB=6.00494793; IPR=6.00756046; BA=6.00005781; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00019083; XFM=3.00000015; UTC=2018-01-17 02:50:47 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18011702-0049-0000-0000-000043CE8C26 Message-Id: <1516157443-17716-1-git-send-email-sukadev@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-01-16_12:,, 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-1801170039 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: The Virtual Accelerator Switchboard (VAS) subsystem in the POWER9 processor provides a low latency Core-to-core wakeup" mechanism which allows a thread on one core the processor to efficiently send a message to a thread waiting on another core. This Fast thread-wakeup (FTW) driver provides user space applications an interface to the Core-to-core wakeup mechanism. The FTW driver uses the "external" interfaces provided by the VAS driver to interact with the VAS hardware. PATCH 5/5 documents the API. The ftw-next branch on my github has some initial test cases for the driver: https://github.com/sukadev/linux/tree/ftw-next Thanks to input from Ben Herrenschmidt, Michael Ellerman, Michael Neuling and Robert Blackmore. Sukadev Bhattiprolu (5): powerpc/vas: Remove a stray line in Makefile powerpc/ftw: Define FTW_SETUP ioctl API powerpc/ftw: Implement a simple FTW driver powerpc/ftw: Add a couple of trace points powerpc/ftw: Document FTW API/usage Documentation/powerpc/ftw-api.txt | 283 +++++++++++++++++++++++++ MAINTAINERS | 8 + arch/powerpc/platforms/powernv/Makefile | 1 - drivers/misc/Kconfig | 1 + drivers/misc/Makefile | 1 + drivers/misc/ftw/Kconfig | 16 ++ drivers/misc/ftw/Makefile | 4 + drivers/misc/ftw/ftw-trace.h | 75 +++++++ drivers/misc/ftw/ftw.c | 352 ++++++++++++++++++++++++++++++++ include/uapi/misc/ftw.h | 31 +++ 10 files changed, 771 insertions(+), 1 deletion(-) create mode 100644 Documentation/powerpc/ftw-api.txt create mode 100644 drivers/misc/ftw/Kconfig create mode 100644 drivers/misc/ftw/Makefile create mode 100644 drivers/misc/ftw/ftw-trace.h create mode 100644 drivers/misc/ftw/ftw.c create mode 100644 include/uapi/misc/ftw.h -- 2.7.4