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@prolan.hu
[ 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!