Skip to content

soc/fsl/qbman: Enable Kexec for DPAA1 devices

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

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest7 patches 1 replyIn review
  2. v27 patches 0 repliesSuperseded
  3. v18 patches 3 repliesSuperseded

Changes in v3 from the cover letter

- Expliciitly flush FQD memory from cache on PPC before unmapping

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7soc/fsl/qbman: Rework QBMan private memory setupdrivers/soc/fsl/qbman/bman_ccsr.c drivers/soc/fsl/qbman/dpaa_sys.c drivers/soc/fsl/qbman/qman_ccsr.c+76 -110 replies
2/7soc/fsl/qbman: Cleanup buffer pools if BMan was initialized prior to bootupdrivers/soc/fsl/qbman/bman.c drivers/soc/fsl/qbman/bman_ccsr.c drivers/soc/fsl/qbman/bman_portal.c +1 more+41 -90 replies
3/7soc/fsl/qbman: Cleanup QMan queues if device was already initializeddrivers/soc/fsl/qbman/qman.c drivers/soc/fsl/qbman/qman_ccsr.c drivers/soc/fsl/qbman/qman_portal.c +1 more+38 -40 replies
4/7soc/fsl/qbman: Fix drain_mr_fqni()drivers/soc/fsl/qbman/qman.c+3 -10 replies
5/7soc/fsl/qbman: Disable interrupts during portal recoverydrivers/soc/fsl/qbman/qman.c drivers/soc/fsl/qbman/qman_ccsr.c drivers/soc/fsl/qbman/qman_priv.h+21 -30 replies
6/7soc/fsl/qbman: Fixup qman_shutdown_fq()drivers/soc/fsl/qbman/qman.c+42 -110 replies
7/7soc/fsl/qbman: Update device tree with reserved memorydrivers/soc/fsl/qbman/dpaa_sys.c+36 -240 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [PATCH v3 0/7] soc/fsl/qbman: Enable Kexec for DPAA1 devices

Most DPAA1 devices do not support a soft reset which is an issue if Kexec starts a new kernel. This patch series allows Kexec to function by detecting that the QBMan device was previously initialized.

The patches fix some issues with device cleanup as well as ensuring that the location of the QBMan private memories has not changed after the execution of the Kexec.

Changes since v1:
- Removed a bug fix and sent it separately to ease backporting
Changes since v2:
- Expliciitly flush FQD memory from cache on PPC before unmapping

Roy Pledge (7):
soc/fsl/qbman: Rework QBMan private memory setup soc/fsl/qbman: Cleanup buffer pools if BMan was initialized prior to
bootup
soc/fsl/qbman: Cleanup QMan queues if device was already initialized soc/fsl/qbman: Fix drain_mr_fqni()
soc/fsl/qbman: Disable interrupts during portal recovery soc/fsl/qbman: Fixup qman_shutdown_fq()
soc/fsl/qbman: Update device tree with reserved memory

 drivers/soc/fsl/qbman/bman.c        | 17 ++++----
 drivers/soc/fsl/qbman/bman_ccsr.c   | 36 +++++++++++++++-
 drivers/soc/fsl/qbman/bman_portal.c | 18 +++++++-
 drivers/soc/fsl/qbman/bman_priv.h   |  5 +++
 drivers/soc/fsl/qbman/dpaa_sys.c    | 63 ++++++++++++++++------------
 drivers/soc/fsl/qbman/qman.c        | 83 +++++++++++++++++++++++++++++--------
 drivers/soc/fsl/qbman/qman_ccsr.c   | 68 +++++++++++++++++++++++++++---
 drivers/soc/fsl/qbman/qman_portal.c | 18 +++++++-
 drivers/soc/fsl/qbman/qman_priv.h   |  8 ++++
 9 files changed, 255 insertions(+), 61 deletions(-)

--
2.7.4