[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

[Cobalt Xenoami3.1 PATCH 1/2] process: update clockfreq when receive corresponding event.

2022-05-26 Thread Hongzhan Chen via Xenomai
1. When there is clockfreq param passed down via command line, we do not update clockfreq even if we receive event of updating clockfreq. Or else, we update the clockfreq with notified value. 2. At the same time, we would like to update clockfreq param showing in sys filesystem after apply

[Cobalt Xenoami3.1 PATCH 0/2] notify Xenomai udpated 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

Re: [PATCH] x86/fpu: fix compile error without kernel_fpu_disabled()

2022-05-26 Thread Philippe Gerum via Xenomai
jamiens...@163.com writes: > From: Jamie Huang > > In v5.18-evl-rebase, function kernel_fpu_disabled() has been removed in > commit 59f5ede3bc0f("x86/fpu: Prevent FPU state corruption"), so we will > get compile error when CONFIG_DOVETAIL is enabled: > arch/x86/kernel/fpu/core.c:931:6: error: i