Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp2380034rdb; Wed, 21 Feb 2024 06:06:41 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXvrfkaPnqu4D57m3M6sg9WPYc80XMQSOPly7ku1L0RrFyx23UcpZ8/LNs5FGlydJj1zwOe/ZG8o4n8IQOVMvkri0LS4m4ZbA6/CbGHJQ== X-Google-Smtp-Source: AGHT+IE3kFYJ81yG0vSS0xyisd/Vjc0LU1yEl48Ss619ishWf9O/4GYU4JCcz26gfdYP0OkMK7IU X-Received: by 2002:a17:90b:b0b:b0:299:2240:43e with SMTP id bf11-20020a17090b0b0b00b002992240043emr13595707pjb.35.1708524401106; Wed, 21 Feb 2024 06:06:41 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708524401; cv=pass; d=google.com; s=arc-20160816; b=cRno5XJdaK11w0WoSs9sINyFUnONaxSHbk40zOixMZrLoPHGzedGN6bPjR1BroF49h WIPw68qGtIB3DbWTyDMss8e6K8hshBXtXsRwinsIuf1WpJ0/9Z6ep/EcbN78Pwprguqq PDCJYNQ5tmPbJxq5QlnnbhAYdcZaL/Cyje1SgGam2kKJPESRi/RnMywD4lGcom/2kzFH m/coKwxdCDTPt9FAWoOwjHSTg2qvlKICkajL6O3tWAEH/DekZleEBkXXJzHX9m8G3DAz k9GpzFvI0U3ABZ0LHQjqljejQQfoAd6JOWYkJMvYsZ1NG3AKGYrqvTk48ubA0m4UWGVb PRZg== 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=z6APohxH+w/r8bfkx3VMlcIRu1D4J3eUcL7m9A9jwuE=; fh=ya2Awrn53lDTg/3yIit7r7U3pnQSvgrkKCE55rYYH7E=; b=VEfSPE4xcdMeaJU1703LDf1h/5BixCjFkgKF/mNoI1DtBBOcHqPY++jdt5uVPWibkf 1Thw5uXh1kyFAfzULHEmLtxpnWB2ZLvuJ3u+XdtHuK6nL6EwvF8POf5Dzwjhz+4Uia58 GzkQCQtY5ntYf1Vz19aciNtvzVRc6AT6MNBh532d7g3LqthR/fadSU4suBxPDg2nzdXU W0Kx9i+K2xgIvtjv2FhEGbdpJyBamxPmqE/75KHREDQPmbqz8eA9+JD8eyk1zxMajiev PxCGeNLpm3RekDIjm42yJa9w42rdQNVZP4fDRWSX9R9ClRhWFRT9ULQjuhxLRmeUVKfr iExw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="J1tB/pCE"; 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-74823-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74823-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. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id w14-20020a17090a1b8e00b00298a01535acsi1544733pjc.105.2024.02.21.06.06.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 06:06:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-74823-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="J1tB/pCE"; 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-74823-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74823-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 CA769B2382F for ; Wed, 21 Feb 2024 13:49:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BA8A97BB1E; Wed, 21 Feb 2024 13:48:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="J1tB/pCE" Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) (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 1A00B7BB0F for ; Wed, 21 Feb 2024 13:48:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708523332; cv=none; b=WMc20rbhyXTUR8foTgdGswz+hGEqxIU32NdwGMfHYxPZzvGswpa85Xiwb7QHFR87KcI1JDwWn1VwE+30Bi7paDlai9N8PfjbWYXpaSI63j1omesDrppriLoGLX1rMJIgtvGBHsgWCbYLe9x88Vuy6yo3uKizbpXLM1MWqABLZ/8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708523332; c=relaxed/simple; bh=kVaLka/HQT+K/sn07CeS2bzMz2ZRU9MY47wmYmfpSPo=; h=Message-ID:Date:MIME-Version:From:Subject:To:Cc:References: In-Reply-To:Content-Type; b=Hh/Af20XkCeKZXz028O91C+8wQvJlXIFlhjE4l+lV35rHuIOu8yCOoE3B+jfggKtD8hHVXECW0oxewhJEz4b8AaIxYnCC2LljCAQxB3H2vz136wQzJP3TxKTIir4QeNAcWZ3y7t26BJva6ex3o1bJ0rFuCmP3KNqixas4zzuCOo= 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=J1tB/pCE; arc=none smtp.client-ip=209.85.128.51 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-f51.google.com with SMTP id 5b1f17b1804b1-4125e435b38so34939725e9.0 for ; Wed, 21 Feb 2024 05:48:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708523329; x=1709128129; 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=z6APohxH+w/r8bfkx3VMlcIRu1D4J3eUcL7m9A9jwuE=; b=J1tB/pCEEeph/7F2mHsiSm3BnEPCN/D7yvVj0wpmwi0+yDFNTSLweuDfHMNaVEOd/m OCZNIz895k+5xIDUj9EgdEk5HTWea9XLWOpUd5JFjA44epoNKhrsHQWLeQRAQh/Gw9vu l7F65rS47yj4z17XaiEprYnYozelkcAHRVwe4SNXjqizFbRQ+CTG8ayg4LLU0BZUEaNl 17U/r6WznrSKprbpgB47pHEACjAMnpONF0yJr8Ln/jlw8x1V3VrWDChlRMrLxo8o5lVS wR5MOOlvUAq3Hb3D7DNhQYwzJffSylqLn0AjeCBYzE5IutexMs+YJGZ/an0e4T6R8IQo hsOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708523329; x=1709128129; 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=z6APohxH+w/r8bfkx3VMlcIRu1D4J3eUcL7m9A9jwuE=; b=DjPMeZ/SEcw9ATSdoenJ7kqazpP5l7K4F09mFOV+B72fJh1Ss0cZY+OsdOzA6slZTR l5PFt59HUCkRNlLg7LMyWKv1w2PT3XcFqA67BulESWDduQ7B764hslC+T0Nqpt7Yif1g 7ycEt9dRtPBoGuUsxPd6hWo0ExXt6fxbPHUL9qu/LdlpqDdf644RdU+64yqvoEIDXpic UqWp+PSanNscuN1AxZAb2qzB6sTGUFTtWGQAlypniHxNjnmzzn31lxl+d3+m2roG6JH/ j7b0Ma03dh0MlNAnWNgA9gIJouO/RLCmfU81r1PL4uRNLRm/tZvLXFKHGZlZvs/8scJW twug== X-Forwarded-Encrypted: i=1; AJvYcCUMoilK+s636k1tNovIzZVE6huiIStGu7P3I0Owb1mFvhhOWdE7wiaIdlvKyhmuMd8tZhO0FDkSY3i+Nge0hhnehbkO2A9ncwzWFnwO X-Gm-Message-State: AOJu0YyOBA2fFt0Wsr57rLTCT8Lf1jbIb+JgO3TqC2MlxZfIxiAS+TMl As//8zKNoudAZN7V/Wm82SXJYQQkF9RtDZSmIyQwhqIPKZwv+GVCBiBDZdmW2QY= X-Received: by 2002:a05:600c:4fc4:b0:412:16d8:d565 with SMTP id o4-20020a05600c4fc400b0041216d8d565mr13043283wmq.15.1708523329386; Wed, 21 Feb 2024 05:48:49 -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.48.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 21 Feb 2024 05:48:47 -0800 (PST) Message-ID: Date: Wed, 21 Feb 2024 14:48:46 +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 1/2] arm64: dts: qcom: sm8550: 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-1-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/iuyhMIANiD94q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p6h8g Organization: Linaro Developer Services In-Reply-To: <20240221-dts-qcom-sm8550-fix-spmi-chnls-size-v2-1-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: ffc50b2d3828 ("arm64: dts: qcom: Add base SM8550 dtsi") > Reviewed-by: Neil Armstrong > Signed-off-by: Abel Vesa > --- > 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 7474cddf7ad3..3904348075f6 100644 > --- a/arch/arm64/boot/dts/qcom/sm8550.dtsi > +++ b/arch/arm64/boot/dts/qcom/sm8550.dtsi > @@ -3318,7 +3318,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 SM8550-QRD