[PATCH 00/10] bus/fsl-mc: Extend mc-bus driver functionalities in preparation for mc-bus VFIO support
From: Diana Craciun
Date: Thu Mar 19 2020 - 11:41:06 EST
The vfio-mc bus driver needs some additional services to be exported by the
mc-bus driver like:
- a way to reset the DPRC container
- support for driver_override such taht the objects within a DPRC to be
bind to the VFIO driver
- functions to setup/tear dowan a DPRC
- functions for allocating the pool of interrupts. In case of VFIO the
interrupts are not configured at probe time, but later, when the userspace
configures the interrupts.
Bharat Bhushan (3):
bus/fsl-mc: add support for 'driver_override' in the mc-bus
bus/fsl-mc: Propagate driver_override for a child DPRC's children
bus/fsl-mc: Add dprc-reset-container support
Diana Craciun (7):
bus/fsl-mc: Do no longer export the total number of irqs outside dprc_scan_objects
bus/fsl-mc: Add a new parameter to dprc_scan_objects function
bus/fsl-mc: Set the QMAN/BMAN region flags
bus/fsl-mc: Export a dprc scan function to be used by multiple
entities
bus/fsl-mc: Export a cleanup function for DPRC
bus/fsl-mc: Add a container setup function
bus/fsl-mc: Export IRQ pool handling functions to be used by VFIO
drivers/bus/fsl-mc/dprc-driver.c | 184 ++++++++++++++++----------
drivers/bus/fsl-mc/dprc.c | 41 ++++++
drivers/bus/fsl-mc/fsl-mc-allocator.c | 12 +-
drivers/bus/fsl-mc/fsl-mc-bus.c | 81 +++++++++++-
drivers/bus/fsl-mc/fsl-mc-private.h | 23 +---
drivers/bus/fsl-mc/mc-io.c | 7 +-
include/linux/fsl/mc.h | 27 ++++
7 files changed, 279 insertions(+), 96 deletions(-)
--
2.17.1