Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp2339288rdb; Wed, 21 Feb 2024 04:54:59 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCX1BscRgYEICCR0VBWEeKjhhkA/Ct7A3PVfc7eIrOhVR2fdGnLzqlOUcr3KYguCosrIp6zAC4EW99la1nJo9pBWm+SD+5290kWpKG3cVw== X-Google-Smtp-Source: AGHT+IFADZCsAc3Ztby6peIg/WIKN2eSxHBSAZdzHKxoL1v82pjqnVBdu3mxadjZcNE6qM47WplR X-Received: by 2002:a05:620a:307:b0:787:1952:2760 with SMTP id s7-20020a05620a030700b0078719522760mr18666799qkm.18.1708520099411; Wed, 21 Feb 2024 04:54:59 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708520099; cv=pass; d=google.com; s=arc-20160816; b=epakVsYKcE/psGjJfAGWEPBSeUdTJwB2os7bMHlD+HPMfHSxn30aK9C4GxAuHdCcm9 XNM6UTvuZzVzsGFmhkN2IrIU4BnK2bXwGdlNW9QyqJuq20wgJ7d8WD0jK0bG4imHfaUU 6kfSDweuMtvNgwayiI40VUFskjl8EYM7g2vAIFmQqNEqu7D/aeKlu5Zb+YWg3RpM8W4L HG+vkxrXy6vlWHLBdYEMk75JaxYFystndtSl5oyTFbq7dMEBlnnFXC+ibR8XT/nIsxgC d7A4bHqmWmsAiMATFJK07tgonKv5QvaffeojSfx9P8tRleCEOBbBhzWv5qRmOj/6tVj3 Rkzg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=rrIn9V2qKd16f2HB+Y2fWO0Di+JAOx1XvlTDsXHt6ls=; fh=9ecqup0i9wX9kPlzi/PUt7twgQZ3HmRD1boq+WguFwM=; b=e+XV99mOfJBFNVDVpQhCOKsVPd/qYpbFRc7MUOtEjt6M52t6/IlFF6ArbXKgCfs8X6 judxRmnbc9BavNZNXE1qhRmvBhiB1scfmnnScjxGJud25w78Gm1at8dd64c1sb/Z5RCQ wvnqGk/0F+oN4gdrkrlMBary/ehu8Y1Loi71icQoaU6oEgy9qhRk/BF49AmaQhK8U6Mg bAkxU2U/wtmTZeBuqGpY8jo+haa7ewV1QuB6k6k7K6I5w+NHghvVU6qETJMVvG3pBw3D ZW/D/yJaYpf839PnwOGm2tIQuf+GcgOfQWEc3XrVhQM8AZ5mjKJSwCQOrfU1fNl44w1P aAdQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Nyc5g1sP; 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-74736-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74736-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id z12-20020a05620a260c00b007877c19b782si3286791qko.269.2024.02.21.04.54.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 04:54:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-74736-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Nyc5g1sP; 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-74736-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74736-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 1A8C91C22A24 for ; Wed, 21 Feb 2024 12:54:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 20DDE76029; Wed, 21 Feb 2024 12:54:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Nyc5g1sP" Received: from mail-ed1-f52.google.com (mail-ed1-f52.google.com [209.85.208.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 2E5186995D for ; Wed, 21 Feb 2024 12:54:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708520043; cv=none; b=Qb58fmATlW/HUinwRCh9rPGoeh4bqu/pQpxc3/hnn6gA/2cp3sxi3ivDaeu6rm5HjqSHCjURscPN8Cv0ZLmcUdYCwsw5ui9ATzFuyLe8HRGC6WHjm+ikfi/dMjjvn3xcQ/fTNmi0YtzxEEz760mwJdBnC4g7XVPbOcoJ02ol2po= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708520043; c=relaxed/simple; bh=gj9HszIZjr2+2zgmHjzU08k4foTBQoFlvs186D3Pyjo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Bf3SRftGKBnkuPhBE95aaGinOdZ7xooFYpi0aHBzJYDoJ33Ns6v0ldwt63Nw+mLKNjxkiizUYi9lKNYh+tUB82y+GQExh+s09oj8hxaLzE0nD2aVDNJi6+DfRtlToALD9tbPwuIhjM1LwfFBIaZGUqHL6e3z/MPARdo4JqIMP1c= 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=Nyc5g1sP; arc=none smtp.client-ip=209.85.208.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 Received: by mail-ed1-f52.google.com with SMTP id 4fb4d7f45d1cf-5640fef9fa6so6354327a12.0 for ; Wed, 21 Feb 2024 04:54:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708520039; x=1709124839; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=rrIn9V2qKd16f2HB+Y2fWO0Di+JAOx1XvlTDsXHt6ls=; b=Nyc5g1sPE+Q4H+B5KqKIVWiNROK+ZdcyXQIr0H1ipiDB4/mtNG9nb88GreXbGU8N1n YiQ/v0+Z2cQskEsyewhRsWBoCloADjW/2imEdmIP/26cx+ZLZlYicn8LkD7z4VZRtoZ7 vTkgwiTDIlhCvQnWSOPYqiVP6zAk2Zde2cHHVL6xfZvLo3pG/9mN+JIPz7P/GRAtAWTa +lX5UtYtBbuHWgXPdRHwdrYkx88I4/x6OKvkML9AfG8p8yYG2zI6z61qkDTChMKSM1N5 9/gR+4+hD/9WsnTuVAAGy7FpQQ9X+6Tfjty+URhQQK48ncXLjqc8yqKpMrvIK3Ez/7gR b+8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708520039; x=1709124839; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=rrIn9V2qKd16f2HB+Y2fWO0Di+JAOx1XvlTDsXHt6ls=; b=C3JfRmWgm8GyaEQ/1pHmfwTsrRSB963Zd6fPONlLM29GjsRYbUpZLmROilZUFgr6UY UBW8ToANCMahl5y3NVp6c5cQwm0iVtYEIg/FFYFs/fJaQyYllqB56Bdin3lo9V4pnRoO vdbZAhl0Lwbb7mzvHbsuBMRnCNNZpJtgWUkbiCvoGsiQpzk88eb/sF6hxQkIEohZNa/O +KKGZS/Pf790nUp32pe1xOldG6D3WR6H1eQdvzAI2YDR+O+Ckk8cajZ4fEVHs4o9qKUu XcXgxOe12txbhgo1aR3B3Bjm5UrtzcQ2wjhRaRRypLs3f5peFYR3DXK/NbTWQqgAhTaL K9Qw== X-Forwarded-Encrypted: i=1; AJvYcCVGBYf/6NqhDrXAAhqHMvfsik5tnj6IGq+eLQhGCkCHzKDPB6Ji+r4cHt1G5h66AQCxzKGNlOJCzo2AL9lJoQ1/q6YKDdSKfSLAx8IG X-Gm-Message-State: AOJu0YzWzbSPZ053jw08GF93JKvDgNvA2z6Qxkm3aFkpRkZ5Bxo+nSyb ENCzDiazYq/c0g7BA+sUNE4wmKZGaRJ0xtqWJMdtbZGMJHw+Ijm4ycUozvJpvjY= X-Received: by 2002:a50:ee02:0:b0:564:5227:972 with SMTP id g2-20020a50ee02000000b0056452270972mr8437730eds.33.1708520039525; Wed, 21 Feb 2024 04:53:59 -0800 (PST) Received: from linaro.org ([188.24.162.93]) by smtp.gmail.com with ESMTPSA id fg11-20020a056402548b00b00564168e6674sm4384642edb.51.2024.02.21.04.53.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 04:53:58 -0800 (PST) Date: Wed, 21 Feb 2024 14:53:57 +0200 From: Abel Vesa To: neil.armstrong@linaro.org Cc: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] arm64: dts: qcom: sm8[56]50: Fix SPMI channels size Message-ID: References: <20240220-dts-qcom-sm8550-fix-spmi-chnls-size-v1-1-24e22107a6ac@linaro.org> <2585d866-8451-492e-9f8b-95210ac52a81@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2585d866-8451-492e-9f8b-95210ac52a81@linaro.org> On 24-02-21 13:52:12, neil.armstrong@linaro.org wrote: > Hi, > > On 20/02/2024 18: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. > > > > Signed-off-by: Abel Vesa > > --- > > arch/arm64/boot/dts/qcom/sm8550.dtsi | 2 +- > > arch/arm64/boot/dts/qcom/sm8650.dtsi | 2 +- > > 2 files changed, 2 insertions(+), 2 deletions(-) > > > > 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>; > > 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>; > > > > --- > > base-commit: 2d5c7b7eb345249cb34d42cbc2b97b4c57ea944e > > change-id: 20240220-dts-qcom-sm8550-fix-spmi-chnls-size-b8e6323fecc0 > > > > Best regards, > > I confirm the value, but I think you should split it in 2 and add Fixes tags > Will split and re-send. > Take my: > Reviewed-by: Neil Armstrong > if you re-spin. Thanks. > > Neil