From patchwork Fri Dec 13 14:53:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 850856 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 8BE101E260D for ; Fri, 13 Dec 2024 14:54:28 +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=1734101670; cv=none; b=gZPN4ZFWB2FwSh0eO4KU5DLktXqo8R5phhMQT32eK8d27V8PFrptzUF9LOFFxqTE0YQ99IxqFuR/XHbuPcwcC2WQzD8OBCbuhqbemHxhWSXVtzk4IXJ++I9ijmgOU6qGOixi6ZBNdoK3ROXRBoZNz/jz0UDgVsHjqMw0jO/jThc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734101670; c=relaxed/simple; bh=gk48oC9f/Islqf8fEtMbT8F/fJ1LaCSok5/DLsdp368=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=MZgFTW4FkEZRVmqjdynVxRojaKMNGj5z+ypZOWNflWS+/De4U5N8RiKPAi5C+y8VJ9YSO3Udx5wd0FKyftliJ7ywdSKXJHY4nHzGIMMblSzK06nIGgiva0h/BGTOq6YVkBGMqRlmN0yFObMk9GQB2F07HiSEB+ktq10Cg7mlVOA= 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=kJl0NXgn; 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="kJl0NXgn" Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-434e9e22a99so1856925e9.1 for ; Fri, 13 Dec 2024 06:54:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1734101667; x=1734706467; 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=YXqCJUJj7WkufcIYnMUlH0kiIEfBlpG+zhLF4O1kubE=; b=kJl0NXgnpVJfZeAxmU0qkjD15gIJO7i00B4ZGvxAVEFcjxPNsRU+kPGbLffMq9di1w 9ics8aBEr797dEkDYXEa3PXcVEkyLaxmTl7xsdOOdlHk0DcHg+myej1vS+KA1NA3eOBJ KpbzS3jXK1ZPuWejWy9j4j6SaOSCqaovJe+DfX9tTDvz8f615rg7wgoQVokWNTcSKtO4 Ny6/ANwP3xxwr9eHyP3/BZPeSS8pPg72RCvHyzXgtUoUw5wdzHIHD9GU7zwopAYcBdpW WbASoq2uZIZaMPo88qoD9oVwlTvof/5PA0OnuojksuDrZ9FI6kN3GcPZ7nT7odNO0O3+ 0b0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734101667; x=1734706467; 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=YXqCJUJj7WkufcIYnMUlH0kiIEfBlpG+zhLF4O1kubE=; b=ZraaD7SZoyFU82y2nhFH7ejjCZDtDV4y9p8f1i/oLMX89JuoLVvcrPoXNVm6dZLmJN 8Bq44ZD6QUDvf5/TLnxVetjqDHQMB3a1ZwI58CoSwaTHcU9AlyC31kHRgUrHVxYGHs8f wc3SovLL1R5+FnpLBYYYsOuNVv+gcY50DI02ZgUsYAfIvC9e2kJ1Qt1oO1n2oGFRcB1L Qt0BjWdyTW2DLtQbmMoTy8haOz5WjXl5yqsw1CCW9zgFehOBzZeAhghtsFY+KuUeP7hw GM8feKOZKonx/4EL6a02SwjkiKZiA5FBUbrDBjwGhC8Q6+vtJAvDfCjquGyRPwsA5fA4 fvAA== X-Gm-Message-State: AOJu0YxKW/G6q+M4Tv7GJoPPJ+vb21lGYeZ3l3W9ANLMg9Qaj3qo+5c2 RwFwk+Y0Euawa0Oj1+mmYJm5k6iA+Pp2+BeWfFeP9CGcAWDbAP+X81ZUbYiruZY= X-Gm-Gg: ASbGncsTesR0ThuFIaYXMK+OFCG119dO4DHOxZB+NSIcyFjTEe/SArQssROl/Q+RDQi xKjctnzV3x6FfQsIxqvk31rWX9Hj+LMzINw4IZwfhIKeEzjilV3NxH1fACmEBwRoZ2Y3fWtYc0F OSW8qjB6iqD1aegI2BEsdS7m8yBBQ8xcRr/85pV0dyGmjGJImHNYga7Cih6tipdDNPRa+BpgFgs s+nwFWRyrPKwRb1Sp/KARFDb/UTyDZmSWmVEOX653YY3l2Kk+2zn6VQ+g5DZDyCN8Mr5EPk X-Google-Smtp-Source: AGHT+IESKqrqpWFcCULhdb8HodCenHYF98MC2zzh68Kay2W39cityMb4llcmVRKGbMmkETHet77wIQ== X-Received: by 2002:a05:600c:1c14:b0:42c:b55f:f4f with SMTP id 5b1f17b1804b1-4362aaa97e7mr9363115e9.6.1734101666842; Fri, 13 Dec 2024 06:54:26 -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.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Dec 2024 06:54:26 -0800 (PST) From: Krzysztof Kozlowski Date: Fri, 13 Dec 2024 15:53:52 +0100 Subject: [PATCH v3 03/23] arm64: dts: qcom: sm8350: 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: <20241213-dts-qcom-cdsp-mpss-base-address-v3-3-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, Konrad Dybcio , Krzysztof Kozlowski X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1330; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=gk48oC9f/Islqf8fEtMbT8F/fJ1LaCSok5/DLsdp368=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBnXEqJ3dGnTfAi33y8mxVZg/exhtL5ypK/jjJN1 C8sNrQxGIOJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZ1xKiQAKCRDBN2bmhouD 1/GDD/9aMgwvbB35BFABD2Z1zlRMOAC+oEfmd+DSoCXB7MB5tGD6iDGCnhuseI7UdhpiFBmk+BE bT+FU7rubq3cObVFEgd2qdp8NsDwOO5PQQRax7aL8gYlu1kw1ttt6cPFb5LTgGXACr5m065SbSH DIQXK+Utu0S/BDK9J+VWGT1d9E0dv4lxuiFTXkliNdYXKPwIn6A4BS3xxlhshf1jCUcCetkWYfQ pVBmI/6+hdGpP05w0Bv5L3WiTDdinGJiCbbZu15c3TkiDIERyOVXlgOxjGAD3bYuG4R6Kfh3ROx wKPGTlZApd5WrRlqwTBBucxc2VQBA5KPbCkk/kfpUWE/bt9Te82koirTmLqRTJLh3m4YL8pAtrP l5UR4XHKR9MObfMRCEyPEwl7XwrH+m63KvR1YCxe7atXo/X4erhcht/RiSagn+evO2Q5g/U/MxY bF1JOn/YvBSGs/mWXYI/8atNPaZyQlU/0W3uT20eqQtnqazUKvpIdFQPoY2mSweqis4RkwxEQtd eEURWdDn1lYWWDKc4cz0iSsxLJ6CMccUjKSEpHwm4Z5ztZqu9qn2unEbtelDQ6vaLdPnljwHGFp KNRhCtOho/enVLmz1ku/0QjlEv5XApOH0SuedOn+BSP4latO4oyMDDEIg6vkOKvFyqQG8aTQO5k VMyaxDLqVt8Ncdw== 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: 177fcf0aeda2 ("arm64: dts: qcom: sm8350: Add remoteprocs") Cc: stable@vger.kernel.org Reviewed-by: Konrad Dybcio Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/sm8350.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sm8350.dtsi b/arch/arm64/boot/dts/qcom/sm8350.dtsi index 2a62405c0c9eff959abc4cee57753a8b1545c9bf..7d77dc528eb734a86be5f194b120b6d926f150c6 100644 --- a/arch/arm64/boot/dts/qcom/sm8350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8350.dtsi @@ -2214,7 +2214,7 @@ lpass_ag_noc: interconnect@3c40000 { mpss: remoteproc@4080000 { compatible = "qcom,sm8350-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>,