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
| ||
|
Message-ID: <CAKh23Fm5HpNEfs40RTf_XtQ6ris5cCheAcY1WdLND04AwsvdSQ@mail.gmail.com> Date: Fri, 27 Feb 2015 15:52:54 -0800 From: Iyappan Subramanian <isubramanian@....com> To: Arnd Bergmann <arnd@...db.de> Cc: David Miller <davem@...emloft.net>, netdev <netdev@...r.kernel.org>, "devicetree@...r.kernel.org" <devicetree@...r.kernel.org>, "linux-arm-kernel@...ts.infradead.org" <linux-arm-kernel@...ts.infradead.org>, mlangsdo@...hat.com, patches <patches@....com>, Keyur Chudgar <kchudgar@....com> Subject: Re: [PATCH 2/3] dtb: change binding name to match with newer firmware DT On Fri, Feb 27, 2015 at 12:33 PM, Arnd Bergmann <arnd@...db.de> wrote: > On Friday 27 February 2015 12:08:29 Iyappan Subramanian wrote: >> diff --git a/arch/arm64/boot/dts/apm/apm-storm.dtsi b/arch/arm64/boot/dts/apm/apm-storm.dtsi >> index f1ad9c2..a857794 100644 >> --- a/arch/arm64/boot/dts/apm/apm-storm.dtsi >> +++ b/arch/arm64/boot/dts/apm/apm-storm.dtsi >> @@ -622,7 +622,7 @@ >> }; >> >> sgenet0: ethernet@...10000 { >> - compatible = "apm,xgene-enet"; >> + compatible = "apm,xgene1-sgenet"; >> status = "disabled"; >> reg = <0x0 0x1f210000 0x0 0xd100>, >> <0x0 0x1f200000 0x0 0Xc300>, >> > > This will break booting the new dtb on older kernels, right? This will not break booting older kernels. In fact, this will fix it, by having the specific binding, older kernel that does not have support for these interfaces, will not call probe. For example, 3.17 kernel that does not have support for SGMII based 1G and XFI 10G interfaces will not probe these interfaces when booted with newer dtb. > > You should normally list the most generic model in addition to the > specific one. If we list generic model ("xgene-enet") as well, probe will be called for the interfaces that the kernel does not have support for, which is what we are trying to fix. > > Arnd -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists