From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7DAA9C88E77 for ; Mon, 14 Sep 2026 22:13:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Date:Message-Id:Subject: References:In-Reply-To:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=A/tPSBdwZRloGJK1PJyCVRySfKcBA84hSrih4vQs/1g=; b=BdQu3Z5fPWHIZS xQr6bSO4w1/XKzw8XWEYwLhfWr606xwOuNspEj2QzdAWlZ1x96bOEKsqTtFlZK9NKhRcm8LLRds8t 5insuWmM8Uo4QzJ5uBuuZ0u5bE9ep3LkmVmO61jNwOPtZVgsKvX1g4iyndVV46QFSdqEtPypFla9b x5VMzbNebTz3KrJomqvDsYCTi5q1kwMK50riN4Yuab8M8aYulE0sHyXyTI0SieS43L2d659NrmZvE XN/SGMce87SHgnGjF+lkjQ1I4LiJPCyYWoU7UVYgzDP3JyxLSmy03r7KS4KlSOo8Y3WwTHk3/rxCE r0CYQA/hodc4021hkn7w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1x6Evb-00000004lld-0t3D; Mon, 14 Sep 2026 22:13:31 +0000 Received: from sea.source.kernel.org ([2600:3c0a:e001:78e:0:1991:8:25]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1x6EvX-00000004llC-3P9M; Mon, 14 Sep 2026 22:13:27 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by sea.source.kernel.org (Postfix) with ESMTP id 36D2F40E24; Mon, 14 Sep 2026 22:13:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C20CF1F000FF; Mon, 14 Sep 2026 22:13:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1789424007; bh=w5ZxICt6RyNBBcsv8PtuLdI0PmtZ+1CM9RWdDcC0spw=; h=From:To:Cc:In-Reply-To:References:Subject:Date; b=Uj4LsHMOv2FGfDoF9rWK4Yze9xM1bckOL93wswNtVvUhZxSgcjGobFHCA3legYEIw qsbSTOfaIsKO8gOagLSl+HlizS+wzUUECQp8mypuIrE8OVuKJaNccmbQfMe5ne4zz1 SE7nA3NPqBzTanCWwpeO6pCYdaB/25q5w0IzON2HWvSSxFXkslM17EdRoDorwbqyFx CSjQp2UXqmRjJKux3r+XWHoJ1nSJYG5epBiodyfgPI6H9YKwQXrTjFqig7pGWqRXbH I8MSYSOwTFxGhbyonjMZtVtkkNk+TTEO3gKDakx0BFyzAbLDL/I+5JplKm1DkGaT7f nVzAqJTOmscbg== From: Srinivas Kandagatla To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Michael Walle , Miquel Raynal , Finley Xiao , Greg Kroah-Hartman , Alexey Charkov Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, stable@vger.kernel.org In-Reply-To: <20260902-rk3576-otp-cpuid-mac-v2-0-e4b7fe2ab13f@flipper.net> References: <20260902-rk3576-otp-cpuid-mac-v2-0-e4b7fe2ab13f@flipper.net> Subject: Re: (subset) [PATCH v2 0/4] nvmem: Derive Rockchip MAC addresses from the OTP CPU ID Message-Id: <178942400455.686568.7345103522777056647.b4-ty@kernel.org> Date: Mon, 14 Sep 2026 23:13:24 +0100 MIME-Version: 1.0 X-Mailer: b4 0.14.3 X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org On Wed, 02 Sep 2026 17:07:51 +0400, Alexey Charkov wrote: > Rockchip SoCs are shipped with a unique CPU ID in their internal OTP > memory, and Rockchip bootloaders use it to give boards which have no > dedicated storage for a MAC address a stable one anyway: they hash the CPU > ID and patch the resulting addresses into the device tree they hand over. > > Kernels started without that fixup, e.g. straight from the SPL in Falcon > mode or by any other loader which does not implement Rockchip's derivation, > fall back to random MAC addresses which change on every boot. > > [...] Applied, thanks! [1/4] nvmem: rockchip-otp: Serialize reads commit: 798be42019957b28b4fb897d7f9f6cf6712247db Best regards, -- Srinivas Kandagatla _______________________________________________ Linux-rockchip mailing list Linux-rockchip@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-rockchip From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 4758936B927; Mon, 14 Sep 2026 22:13:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789424008; cv=none; b=RGpAT6cee+n+fYQP0Wb+JvYC+yPv64AKj5DX8NYuNNFqfXchHM1xdQCYpB+ZDKmKvzcjD/0tt4qaKIf1q8rzPcpq609d/B0oX8f6+g+Vu4b2VyZPFFkp9voZ+aDUFcWdChnFqZrSW4cEhSdSCac/Yn+TbkyxIfRGQBsYj1sVWSs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789424008; c=relaxed/simple; bh=wYYFAQImsMaUcxCGe3bH3Wi9+6++MQbNHU+QCsuQT2w=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=DKopmbTN235us9z2T3xuFfkxMacK/nyz0yIOMTF/RV7yVrn0AijIrbMiY3waoBKQPGu56wVkV6mb9KzgEXVE/1qaEj25Jx4yCAeIGfvdHiNPufofpNWoxLCK5MZJL5mpSUgryxcKME4rMkYWYqcNQK9H2KjlIE//hbnLQN9VHj0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Uj4LsHMO; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Uj4LsHMO" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C20CF1F000FF; Mon, 14 Sep 2026 22:13:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1789424007; bh=w5ZxICt6RyNBBcsv8PtuLdI0PmtZ+1CM9RWdDcC0spw=; h=From:To:Cc:In-Reply-To:References:Subject:Date; b=Uj4LsHMOv2FGfDoF9rWK4Yze9xM1bckOL93wswNtVvUhZxSgcjGobFHCA3legYEIw qsbSTOfaIsKO8gOagLSl+HlizS+wzUUECQp8mypuIrE8OVuKJaNccmbQfMe5ne4zz1 SE7nA3NPqBzTanCWwpeO6pCYdaB/25q5w0IzON2HWvSSxFXkslM17EdRoDorwbqyFx CSjQp2UXqmRjJKux3r+XWHoJ1nSJYG5epBiodyfgPI6H9YKwQXrTjFqig7pGWqRXbH I8MSYSOwTFxGhbyonjMZtVtkkNk+TTEO3gKDakx0BFyzAbLDL/I+5JplKm1DkGaT7f nVzAqJTOmscbg== From: Srinivas Kandagatla To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Michael Walle , Miquel Raynal , Finley Xiao , Greg Kroah-Hartman , Alexey Charkov Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, stable@vger.kernel.org In-Reply-To: <20260902-rk3576-otp-cpuid-mac-v2-0-e4b7fe2ab13f@flipper.net> References: <20260902-rk3576-otp-cpuid-mac-v2-0-e4b7fe2ab13f@flipper.net> Subject: Re: (subset) [PATCH v2 0/4] nvmem: Derive Rockchip MAC addresses from the OTP CPU ID Message-Id: <178942400455.686568.7345103522777056647.b4-ty@kernel.org> Date: Mon, 14 Sep 2026 23:13:24 +0100 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.14.3 On Wed, 02 Sep 2026 17:07:51 +0400, Alexey Charkov wrote: > Rockchip SoCs are shipped with a unique CPU ID in their internal OTP > memory, and Rockchip bootloaders use it to give boards which have no > dedicated storage for a MAC address a stable one anyway: they hash the CPU > ID and patch the resulting addresses into the device tree they hand over. > > Kernels started without that fixup, e.g. straight from the SPL in Falcon > mode or by any other loader which does not implement Rockchip's derivation, > fall back to random MAC addresses which change on every boot. > > [...] Applied, thanks! [1/4] nvmem: rockchip-otp: Serialize reads commit: 798be42019957b28b4fb897d7f9f6cf6712247db Best regards, -- Srinivas Kandagatla