openeuler inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8QEV8 CVE: NA
-------------------------------
The ARM ARM states the following (where a CPU is a device):
The system counter must provide a uniform view of system time. More precisely, it must be impossible for the following sequence of events to show system time going backwards:
1) Device A reads the time from the system counter.
2) Device A communicates with another agent in the system, Device B.
3) After recognizing the communication from Device A, Device B reads the time from the system counter.
So make CLOCKSOURCE_VALIDATE_LAST_CYCLE unset by default.
Signed-off-by: Yu Liao liaoyu15@huawei.com --- arch/arm64/configs/openeuler_defconfig | 1 + 1 file changed, 1 insertion(+)
diff --git a/arch/arm64/configs/openeuler_defconfig b/arch/arm64/configs/openeuler_defconfig index 5142567aeeff..332edc342d6c 100644 --- a/arch/arm64/configs/openeuler_defconfig +++ b/arch/arm64/configs/openeuler_defconfig @@ -72,6 +72,7 @@ CONFIG_CONTEXT_TRACKING_USER=y # CONFIG_CONTEXT_TRACKING_USER_FORCE is not set CONFIG_NO_HZ=y CONFIG_HIGH_RES_TIMERS=y +# CONFIG_CLOCKSOURCE_VALIDATE_LAST_CYCLE is not set # end of Timers subsystem
CONFIG_BPF=y