Re: [PATCH 2/2] timer/linux: override TSC freq if no tsc_known_freq

2024-09-30 Thread Bruce Richardson
On Tue, Sep 24, 2024 at 08:04:00PM +0300, Isaac Boukris wrote: > Perhaps this was a bit hastily, I got an automated failure report on > "arm64-native-linuxapp-gcc": > > https://lab.dpdk.org/results/dashboard/patchsets/31106/ > That might be a false positive failure. I don't see how this patch co

Re: [PATCH 2/2] timer/linux: override TSC freq if no tsc_known_freq

2024-09-24 Thread Isaac Boukris
Perhaps this was a bit hastily, I got an automated failure report on "arm64-native-linuxapp-gcc": https://lab.dpdk.org/results/dashboard/patchsets/31106/ Not sure which patch caused the problem, looking at the kernel code it looks like 'tsc_known_freq' is only set for x86 arch, but it could be th

[PATCH 2/2] timer/linux: override TSC freq if no tsc_known_freq

2024-09-21 Thread Isaac Boukris
If the tsc_known_freq cpu flag is missing, it means the kernel doesn't trust it and calculates its own. We should do the same to avoid drift. Signed-off-by: Isaac Boukris --- lib/eal/common/eal_common_timer.c | 3 +- lib/eal/common/eal_private.h | 2 +- lib/eal/freebsd/eal_timer.c |