Skip to content

soc/fsl/qbman: Enable QBMan on ARM Platforms

Roy Pledge linux-arm-kernel linux-devicetree linuxppc-dev lkml 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest12 patches 10 repliesIn review
  2. v411 patches 8 repliesSuperseded
  3. v311 patches 1 replySuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v211 patches4 repliesSuperseded
v1 RFC5 patches0 repliesSuperseded

Changes in v5 from the cover letter

- Introduce a common function for QBMan private memory initialization
- Fix sparse warnings making sure that __iomem and __be32 are respected
- Control different memremap() attributes using a #define

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12soc/fsl/qbman: Add common routine for QBMan private allocationsdrivers/soc/fsl/qbman/Makefile drivers/soc/fsl/qbman/dpaa_sys.c drivers/soc/fsl/qbman/dpaa_sys.h+83 -11 reply
2/12soc/fsl/qbman: Use shared-dma-pool for BMan private memory allocationsdrivers/soc/fsl/qbman/bman_ccsr.c+15 -01 reply
3/12soc/fsl/qbman: Use shared-dma-pool for QMan private memory allocationsdrivers/soc/fsl/qbman/qman_ccsr.c drivers/soc/fsl/qbman/qman_priv.h drivers/soc/fsl/qbman/qman_test.h+63 -341 reply
4/12dt-bindings: soc/fsl: Update reserved memory binding for QBManDocumentation/devicetree/bindings/soc/fsl/bman.txt Documentation/devicetree/bindings/soc/fsl/qman.txt+26 -122 replies
5/12soc/fsl/qbman: Drop set/clear_bits usagedrivers/soc/fsl/qbman/bman.c drivers/soc/fsl/qbman/qman.c+5 -51 reply
6/12soc/fsl/qbman: Drop L1_CACHE_BYTES compile time checkdrivers/soc/fsl/qbman/dpaa_sys.h+0 -41 reply
7/12soc/fsl/qbman: Fix ARM32 typodrivers/soc/fsl/qbman/dpaa_sys.h+1 -11 reply
8/12soc/fsl/qbman: Rework portal mapping calls for ARM/PPCdrivers/soc/fsl/qbman/bman.c drivers/soc/fsl/qbman/bman_portal.c drivers/soc/fsl/qbman/bman_priv.h +4 more+60 -661 reply
9/12soc/fsl/qbman: add QMAN_REV32drivers/soc/fsl/qbman/qman_ccsr.c drivers/soc/fsl/qbman/qman_priv.h+3 -00 replies
10/12soc/fsl/qbman: different register offsets on ARMdrivers/soc/fsl/qbman/bman.c drivers/soc/fsl/qbman/qman.c+60 -00 replies
11/12soc/fsl/qbman: Add missing headers on ARMdrivers/soc/fsl/qbman/dpaa_sys.h+2 -00 replies
12/12soc/fsl/qbman: Enable FSL_LAYERSCAPE config on ARMdrivers/soc/fsl/qbman/Kconfig+1 -10 replies

Reviews trailers per patch

8 of 12 patches have a Reviewed-by or Acked-by.

PatchCatalin MarinasRob Herring
1/12R-b
2/12R-b
3/12R-b
4/12A-b
5/12R-b
6/12R-b
7/12R-b
8/12R-b
9/12
10/12
11/12
12/12

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [v5 00/12] soc/fsl/qbman: Enable QBMan on ARM Platforms

This patch series enables DPAA1 QBMan devices for ARM and ARM64 architectures. This allows the LS1043A and LS1046A to use QBMan functionality which allows access to ethernet and cyptographic devices for example.

Changes since v4:
- Introduce a common function for QBMan private memory initialization
- Fix sparse warnings making sure that __iomem and __be32 are respected
- Control different memremap() attributes using a #define

Changes since v3:
- Use memremap() instead of ioremap() for non iomem QBMan portal regions
- Ensured the __iomem attribute is respected when accessing iomem mapped regions
- Removed calls to flush/invalidate/prefetch for ARM/ARM64 since mapping is done as write combine

Changes since v2:
- Fixed some misspellings
- Added 'no-map' constraint to device tree bindings
- Described ordering contraint on regions in the device tree
- Removed confusing comment regarding non-shareable mappings
- Added warning if old reserved-memory technique is used on ARM

Changes since v1:
- Reworked private memory allocations to use shared-dma-pool on ARM platforms

Claudiu Manoil (2):
soc/fsl/qbman: Drop L1_CACHE_BYTES compile time check soc/fsl/qbman: Add missing headers on ARM

Madalin Bucur (4):
soc/fsl/qbman: Drop set/clear_bits usage soc/fsl/qbman: add QMAN_REV32 soc/fsl/qbman: different register offsets on ARM soc/fsl/qbman: Enable FSL_LAYERSCAPE config on ARM

Roy Pledge (5):
soc/fsl/qbman: Add common routine for QBMan private allocations soc/fsl/qbman: Use shared-dma-pool for BMan private memory allocations soc/fsl/qbman: Use shared-dma-pool for QMan private memory allocations
dt-bindings: soc/fsl: Update reserved memory binding for QBMan soc/fsl/qbman: Rework portal mapping calls for ARM/PPC

Valentin Rothberg (1):
soc/fsl/qbman: Fix ARM32 typo

 Documentation/devicetree/bindings/soc/fsl/bman.txt | 12 +--
 Documentation/devicetree/bindings/soc/fsl/qman.txt | 26 ++++--
 drivers/soc/fsl/qbman/Kconfig                      |  2 +-
 drivers/soc/fsl/qbman/Makefile                     |  2 +-
 drivers/soc/fsl/qbman/bman.c                       | 42 ++++++++--
 drivers/soc/fsl/qbman/bman_ccsr.c                  | 15 ++++
 drivers/soc/fsl/qbman/bman_portal.c                | 23 +++---
 drivers/soc/fsl/qbman/bman_priv.h                  |  8 +-
 drivers/soc/fsl/qbman/dpaa_sys.c                   | 78 ++++++++++++++++++
 drivers/soc/fsl/qbman/dpaa_sys.h                   | 25 ++++--
 drivers/soc/fsl/qbman/qman.c                       | 77 +++++++++++++-----
 drivers/soc/fsl/qbman/qman_ccsr.c                  | 95 +++++++++++++++-------
 drivers/soc/fsl/qbman/qman_portal.c                | 23 +++---
 drivers/soc/fsl/qbman/qman_priv.h                  | 11 +--
 drivers/soc/fsl/qbman/qman_test.h                  |  2 -
 15 files changed, 318 insertions(+), 123 deletions(-)
 create mode 100644 drivers/soc/fsl/qbman/dpaa_sys.c

--
2.7.4