History log of /dragonfly/sys/cpu/x86_64/misc/cputimer_tsc.c (Results 1 – 3 of 3)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v6.2.1, v6.2.0, v6.3.0, v6.0.1, v6.0.0, v6.0.0rc1, v6.1.0, v5.8.3, v5.8.2
# 8fbc264d 09-Jun-2020 Matthew Dillon <dillon@apollo.backplane.com>

kernel - Refactor sysclock_t from 32 to 64 bits

* Refactor the core cpu timer API, changing sysclock_t from 32
to 64 bits. Provide a full 64-bit count from all sources.

* Implement muldivu64() u

kernel - Refactor sysclock_t from 32 to 64 bits

* Refactor the core cpu timer API, changing sysclock_t from 32
to 64 bits. Provide a full 64-bit count from all sources.

* Implement muldivu64() using gcc's 128-bit integer type. This
functions takes three 64-bit valus, performs (a * b) / d
using a 128-bit intermediate calculation, and returns a 64-bit
result.

Change all timer scaling functions to use this function which
effectively gives systimers the capability of handling any
timeout that fits 64 bits for the timer's resolution.

* Remove TSC frequency scaling, it is no longer needed. The
TSC timer is now used at its full resolution.

* Use atomic_fcmpset_long() instead of a clock spinlock when
updating the msb bits for hardware timer sources less than
64 bits wide.

* Properly recalculate existing systimers when the clock source
is changed. Existing systimers were not being recalculated,
leading to the system failing to boot when time sources had
radically different clock frequencies.

show more ...


Revision tags: v5.8.1, v5.8.0, v5.9.0, v5.8.0rc1, v5.6.3, v5.6.2, v5.6.1, v5.6.0, v5.6.0rc1, v5.7.0, v5.4.3, v5.4.2
# fab26d8f 28-Dec-2018 Imre Vadász <imre@vdsz.com>

vkernel - Remove unneeded -T flag, that was added in 7b21e5e4a2ba4592a.

* Instead the -e hw.tsc_cputimer_enable=0 flag can be used, to set the
tunable that disables use of the TSC cputimer.

Point

vkernel - Remove unneeded -T flag, that was added in 7b21e5e4a2ba4592a.

* Instead the -e hw.tsc_cputimer_enable=0 flag can be used, to set the
tunable that disables use of the TSC cputimer.

Pointed-out-by: swildner

show more ...


# 7b21e5e4 25-Dec-2018 Imre Vadász <imre@vdsz.com>

kernel - Factor out TSC cputimer into common x86_64 code, use for vkernel.

* This adds a command line flag -T to the vkernel, to force disable use of
the TSC cputimer.

* By default the TSC will b

kernel - Factor out TSC cputimer into common x86_64 code, use for vkernel.

* This adds a command line flag -T to the vkernel, to force disable use of
the TSC cputimer.

* By default the TSC will be used as a cputimer for the vkernel when the
TSC is invariant and mpsync according to the hw.tsc_invariant and
hw.tsc_mpsync sysctl values of the host.

show more ...