mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 08:44:21 +08:00
9397fa2ea3
Currently hv_read_tsc_page_tsc() (ab)uses the (valid) time value of U64_MAX as an error return. This breaks the clean wrap-around of the clock. Modify the function signature to return a boolean state and provide another u64 pointer to store the actual time on success. This obviates the need to steal one time value and restores the full counter width. Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Michael Kelley <mikelley@microsoft.com> Tested-by: Michael Kelley <mikelley@microsoft.com> # Hyper-V Link: https://lore.kernel.org/r/20230519102715.775630881@infradead.org |
||
---|---|---|
.. | ||
arm_arch_timer.h | ||
hyperv_timer.h | ||
pxa.h | ||
samsung_pwm.h | ||
timer-davinci.h | ||
timer-goldfish.h | ||
timer-riscv.h | ||
timer-ti-dm.h | ||
timer-xilinx.h |