summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorVadim Fedorenko <vadfed@meta.com>2023-03-10 18:13:56 +0300
committerJakub Kicinski <kuba@kernel.org>2023-03-14 01:57:31 +0300
commit131db499162274858bdbd7b5323a639da4aab86c (patch)
treedc49cc20af43d6b42039130cf208cc9949858131 /net
parent064d70527aaab23ef46c2481df706451f6814106 (diff)
downloadlinux-131db499162274858bdbd7b5323a639da4aab86c.tar.xz
bnxt_en: reset PHC frequency in free-running mode
When using a PHC in shared between multiple hosts, the previous frequency value may not be reset and could lead to host being unable to compensate the offset with timecounter adjustments. To avoid such state reset the hardware frequency of PHC to zero on init. Some refactoring is needed to make code readable. Fixes: 85036aee1938 ("bnxt_en: Add a non-real time mode to access NIC clock") Signed-off-by: Vadim Fedorenko <vadfed@meta.com> Reviewed-by: Pavan Chebbi <pavan.chebbi@broadcom.com> Link: https://lore.kernel.org/r/20230310151356.678059-1-vadfed@meta.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions