Re: [PATCH v3 20/23] arm64: dts: qcom: sdx75: Fix MPSS memory length

From: Krzysztof Kozlowski
Date: Fri Dec 13 2024 - 10:07:59 EST


On 13/12/2024 15:56, Konrad Dybcio wrote:
> On 13.12.2024 3:54 PM, Krzysztof Kozlowski wrote:
>> The address space in MPSS/Modem PAS (Peripheral Authentication Service)
>> remoteproc node should point to the QDSP PUB address space
>> (QDSP6...SS_PUB) which has a length of 0x10000. Value of 0x4040 was
>> copied from older DTS, but it grew since then.
>>
>> This should have no functional impact on Linux users, because PAS loader
>> does not use this address space at all.
>>
>> Cc: stable@xxxxxxxxxxxxxxx
>> Fixes: 41c72f36b286 ("arm64: dts: qcom: sdx75: Add remoteproc node")
>> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
>>
>> ---
>>
>> Changes in v3:
>> New patch
>> ---
>> arch/arm64/boot/dts/qcom/sdx75.dtsi | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/arch/arm64/boot/dts/qcom/sdx75.dtsi b/arch/arm64/boot/dts/qcom/sdx75.dtsi
>> index 5f7e59ecf1ca6298cb252ee0654bc7eaeefbd303..a7cb6bacc4ad5551486d2ded930c1a256d27655e 100644
>> --- a/arch/arm64/boot/dts/qcom/sdx75.dtsi
>> +++ b/arch/arm64/boot/dts/qcom/sdx75.dtsi
>> @@ -893,7 +893,7 @@ tcsr: syscon@1fc0000 {
>>
>> remoteproc_mpss: remoteproc@4080000 {
>> compatible = "qcom,sdx75-mpss-pas";
>> - reg = <0 0x04080000 0 0x4040>;
>> + reg = <0 0x04080000 0 0x10000>;
>
> I think this should be 0x04400000 instead


There are two QDSP6SS blocks - one at 0x0408_0000 and other you mention
at 0x0440_0000 (MSS_VQ6). I think in all other DTS, e.g. SM8550, we
describe the first, so 0x0408.

Best regards,
Krzysztof