linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 00/12] bus/fsl-mc: Extend mc-bus driver functionalities in preparation for mc-bus VFIO support
@ 2020-05-07  7:34 Diana Craciun
  2020-05-07  7:34 ` [PATCH v2 01/12] bus/fsl-mc: Do no longer export the total number of irqs outside dprc_scan_objects Diana Craciun
                   ` (12 more replies)
  0 siblings, 13 replies; 15+ messages in thread
From: Diana Craciun @ 2020-05-07  7:34 UTC (permalink / raw)
  To: linux-kernel
  Cc: stuyoder, gregkh, leoyang.li, Diana Craciun, linux-arm-kernel,
	laurentiu.tudor

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
- driver_override support
- functions to setup/tear down a DPRC
- functions for allocating the pool of interrupts. In case of VFIO the
interrupts are not configured at probe time, but later by userspace
request

v1 -> v2
- Remove driver_override propagation through various functions
- Cache the DPRC API version

The patches are related with "vfio/fsl-mc: VFIO support for FSL-MC
devices" patches, but the series were split because they are targeting
different subsystems. However, the mc-bus patches may suffer changes
when addressing the VFIO review comments.

Bharat Bhushan (3):
  bus/fsl-mc: add support for 'driver_override' in the mc-bus
  bus/fsl-mc: Add dprc-reset-container support
  bus/fsl-mc: Extend ICID size from 16bit to 32bit

Diana Craciun (9):
  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: Cache the DPRC API version
  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: Do not rely on caller to provide non NULL mc_io
  bus/fsl-mc: Export IRQ pool handling functions to be used by VFIO

 drivers/bus/fsl-mc/dprc-driver.c      | 181 ++++++++++++++++----------
 drivers/bus/fsl-mc/dprc.c             | 103 +++++++++++++--
 drivers/bus/fsl-mc/fsl-mc-allocator.c |  12 +-
 drivers/bus/fsl-mc/fsl-mc-bus.c       |  64 ++++++++-
 drivers/bus/fsl-mc/fsl-mc-private.h   |  28 ++--
 drivers/bus/fsl-mc/mc-io.c            |   7 +-
 include/linux/fsl/mc.h                |  29 ++++-
 7 files changed, 313 insertions(+), 111 deletions(-)

-- 
2.17.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2020-05-13  8:33 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-07  7:34 [PATCH v2 00/12] bus/fsl-mc: Extend mc-bus driver functionalities in preparation for mc-bus VFIO support Diana Craciun
2020-05-07  7:34 ` [PATCH v2 01/12] bus/fsl-mc: Do no longer export the total number of irqs outside dprc_scan_objects Diana Craciun
2020-05-07  7:34 ` [PATCH v2 02/12] bus/fsl-mc: Add a new parameter to dprc_scan_objects function Diana Craciun
2020-05-07  7:34 ` [PATCH v2 03/12] bus/fsl-mc: add support for 'driver_override' in the mc-bus Diana Craciun
2020-05-07 13:34   ` Andrew Lunn
2020-05-07  7:34 ` [PATCH v2 04/12] bus/fsl-mc: Set the QMAN/BMAN region flags Diana Craciun
2020-05-07  7:34 ` [PATCH v2 05/12] bus/fsl-mc: Cache the DPRC API version Diana Craciun
2020-05-07  7:34 ` [PATCH v2 06/12] bus/fsl-mc: Add dprc-reset-container support Diana Craciun
2020-05-07  7:34 ` [PATCH v2 07/12] bus/fsl-mc: Export a dprc scan function to be used by multiple entities Diana Craciun
2020-05-07  7:34 ` [PATCH v2 08/12] bus/fsl-mc: Export a cleanup function for DPRC Diana Craciun
2020-05-07  7:34 ` [PATCH v2 09/12] bus/fsl-mc: Add a container setup function Diana Craciun
2020-05-07  7:34 ` [PATCH v2 10/12] bus/fsl_mc: Do not rely on caller to provide non NULL mc_io Diana Craciun
2020-05-07  7:34 ` [PATCH v2 11/12] bus/fsl-mc: Export IRQ pool handling functions to be used by VFIO Diana Craciun
2020-05-07  7:34 ` [PATCH v2 12/12] bus/fsl-mc: Extend ICID size from 16bit to 32bit Diana Craciun
2020-05-13  8:33 ` [PATCH v2 00/12] bus/fsl-mc: Extend mc-bus driver functionalities in preparation for mc-bus VFIO support Laurentiu Tudor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).