[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y5GuHEn161H35/xZ@gvm01>
Date: Thu, 8 Dec 2022 10:27:56 +0100
From: Piergiorgio Beruto <piergiorgio.beruto@...il.com>
To: Andrew Lunn <andrew@...n.ch>
Cc: Kurt Kanzenbach <kurt@...utronix.de>,
Jakub Kicinski <kuba@...nel.org>, netdev@...r.kernel.org,
peppe.cavallaro@...com, Voon Weifeng <weifeng.voon@...el.com>,
Rayagond Kokatanur <rayagond@...avyalabs.com>,
Jose Abreu <Jose.Abreu@...opsys.com>,
Antonio Borneo <antonio.borneo@...com>,
Tan Tee Min <tee.min.tan@...el.com>
Subject: Re: [PATCH net] stmmac: fix potential division by 0
> >
> > Here's the Altera manual:
> >
> > https://www.intel.com/content/www/us/en/docs/programmable/683126/21-2/functional-description-of-the-emac.html
> >
> > Table 183 shows the minimum PTP frequencies and also states "Therefore,
> > a higher PTP clock frequency gives better system performance.".
> >
> > So, I'd say using a clock of 2.5MHz seems possible, but will result in
> > suboptimal precision.
>
> Thanks for the info. So i seems like the correct fix is to camp to
> 0xff, rather than mask with 0xff.
Andrew, given your comment, do you wish me to re-post the patch with
this fix? Or wait for more feedback first?
Thanks,
Piergiorgio
Powered by blists - more mailing lists