From patchwork Fri Dec 6 15:32:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 848138 Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) (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 A334620DD7C for ; Fri, 6 Dec 2024 15:33:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733499182; cv=none; b=kJZYYdCxLkdJjg+1H+6BstSV7F5huKLs1ySYkDi1VdkhgkZrJ9kp0ZYG7q9JXKKsz6Gt+YFcSG7SIjneoM6mFB3npS/fs1hLeEpHUy/FJwHAvlrLrrSlTO0dgXD3B3HXK3yU6YoQRraG7PKhKkVcpZW+8nPxFWyRP7ULW41tTjQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733499182; c=relaxed/simple; bh=KA45zkpit3qGKHVRAr4ObQQvXw5Y72Dc1Boz1XrLlpY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=RU2KC74VFurv8VCFPlVC7Fy8+4UW23Ej9ZzPHoG2BvjFx/GnB34o5Z75W4FPtpZ8fmGc6oZBGWSxvOvvya7/RXcntbuKmQjtchGGiEYExt4d7RKCDa4MJ/sCJVushdOv82fM5GwRqrX33YiH3S4FJvB4zVqLiNEZa6QFyNldahk= 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=Fpqm0W2Z; arc=none smtp.client-ip=209.85.128.52 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="Fpqm0W2Z" Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-434a0300d4cso2332995e9.3 for ; Fri, 06 Dec 2024 07:33:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1733499179; x=1734103979; 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=PN/rYIG89u/VOqGCMvyYyzlVNrhWZH5iavqrOX8rp4o=; b=Fpqm0W2ZfUjG9gCAkglOUFC8aJXVB/55D4W6RS79Cyzro4Bj3TABAi8VI7NCJvEU0F L3qxLpAj2A6cOWXVAaUoNcqPVjYAMDfxs9BnhEWACuuJKdiCMOxFoYti2eaHunSjDlnJ SvW1wLZDYOyuQs0/hB0JvQEyCraznuhqYsBndL5yPqGjTWRkbN8itsyLqagkGUfRcQFw 5NxfYfTo5fit4T7wS7BT+6AT8R6JyqGXwwLefSDcGZQvitgUW/mXbZXVfzq1sZNAaIJI 1yNorkOgLQZVk/oGfOxQnE2iQmLiLcMhOAyKHJOMzBOFj+EX7Q5meaWbFGOeKw6OrKCl JrEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733499179; x=1734103979; 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=PN/rYIG89u/VOqGCMvyYyzlVNrhWZH5iavqrOX8rp4o=; b=O6iud0cisBso0cKDDGtlXpERzoPSC6v+qjABH7ZeppCAM8Or/m3+TWga48yDGIjomS dYvpGlHD29W3O3yZpHY29MLo3hoUr89cu9ACW+VBRhwnrUzW5uzLo4QlcHR8XubomTAA wL9V2NQeSyAShcNUMbouF1ErOIOOWZllXLVk/OeAf22bmXXaG4f+mKp5Bwg0IvDSosCv lX010Mc9tGzZN9LlYYIKtHszi7uznEc02yQ0gqToyXndaSfMLIm7hZDspcmX16vJ/yTH bXVLa0XznVFFB3pR/LBw8fm8EKrNibSh7JktIusOEdIj6KGfS42MxKeRbTvVNTDKGioo ulLQ== X-Gm-Message-State: AOJu0YzqzqM6qhAEQRB/xyEqvAwnw8/jrU7boF7WoggOwp/vlua8/f5A xbOdkV/mqRsvfUWD0DIeCGLX2NXaxHjJdPNFMhMSqDC/vtY1M+EsWiPDMaAmoMQ7nqwijczQ0nP 7XeA= X-Gm-Gg: ASbGnctR5ZcWZiRp4M2i5C2ROOmjDW9OBYCV+9mqFQgfSQiV6U6ps6UW8J5CoEmamN9 WbLGeEvyrD0uNEFEKSzA+fNXBDQmC7+MPmpNZULnqkq7Ko05NYs5QjLgJg0bV3pVJ6+YjZk+4v5 SbVAachuZMzDQBUzbBH+147rK6z0fi/s51+nq/2inNJ2aWxF+/jON3vL418Onpb06gq3xx8A7nx KUqAzPz3t0GkvOxgDJnBlSoPNV+RRiAEfUSbXsvqf8tpwYxB8vRJPJw9zTGAT7uuw== X-Google-Smtp-Source: AGHT+IH0rAiQDuc+JJYJlgZJ4WCGzdhIzUjcy/6FpqTIFgZU4t/tYvGPZKr9jpyCjhy213noJWuJ3w== X-Received: by 2002:a05:600c:3c90:b0:434:a30b:5433 with SMTP id 5b1f17b1804b1-434ddecf92fmr12859785e9.5.1733499179081; Fri, 06 Dec 2024 07:32:59 -0800 (PST) Received: from [127.0.1.1] ([178.197.223.165]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-434da113580sm61158035e9.29.2024.12.06.07.32.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Dec 2024 07:32:58 -0800 (PST) From: Krzysztof Kozlowski Date: Fri, 06 Dec 2024 16:32:29 +0100 Subject: [PATCH 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: <20241206-dts-qcom-cdsp-mpss-base-address-v1-5-2f349e4d5a63@linaro.org> References: <20241206-dts-qcom-cdsp-mpss-base-address-v1-0-2f349e4d5a63@linaro.org> In-Reply-To: <20241206-dts-qcom-cdsp-mpss-base-address-v1-0-2f349e4d5a63@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=1298; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=KA45zkpit3qGKHVRAr4ObQQvXw5Y72Dc1Boz1XrLlpY=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBnUxkRMNQsZlw3ffQDz2ZpD2ZiWTzC9nAn0m7OR s0YBSpIjBGJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZ1MZEQAKCRDBN2bmhouD 15IHD/93uUmsGU4l77MBaCs55zL20kuV0pLuGzi1gqDY985oa4BhGpWzQ1HzerXslIfxCEjbmql HhR9yetUit5pZCUwZt+9X6bgWkENQldy3fOhXYFbB5yj0A9WHNkt7B5mS27THnq3g0vnvAKCvWB f5dFP0zP8RvbRPNHyu9nKJbpBq9+369Hj4I/VJ2bZkvfo/+ZQxoZBzmqmX/5zqLsBnsUlP+/uNY ElZmG+6OzTrMb51yPcTkNRwk38yu3b95yx2Yth82ufqWgLpHu9Gf4XSL92bLGL9D0Osy7grsRqL HFyfaKUV8Ck1qoksGOVb7RvPOIpPR5ALzX/hVTWW1kCvHV40/tWK/7A0gisPFl3m6kklfLIALaN YayuvOzv7jlDU/M0aajvIJMuttpPJIX4SiHwhGaRGRSgNuaqJXXcITb4BBV1CqLAhenogzzAJqB M27GEIyola8EzKRYT0s63cL7j5L/ILEJ0MLqeSRnSVsqHF+Q3Q1u4RfkG2MM33+RIH0Cdj2/M65 L7YJ9FPUsFBumH8KJtJBcQkPaR7pDFaTLqRm5kMujJhf6JEW5eFLU/Im/O2wq1JHU5EHjdTp12I to2nS+ysBzXJlCjlAhcEiT4MjdP/pzVs94U81uGhikLqOTRgyJaw8ZDOF9vUIfRo2Vjcd36fweN Tj45UbUy4cMNoqA== 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: 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>,