Commit 381c02a7 authored by Yang Yingliang's avatar Yang Yingliang
Browse files

arm64: arch_timer: Disable CNTVCT_EL0 trap if workaround is enabled

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


CVE: NA

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

It costs very much time to read CNTVCT_EL0, if a cntvct workaround
and CNTVCT_EL0 trap is enabled. To decrease the read time, we disable
CNTVCT_EL0 trap, introduce vdso_fix and vdso_shift for doing cntvct
workaround in VDSO.

Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent cb2566ed
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment