RE: [I-PIPE Xenoami3.1 PATCH 2/2] x86/tsc: I-PIPE : notify I-PIPE about updated clockfreq

2022-06-14 Thread Chen, Hongzhan via Xenomai
> >Xenomai is conceptually not known to I-pipe. This patch is about calling >the well-defined kevent hook when the TSC frequency changes after a >recalibration. ARM does something similar on frequency changes. > >> Linux may schedule a delayed work to refine tsc clock and update >> tsc_khz which ha

Re: [I-PIPE Xenoami3.1 PATCH 2/2] x86/tsc: I-PIPE : notify I-PIPE about updated clockfreq

2022-06-14 Thread Jan Kiszka via Xenomai
On 27.05.22 08:22, Hongzhan Chen via Xenomai wrote: > When there is refined tsc clock, notify Xenomai to apply it. Xenomai is conceptually not known to I-pipe. This patch is about calling the well-defined kevent hook when the TSC frequency changes after a recalibration. ARM does something similar

[I-PIPE Xenoami3.1 PATCH 2/2] x86/tsc: I-PIPE : notify I-PIPE about updated clockfreq

2022-05-26 Thread Hongzhan Chen via Xenomai
When there is refined tsc clock, notify Xenomai to apply it. Linux may schedule a delayed work to refine tsc clock and update tsc_khz which happen after Xenomai finsih init but tsc_scale and tsc_shift still keep the value depending on origianl tsc clock which is outdated. The difference between two