From patchwork Fri Dec 13 14:54:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 850366 Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7C36D1F4702 for ; Fri, 13 Dec 2024 14:54:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734101701; cv=none; b=K9BMQBOlDr40gt92AkOkkN91cXpnlBYfo2xOGHITT4vIGKu0BKDzvxptWzzRM1Vlkp5GTzEhjHj9QfBB/3P2Gw6L2jKdWhxtwigMucyMrthI6VtONjZdEQLXCLfsdWv7jO9XPnR3TikfWlGV3TX51SZEZhNHGb4+JckvDxTdAug= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734101701; c=relaxed/simple; bh=OVs1pW8HXYviRDdBDJSdTxkf1pHhAXwfKakDLCDnDNo=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=bcSIYUmg0bQUHw8xfKXjeuK/7AkzHtYZAPBiv7W5x3tHOw7f3B3BeORtihTxilsS3+fyRg671XzBbrpf98miKy/XIWCfeYOxTxctnVQuI0gXNPaWdysc6S6npWtfY4+lFa/qGqDmqDbJFRNxgdkpHLL9ogdA6Gbrjc0bwY7eFy8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=CD3v4DTy; arc=none smtp.client-ip=209.85.128.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="CD3v4DTy" Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-434f398a171so1477095e9.2 for ; Fri, 13 Dec 2024 06:54:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1734101698; x=1734706498; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=96fv6yQ6ADzYBHITZDeQe5lcsb7Ca6WUimdGVSH7r0w=; b=CD3v4DTyxL+goYQvwmZ3HRsPaT3HqAJUjq8bQHxURjMP5XSQCSEeMA7T5vid8lghBF GeGQLhwJnDtU6dAb1GCbWb72fi6DKy+qDDXV3lRgOFC7+xZoc3QRzpYHNG8KvunzoNHh MZ5rqBuA8MzXGN2mZm1QE3i/7sdPA0LCNsg2/1WFd9wqWAufStdMBK3lsGVK3RJk4gbK AuzUPWs9hHWrVjZLvdZxgD+zUaSAPG1DjxCVXXcmiHgxR18Jqb0m4BoymdP5GGhW/O/y oHDnmp1QMcYnExrcQyu4tLPBrypO5Yi2NDoZnsImOdtmBhAYpzs1dAu9d0Gz2hOSeNkz IW7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734101698; x=1734706498; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=96fv6yQ6ADzYBHITZDeQe5lcsb7Ca6WUimdGVSH7r0w=; b=QR2bDGOYSKWC8FPIu2mzGLijYTiAm6VbMPak44CjmE/14vUCZ05mtx4cPTBVmfbddH vv2PpKU8vbHKz2R95KX6nWJ6B5v3RySq/hTEnxLeJ6I/0lQ2ZT0LUKaoXNfCUO9XIGOL Ym0idSY9iUiQHE/KS3FODqFHLQC6kU6M4YurIrwh42iFSwv7q2yvp/vhe5THVCSyMZNt mpgy0ZMceWH3d1s5N7BrqNTdkFuYiJQ2MlNpXJ1mbA4PEvYEVlFL7dtUAr/J20zFvJ5d +3hQOG4gqBbv7iBiuWMO0NA1Zrj+H1Mhj3ADUNPaswNslnBt4BOOcJ2XMgQ9eFxzAczE SSCA== X-Gm-Message-State: AOJu0YySBzQQ1/W3M1GYaUV+81mt+J1moBBwAsuj23awo6ylUmozR4W+ RWNDGIG/mbFEWdDPQbpcHsGg1eZhkz1kRgWxaekhqRA8eDaCJ9hW9Z0HEdWByMs= X-Gm-Gg: ASbGncvs1oso+l6TYM5kMFp2fymrLbylXy8fLqXBAzzAPFOTuY+ONBaAPfpdMHUzunu OD9w6o4AOtoo6xT/cwpmmdn/5tjG5onLUSijgLlrzKRekshnCVhXnBX+h28A2HSR26T9AlaarTP r2thJxfVzFa90CEdwt0FJoDDa3NwmDvsJ7RHUxgloI1WQx1s/k3etYE+sUqFWedySeo+FHe75XE w8bn8Saq4EFGAe/em+sw+sb9PTOWlrO8RzneqKf6JkPNq3wApPjU94+9w1Qd14nO6rgQY0B X-Google-Smtp-Source: AGHT+IG2xPKsjM9w1WZmh/gAbRxyawsIo/UGV1fOk7SQlhsXr4gjTxar9Jpmd4FGI/fiJj9PGZGJQQ== X-Received: by 2002:a05:600c:3b02:b0:434:fecf:cb2f with SMTP id 5b1f17b1804b1-4362aa8faa0mr9500045e9.5.1734101697946; Fri, 13 Dec 2024 06:54:57 -0800 (PST) Received: from [127.0.1.1] ([178.197.223.165]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-436256b42c8sm51547305e9.29.2024.12.13.06.54.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Dec 2024 06:54:57 -0800 (PST) From: Krzysztof Kozlowski Date: Fri, 13 Dec 2024 15:54:11 +0100 Subject: [PATCH v3 22/23] arm64: dts: qcom: sm6115: Fix CDSP memory length Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241213-dts-qcom-cdsp-mpss-base-address-v3-22-2e0036fccd8d@linaro.org> References: <20241213-dts-qcom-cdsp-mpss-base-address-v3-0-2e0036fccd8d@linaro.org> In-Reply-To: <20241213-dts-qcom-cdsp-mpss-base-address-v3-0-2e0036fccd8d@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vinod Koul , Dmitry Baryshkov , Neil Armstrong , Abel Vesa , Sibi Sankar , Luca Weiss Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1308; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=OVs1pW8HXYviRDdBDJSdTxkf1pHhAXwfKakDLCDnDNo=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBnXEqau2irMTS4H3C/8tmYk+b2vABvHbxCkkr0I wrBfzAkoraJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZ1xKmgAKCRDBN2bmhouD 15uCD/9jLqFnQW1IHAyGy1GrL3aIR7QN4HnGWqB5NrChFTQauWdsDtSa/C0I1uw7dV1vhsGIZOB 3M5ae49HWx+EkARS15/6RE7WPVtQ52G7px5zaXVu7eeRF+DYxRgBz0ngI66YXZaZxXKYEwaM60E k6EAhGHQUXtwJgW87najc5VWZWWV8G3DzQKa7FqeB+Cs64pHUd7RXncIcgSFGZH72KVVdDFYESs rLl6fy4v0csCXYE6y7CFu/8UWbGLLbRdD5DT+VUK/AmAhMzwEr9qSmHQozJe8sWLLjR7p00zMwr aVwIu/Hs6MPJQPtyPwtjbRy8K0IHNiu+lYJYZvwJIHtlDBrbBjSaoj4ZRi7Tw3VqkvP8yeo7yES gMfluXhfXJ6+qkChZmf0LfsUx3u9srqv6ztBd3UKn2sgdLKvYtjmGEDckUZm2X/4KKmXc4iJQ4D 7S+uSXK6uKkb4sBa7o8ndi0GpPirOLz3yLgCN4XjFEwGfFw+q9kd693Epk7dqA+zgnZiwtcuQAY VgZLjEVGBbFK73eGKRgikhxWooVDyKuj9CAPJuQMIr5pAQSpaS6t9Rtv+6sr8WHu7LERkkpbzdj ymKX6p9wmLdxhOV7tEFweAf2A+X79p1gVJwpiC5p0Xbw2vOauMf1zAPylZE/mpbU8Pd7MmX+Nbk BHBuY87j985sx/A== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B 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 0x4040. Value of 0x100000 covers entire Touring/CDSP memory block seems to big here. This should have no functional impact on Linux users, because PAS loader does not use this address space at all. Cc: stable@vger.kernel.org Fixes: 96ce9227fdbc ("arm64: dts: qcom: sm6115: Add remoteproc nodes") Signed-off-by: Krzysztof Kozlowski --- Changes in v3: New patch --- arch/arm64/boot/dts/qcom/sm6115.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi index e5ebe7c7e87fcb3ab87284a2ec8fe88567f6cd70..5af2c7a3f6ff67c216f1c817a3d5f54e10b65450 100644 --- a/arch/arm64/boot/dts/qcom/sm6115.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6115.dtsi @@ -2744,7 +2744,7 @@ compute-cb@7 { remoteproc_cdsp: remoteproc@b300000 { compatible = "qcom,sm6115-cdsp-pas"; - reg = <0x0 0x0b300000 0x0 0x100000>; + reg = <0x0 0x0b300000 0x0 0x4040>; interrupts-extended = <&intc GIC_SPI 265 IRQ_TYPE_EDGE_RISING>, <&cdsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,