Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp57754lqb; Tue, 28 May 2024 08:46:20 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUqsHRDRna9ALk784JwHh36auHfkT9ws4OZ2v6AKFZvlNZsHyaWdXoxCNu492QTphphdKRE0cH4LOSZcAOrvh7Eij/g269qQ1q3noh/iA== X-Google-Smtp-Source: AGHT+IG+qQtt5ZK1ajoiMaV7TKdxY5+NSPhkhp3VIpz6c/qxWFDAR5sM1tKrOTtWB82LLEnaDCQD X-Received: by 2002:a05:6a20:7f9f:b0:1a8:2cc0:290a with SMTP id adf61e73a8af0-1b212d3be66mr13512994637.30.1716911180233; Tue, 28 May 2024 08:46:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716911180; cv=pass; d=google.com; s=arc-20160816; b=PulcZtdmsyYbcEmakesmy7WKiV/VajBbQD0bG3Wv4+QmJa13DpFQvxjU1s1HCLWoi/ SAfRNGw902yzHPqJHl3/S1Xy+4cTqN6yG61FiqYavGz9GnQPMnyTXemmbc8rhGVlve8G gaBoe5N0xm2ppe/tDkb/Zn4IMo4vO/3cOMVQNDoF+fcQBAVaPJwW55uak236BXPwV36J iqfhnSW0928nZkW2Ii7UA2PkA3aVPrsgacnuq8fKyegMX+Bl5gUnsnAsiK3iSq8dlYJp FT6J/EvIqbB+L6zmJWblqwkd+JvyUMOmvZG19XLEUp5F6hcuGghH0HOXsJ5ZHwlT7Rps 4nrg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=F/WC1Ydrje1jN9zj4CbJUzP5OjIGK/cYU3QtuCPtewg=; fh=kpqmeQ6uGRXrZo4advcLMmn/hf2ZnFb6/rK9rvSzChY=; b=Wi51VnHp+af0XTgI22Huf4OZsnvhm5pEm6SE+t781fWIUIUveppqf4gFAJ8hYT93SI Wr5Eyj8ns0REYKGWXzPO1P4IfqHl+FzjQeUGcniTTzEBmPUkxtwf6OgL+wi02MlW18Ix YU2AX8F2vHxEEuGGqVjO2qTWxs1Oe2dtXOubFP8msmoOjCzk/CSY/rKLTqbNdobJIXpV m1OGGJ1Ezx2GZt6Rrr1xzhOLN5wR58mTzaX7gCDqYwTZBZVvti/OKraC5e3ojd5csjO8 emXVbvR6T6YQwnVwo+bInqbdVbhaZFWy6mD/vyeHqVJ/fTjvsKvWr3V/HS0kzl2pyi+v 0wGA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NKsYmWky; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-192676-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-192676-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d2e1a72fcca58-701ad76be32si2332567b3a.370.2024.05.28.08.46.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 08:46:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-192676-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NKsYmWky; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-192676-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-192676-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 94B992882A4 for ; Tue, 28 May 2024 15:37:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B3EB4171647; Tue, 28 May 2024 15:37:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="NKsYmWky" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 D5BA51DFD1; Tue, 28 May 2024 15:37:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716910638; cv=none; b=sUptvTwcoSx+qBlO9VO21mPFtFM3+oxjPoN3L0pMRMkFg1LfL5YXbhXi99OMs4vVXpDW+DXrlLtBebA0MH0qXdfAn3C7ptIOXzE20fILPkBM2wncsdEPYMmxBO+1k+gPxzoEkv+W8XnwzHE5EOftZdM5eo2LrGHm6needk6kmVc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716910638; c=relaxed/simple; bh=BiYxOQLp3SdeWRN8VT7No5J50/AGacW5/Vwkc78ZvTU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=AeK/ecz/lwdd20fSIq2MVz+bN2+uDivD2lGOCRNIO/U9RH+K+xx0NLw7f/K14pDjE2UD23wKjRQnbDfGyMmzSW6R+bA6qZ8g3JJBxyeJZQNBNZT265pFYibNViHhUoDzBAU7OtjeCO4QoQ2fJBK0TjzPkSP395WPmevtqfULz94= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=NKsYmWky; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id AFFB0C3277B; Tue, 28 May 2024 15:37:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716910638; bh=BiYxOQLp3SdeWRN8VT7No5J50/AGacW5/Vwkc78ZvTU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=NKsYmWkyWNCYpaEfoixgqY9fv9boQp6pD3Knsl62cVH8tUDSuRySIQx/z8qu04MiI Dkpl8t+DfqI45BdVR0COL/N+E88i9eTYyaTxeeq+I7oHd8IBaY69oDmqroZAvhTETP EvmeMuqSxgErfMsmW6uYMgmgl19ZtnE7Ka+stCW+DTtK/5FKWGVyInrrBXm96vfner /Mr55Oo0lDLibPYYFTEocC0mJwAcOyoh8HMz+AoPge3nmSDud4/Q1TfIxTI9XD9/2P 5+vIm0xTjTGtMHVbO+pOh3+kHTo1I4bSo+xCmrr31V+dixBH2DuQOF74tkhqWXufpU 1L3BddJzXOcXQ== Date: Tue, 28 May 2024 10:37:15 -0500 From: Bjorn Andersson To: Mukesh Ojha Cc: Konrad Dybcio , robh@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/3] arm64: dts: qcom: sm8450: Add qfprom node Message-ID: <4jopw7qv2jlq7b5ljkxfhjjjdlqclruouentrvbjt43yybxyf6@qzsk4imnmq5m> References: <1709727995-19821-1-git-send-email-quic_mojha@quicinc.com> <1709727995-19821-2-git-send-email-quic_mojha@quicinc.com> <45fcf8fb-9d9b-4e6a-a7c5-9bfb96875e64@linaro.org> <69a8c14c-109a-103a-b8dc-d8e303c0f0d5@quicinc.com> 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=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Sun, Mar 17, 2024 at 08:21:58PM GMT, Bjorn Andersson wrote: > On Thu, Mar 14, 2024 at 10:13:59PM +0530, Mukesh Ojha wrote: > > Sorry for the late reply, was on vacation. > > > > On 3/6/2024 9:24 PM, Konrad Dybcio wrote: > > > > > > > > > On 3/6/24 13:26, Mukesh Ojha wrote: > > > > Add the qfprom node for sm8450 SoC. > > > > > > > > Signed-off-by: Mukesh Ojha > > > > --- > > > > ? arch/arm64/boot/dts/qcom/sm8450.dtsi | 7 +++++++ > > > > ? 1 file changed, 7 insertions(+) > > > > > > > > diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi > > > > b/arch/arm64/boot/dts/qcom/sm8450.dtsi > > > > index b86be34a912b..02089a388d03 100644 > > > > --- a/arch/arm64/boot/dts/qcom/sm8450.dtsi > > > > +++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi > > > > @@ -4575,6 +4575,13 @@ > > > > ????????????? }; > > > > ????????? }; > > > > +??????? qfprom: efuse@221c8000 { > > > > +??????????? compatible = "qcom,sm8450-qfprom", "qcom,qfprom"; > > > > +??????????? reg = <0 0x221c8000 0 0x1000>; > > > > > > Is is really only 0x1000-long? Also, is the base you put > > > here the ECC-corrected part (if that still exists)? > > > > No, its not. > > > > Entire fuse space is this. > > 0x221C0000-0x221Cbfff > > > > ECC corrected range is this 0x221C2000-0x221C3fff and High level OS > > That's 0x2000. Does this then also imply that the ECC-corrected values > are no longer mapped 1:1 with non-corrected, or why do they differ in > size? > > > does have a access to ECC range however, they are not recommended for > > SW usage. > > > > Above mentioned SW range(4) in the patch is one and only accessible range > > available out of 0-7 SW ranges(0x221C4000-0x221Cbfff with each > > size 0x1000) and does not have ECC fuses. > > > > So you're saying that in contrast to other platforms, the 4th software > range, dedicated for HLOS, does not have a matching ECC-corrected > shadow? If that's the case, then "not recommended for SW usage" sounds > wrong. > > > All the downstream use cases are getting fulfilled with this. > > > > You only need ECC if you're unlucky... > The patch is either incorrect or the commit message is lacking answers to the questions from Konrad and myself. Would have appreciated a reply here, but either way I'm marking this as "changes requested" and dropping it from the queue. Regards, Bjorn