Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 ACF893603D5; Sat, 12 Sep 2026 16:57:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789232259; cv=none; b=XXq74EO2ai5/rII56L4LPnI7dkDdwWtX6MJWKEMqlfvWppG8GRg44WsVjbh9f+DUezS2lUh6TYW3O8TXy1Is+UqkGeu94ncGXnSJA3UIf8aVUr/7uSQSvKsAeFBUshWBIkiQ+crr5lfIx38w4Icfg46uafXE2ghnkjuSWgXNUGY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789232259; c=relaxed/simple; bh=MYZ7wmCaJAyKK3UhF7d1wslAtOD409S60lh9UFnRI8I=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=bYQWvf5SMp3MerxU8nM/irC/w6Vt/nymnKrajtbF1KqI+0/KUAJ+2+fdr41RkvqzlbRo+b+tl+58nbdtL0KcT1r7rgTUcuK9VVnf/hmn3/XJweaVA2QaylrwbZXi8MhxfAu35veHzT4KsfAHl5rRoflcBZEs+cvwdve+q07ud0w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=OUwsapaX; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="OUwsapaX" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DBA9F1F000FF; Sat, 12 Sep 2026 16:57:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789232258; bh=BhOnhjP8jcLd3mi5ILw8bUwv4yh43UamFeu29+fg27c=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=OUwsapaXdTGaG0jOcdTZQ93sxb0mfi/Sss6lGyw2xHMm9iCJnc7GkRENcASQs7XZ1 LLVHjJZAKBCJEi5ML8wkd2cGh1JwPAEWaR/u+k+7xj9B4+MSiQawlpSrY+wzOGlCe8 tp0dR1MLjRDAGamyUXYxQQPFutz4v4KQrEEha9QQ= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Neil Armstrong , Abel Vesa , Konrad Dybcio , Bjorn Andersson , Sasha Levin Subject: [PATCH 6.1 1167/1191] arm64: dts: qcom: sm8550: Fix SPMI channels size Date: Sat, 12 Sep 2026 09:04:55 +0200 Message-ID: <20260912065614.350472056@linuxfoundation.org> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260912065548.086904252@linuxfoundation.org> References: <20260912065548.086904252@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.1-stable review patch. If anyone has any objections, please let me know. ------------------ From: Abel Vesa [ Upstream commit 77dd1e50ffcba33c3195ae4fc78f354368ddacb2 ] 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: ffc50b2d3828 ("arm64: dts: qcom: Add base SM8550 dtsi") Reviewed-by: Neil Armstrong Signed-off-by: Abel Vesa Reviewed-by: Konrad Dybcio Tested-by: Neil Armstrong # on SM8550-QRD Link: https://lore.kernel.org/r/20240221-dts-qcom-sm8550-fix-spmi-chnls-size-v2-1-72b5efd9dc4f@linaro.org Signed-off-by: Bjorn Andersson Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/qcom/sm8550.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sm8550.dtsi b/arch/arm64/boot/dts/qcom/sm8550.dtsi index c09458cc4de94..a36e85c48a07f 100644 --- a/arch/arm64/boot/dts/qcom/sm8550.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8550.dtsi @@ -1823,7 +1823,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.53.0