[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200211005059.1377279-1-bjorn.andersson@linaro.org>
Date: Mon, 10 Feb 2020 16:50:51 -0800
From: Bjorn Andersson <bjorn.andersson@...aro.org>
To: Andy Gross <agross@...nel.org>,
Bjorn Andersson <bjorn.andersson@...aro.org>,
Ohad Ben-Cohen <ohad@...ery.com>,
Rob Herring <robh+dt@...nel.org>,
Mark Rutland <mark.rutland@....com>
Cc: linux-arm-msm@...r.kernel.org, linux-remoteproc@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
Sibi Sankar <sibis@...eaurora.org>,
Rishabh Bhatnagar <rishabhb@...eaurora.org>
Subject: [PATCH v3 0/8] remoteproc: qcom: post mortem debug support
The following series introduces two components that aids in post mortem
debugging of Qualcomm systems. The first part is used to store information
about loaded images in IMEM, for post mortem tools to know where the kernel
loaded the remoteproc firmware. The second part invokes a stop operation on the
remoteprocs during a kernel panic, in order to trigger them to flush caches
etc.
Bjorn Andersson (8):
dt-bindings: remoteproc: Add Qualcomm PIL info binding
remoteproc: qcom: Introduce driver to store pil info in IMEM
remoteproc: qcom: Update IMEM PIL info on load
arm64: dts: qcom: qcs404: Add IMEM and PIL info region
arm64: dts: qcom: sdm845: Add IMEM and PIL info region
remoteproc: Introduce "panic" callback in ops
remoteproc: qcom: q6v5: Add common panic handler
remoteproc: qcom: Introduce panic handler for PAS and ADSP
.../bindings/remoteproc/qcom,pil-info.yaml | 42 +++++
arch/arm64/boot/dts/qcom/qcs404.dtsi | 13 ++
arch/arm64/boot/dts/qcom/sdm845.dtsi | 13 ++
drivers/remoteproc/Kconfig | 6 +
drivers/remoteproc/Makefile | 1 +
drivers/remoteproc/qcom_pil_info.c | 168 ++++++++++++++++++
drivers/remoteproc/qcom_pil_info.h | 8 +
drivers/remoteproc/qcom_q6v5.c | 20 +++
drivers/remoteproc/qcom_q6v5.h | 1 +
drivers/remoteproc/qcom_q6v5_adsp.c | 27 ++-
drivers/remoteproc/qcom_q6v5_mss.c | 6 +
drivers/remoteproc/qcom_q6v5_pas.c | 26 ++-
drivers/remoteproc/qcom_wcnss.c | 17 +-
drivers/remoteproc/remoteproc_core.c | 46 +++++
include/linux/remoteproc.h | 3 +
15 files changed, 388 insertions(+), 9 deletions(-)
create mode 100644 Documentation/devicetree/bindings/remoteproc/qcom,pil-info.yaml
create mode 100644 drivers/remoteproc/qcom_pil_info.c
create mode 100644 drivers/remoteproc/qcom_pil_info.h
--
2.24.0
Powered by blists - more mailing lists