2019-08-02 03:21:24

by Roy Pledge

[permalink] [raw]
Subject: [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


2019-08-15 23:57:37

by Leo Li

[permalink] [raw]
Subject: Re: [PATCH v3 0/7] soc/fsl/qbman: Enable Kexec for DPAA1 devices

On Thu, Aug 1, 2019 at 3:20 PM Roy Pledge <[email protected]> wrote:
>
> 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

Series applied for next. Thanks!

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