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 PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Fri, 29 Aug 2014 19:55:55 -0700 (PDT) From: David Miller <davem@...emloft.net> To: peppe.cavallaro@...com Cc: netdev@...r.kernel.org Subject: Re: [PATCH (net.git) (v2)] stmmac: ptp: fix the reference clock From: Giuseppe Cavallaro <peppe.cavallaro@...com> Date: Wed, 27 Aug 2014 10:37:49 +0200 > The PTP reference clock, used for setting the addend in the Timestamp Addend > Register, was erroneously hard-coded (as reported in the databook just as > example). > > The patch removes the macro named: STMMAC_SYSCLOCK and allows to use a > reference clock (clk_ptp_ref_i) that can be passed from the platform. > > If not passed, the main driver clock will be used as default; note that > this can be fine on some platforms. > > Note that, prior this patch, using the old STMMAC_SYSCLOCK on some platforms, > as side effect, the ptp clock can move faster/slower than the system clock. > > Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@...com> > --- > v2: fixed the release function in case of the new clock is not provided by the > platform. Applied. -- 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