Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1516677rwd; Thu, 15 Jun 2023 11:32:50 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5r9T0iI2Qx45jBywtlmsLPNepa9DO+8kRZY25cS3qToUCFuN+GQv55Vbwca35Q3ZSA5GQK X-Received: by 2002:a17:90a:ae81:b0:25b:f4a5:7510 with SMTP id u1-20020a17090aae8100b0025bf4a57510mr4505719pjq.12.1686853970380; Thu, 15 Jun 2023 11:32:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686853970; cv=none; d=google.com; s=arc-20160816; b=rhnXeEbWDtmU3Css279QB4Juba8p+8P1sNnjUnfertmk/lp2jx7xwR2448R9ZPlRLG K/FygaDTYjNAflhdOHToBGr9NmfPXzxZQlwWuIay3adcumuznG2pJXeW5hLo24pSAOfT L8ziI/P0YxptJUoJTuPsONdE7dhPahndixTfRFiBixgWXKzDJysfL2V6BqKhcjlZz1Tz ZTeJtpr6RaMXZgfbeSuDgrV3uEXWEhPPes776Ngy+2V8EA6o0udxaYMY0poD51sCCne5 sXsX8zEG2zgK/0PSyZiEe3TRFEHmotgYqiy7beMetEedcJkXF1nDbv/T9+7Pi59/ONY0 ABDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=L86ku+7+LZQwdB7LY2vEzyd00L4TaNLzuqM/PGY++fA=; b=n4UNkoQsaiQtslfZnrNdtBxcF3u2cenVE74q5ymmae0Xr9hLObuc2z3qQQygy9WuPM AhhwpflKKaqCFmwdGshtOk9HxoCFJnxTpikcVEafolWONuKezeeAHYNtj58XnRS5hkC2 4/cWl08mmBCDpVMKDolLX63d2jMNWFAkbvr6hMOjU4+ZWS/BCdKV11pdhTwdWv7134MA 2QFdJ5GbEpJmSc1B5P825GhmaRM2TKi7uJVV7fY+57hDjU+JHjyLka9xYP5XLjvMtTjC 0z94sOI7/7Wr4I7ns1J4J4g9J3JCG6+tJLD1RUdo/eVyPEAx8X7D8yNQSejHhD9lGr/X eVGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=arTUyMob; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id oj3-20020a17090b4d8300b0025b8a96a363si10096670pjb.90.2023.06.15.11.32.38; Thu, 15 Jun 2023 11:32:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=arTUyMob; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229789AbjFOSUt (ORCPT + 99 others); Thu, 15 Jun 2023 14:20:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37748 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229762AbjFOSUr (ORCPT ); Thu, 15 Jun 2023 14:20:47 -0400 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6AD77295C for ; Thu, 15 Jun 2023 11:20:45 -0700 (PDT) Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-4f122ff663eso11026060e87.2 for ; Thu, 15 Jun 2023 11:20:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686853243; x=1689445243; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=L86ku+7+LZQwdB7LY2vEzyd00L4TaNLzuqM/PGY++fA=; b=arTUyMobZK0/1k5hhhUhyJT2jUNGhSGsNAcNWzGam6h3yvKOLLF9B6nFrb2tM3Tmlr EudvbD1uHXsiZXGdaIy7mLb6GaJOqiamXP84/gtVzonNxNcVcwHRbopHPKB5Br+HPIho gd+Xr+VAfxHPoZQylbhX1Z5XtbV3NwBooyPZ0o/c9i4hxvGOv1d1szjJ0Z+q278peJoB MvnsiKMzcY3Nq4amJvcsyQAZtTY3f4LqJVhjZTF9OLRH//j625LClyOgoUXtp1HH8SqK At/CS2hxE3jI9A8VX8zIvHC29Njea6523hyBJRUYivUOYY40nC0p3UeyC4ogXm32ZlNg gF/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686853243; x=1689445243; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=L86ku+7+LZQwdB7LY2vEzyd00L4TaNLzuqM/PGY++fA=; b=Bu8OkaziGOEf5ZJHqhBaPw1bEcOo2ojk91PkbrHPI+BpLyd0zY8yZwvWVKzuMp7HZA IQ1lKZbEGxbQT1zVez3DLWCbNQylYnTZV/yUdD/+9wS7FlzxZTwUxJKq/J0xJCcjlbav mj37pqI5oTSj3ZLmlEkeSuI5mB49lUTifhqBFEKvUpP12bdrAQI7asOyVjARQWH3019E AzPtxvf23NdtzrDn55Hrawl+TCrnRguEhTvSEJzVLW0QEcZoopKi5BGGVolaLo7tCfAM MdNPCk3/H41c8Ej/a5OiktCvFpWx7BpHihKmRZmDoyrEm8SmPIQW6p0FprFP2ouFpiaX RYTw== X-Gm-Message-State: AC+VfDw+Q1GbaMsyolmlD2gNFXmfJ/ge8G0C5Ka+yLm7RMSQNiq4FUKR 4ZiNfJoN/WsnhGjcfG/2mLCXVQ== X-Received: by 2002:a19:ca58:0:b0:4f4:b592:74ab with SMTP id h24-20020a19ca58000000b004f4b59274abmr8857833lfj.62.1686853243607; Thu, 15 Jun 2023 11:20:43 -0700 (PDT) Received: from [192.168.1.101] (abyj190.neoplus.adsl.tpnet.pl. [83.9.29.190]) by smtp.gmail.com with ESMTPSA id v27-20020a056512049b00b004f74160c9cesm1806292lfq.130.2023.06.15.11.20.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 15 Jun 2023 11:20:43 -0700 (PDT) Message-ID: <866f1f66-8845-2453-ab9c-d125e23ae758@linaro.org> Date: Thu, 15 Jun 2023 20:20:41 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.2 Subject: Re: [PATCH v2] ARM: dts: qcom: msm8974: correct qfprom node size Content-Language: en-US To: Luca Weiss , ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Eduardo Valentin , Conor Dooley , Rajendra Nayak Cc: Rob Herring , Andy Gross , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Craig Tatlor References: <20230130-msm8974-qfprom-v2-1-3839cf41d9ee@z3ntu.xyz> From: Konrad Dybcio In-Reply-To: <20230130-msm8974-qfprom-v2-1-3839cf41d9ee@z3ntu.xyz> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 15.06.2023 20:17, Luca Weiss wrote: > From: Craig Tatlor > > The qfprom actually has size 0x3000, so adjust the reg. > > Note that the non-ECC-corrected qfprom can be found at 0xfc4b8000 > (-0x4000). The current reg points to the ECC-corrected qfprom block > which should have equivalent values at all offsets compared to the > non-corrected version. > > [luca@z3ntu.xyz: extract to standalone patch and adjust for review > comments] > > Fixes: c59ffb519357 ("arm: dts: msm8974: Add thermal zones, tsens and qfprom nodes") > Signed-off-by: Craig Tatlor > Signed-off-by: Luca Weiss > --- Not sure of the actual size of the region, maybe Bjorn can help.. Downstream 3.10 suggests 0x60F0, 0x20F0 after adjusting for the ECC offset Konrad > Changes in v2: > - Keep base offset but expand reg from 0x1000 to 0x3000 (Konrad) > - Link to v1: https://lore.kernel.org/r/20230130-msm8974-qfprom-v1-1-975aa0e5e083@z3ntu.xyz > --- > arch/arm/boot/dts/qcom-msm8974.dtsi | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi > index 7ed0d925a4e9..3156fe25967f 100644 > --- a/arch/arm/boot/dts/qcom-msm8974.dtsi > +++ b/arch/arm/boot/dts/qcom-msm8974.dtsi > @@ -1194,7 +1194,7 @@ restart@fc4ab000 { > > qfprom: qfprom@fc4bc000 { > compatible = "qcom,msm8974-qfprom", "qcom,qfprom"; > - reg = <0xfc4bc000 0x1000>; > + reg = <0xfc4bc000 0x3000>; > #address-cells = <1>; > #size-cells = <1>; > > > --- > base-commit: 858fd168a95c5b9669aac8db6c14a9aeab446375 > change-id: 20230130-msm8974-qfprom-619c0e8f26eb > > Best regards,