From patchwork Mon Dec 9 11:02:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13899297 Received: from mail-ed1-f43.google.com (mail-ed1-f43.google.com [209.85.208.43]) (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 ABF9821CFE9 for ; Mon, 9 Dec 2024 11:02:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733742169; cv=none; b=Wv1wIJrFvv1fF26IMH9FD9cqwiNDQbvC9baIB/WxxU+FU2ie2a8aNWzLa4VkxCQAncmHwD1JQkjM8F/5BBZkrubhkgvPxdir6LDNXAUmPKHOwaKgmCu2/iRIhP/HbZZHVnG39LS9IIplIVc+O8le8K4o6qwmic38teBLj1K6bvU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733742169; c=relaxed/simple; bh=ZnVV35Ysk2q6WdcSOD3vQho9WYZzqbjyCRsxVVNYQ0M=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=NGurP8JfYvwlgTENtvrmjoJ1geyBtnLy9jM6BOjuSX92ohU54AwHeO5itcMCJySITkeiaW0WPKYUHG8pFOwkTduIND84u2CFFGRK0rmG/RoKLn02OhKaXfferWVG3S5K7iUlJAQ8zcpivY1D+4KsWkr0vwNDltxB1GG1ue7YY6A= 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=LfjtlZSq; arc=none smtp.client-ip=209.85.208.43 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="LfjtlZSq" Received: by mail-ed1-f43.google.com with SMTP id 4fb4d7f45d1cf-5d3d69e5b63so237602a12.1 for ; Mon, 09 Dec 2024 03:02:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1733742165; x=1734346965; 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=OQMcevWOxu50/RdSzVyc8fIM+ZHd3YW7Px4om1Us8a8=; b=LfjtlZSqPCzyWsfpzvOv9SyUyXXL9ggeKuqJ8wfVRUA30wk+fMf68MGjNmLxvKRFtg wX2gpX1wRx2cCFf4fTOUgQ+gIptHgQQhgP9z0qNndsGGTvWNTwKOnkxkNvjMRawvzl+l BvOVbJLhYJedJbsUZnCKP24BBKfKR2FUQTT/SZCIgHU6Og8uTP8tF9p2/4QE3V/QOUqo qU59oRT/G0Ys8A+5MrfZDEmu4QaEjzO6J19TqTjloMwGdklme92Un2jq+W/Sxfl7Oswy 8jImtFO4mbAI6APxaExRqT6CBM/Uhir2xRRf2WGhJQfmtbRXEREGBwEiHQynuuf8ZL4S nRrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733742165; x=1734346965; 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=OQMcevWOxu50/RdSzVyc8fIM+ZHd3YW7Px4om1Us8a8=; b=aya4Fr9F6jmwZJou9aZK3LSWN3Q6uxvw7gZwjNpD2/1o0MGucVQ0Ranuv2xa3njlYs uYz5dXSAalTgOtNQcZzxPbweF8HzQfxuEOa35xf+wF2N19KzlNkB1vYQ2Uvsoy6yrn1x wI+N29VkxrRr0UIcBab/C8e/sQrZIHDa4YkIgSHr8rbM8AFls0qNw5pdwSJdG7ycg7ny KXScNmWhVb1mcx0CepamiDv9CYXpbRSYK+092/86/jh7Hk27oOwU4XPxgfZqmZqlZ3fy RN8s4j45e3ShnXbEj7E1uECAG79z80Y//gW7byAKy25IKUnNlhAXV8nB4oTxNKNaHn/A bB9g== X-Gm-Message-State: AOJu0YynD7jfO2iXXIbFHCGEeNcRZlJ0we3bfbYNaxOYmw5dEdIhGBps pIhf6uBa6lc5Vq7VY50iBqzlvqiu6nKwSqdsoUyNxrOWrBoxVN3ueJ2UnC3c9P4= X-Gm-Gg: ASbGncs78vGDYwQpI9vKfNQ70YFebWhMRAk1PVJsISzVmQCyQBEfu+7v6ozJ9Tzieh2 zwgXgn6AEsdS5NxHZiJTCA4hu4aN0oTXhF+sFKCT05lJHNdYNlMV5O3R26lpGuzt7jeKQGOVkKt immU9UVTo0QNyz/Byeyf1EcSfctjSVg/jD6tkeTxqtm05iI2jevrOKIsCh/Svr9N9YHDmmQ4nnx 1Rv/NXAAk+Yj31Dfvc87X8BO6GG0tm1UFibRrbxg1KUzNnTH62IIZfnj7Y/XH/nQg== X-Google-Smtp-Source: AGHT+IFzCl8SKl1Lq4Uhq4Ox9VnzgZ1G0ah8E8zajoftd/Cw3MeQ/a6WmzekBUfNm80ihhxNwOtHBA== X-Received: by 2002:a05:6402:2115:b0:5d0:214b:96b4 with SMTP id 4fb4d7f45d1cf-5d3be6bdefcmr3657286a12.1.1733742164742; Mon, 09 Dec 2024 03:02:44 -0800 (PST) Received: from [127.0.1.1] ([178.197.223.165]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5d3dd4f641bsm3348818a12.51.2024.12.09.03.02.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Dec 2024 03:02:44 -0800 (PST) From: Krzysztof Kozlowski Date: Mon, 09 Dec 2024 12:02:14 +0100 Subject: [PATCH v2 09/19] arm64: dts: qcom: sm8550: Fix MPSS 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: <20241209-dts-qcom-cdsp-mpss-base-address-v2-9-d85a3bd5cced@linaro.org> References: <20241209-dts-qcom-cdsp-mpss-base-address-v2-0-d85a3bd5cced@linaro.org> In-Reply-To: <20241209-dts-qcom-cdsp-mpss-base-address-v2-0-d85a3bd5cced@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=1331; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=ZnVV35Ysk2q6WdcSOD3vQho9WYZzqbjyCRsxVVNYQ0M=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBnVs44QloLVkk6HRDsj/yakFTUZNo1Z8Jt07bHX lqp32Lz/yGJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZ1bOOAAKCRDBN2bmhouD 113MD/982eUyfuK+5WgfBpaPMpgbQ0yJomYIy2FQv0auF4Wp4dCChOaSFLZVhoHHXA4nUcIsMKE maN7Bq1nHY1HSLxEI+/egUUM1LrAsQcOs8cXsfjpLOgvyR5RvjmOPX/4Gj+p29qBW0NJl3ghC82 c6c1yWonXJ8Pm4CHwnQooZ+PHEptQhwGY6NoVCw+bBXU7OtUds5wMu1BWYr2bdC7Hd/XcBo/Zsd HddpB4lg0GftQ3ZYdTSKKgAhPZx9bgwMLHzVAC99QcipXfSl7B86va0Es4WqiqKCMKLblrLcC8L 76sMwpSQ1dZK0aBTfxwX3zDyYcfCVKVSnJdrGrj3gtZA6lvXD7Tz50p/tmNcXHVXw79F4oI6eoE 7i+UTA1wFjQ/SBW/bDlsJ/S6+Vo3848ecksta60i0odHNVshT+U5Lw3rAai0Qjj10twqLkwkFsi K2yf4ocBRolaw7S61nsJmrwYwYnvKEQmru4uqMSiD4kn7NUdYcJhHg25Qvn+6W2693jQSpryIWo ifqtmWFttDIHq7am2jh5aNw2AmN/tdKEKnk6POCvrNJZQnjCdvTo8Qg1spC//TqIthLWQiMIeEJ soABrZ8yRPRpyXxoGp3RRjRFelqdrED4j+jyiOMp4d0mron0yhj9T5HzdjtcMJloeKy6lzsh8GC 67MWln3QVOnDLLg== 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 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. Fixes: d0c061e366ed ("arm64: dts: qcom: sm8550: add adsp, cdsp & mdss nodes") Cc: stable@vger.kernel.org Reviewed-by: Neil Armstrong Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/sm8550.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sm8550.dtsi b/arch/arm64/boot/dts/qcom/sm8550.dtsi index 541b88eb5f5300ef9e20220305ff638db9b2e46b..71ff15695d396a68720a785435e692d3bbb38888 100644 --- a/arch/arm64/boot/dts/qcom/sm8550.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8550.dtsi @@ -2314,7 +2314,7 @@ ipa: ipa@3f40000 { remoteproc_mpss: remoteproc@4080000 { compatible = "qcom,sm8550-mpss-pas"; - reg = <0x0 0x04080000 0x0 0x4040>; + reg = <0x0 0x04080000 0x0 0x10000>; interrupts-extended = <&intc GIC_SPI 264 IRQ_TYPE_EDGE_RISING>, <&smp2p_modem_in 0 IRQ_TYPE_EDGE_RISING>,