Re: [PATCH v8 5/5] remoteproc: qcom: enable in-kernel PD mapper

From: Chris Lew
Date: Fri Jun 07 2024 - 20:46:51 EST




On 5/11/2024 2:56 PM, Dmitry Baryshkov wrote:
Request in-kernel protection domain mapper to be started before starting
Qualcomm DSP and release it once DSP is stopped. Once all DSPs are
stopped, the PD mapper will be stopped too.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>
---
drivers/remoteproc/qcom_common.c | 87 +++++++++++++++++++++++++++++++++++++
drivers/remoteproc/qcom_common.h | 10 +++++
drivers/remoteproc/qcom_q6v5_adsp.c | 3 ++
drivers/remoteproc/qcom_q6v5_mss.c | 3 ++
drivers/remoteproc/qcom_q6v5_pas.c | 3 ++
drivers/remoteproc/qcom_q6v5_wcss.c | 3 ++
6 files changed, 109 insertions(+)


Thanks for looking into whether this could be implemented as a remoteproc subdevice.

Reviewed-by: Chris Lew <quic_clew@xxxxxxxxxxx>