[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180919073939.6kf3ow63wqqulxdh@verge.net.au>
Date: Wed, 19 Sep 2018 09:39:45 +0200
From: Simon Horman <horms@...ge.net.au>
To: David Miller <davem@...hat.com>
Cc: sergei.shtylyov@...entembedded.com, magnus.damm@...il.com,
netdev@...r.kernel.org, linux-renesas-soc@...r.kernel.org
Subject: Re: [PATCH v3 net-next] ravb: do not write 1 to reserved bits
On Tue, Sep 18, 2018 at 08:10:26PM -0700, David Miller wrote:
> From: Simon Horman <horms+renesas@...ge.net.au>
> Date: Tue, 18 Sep 2018 12:22:26 +0200
>
> > From: Kazuya Mizuguchi <kazuya.mizuguchi.ks@...esas.com>
> >
> > EtherAVB hardware requires 0 to be written to status register bits in
> > order to clear them, however, care must be taken not to:
> >
> > 1. Clear other bits, by writing zero to them
> > 2. Write one to reserved bits
> >
> > This patch corrects the ravb driver with respect to the second point above.
> > This is done by defining reserved bit masks for the affected registers and,
> > after auditing the code, ensure all sites that may write a one to a
> > reserved bit use are suitably masked.
> >
> > Signed-off-by: Kazuya Mizuguchi <kazuya.mizuguchi.ks@...esas.com>
> > Signed-off-by: Simon Horman <horms+renesas@...ge.net.au>
>
> I've decided to apply this to 'net', let me know if this is a problem.
Thanks Dave, 'net' is fine by me.
Powered by blists - more mailing lists