From patchwork Mon Dec 9 11:02:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13899293 Received: from mail-ed1-f53.google.com (mail-ed1-f53.google.com [209.85.208.53]) (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 943FC21A95A for ; Mon, 9 Dec 2024 11:02:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.53 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733742162; cv=none; b=rtF7ZoAPau/inP+Xw8cdz4b0x0OUrxXL11DMmefoEkI/Ig4udDqLgi+Y8nZahLhP0D6asJqY5Da7s97hiI436x2MQbCIUAXkHCrZDqRgOvztbfYmIWGdbP+XkCrkkz97IBMy4gFD0ZnvkmVIVWfubVzcSaVgitcl3/Iu2AhcoRo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733742162; c=relaxed/simple; bh=XAEiKnCO1r1d3Rt38gaJyxFTDUYuD0/ITOVOdeMu+YQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=VxiwIpaOPb6HlCZZ3Duii4MkxMKJrYfxdUVs1hhSLBxMbolzpUmHE225eTWZaXMzJf0ueAJ8a7dmJcwSyffddxvDGkIAiiVXkysXQT/tUsx+90P203HL7N1uwJWPUioK22aNL6QmEoE3oVUDNMGcHNFeSW4AAeikPt9sBvBB2Ew= 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=MBj4L7Qp; arc=none smtp.client-ip=209.85.208.53 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="MBj4L7Qp" Received: by mail-ed1-f53.google.com with SMTP id 4fb4d7f45d1cf-5d3cfa1da14so205471a12.1 for ; Mon, 09 Dec 2024 03:02:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1733742158; x=1734346958; 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=dIBR65NQgnFdG5+Wr1oGSIxsxM3LOWc73QgneL07cmA=; b=MBj4L7QpvchthVgiH4sfMpbOXUYmRB0rRzulT5noNr0VBg+wi/y/vElQo3DMNX36j0 t+iFG/A+2mPPbUPOAFFasKeFOOU4C7Wao1UG1W2sEmTTZ/dM+I9ywONiwqiknyKtanGL Rk8BRrCMgFqQ904pAWSGvGZ6FNqBoeN54YQ97xyF/aK5es/sBNpBmL+8Ol2xdbxUkIGc oS2u2stZEEzqOuo2g0GY0HjpPzXIDhw2/dTRYXyWsMyeM0jQLF2PxCw+H0tQH0io91VY mA+9a2bYvxefqcu/JGepsmAMwhCF0/3oXSzNa3UxYMFkrDBsUaz67VC4IfWE3qbW5uYG DQtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733742158; x=1734346958; 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=dIBR65NQgnFdG5+Wr1oGSIxsxM3LOWc73QgneL07cmA=; b=lrwSZIB8uwKzy9s9IrD85PTh3Yg7d4xFH7sewEMeV9/GBaS8BrABIqlYWZckUjdRL1 4GIrLJ3PcM9dNFx4/g5Pwkso8Vwtdw+rECcxGa++CjIdlaiIvilTzkGJ+pXChVBMCmg2 Xl+DLRf8dz8Fe4aE1P6sVwZEMmaHSxC2Wf9+zFq2GMiNUPj1F98di0eo7Ihrn8F8q40z W45AmpWoYXHhGSZIAflWj+qPDs9Kk5veINPR701cpXrX9IAejGQTmN0JqVKTMEZENHFU A3JeDOJ6mJZ63O0ChwVvoMIFF1qOjre1wl0fx+ljqGcnlDpVWzthsVycnV1HmUPjKRj8 XTWQ== X-Gm-Message-State: AOJu0YzlGyFKuOAEIULzPXcM3tRuKDkaNcaXTpsYQ1giHKHxDpBJf7nq QqttuJ+xd7rzW0CPGdh0TAxu0e3/IPzO6wI8K3nyTUxs4/GLQP7H6mC3rQemmUM= X-Gm-Gg: ASbGncuKCHbIoAhJ7tqKFsOV4vEeLGSvi0BGAlwsJYCsFsFVdku/H95x+NNyyw8HMLe sSBSAFMzD/zygx8gWOUmZUNQ3KslBS405jRYvy0xzcNtUnNbB1ZVMqZGwvD+dXb0J4QD6Tdn3C8 O0/aUilUH6jJ64UG8mkuKa5Jee5hPHTDNV/48Mfi3UQiNKHXY+9vse8xoZWSAZWqPOW1IR0tUDD HCEdlQmzj7Lkn+21hdY0xV7Oi1KSbFdmp9uHwFKN+yVDeuAfPKpHBRfPhJCY4neCA== X-Google-Smtp-Source: AGHT+IHAdSvGUMJ6WzNylQo7YE1SQHxO9I1C8GmPvQQClOmUWgSyK2GKzRFMICqjXdmANW1pTx5cVQ== X-Received: by 2002:a05:6402:51cb:b0:5d2:727d:dc04 with SMTP id 4fb4d7f45d1cf-5d3be79f1bdmr4493603a12.8.1733742157853; Mon, 09 Dec 2024 03:02:37 -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.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Dec 2024 03:02:37 -0800 (PST) From: Krzysztof Kozlowski Date: Mon, 09 Dec 2024 12:02:10 +0100 Subject: [PATCH v2 05/19] arm64: dts: qcom: sm8450: 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: <20241209-dts-qcom-cdsp-mpss-base-address-v2-5-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=1353; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=XAEiKnCO1r1d3Rt38gaJyxFTDUYuD0/ITOVOdeMu+YQ=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBnVs40pheQLD7ikDweDTuPirbb9rI+zxFhT77oG U+0nQQYy5mJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZ1bONAAKCRDBN2bmhouD 1+UHEACJoZZJ8e2ORkVLjDW2jP7bDhCV3z4+8ldDPOn6oc15bIK9NG/V9XqCN30rPpgtGxeq6mJ B0jQYDj2HgSV29a/9jhqumoB40EDYMsn/NABLTOLcgaFttSKRozpK8rjXI8qKMSNUDrvN65gyA8 x+8d7XB6dNmfqOdRAnLcN1cxS1HCm42Q32GLi79KVIWulg7mR1KrF0myPO8j1eUTBV8iST1WgEq o6fqW1/7IU3lthdWnOWQP3f9TrIaIDTIW0eQarDajXxbzpxo+wgr9fL1go3BlplS/JFWgMnT0lh +t4KCZdzSlX7C2nWZokQNDDc5OCa7KVYb6OxgZ/LIdNOb4cUMepEP7Y3DB3H4MI6CovyWEHYG9s iQ259EAin877F66dm+9lSPvZP47MXrCoHIdRjfnhz2+lvLQrNb+EA1Waq4UY9BPCqyNlJSDZtYi QuKWw0rGtTmEhXpMFaPeYosEnerCEZ6E1W9YOBg6Z0dsUsEzCKzvMjLnJ9XR7VOaxKf6ya6Wu4A SQnJPFmccwMPAjRY5sqzby77HfZvsy/vIkyv+/jlHK0aKFC0VsopHRvTAWf55njp3RDgDbBvXZL 5Fh8EmPX/9Z2u4d8X7lkG1fqIqskhomKWkLwVn73GdsZPa5BiwA4IFT8zhKMs5QMUWKvWBmBm4L ne78++J5LtiUx+g== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B The address space in CDSP 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 0x1400000 was copied from older DTS, but it does not look accurate at all. This should have no functional impact on Linux users, because PAS loader does not use this address space at all. Fixes: 1172729576fb ("arm64: dts: qcom: sm8450: Add remoteproc enablers and instances") Cc: stable@vger.kernel.org Reviewed-by: Neil Armstrong Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/sm8450.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi b/arch/arm64/boot/dts/qcom/sm8450.dtsi index d028079c11bdc2dd2b254f7f7d85e315a86f79bc..7a3bf847b0b9eae2094b0a8f48f6900a31b28ae4 100644 --- a/arch/arm64/boot/dts/qcom/sm8450.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi @@ -2800,7 +2800,7 @@ vamacro: codec@33f0000 { remoteproc_cdsp: remoteproc@32300000 { compatible = "qcom,sm8450-cdsp-pas"; - reg = <0 0x32300000 0 0x1400000>; + reg = <0 0x32300000 0 0x10000>; interrupts-extended = <&intc GIC_SPI 578 IRQ_TYPE_EDGE_RISING>, <&smp2p_cdsp_in 0 IRQ_TYPE_EDGE_RISING>,