Skip to content

Freescale DPAA QBMan Drivers

Roy Pledge linuxppc-dev lkml netdev 2 versions – NAK

Status from this message: NACK

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest11 patches 6 repliesNAK
  2. v111 patches 13 repliesSuperseded

Changes in v2 from the cover letter

- Cleanup Kconfig options
- Changed base QMan and BMan drivers to only be buit in.
Will add loadable support in future patch
- Replace panic() call with WARN_ON()
- Elimanated some unused APIs
- Replaced PowerPC specific IO accessors with platform independent versions

Patches in v2

#Subject and filesSizeRepliesApplied
1/11powerpc: re-add devm_ioremap_prot()arch/powerpc/include/asm/io.h arch/powerpc/lib/Makefile arch/powerpc/lib/devres.c+47 -00 replies
2/11soc/fsl: Introduce DPAA BMan device management driverdrivers/soc/Kconfig drivers/soc/Makefile drivers/soc/fsl/Kconfig +6 more+697 -01 reply
3/11soc/fsl: Introduce the DPAA BMan portal driverdrivers/soc/fsl/qbman/Kconfig drivers/soc/fsl/qbman/Makefile drivers/soc/fsl/qbman/bman.c +8 more+3149 -102 replies
4/11soc/fsl: Introduce drivers for the DPAA QManarch/powerpc/platforms/85xx/corenet_generic.c arch/powerpc/platforms/85xx/p1023_rdb.c drivers/soc/fsl/qbman/Kconfig +13 more+8407 -82 replies
5/11soc/bman: Add self-tester for BMan driverdrivers/soc/fsl/qbman/Kconfig drivers/soc/fsl/qbman/Makefile drivers/soc/fsl/qbman/bman_test.c +4 more+503 -00 replies
6/11soc/qman: Add self-tester for QMan driverdrivers/soc/fsl/qbman/Makefile drivers/soc/fsl/qbman/qman_test.c drivers/soc/fsl/qbman/qman_test.h +2 more+823 -00 replies
7/11soc/bman: Add debugfs support for the BMan driverdrivers/soc/fsl/qbman/Kconfig drivers/soc/fsl/qbman/Makefile drivers/soc/fsl/qbman/bman-debugfs.c +2 more+145 -60 replies
8/11soc/qman: Add debugfs support for the QMan driverdrivers/soc/fsl/qbman/Makefile drivers/soc/fsl/qbman/dpaa_sys.h drivers/soc/fsl/qbman/qman-debugfs.c +2 more+1382 -20 replies
9/11soc/bman: Add HOTPLUG_CPU support to the BMan driverdrivers/soc/fsl/qbman/bman_portal.c drivers/soc/fsl/qbman/dpaa_sys.h+43 -00 replies
10/11soc/qman: Add HOTPLUG_CPU support to the QMan driverdrivers/soc/fsl/qbman/qman_portal.c+43 -00 replies
11/11soc/qman: add qman_delete_cgr_safe()drivers/soc/fsl/qbman/qman_api.c+46 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [v2 00/11] Freescale DPAA QBMan Drivers

The Freescale Data Path Acceleration Architecture (DPAA) is a set of hardware components on specific QorIQ multicore processors. This architecture provides the infrastructure to support simplified sharing of networking interfaces and accelerators by multiple CPU cores and the accelerators.

The Queue Manager (QMan) is a hardware queue management block that allows software and accelerators on the datapath to enqueue and dequeue frames in order to communicate.

The Buffer Manager (BMan) is a hardware buffer pool management block that allows software and accelerators on the datapath to acquire and release buffers in order to build frames.

This patch set introduces the QBMan driver code that configures initializes the QBMan hardware and provides APIs for software to use the frame queues and buffer pools the blocks provide. These drivers provide the base fuctionality for software to communicate with the other DPAA accelerators on Freescale QorIQ processors.

Changes from v1:
- Cleanup Kconfig options
- Changed base QMan and BMan drivers to only be buit in.
Will add loadable support in future patch
- Replace panic() call with WARN_ON()
- Elimanated some unused APIs
- Replaced PowerPC specific IO accessors with platform independent versions

Emil Medve (1):
powerpc: re-add devm_ioremap_prot()

Geoff Thorpe (7):
soc/fsl: Introduce DPAA BMan device management driver soc/fsl: Introduce the DPAA BMan portal driver soc/fsl: Introduce drivers for the DPAA QMan soc/bman: Add self-tester for BMan driver soc/qman: Add self-tester for QMan driver soc/bman: Add debugfs support for the BMan driver soc/qman: Add debugfs support for the QMan driver

Hai-Ying Wang (2):
soc/bman: Add HOTPLUG_CPU support to the BMan driver soc/qman: Add HOTPLUG_CPU support to the QMan driver

Madalin Bucur (1):
soc/qman: add qman_delete_cgr_safe()

 arch/powerpc/include/asm/io.h                 |    3 +
 arch/powerpc/lib/Makefile                     |    1 +
 arch/powerpc/lib/devres.c                     |   43 +
 arch/powerpc/platforms/85xx/corenet_generic.c |   16 +
 arch/powerpc/platforms/85xx/p1023_rdb.c       |   14 +
 drivers/soc/Kconfig                           |    1 +
 drivers/soc/Makefile                          |    1 +
 drivers/soc/fsl/Kconfig                       |    5 +
 drivers/soc/fsl/Makefile                      |    3 +
 drivers/soc/fsl/qbman/Kconfig                 |  120 +
 drivers/soc/fsl/qbman/Makefile                |   20 +
 drivers/soc/fsl/qbman/bman-debugfs.c          |  117 +
 drivers/soc/fsl/qbman/bman.c                  |  553 +++++
 drivers/soc/fsl/qbman/bman.h                  |  542 +++++
 drivers/soc/fsl/qbman/bman_api.c              | 1072 +++++++++
 drivers/soc/fsl/qbman/bman_portal.c           |  391 ++++
 drivers/soc/fsl/qbman/bman_priv.h             |  134 ++
 drivers/soc/fsl/qbman/bman_test.c             |   56 +
 drivers/soc/fsl/qbman/bman_test.h             |   34 +
 drivers/soc/fsl/qbman/bman_test_api.c         |  184 ++
 drivers/soc/fsl/qbman/bman_test_thresh.c      |  198 ++
 drivers/soc/fsl/qbman/bman_utils.c            |   72 +
 drivers/soc/fsl/qbman/dpaa_resource.c         |  359 +++
 drivers/soc/fsl/qbman/dpaa_sys.h              |  271 +++
 drivers/soc/fsl/qbman/qman-debugfs.c          | 1313 +++++++++++
 drivers/soc/fsl/qbman/qman.c                  | 1026 +++++++++
 drivers/soc/fsl/qbman/qman.h                  | 1128 ++++++++++
 drivers/soc/fsl/qbman/qman_api.c              | 2921 +++++++++++++++++++++++++
 drivers/soc/fsl/qbman/qman_driver.c           |   83 +
 drivers/soc/fsl/qbman/qman_portal.c           |  672 ++++++
 drivers/soc/fsl/qbman/qman_priv.h             |  287 +++
 drivers/soc/fsl/qbman/qman_test.c             |   57 +
 drivers/soc/fsl/qbman/qman_test.h             |   44 +
 drivers/soc/fsl/qbman/qman_test_api.c         |  216 ++
 drivers/soc/fsl/qbman/qman_test_stash.c       |  502 +++++
 drivers/soc/fsl/qbman/qman_utils.c            |  305 +++
 include/soc/fsl/bman.h                        |  518 +++++
 include/soc/fsl/qman.h                        | 1977 +++++++++++++++++
 38 files changed, 15259 insertions(+)
 create mode 100644 arch/powerpc/lib/devres.c
 create mode 100644 drivers/soc/fsl/Kconfig
 create mode 100644 drivers/soc/fsl/Makefile
 create mode 100644 drivers/soc/fsl/qbman/Kconfig
 create mode 100644 drivers/soc/fsl/qbman/Makefile
 create mode 100644 drivers/soc/fsl/qbman/bman-debugfs.c
 create mode 100644 drivers/soc/fsl/qbman/bman.c
 create mode 100644 drivers/soc/fsl/qbman/bman.h
 create mode 100644 drivers/soc/fsl/qbman/bman_api.c
 create mode 100644 drivers/soc/fsl/qbman/bman_portal.c
 create mode 100644 drivers/soc/fsl/qbman/bman_priv.h
 create mode 100644 drivers/soc/fsl/qbman/bman_test.c
 create mode 100644 drivers/soc/fsl/qbman/bman_test.h
 create mode 100644 drivers/soc/fsl/qbman/bman_test_api.c
 create mode 100644 drivers/soc/fsl/qbman/bman_test_thresh.c
 create mode 100644 drivers/soc/fsl/qbman/bman_utils.c
 create mode 100644 drivers/soc/fsl/qbman/dpaa_resource.c
 create mode 100644 drivers/soc/fsl/qbman/dpaa_sys.h
 create mode 100644 drivers/soc/fsl/qbman/qman-debugfs.c
 create mode 100644 drivers/soc/fsl/qbman/qman.c
 create mode 100644 drivers/soc/fsl/qbman/qman.h
 create mode 100644 drivers/soc/fsl/qbman/qman_api.c
 create mode 100644 drivers/soc/fsl/qbman/qman_driver.c
 create mode 100644 drivers/soc/fsl/qbman/qman_portal.c
 create mode 100644 drivers/soc/fsl/qbman/qman_priv.h
 create mode 100644 drivers/soc/fsl/qbman/qman_test.c
 create mode 100644 drivers/soc/fsl/qbman/qman_test.h
 create mode 100644 drivers/soc/fsl/qbman/qman_test_api.c
 create mode 100644 drivers/soc/fsl/qbman/qman_test_stash.c
 create mode 100644 drivers/soc/fsl/qbman/qman_utils.c
 create mode 100644 include/soc/fsl/bman.h
 create mode 100644 include/soc/fsl/qman.h

--
1.7.9.5