Re: [PATCH AUTOSEL 5.19 24/33] fec: Restart PPS after link state change

From: Sasha Levin
Date: Thu Sep 08 2022 - 21:21:56 EST


On Wed, Aug 31, 2022 at 03:02:46PM +0200, Csókás Bence wrote:

On 2022. 08. 30. 19:18, Sasha Levin wrote:
From: Csókás Bence <csokas.bence@xxxxxxxxx>

[ Upstream commit f79959220fa5fbda939592bf91c7a9ea90419040 ]

On link state change, the controller gets reset,
causing PPS to drop out and the PHC to lose its
time and calibration. So we restart it if needed,
restoring calibration and time registers.

There is an ongoing investigation on netdev@ about a potential kernel panic on kernels newer than 5.12 with this patch applied. Please hold off on backporting to 5.19 until the bugfix is applied to upstream.

Will do.

--
Thanks,
Sasha