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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 21 May 2019 13:00:29 +0000
From:   Chuanhua Han <chuanhua.han@....com>
To:     Leo Li <leoyang.li@....com>, Shawn Guo <shawnguo@...nel.org>
CC:     "mark.rutland@....com" <mark.rutland@....com>,
        "linux-arm-kernel@...ts.infradead.org" 
        <linux-arm-kernel@...ts.infradead.org>,
        "devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        Ying Zhang <ying.zhang22455@....com>
Subject: RE: [EXT] Re: [PATCH] arm64: dts: ls1028a: fix watchdog device node



> -----Original Message-----
> From: Leo Li
> Sent: 2019年5月18日 6:01
> To: Chuanhua Han <chuanhua.han@....com>; Shawn Guo
> <shawnguo@...nel.org>
> Cc: mark.rutland@....com; linux-arm-kernel@...ts.infradead.org;
> devicetree@...r.kernel.org; linux-kernel@...r.kernel.org; Ying Zhang
> <ying.zhang22455@....com>
> Subject: RE: [EXT] Re: [PATCH] arm64: dts: ls1028a: fix watchdog device node
> 
> 
> 
> > -----Original Message-----
> > From: Chuanhua Han
> > Sent: Friday, May 17, 2019 1:11 AM
> > To: Shawn Guo <shawnguo@...nel.org>
> > Cc: Leo Li <leoyang.li@....com>; mark.rutland@....com; linux-arm-
> > kernel@...ts.infradead.org; devicetree@...r.kernel.org; linux-
> > kernel@...r.kernel.org; Ying Zhang <ying.zhang22455@....com>
> > Subject: RE: [EXT] Re: [PATCH] arm64: dts: ls1028a: fix watchdog
> > device node
> >
> >
> >
> > > -----Original Message-----
> > > From: Shawn Guo <shawnguo@...nel.org>
> > > Sent: 2019年5月17日 10:38
> > > To: Chuanhua Han <chuanhua.han@....com>
> > > Cc: Leo Li <leoyang.li@....com>; mark.rutland@....com;
> > > linux-arm-kernel@...ts.infradead.org; devicetree@...r.kernel.org;
> > > linux-kernel@...r.kernel.org; Ying Zhang <ying.zhang22455@....com>
> > > Subject: [EXT] Re: [PATCH] arm64: dts: ls1028a: fix watchdog device
> > > node
> > >
> > > Caution: EXT Email
> > >
> > > On Thu, May 09, 2019 at 03:06:57PM +0800, Chuanhua Han wrote:
> > > > ls1028a platform uses sp805 watchdog, and use 1/16 platform clock
> > > > as timer clock, this patch fix device tree node.
> > > >
> > > > Signed-off-by: Zhang Ying-22455 <ying.zhang22455@....com>
> > > > Signed-off-by: Chuanhua Han <chuanhua.han@....com>
> > > > ---
> > > >  .../arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 19
> > > > ++++++++++++-------
> > > >  1 file changed, 12 insertions(+), 7 deletions(-)
> > > >
> > > > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
> > > > b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
> > > > index b04581249f0b..1510b1858246 100644
> > > > --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
> > > > +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
> > > > @@ -285,13 +285,18 @@
> > > >                       #interrupt-cells = <2>;
> > > >               };
> > > >
> > > > -             wdog0: watchdog@...0000 {
> > > > -                     compatible = "fsl,ls1028a-wdt", "fsl,imx21-wdt";
> > > > -                     reg = <0x0 0x23c0000 0x0 0x10000>;
> > > > -                     interrupts = <GIC_SPI 59
> IRQ_TYPE_LEVEL_HIGH>;
> > > > -                     clocks = <&clockgen 4 1>;
> > > > -                     big-endian;
> > > > -                     status = "disabled";
> > > > +             cluster1_core0_watchdog: wdt@...0000 {
> > >
> > > Keep 'watchdog' as the node name,
> > Thanks for your replay
> > Do you mean replace the ‘wdt’ with ‘watchdog’?
> > and keep nodes sort in unit-address.
> > What does this mean?
> 
> That means order the nodes by the addresses (e.g. c000000, c010000)
The current order is correct(The first is c000000, then c000000).
> 
> > >
> > > Shawn
> > >
> > > > +                     compatible = "arm,sp805", "arm,primecell";
> > > > +                     reg = <0x0 0xc000000 0x0 0x1000>;
> > > > +                     clocks = <&clockgen 4 15>, <&clockgen 4 15>;
> > > > +                     clock-names = "apb_pclk", "wdog_clk";
> > > > +             };
> > > > +
> > > > +             cluster1_core1_watchdog: wdt@...0000 {
> > > > +                     compatible = "arm,sp805", "arm,primecell";
> > > > +                     reg = <0x0 0xc010000 0x0 0x1000>;
> > > > +                     clocks = <&clockgen 4 15>, <&clockgen 4 15>;
> > > > +                     clock-names = "apb_pclk", "wdog_clk";
> > > >               };
> > > >
> > > >               sata: sata@...0000 {
> > > > --
> > > > 2.17.1
> > > >

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ