From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 81A5A606A320 for ; Mon, 30 Nov 2026 06:05:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=y1A4Lh3n; dkim=fail reason="signature verification failed" (1024-bit key) header.d=linux.spacemit.com header.i=@linux.spacemit.com header.a=rsa-sha256 header.s=mxsw2412 header.b=HtGpAtGh DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:References:To:From:Subject:Cc:Message-Id:Date:Mime-Version: Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Unsubscribe-Post:List-Owner; bh=u3UO7i6ifTc7BEC6BHMenkhyiZs7GvPXvvUw11fHeFc=; b=y1A4Lh3nU0ANFkdWPWlI6f4RbO zCQysr0O1BX1gNZUwNCPQQubX38LnkMy8ixPtBf55AqjGPm0NARuz9XsiVbdb8Tt0SgfD/kOsLoOt JkFeNMfdSXuB8FJsU+lNklNCdPNHdvzZEqcwb2tqaas3y+cmhIZ2qhxH61KVbgz27mK5VwJzJIWET i9e3/GS2ku7iyQRS+B+a14Mu+VmwH+WJpvImLA0M1aEc5JS69CEcJ8k8CzsTPRGf9U28P1rfyyyuI UIuw3cIiobU9yTpypQ0diT1Y+KKV/qeaYZtzrbqA7+/wcDTiX3MxDQEc3fsFWGG/JF9zmu1b+0Vnz 4bN3raZQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xXuVT-00000003MMg-0dHs; Mon, 30 Nov 2026 06:04:55 +0000 Received: from smtpbgjp3.qq.com ([54.92.39.34]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xXuVN-00000003MM7-42Xp for linux-riscv@lists.infradead.org; Mon, 30 Nov 2026 06:04:53 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.spacemit.com; s=mxsw2412; t=1796018667; bh=/PJYtZT35X2A4VSvcXzyKkScaAlFW3mX+SQSD5MP5GY=; h=Mime-Version:Date:Message-Id:Subject:From:To; b=HtGpAtGhFfM7KtyU8b1Stnp/qJVSfNHNToG8aV5vLBsAuFfkdJ0fGIPKg3niUtKJq 3pnXU0w6OVaMXiJRJSpjkSen1er/5CBVLUB68KAwe4iB9LAKluWsGImHks4DCEXmNL Ml90LrXcNyUtnzl+iFKTvxLyjpqi+2VTVcNkD3rA= X-QQ-mid: esmtpgz10t1796018661tc29c0f7d X-QQ-Originating-IP: MIdaaVrmy6b+gkk5cH00rMBq/RkTZtt0rG5QimJsB2k= Received: from = ( [120.237.158.181]) by bizesmtp.qq.com (ESMTP) with id ; Mon, 30 Nov 2026 14:04:19 +0800 (CST) X-QQ-SSF: 0000000000000000000000000000000 X-QQ-GoodBg: 0 X-BIZMAIL-ID: 9480121168499038177 EX-QQ-RecipientCnt: 18 X-Archived-By: Mime-Version: 1.0 Date: Mon, 30 Nov 2026 06:04:18 +0000 Message-Id: Cc: , , , , , , , , , , , , , , , Subject: Re: [PATCH v4 2/3] nvmem: Add read-only SpacemiT K3 eFuse support From: "Troy Mitchell" To: "Jiayu Du" , X-Mailer: aerc 0.21.0-reader-ipc4 References: <20261129144250.3212056-1-duge1256@gmail.com> <20261129144250.3212056-3-duge1256@gmail.com> In-Reply-To: <20261129144250.3212056-3-duge1256@g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QN7As FDwUpzCpzH+W4xOtTbpxUR/6YZyfGG/efDOD+Or3oPGmrP2QdPXaEXF3q7gvMfRQc05jZxM JeA/vufkyRS2HlFtjjfNEPjk3de+VLxKxsT6Jpkl3nf9qtDum7pVkyZDw5Y2vHek5F+KXgE rEuL8Vxp3R/v1LTv+Qf5P0= X-QQ-XMRINFO: OD9hHCdaPRBwH5bRRRw8tsiH4UAatJqXfg== X-QQ-RECHKSPAM: 0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261129_220450_652616_D6F08636 X-CRM114-Status: UNSURE ( 9.13 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.1 (--) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============2989692157215181559==" Sender: "linux-riscv" X-Spam-Status: No, score=-8.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 --===============2989692157215181559== Content-Type: multipart/signed; boundary=7496ccfc4053a080e3f81dcb0102ee7034667754afef990a28739895266a; micalg=pgp-sha512; protocol="application/pgp-signature" --7496ccfc4053a080e3f81dcb0102ee7034667754afef990a28739895266a Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 On Sun Nov 29, 2026 at 2:42 PM GMT, Jiayu Du wrote: > Add read-only NVMEM access to bank 0 and bank 7 of the SpacemiT K3 eFuse > controller. These banks contain temperature calibration parameters and > other configuration data. > > Banks 1 and 2 contain the root key and SSK. Keep them outside the > readable NVMEM ranges. > > Reload the shadows during probe and cache the data for subsequent reads. > Use a 512-byte NVMEM space with bank-based offsets and keepouts for the > other banks. > > Signed-off-by: Jiayu Du > Tested-by: Aurelien Jarno Tested on CoM260 with both the vendor firmware and a build that skips the eFuse reload; nvmem contents match the shadow registers Tested-by: Troy Mitchell # CoM260 Reviewed-by: Troy Mitchell --=20 Troy Mitchell --7496ccfc4053a080e3f81dcb0102ee7034667754afef990a28739895266a Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iJcEABYKAD8WIQSL4Ay2cExaPXAQcU2YCe+A+TM0LwUCaw0R4iEcdHJveS5taXRj aGVsbEBsaW51eC5zcGFjZW1pdC5jb20ACgkQmAnvgPkzNC+YCQD/eJOSsKvZxk5b ecMKd8tnlNqPnhCINaKNmzHPD2LUo9kBAMorhOzrUyHJfRdEWWkmyclAoIgE0Dhs 27wYiSSOYlII =IdJr -----END PGP SIGNATURE----- --7496ccfc4053a080e3f81dcb0102ee7034667754afef990a28739895266a-- --===============2989692157215181559== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv --===============2989692157215181559==--