diff options
author | Vadim Fedorenko <[email protected]> | 2023-03-10 07:13:56 -0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-03-13 15:57:31 -0700 |
commit | 131db499162274858bdbd7b5323a639da4aab86c (patch) | |
tree | dc49cc20af43d6b42039130cf208cc9949858131 /scripts/generate_rust_analyzer.py | |
parent | 064d70527aaab23ef46c2481df706451f6814106 (diff) |
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 <[email protected]>
Reviewed-by: Pavan Chebbi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions