Re: (subset) [PATCH] remoteproc: qcom: q6v5: fix service routines build errors

From: Bjorn Andersson
Date: Mon Jan 17 2022 - 17:47:10 EST


On Fri, 14 Jan 2022 17:13:38 -0800, Randy Dunlap wrote:
> When CONFIG_QCOM_AOSS_QMP=m and CONFIG_QCOM_Q6V5_MSS=y, the builtin
> driver cannot call into the loadable module's low-level service
> functions. Trying to build with that config combo causes linker errors.
>
> There are two problems here. First, drivers/remoteproc/qcom_q6v5.c
> should #include <linux/soc/qcom/qcom_aoss.h> for the definitions of
> the service functions, depending on whether CONFIG_QCOM_AOSS_QMP is
> set/enabled or not. Second, the qcom remoteproc drivers should depend
> on QCOM_AOSS_QMP iff it is enabled (=y or =m) so that the qcom
> remoteproc drivers can be built properly.
>
> [...]

Applied, thanks!

[1/1] remoteproc: qcom: q6v5: fix service routines build errors
commit: eee412e968f7b950564880bc6a7a9f00f49034da

Best regards,
--
Bjorn Andersson <bjorn.andersson@xxxxxxxxxx>