Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2381542lqp; Sun, 24 Mar 2024 16:55:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUMToDPLTVXIfywjjEoaZp1voo9IqNTGebpocdKxxBw0aSI6dtOkZEJKWaCbVh2yNWnIY/ZmhFakugYvYJSi0xdtong2SFKhq11ZGzbdA== X-Google-Smtp-Source: AGHT+IEJUO8it+ZlGIqcMDfWb39ONQ5yHoj9dKlWZm0uh5EsdnTfI15NdV3YpcEOrPvLaDlAzoMw X-Received: by 2002:a05:6870:ac07:b0:221:97fa:888b with SMTP id kw7-20020a056870ac0700b0022197fa888bmr6198023oab.45.1711324541794; Sun, 24 Mar 2024 16:55:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711324541; cv=pass; d=google.com; s=arc-20160816; b=oyOP1WK8PtWOs8jALQOPhJOlaTGIHRNhQz91x3TBAkmo//PaD1UbrsuaMUvDjAMD53 Yku3h27PDgjtV6atdYThu4lDAM67V2PS0zNrBA1yDedvWL2FA8+TTmnJnkLiaz7aRWpM dflq5BvLfrZ1UWGia2N/AFD3XlUU12T8uICL1r9GO7G0F+zrPfv214/n4ABzPCvKjnSj WjLLdJy0abgOAQeGNg3+0qcGhnsuUXYfYkrwntbXn+aXP1TorNHV9dDU27qOhTGSu61l CTKTnS1YEE3vpnjLw/8ZvCl8mNfrkFsK9F2UAD2ffGKllZ0dUpsosqdutm3CoSbLRA7g QYAQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=rHrBtLIsxrLDvWv5ug8jKDZqZhcEyH50wNqwPTHOwKk=; fh=+19fAqZSmTCNkPYWcddBqLBdXdwIVZYNBxxfQEiGXSU=; b=eYbAdafumWMyOBMtmA9tBB/upfy1PisSz5qCJNCR++PIGrAvXRDPzQ3pCf5kS1z/WY ALH+sTRCIfJ9OL+ujrSByfeRIqERRLG8r6Qn6k+IuJYhNQyvlwYpj1QFGs1KwV20cn18 zgS9UbqEp1251/c63EM0rpzvPj33tsUi1/3jpVaSpUvHPETsbutAj2WHdQu1VL9CaFxl rXre6PIUMwmb9olo5kvW+LppgrnZERS6ztDlG38tAQAtQREFbDKUpunIn0WzTZZF4q50 hA67n7wvKOJigH4KQYo7v/k3pafw76IDhA4GoI958Bdnd/eGEdmtHUbtYqpdz4QYrJfb M/7w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ln7VZ+rH; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113174-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113174-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id p22-20020a056a0026d600b006e689ab3bd7si4114335pfw.141.2024.03.24.16.55.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Mar 2024 16:55:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-113174-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ln7VZ+rH; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113174-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113174-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 43E572890E8 for ; Sun, 24 Mar 2024 23:36:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 90DA5175CB7; Sun, 24 Mar 2024 22:39:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ln7VZ+rH" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 87522175C9A; Sun, 24 Mar 2024 22:39:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711319976; cv=none; b=hiUbwklH0Tix21hskJCYy3wIl436oNaAB9L4rG4PB/RUN5+QZXp+rXGdGIt0EmIcmw8wWvA9An7dDGVuS5FzmSFqSe1PmzaGsp9m8Gguy+wNrRKgayWjszESEh5+YO7YE24HAYkRkPbTzePCtdA6USz1rptTK8x4C+G9RI3qmcc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711319976; c=relaxed/simple; bh=puQb5c0VDCrUhJLPMw1yY8HRPfs5JtJz+AqwO2U7XmQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=N6QsE3ZU3pe257VGp9VSsgdjoVveaszSTV6TVq/5p1FEq6lSnHEHLMWPmaLo6Rq5kCG2w+8VI1kmOAf5vL60W1gD3pH3LRZ8fsnrRmswD7rrpAttebdu6UNZtI6m+hQPe/GligqRqTaTB2s/VTYU2+ZJL+I2OtJkqp5qX7z70NE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ln7VZ+rH; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 97DB2C43394; Sun, 24 Mar 2024 22:39:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711319976; bh=puQb5c0VDCrUhJLPMw1yY8HRPfs5JtJz+AqwO2U7XmQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ln7VZ+rHNud/3OCSu89VJ33V0bIBl9Pr6GM5XoaQpSdiDBkRFgKpfgU+sMWNIs0xJ HujEwdO67aD4Pm0STxfGi/QknujGxvJaEwaIdX4GO5bLnbfUGKbyb7wFfRwebUlFje 8vn5tyUM0+wQLmlNmmJsVvfJDyvTYppyI1nbuJkzb2YbyVcpx81le93ADYfy60uequ 1aN35ysZ3V25iAx3eSC4iYKQrqiTPjmYTkhD3uEH79bjhajRXKkf2oYRde7akrse9s gi+xaWzP5LqPBXUdPL3jemdkFEgUFw1DuGBFhoAgckp6IhPm0+KdiOuhg8OokH/glN YW/ebfjoeUBpA== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Abel Vesa , Neil Armstrong , Konrad Dybcio , Bjorn Andersson , Sasha Levin Subject: [PATCH 6.8 283/715] arm64: dts: qcom: sm8650: Fix SPMI channels size Date: Sun, 24 Mar 2024 18:27:42 -0400 Message-ID: <20240324223455.1342824-284-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240324223455.1342824-1-sashal@kernel.org> References: <20240324223455.1342824-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit From: Abel Vesa [ Upstream commit a4f82b8045e3c7913266aa6ea1ee15752a062abd ] The actual size of the channels registers region is 4MB, according to the documentation. This issue was not caught until now because the driver was supposed to allow same regions being mapped multiple times for supporting multiple buses. Thie driver is using platform_get_resource_byname() and devm_ioremap() towards that purpose, which intentionally avoids devm_request_mem_region() altogether. Fixes: 10e024671295 ("arm64: dts: qcom: sm8650: add interconnect dependent device nodes") Reviewed-by: Neil Armstrong Signed-off-by: Abel Vesa Reviewed-by: Konrad Dybcio Tested-by: Neil Armstrong # on SM8650-QRD Link: https://lore.kernel.org/r/20240221-dts-qcom-sm8550-fix-spmi-chnls-size-v2-2-72b5efd9dc4f@linaro.org Signed-off-by: Bjorn Andersson Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/qcom/sm8650.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sm8650.dtsi b/arch/arm64/boot/dts/qcom/sm8650.dtsi index bad0eb84549fe..0e4bd83b2c68a 100644 --- a/arch/arm64/boot/dts/qcom/sm8650.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8650.dtsi @@ -3705,7 +3705,7 @@ sram@c3f0000 { spmi_bus: spmi@c400000 { compatible = "qcom,spmi-pmic-arb"; reg = <0 0x0c400000 0 0x3000>, - <0 0x0c500000 0 0x4000000>, + <0 0x0c500000 0 0x400000>, <0 0x0c440000 0 0x80000>, <0 0x0c4c0000 0 0x20000>, <0 0x0c42d000 0 0x4000>; -- 2.43.0