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

Changelog:
V3:
- For: 'ocxl: Create a clear delineation between ocxl backend & frontend'
- Integrate Frederick Barrat's suggestions
- Further cleanup on error paths
- Remove release handler for AFU private data
- Make ocxl_file_make_(in)visibile static & call from ocxl_file_(un)register
V2:
- Reorder patches as some required structs that were only available later
- Add dev.release implementation for ocxl_file_info to address warning on
driver unload (ocxl: Create a clear delineation...)
- Set output var irq_id in ocxl_afu_irq_alloc (ocxl: afu_irq only deals...)
- Bump copyright year (ocxl: Provide global MMIO accessors...,
ocxl: Split pci.c)

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

drivers/misc/ocxl/Makefile | 3 +-
drivers/misc/ocxl/afu_irq.c | 104 +++---
drivers/misc/ocxl/context.c | 18 +-
drivers/misc/ocxl/core.c | 574 ++++++++++++++++++++++++++++++
drivers/misc/ocxl/file.c | 172 ++++++---
drivers/misc/ocxl/mmio.c | 234 ++++++++++++
drivers/misc/ocxl/ocxl_internal.h | 46 ++-
drivers/misc/ocxl/pci.c | 565 ++---------------------------
drivers/misc/ocxl/sysfs.c | 59 +--
drivers/misc/ocxl/trace.h | 12 +-
include/misc/ocxl.h | 320 ++++++++++++++++-
11 files changed, 1406 insertions(+), 701 deletions(-)
create mode 100644 drivers/misc/ocxl/core.c
create mode 100644 drivers/misc/ocxl/mmio.c

--
2.20.1

\
 
 \ /
  Last update: 2019-03-25 06:46    [W:0.146 / U:12.112 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site