diff options
Diffstat (limited to 'src/soc')
-rw-r--r-- | src/soc/amd/stoneyridge/monotonic_timer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/soc/amd/stoneyridge/monotonic_timer.c b/src/soc/amd/stoneyridge/monotonic_timer.c index 06e0c93413..bd1e4e7aac 100644 --- a/src/soc/amd/stoneyridge/monotonic_timer.c +++ b/src/soc/amd/stoneyridge/monotonic_timer.c @@ -12,6 +12,8 @@ void timer_monotonic_get(struct mono_time *mt) mono_time_set_usecs(mt, timestamp_get()); } +/* The TSC has a non-constant rate before the microcode update is applied, so it can't be used + in timestamp_get before that. Instead, the Performance Time Stamp Counter is used. */ uint64_t timestamp_get(void) { msr_t msr; |