lkml.org 
[lkml]   [2019]   [Mar]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/7] Refactor OCXL driver to allow external drivers to use it
Date
From: Alastair D'Silva <alastair@d-silva.org>

This series reworks the OpenCAPI driver to split frontend
(driver interactions) from backend (hardware interactions).

This allows external drivers to utilise the core of the
generic OpenCAPI driver to communicate with specific
OpenCAPI hardware.

Alastair D'Silva (7):
ocxl: Provide global MMIO accessors for external drivers
ocxl: Allow external drivers to use OpenCAPI contexts
ocxl: Split pci.c
ocxl: Don't pass pci_dev around
ocxl: Create a clear delineation between ocxl backend & frontend
ocxl: afu_irq only deals with IRQ IDs, not offsets
ocxl: move event_fd handling to frontend

drivers/misc/ocxl/Makefile | 3 +-
drivers/misc/ocxl/afu_irq.c | 94 ++---
drivers/misc/ocxl/context.c | 18 +-
drivers/misc/ocxl/core.c | 578 ++++++++++++++++++++++++++++++
drivers/misc/ocxl/file.c | 157 +++++---
drivers/misc/ocxl/mmio.c | 234 ++++++++++++
drivers/misc/ocxl/ocxl_internal.h | 49 +--
drivers/misc/ocxl/pci.c | 562 ++---------------------------
drivers/misc/ocxl/sysfs.c | 58 +--
drivers/misc/ocxl/trace.h | 12 +-
include/misc/ocxl.h | 322 ++++++++++++++++-
11 files changed, 1382 insertions(+), 705 deletions(-)
create mode 100644 drivers/misc/ocxl/core.c
create mode 100644 drivers/misc/ocxl/mmio.c

--
2.20.1

\
 
 \ /
  Last update: 2019-03-13 05:17    [W:0.128 / U:3.476 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site