lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aLr1nEKRjOtsrU7f@hu-mchunara-hyd.qualcomm.com>
Date: Fri, 5 Sep 2025 20:07:42 +0530
From: Monish Chunara <quic_mchunara@...cinc.com>
To: Konrad Dybcio <konrad.dybcio@....qualcomm.com>
CC: Wasim Nazir <wasim.nazir@....qualcomm.com>,
        Ulf Hansson
	<ulf.hansson@...aro.org>, Rob Herring <robh@...nel.org>,
        Krzysztof Kozlowski
	<krzk+dt@...nel.org>,
        Conor Dooley <conor+dt@...nel.org>,
        Bjorn Andersson
	<andersson@...nel.org>,
        Konrad Dybcio <konradybcio@...nel.org>,
        "Richard
 Cochran" <richardcochran@...il.com>,
        Bartosz Golaszewski <brgl@...ev.pl>, <kernel@....qualcomm.com>,
        <linux-mmc@...r.kernel.org>, <devicetree@...r.kernel.org>,
        <linux-kernel@...r.kernel.org>, <linux-arm-msm@...r.kernel.org>,
        <netdev@...r.kernel.org>, <linux-i2c@...r.kernel.org>
Subject: Re: [PATCH v3 06/14] arm64: dts: qcom: lemans-evk: Add EEPROM and
 nvmem layout

On Fri, Sep 05, 2025 at 02:07:50PM +0200, Konrad Dybcio wrote:
> On 9/4/25 6:39 PM, Wasim Nazir wrote:
> > From: Monish Chunara <quic_mchunara@...cinc.com>
> > 
> > Integrate the GT24C256C EEPROM via I2C to enable access to
> > board-specific non-volatile data.
> > 
> > Also, define an nvmem-layout to expose structured regions within the
> > EEPROM, allowing consumers to retrieve configuration data such as
> > Ethernet MAC addresses via the nvmem subsystem.
> > 
> > Signed-off-by: Monish Chunara <quic_mchunara@...cinc.com>
> > Signed-off-by: Wasim Nazir <wasim.nazir@....qualcomm.com>
> > ---
> >  arch/arm64/boot/dts/qcom/lemans-evk.dts | 12 ++++++++++++
> >  1 file changed, 12 insertions(+)
> > 
> > diff --git a/arch/arm64/boot/dts/qcom/lemans-evk.dts b/arch/arm64/boot/dts/qcom/lemans-evk.dts
> > index c48cb4267b72..30c3e5bead07 100644
> > --- a/arch/arm64/boot/dts/qcom/lemans-evk.dts
> > +++ b/arch/arm64/boot/dts/qcom/lemans-evk.dts
> > @@ -319,6 +319,18 @@ expander3: gpio@3b {
> >  		#gpio-cells = <2>;
> >  		gpio-controller;
> >  	};
> > +
> > +	eeprom@50 {
> > +		compatible = "giantec,gt24c256c", "atmel,24c256";
> > +		reg = <0x50>;
> > +		pagesize = <64>;
> > +
> I'm not super happy that this would be the only line of defense, but
> you probably want to add 'read-only' to the eeprom node (or not)
>
The Ethernet interface requires both read and write access at the driver level
to store and retrieve MAC address and related data; therefore 'read-only' is not
added here.

Regards,
Monish 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ