[PATCH v2 0/2] soc: fsl: dpio: Add support for memory backed QBMan portals

Roy Pledge roy.pledge at nxp.com
Sat Apr 6 01:41:09 AEDT 2019


This patch series adds support for QBMan memory backed portals which is
avaialble in devices containing QBMan verion 5.0 and above (for example
NXP's LX2160A SoC).

Memory backed portals can be mapped as normal cacheable/shareable memory
which allows the portals to migrate between cores without needing manual
cache manipulations by the CPU.

The patches add support for the new portal attributes in the fsl-mc bus
drivers as well as modifying the QBMan driver to use the new portal read
trigger mechanism.

Changes since v1:
 * Support older DPRC command in case of older MC firmware
 * Fix issue with padding in command


Roy Pledge (2):
  bus: mc-bus: Add support for mapping shareable portals
  soc: fsl: dpio: Add support for memory backed QBMan portals

 drivers/bus/fsl-mc/dprc.c           |  30 +++++++-
 drivers/bus/fsl-mc/fsl-mc-bus.c     |  15 +++-
 drivers/bus/fsl-mc/fsl-mc-private.h |  17 ++++-
 drivers/soc/fsl/dpio/dpio-driver.c  |  23 ++++--
 drivers/soc/fsl/dpio/qbman-portal.c | 148 ++++++++++++++++++++++++++++++------
 drivers/soc/fsl/dpio/qbman-portal.h |   5 ++
 6 files changed, 199 insertions(+), 39 deletions(-)

--
2.7.4



More information about the Linuxppc-dev mailing list