mbox series

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

Message ID 1554475256-4805-1-git-send-email-roy.pledge@nxp.com (mailing list archive)
Headers show
Series soc: fsl: dpio: Add support for memory backed QBMan portals | expand

Message

Roy Pledge April 5, 2019, 2:41 p.m. UTC
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

Comments

Leo Li May 1, 2019, 6:59 p.m. UTC | #1
On Fri, Apr 5, 2019 at 9:42 AM Roy Pledge <roy.pledge@nxp.com> wrote:
>
> 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

Both applied for next.  Thanks.

>
>  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
>