Re: [PATCH AUTOSEL 5.15 17/23] fec: Restart PPS after link state change

From: Sasha Levin
Date: Wed Sep 14 2022 - 14:00:35 EST


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

On 2022. 08. 30. 19:21, 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.15 until the bugfix is applied to upstream.

Will do, thanks!

--
Thanks,
Sasha