From patchwork Mon Dec 9 11:02:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13899302 Received: from mail-ed1-f48.google.com (mail-ed1-f48.google.com [209.85.208.48]) (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 28F0B221D9E for ; Mon, 9 Dec 2024 11:02:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.48 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733742178; cv=none; b=mW5zxat5tjIQp4KU3Ug03mvfwUnDDcF+5WBtmzSRYnxbA3AyaXQqLnpc4KVNk7DyfbzSbeZiJSQ4ym/Ucky4OvSPImm4MkARTEAekR1yjqo8OzKhsLQxLofsI9Q54N4O+Ka4y/4PZK/Sir0aa9LnZ4ocnX/omsUo7lg4zRRD2ak= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733742178; c=relaxed/simple; bh=NfgQA/XgYVV5OKpmwdBaDSEA9tYYVgnK+RFM1b7SHis=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=cRbOGc191IteS9G4Ydn1UeFV4DTvWEPM/0t5ScgoSqnSE2jh7O7l3nHHK01pfvLH6+G+Wkkl8shoKjJeeGDlFcmB2sfZuakxaON8upU+V/g1zivhJqKYtKaEuQyj4c47CKJE77KUXKVxgVfVDj0Em5CPEIwXOJhgK/lwcWxYXE4= 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=MUvVrH4i; arc=none smtp.client-ip=209.85.208.48 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="MUvVrH4i" Received: by mail-ed1-f48.google.com with SMTP id 4fb4d7f45d1cf-5d0d6087ca3so625112a12.2 for ; Mon, 09 Dec 2024 03:02:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1733742174; x=1734346974; 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=XUPiOrNH1n//ypUMYkuFABYWmDpGewo2IYrQwWO/Hmo=; b=MUvVrH4iiclPhUomfzi6tHBIcAbBuo3/LGmiVdJF27ip2+n3zykKZR7MNWVvvBbwTz /dUGpEea2ioUqmU+A72gZEqdp+AX7rH8iswfPevSvUDLPUnTbh3Wza2wz+cpyE228Hz4 jZEjuTA9jtyUGL5Uw/W6ML6Nqw1LW9D9mf/QfIdyB/U0oKY6o1eG4uzg1W+lKwJMJTTs O7mT4jnNauh/vzri/9uoXRQqUmfk4K2jRJGuVaxCeXz2cl+Q661zZYCgUJ2y918syDNn PqV5926DWS6xu8+2PHNC5uO7FDRg41+IMFHxhnBQuHFzT8kAxQkV8aiAhsp+pIUkXXSC ydQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733742174; x=1734346974; 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=XUPiOrNH1n//ypUMYkuFABYWmDpGewo2IYrQwWO/Hmo=; b=tv3W5rnudbWtbi22SmFCW41L4lpVxLG+M9Ddi5cek6kUsvczOO020KE+5Em3pE37M7 14DrFZ3MF4lr6nxSBvtcQdn6KQNn1qFLDWKVNPyS4za+JgPXUSe8EXn/C38HW4mlfqqM 54EAgLDYkqFsU5byC/GXL1+lmeKs2dwmJN2saaO2OInylncUt0MAdP/NKvXVGOeAtOd9 zpSK6AN4XEn05GFhOLm40h4lb+RXq4LWI0qHb6kvND72iOHR1fZegaEtwnYWt+eAQhwt vLJEwyjzOiZ+s30ISweojBR23HWbnqtfZx6nrztAhXeT46SY1+Jyn37DhO+HbtyU9B7g TWKg== X-Gm-Message-State: AOJu0YwLWEd9vu5SRdLZSSxgnDrp0BQVXS517SzMbdnVndwT7Vge3kRY pvaoCP94rvRev6K5Kl/QZn6Xj/f4JOvn8qjm3c2quQtW3iZCgJLSh+IZMNZrFj8= X-Gm-Gg: ASbGncuHKbigvfGh5qggeHr+fg3eA4ai6wJD/ZYcgP0mYFQJEL20NWqHWJ9ZjfAPED7 YEbsGJJ3OD5ARM3X8B3LjBKVYUw2gtjyH16qyzicjRWYAPpSmW5FYbryWjYIK4yQGFoOKTuh97N cR+ysECyVsL/ZiYE75xOFxt0ivF5eIlLXZUgCcZWsNZA4f9BqEjCQI3b1sKrPL3nfU9XiciIcQl /OpFsYBP+6TxAmY69lEWvbbl058zx2LKhfZpwsHSyIeUlSRyJRY5gNE7UHhNIqiU2vydQ== X-Google-Smtp-Source: AGHT+IGzG/+sNYhVLMvQBtnv9Nm/PRVjLNtlsJ2/nBF9d0SHrnmyN30fgse6/SB8+4QRL8/+oWCMpg== X-Received: by 2002:a05:6402:5201:b0:5d0:bf79:e92e with SMTP id 4fb4d7f45d1cf-5d3be78e220mr4410831a12.6.1733742174501; Mon, 09 Dec 2024 03:02:54 -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.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Dec 2024 03:02:53 -0800 (PST) From: Krzysztof Kozlowski Date: Mon, 09 Dec 2024 12:02:19 +0100 Subject: [PATCH v2 14/19] arm64: dts: qcom: x1e80100: 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-14-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=1319; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=NfgQA/XgYVV5OKpmwdBaDSEA9tYYVgnK+RFM1b7SHis=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBnVs486MXCYyd69c4PabXhYd0fnocDIwwxfVpDP 70dA4FhTnaJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZ1bOPAAKCRDBN2bmhouD 111ID/9IUZmDIOA3Q471nRYAYEwX/prFc2VkFuOtIYRBLnKcEUO+CgVDNP4RId0OFQ6XIurVH+o rbMfNqQRGzM98eK/a2SoSAPqcT947jpY6jiwdbW1iqLLymRKpRHAtEPD9h3Ygsfnx5hPVxmRw+D 2WjY/riQNlJ/uxk3qzlawDRTDToiQktpZEjyPT0ErClJiC3Vl+hLNUk+fia1+EvbUw66OnFoGEw z7G87+MlfIO3BZSmeol5qA7i3orQeRzxBL5aPR5jpKsdUOEs/RHXyDTBEIok/gViUQB/ZHSR4+j /gwd0vuZPx5JtJawKzeLOEscmwme9eyTArBCS1ILc5ZPParKjeDBFQwaltSjA/zIKBQUtSDxXO3 7qOYRdi2FOjpLeqmfk6EZ3IULYQOxOgnEyiAlbuXLI8gJKOgWFa7h9Tl7wgYf5YJRA97hRHWBfE c6IXqTnZrAun4Dgei1vexKazFZlseRnUoDzVCYBoWlBq8riV0y8J+YoX24kTHU2mdiwh20SK66u NEVHjkkXQWTwBFmzpKmXiQ70xBKcWwH8xk7M/4TWzBUFUiNEfS1QKbypO3aoiRBYakSI8nv7iKr ABXGfzZPwe8aGmQhGaL573Z1DGghMbpdVGjjOLvWQO6DqF9wYnlZQwkPg7vEcogetbrI/sDeEZC ela3APLGxLd+c0A== 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: 5f2a9cd4b104 ("arm64: dts: qcom: x1e80100: Add ADSP/CDSP remoteproc nodes") Cc: Signed-off-by: Krzysztof Kozlowski Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/x1e80100.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/x1e80100.dtsi b/arch/arm64/boot/dts/qcom/x1e80100.dtsi index 9df6903b5d59aadda26d9e0d4d9f951c5c3add7b..bc2187700ead2f368172040b23e1343cf0895012 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100.dtsi +++ b/arch/arm64/boot/dts/qcom/x1e80100.dtsi @@ -6458,7 +6458,7 @@ system-cache-controller@25000000 { remoteproc_cdsp: remoteproc@32300000 { compatible = "qcom,x1e80100-cdsp-pas"; - reg = <0 0x32300000 0 0x1400000>; + reg = <0x0 0x32300000 0x0 0x10000>; interrupts-extended = <&intc GIC_SPI 578 IRQ_TYPE_EDGE_RISING>, <&smp2p_cdsp_in 0 IRQ_TYPE_EDGE_RISING>,