Commit 1e932441 authored by Yu Liao's avatar Yu Liao Committed by Ma Wupeng
Browse files

timekeeping: Make CLOCKSOURCE_VALIDATE_LAST_CYCLE configurable

hulk inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I7393E


CVE: NA

-------------------------------

Currently, only x86 architecture supports the CLOCKSOURCE_VALIDATE_LAST_CYCLE
option. This option ensures that the timestamps returned by the clocksource are
monotonically increasing, and helps avoid issues caused by hardware failures.

This commit makes CLOCKSOURCE_VALIDATE_LAST_CYCLE configurable on
the arm64 architecture, helps increase system stability and reliability.

Signed-off-by: default avatarYu Liao <liaoyu15@huawei.com>
parent ab866dc7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment