diff mbox series

[v7,4/4] arm64: dts: qcom: sm8650: add missing qlink_logging reserved memory for mpss

Message ID 20240123-topic-sm8650-upstream-remoteproc-v7-4-61283f50162f@linaro.org (mailing list archive)
State Accepted
Headers show
Series remoteproc: qcom: Introduce DSP support for SM8650 | expand

Commit Message

Neil Armstrong Jan. 23, 2024, 8:51 a.m. UTC
The qlink_logging memory region is also used by the modem firmware,
add it to the reserved memories and add it to the MPSS memory regions.

Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
---
 arch/arm64/boot/dts/qcom/sm8650.dtsi | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

Comments

Mukesh Ojha Jan. 23, 2024, 9:58 a.m. UTC | #1
On 1/23/2024 2:21 PM, Neil Armstrong wrote:
> The qlink_logging memory region is also used by the modem firmware,
> add it to the reserved memories and add it to the MPSS memory regions.
> 
> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>

LGTM,

Reviewed-by: Mukesh Ojha <quic_mojha@quicinc.com>

-Mukesh

> ---
>   arch/arm64/boot/dts/qcom/sm8650.dtsi | 8 +++++++-
>   1 file changed, 7 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/arm64/boot/dts/qcom/sm8650.dtsi b/arch/arm64/boot/dts/qcom/sm8650.dtsi
> index 2df77123a8c7..7a1cbc823306 100644
> --- a/arch/arm64/boot/dts/qcom/sm8650.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sm8650.dtsi
> @@ -525,6 +525,11 @@ qdss_mem: qdss@82800000 {
>   			no-map;
>   		};
>   
> +		qlink_logging_mem: qlink-logging@84800000 {
> +			reg = <0 0x84800000 0 0x200000>;
> +			no-map;
> +		};
> +
>   		mpss_dsm_mem: mpss-dsm@86b00000 {
>   			reg = <0 0x86b00000 0 0x4900000>;
>   			no-map;
> @@ -2627,7 +2632,8 @@ remoteproc_mpss: remoteproc@4080000 {
>   					     "mss";
>   
>   			memory-region = <&mpss_mem>, <&q6_mpss_dtb_mem>,
> -					<&mpss_dsm_mem>, <&mpss_dsm_mem_2>;
> +					<&mpss_dsm_mem>, <&mpss_dsm_mem_2>,
> +					<&qlink_logging_mem>;
>   
>   			qcom,qmp = <&aoss_qmp>;
>   
>
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/sm8650.dtsi b/arch/arm64/boot/dts/qcom/sm8650.dtsi
index 2df77123a8c7..7a1cbc823306 100644
--- a/arch/arm64/boot/dts/qcom/sm8650.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8650.dtsi
@@ -525,6 +525,11 @@  qdss_mem: qdss@82800000 {
 			no-map;
 		};
 
+		qlink_logging_mem: qlink-logging@84800000 {
+			reg = <0 0x84800000 0 0x200000>;
+			no-map;
+		};
+
 		mpss_dsm_mem: mpss-dsm@86b00000 {
 			reg = <0 0x86b00000 0 0x4900000>;
 			no-map;
@@ -2627,7 +2632,8 @@  remoteproc_mpss: remoteproc@4080000 {
 					     "mss";
 
 			memory-region = <&mpss_mem>, <&q6_mpss_dtb_mem>,
-					<&mpss_dsm_mem>, <&mpss_dsm_mem_2>;
+					<&mpss_dsm_mem>, <&mpss_dsm_mem_2>,
+					<&qlink_logging_mem>;
 
 			qcom,qmp = <&aoss_qmp>;