[PATCH v3 0/6] Prerequisites for NXP LS104xA SMMU enablement

From: laurentiu . tudor
Date: Thu May 30 2019 - 10:23:31 EST


From: Laurentiu Tudor <laurentiu.tudor@xxxxxxx>

This patch series contains several fixes in preparation for SMMU
support on NXP LS1043A and LS1046A chips. Once these get picked up,
I'll submit the actual SMMU enablement patches consisting in the
required device tree changes.

This patch series contains only part of the previously submitted one,
(including also the device tree changes) available here:

https://patchwork.kernel.org/cover/10634443/

There are a couple of changes/fixes since then:
- for consistency, renamed mmu node to smmu
- new patch page aligning the sizes of the qbman reserved memory
- rebased on 5.1.0-rc2

Depends on this pull request:

http://lists.infradead.org/pipermail/linux-arm-kernel/2019-May/653554.html

Changes in v3:
- cache iommu domain in driver's private data
- rebased on v5.2.0-rc2
- rework to get rid of #ifdef spaghetti (David)

Changes in v2:
- dropped patches dealing with mapping reserved memory in iommu
- changed logic for qman portal probe status (Leo)
- moved "#ifdef CONFIG_PAMU" in header file (Leo)
- rebased on v5.1.0-rc5

Laurentiu Tudor (6):
fsl/fman: don't touch liodn base regs reserved on non-PAMU SoCs
fsl/fman: add API to get the device behind a fman port
dpaa_eth: defer probing after qbman
dpaa_eth: base dma mappings on the fman rx port
dpaa_eth: fix iova handling for contiguous frames
dpaa_eth: fix iova handling for sg frames

.../net/ethernet/freescale/dpaa/dpaa_eth.c | 131 ++++++++++++------
.../net/ethernet/freescale/dpaa/dpaa_eth.h | 2 +
drivers/net/ethernet/freescale/fman/fman.c | 6 +-
.../net/ethernet/freescale/fman/fman_port.c | 14 ++
.../net/ethernet/freescale/fman/fman_port.h | 2 +
5 files changed, 108 insertions(+), 47 deletions(-)

--
2.17.1