Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp2380692rdb; Wed, 21 Feb 2024 06:07:35 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW4GR8Mb5fnHyeusLdwRqGvp/4V0dv9koMiA90R9HcIbg2Do978QB357werhrJKlc++qHo2rBmCnBURP0LgkRX3fRPTBIQNhUFVqn2cDw== X-Google-Smtp-Source: AGHT+IFoQW3utTqS5xXQ39ZWNm22RBjawPGUMfdaXOAKGLy4FyPe3pzndN/yXYnar4fOG9EleGij X-Received: by 2002:a05:6a20:9590:b0:19e:9ca7:7c94 with SMTP id iu16-20020a056a20959000b0019e9ca77c94mr27013859pzb.9.1708524454777; Wed, 21 Feb 2024 06:07:34 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708524454; cv=pass; d=google.com; s=arc-20160816; b=tIwJQ001zSsiC241MNEfoEkY6BNqGW/PY/Z0Puv1dMl78/1gpNXzq66XArK+mu/PXD Uo2zHSsfDoGQWUpwsDEZSLZlTzpiFCAABz6gPYtYOVg3gFg6oUM5mDGfZnlnyXMwr3y/ uGQ43Zyauafch6vCgN5KBIAOVv8O+eAyTebwoKQZNuGf/03zkJ9tDY4uQj2CuGnduNVG 0Z3sWMXE0InzLztVu2cQ2JYIpn9ifzQynI5UxesbiSCHZe1P9knmtD3S9aNXiWcP0ylD apy4NWLfQppDqsdtv91f2TJV9tnuEpzgWdHSf5ykrTLlfmkEY4TtuqRDSGLT3HqGIGlR YsHg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:organization:autocrypt :references:cc:to:content-language:subject:reply-to:from:user-agent :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :date:message-id:dkim-signature; bh=VtFDOKN5+hR4HH1P/38GAxhyej34QU8WFZl+t+s3aWo=; fh=fKp+mDZgwPIB0/k64d6ucXY+OHNOOPAVINGqyghGyR4=; b=h6ZJ+MPI3IWbcJxmMh4OBEyS5dKMuvIp2ZWsY/hs81/39TH5SsMXxNZW8pCOft65nV S6AtIHRNqS7OWdzBIAmUuR7wzzAPutP+eWt7/vuUMr/9GWeOiPSDwjqbrLdAOLHIkoe7 nxqXdgB1Z1DjpjMc1YY5mJSVRmtQl936Nd+6L9x4vEyQGCZrwMkh//YMKREWxURE7chk uC/usFniIAd3ZlKbCtffYxCGrOpnpS8Cd9oc0j6hUKBjSKVfkDfL6/6mNBELNFAnlMBE l1GoP6QyRYG2W4ydPTui4WdM90JDd2KNFD0Q0O9CmABg53Wu0YVQviguCoBxOr32YwDD vYhg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UUF0MQo5; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-74824-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74824-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id k3-20020aa790c3000000b006e1320c29b6si8229405pfk.40.2024.02.21.06.07.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 06:07:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-74824-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=UUF0MQo5; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-74824-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74824-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 1314DB23037 for ; Wed, 21 Feb 2024 13:49:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 526F069951; Wed, 21 Feb 2024 13:49:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="UUF0MQo5" Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) (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 7DB5B7A715 for ; Wed, 21 Feb 2024 13:49:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708523346; cv=none; b=hC4dXDxPkv/NAvv7AnhSqUN2uX/hqZblY+EAh55AufbHZjO9HnjQLvYyuiGyExxLNongTLkh/phWMw/ECrui692t77uMhSP1aW6NxZSwVFiXaR+U/HAKA9EHOTOoJ1LNOEukYzjaf5Dba77XqHrVFEP/x63H4/YDnBN8dtiBlrc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708523346; c=relaxed/simple; bh=dbqzli4cR3WCeUsaiipTFck3hHY4sMi8a7ZU5v4Fnq4=; h=Message-ID:Date:MIME-Version:From:Subject:To:Cc:References: In-Reply-To:Content-Type; b=Co4hS7M8aLS2mcmQ4EyuwFz5c2RMOMeh1DzEX35nrl33GQxEe/7OUG3m3KPncwbDZF1ZzQeQWysDKXSX0bK5jCazKu4ZfkBtnBdabFHze+NlZ7RNWsVLwzrPZWxgArr3m3QE2TzN8HFOlh4MaMJi+vrMqePE8+DvfUoRqgFMry0= 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=UUF0MQo5; arc=none smtp.client-ip=209.85.128.44 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 Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-4127188dd5cso11153165e9.0 for ; Wed, 21 Feb 2024 05:49:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708523343; x=1709128143; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:organization:autocrypt :references:cc:to:content-language:subject:reply-to:from:user-agent :mime-version:date:message-id:from:to:cc:subject:date:message-id :reply-to; bh=VtFDOKN5+hR4HH1P/38GAxhyej34QU8WFZl+t+s3aWo=; b=UUF0MQo5HFiUJeiILuBf2tD44upvRRwWsy4GL9ngc0hX7mWlp1gsTrcFn4G8Vl8m/d gso/obKmxy5atXiqpr0Jzxjwwk4IjCHA9Dw3jwfR4XCIqZ7aIPn9NIH4uLfQcg5V8zMk fuIs2UeAYl84z7UpEjYgF7aDgD6YIAHHN24wKjdBhWZ3cpDS38dIZkVdxP3w8iVRKKb5 4Yb6imUvOkRNUWfJG7Rm3AOG4UffjNDahQsMxAjT6E52+ii13nyJcNtM96Raka2M2gvH czJTt4QtpptDTLP09+KCSfHiuggBexQ7dFDO3/Zn5bmBOd+Bh+8yVwKkEMtbKp3fUKgy G2rA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708523343; x=1709128143; h=content-transfer-encoding:in-reply-to:organization:autocrypt :references:cc:to:content-language:subject:reply-to:from:user-agent :mime-version:date:message-id:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=VtFDOKN5+hR4HH1P/38GAxhyej34QU8WFZl+t+s3aWo=; b=CqukBz4u18i7SIzS7g4cZopHu6OHqCn8qoeXgUYMZo0dpDCHc9AZ9GDbIQv+bTOsYf hcnJxZpvWUN6lURcq34iJLRpF9b6CvSAOq40BtW5Kyv+aPZPqNlrzhUxs4+LE2f0muR6 2+DmJ+2mnIjj676txyorFqI0ooMzQrMI3nTOHsqBa+/geLDI3u4deV3fOOsb7WNFAE9E JIzExWVXC7tGi5BAwYo5qegWaxdmiznyvrdfVUGbIgdBKviSs0+XcLLUJv/GA3X+wHh3 DcWS8c0FXTN3+Dp5Xr4DSQCsqvy07XEan6SQh2w/a014vXIs7bNB/t3UnF+scCG+ejry M6OA== X-Forwarded-Encrypted: i=1; AJvYcCUURDEguBe9CzpfvM2hVu1a9MUgfRD3t9IVI1j2giDMv+IVIvmwb6o//PB+If2nlSaGhkhC5/sqfNP3+CbTv3AT0hTHdRdWW/7UNIhn X-Gm-Message-State: AOJu0Yw5XpTj1az5UbmW3rQQdwcjAXB1DitoGq7fCT4Uhg9rQuLthhWc 3Djf3QjXYqHMr8A2/yAShRPZ/fVoUoPT8w9a/kfx62mVcnsAtZue4lwrnXWkC+c= X-Received: by 2002:a05:600c:4f55:b0:412:392e:6f06 with SMTP id m21-20020a05600c4f5500b00412392e6f06mr11955635wmq.7.1708523342806; Wed, 21 Feb 2024 05:49:02 -0800 (PST) Received: from ?IPV6:2a01:e0a:982:cbb0:83fc:439c:6f36:ce5c? ([2a01:e0a:982:cbb0:83fc:439c:6f36:ce5c]) by smtp.gmail.com with ESMTPSA id r17-20020a05600c459100b004124907f43fsm17647391wmo.12.2024.02.21.05.49.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 21 Feb 2024 05:49:01 -0800 (PST) Message-ID: Date: Wed, 21 Feb 2024 14:49:01 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Neil Armstrong Reply-To: neil.armstrong@linaro.org Subject: Re: [PATCH v2 2/2] arm64: dts: qcom: sm8650: Fix SPMI channels size Content-Language: en-US, fr To: Abel Vesa , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240221-dts-qcom-sm8550-fix-spmi-chnls-size-v2-0-72b5efd9dc4f@linaro.org> <20240221-dts-qcom-sm8550-fix-spmi-chnls-size-v2-2-72b5efd9dc4f@linaro.org> Autocrypt: addr=neil.armstrong@linaro.org; keydata= xsBNBE1ZBs8BCAD78xVLsXPwV/2qQx2FaO/7mhWL0Qodw8UcQJnkrWmgTFRobtTWxuRx8WWP GTjuhvbleoQ5Cxjr+v+1ARGCH46MxFP5DwauzPekwJUD5QKZlaw/bURTLmS2id5wWi3lqVH4 BVF2WzvGyyeV1o4RTCYDnZ9VLLylJ9bneEaIs/7cjCEbipGGFlfIML3sfqnIvMAxIMZrvcl9 qPV2k+KQ7q+aXavU5W+yLNn7QtXUB530Zlk/d2ETgzQ5FLYYnUDAaRl+8JUTjc0CNOTpCeik 80TZcE6f8M76Xa6yU8VcNko94Ck7iB4vj70q76P/J7kt98hklrr85/3NU3oti3nrIHmHABEB AAHNKk5laWwgQXJtc3Ryb25nIDxuZWlsLmFybXN0cm9uZ0BsaW5hcm8ub3JnPsLAkQQTAQoA OwIbIwULCQgHAwUVCgkICwUWAgMBAAIeAQIXgBYhBInsPQWERiF0UPIoSBaat7Gkz/iuBQJk Q5wSAhkBAAoJEBaat7Gkz/iuyhMIANiD94qDtUTJRfEW6GwX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Developer Services In-Reply-To: <20240221-dts-qcom-sm8550-fix-spmi-chnls-size-v2-2-72b5efd9dc4f@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 21/02/2024 14:04, Abel Vesa wrote: > 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 > --- > 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 d488b3b3265e..260eda81b743 100644 > --- a/arch/arm64/boot/dts/qcom/sm8650.dtsi > +++ b/arch/arm64/boot/dts/qcom/sm8650.dtsi > @@ -3747,7 +3747,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>; > Tested-by: Neil Armstrong # on SM8650-QRD