mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 21:22:09 -04:00
Merge "Revert "clocksource: arch_timer: make virtual counter access configurable""
This commit is contained in:
commit
4e58012ac5
2 changed files with 1 additions and 10 deletions
|
|
@ -385,14 +385,6 @@ config SUN50I_ERRATUM_UNKNOWN1
|
|||
the Allwinner A64 SoC. The workaround will only be active if the
|
||||
allwinner,erratum-unknown1 property is found in the timer node.
|
||||
|
||||
config ARM_ARCH_TIMER_VCT_ACCESS
|
||||
bool "Support for ARM architected timer virtual counter access in userspace"
|
||||
default n
|
||||
depends on ARM_ARCH_TIMER
|
||||
help
|
||||
This option enables support for reading the ARM architected timer's
|
||||
virtual counter in userspace.
|
||||
|
||||
config ARM_GLOBAL_TIMER
|
||||
bool "Support for the ARM global timer" if COMPILE_TEST
|
||||
select TIMER_OF if OF
|
||||
|
|
|
|||
|
|
@ -863,8 +863,7 @@ static void arch_counter_set_user_access(void)
|
|||
* need to be workaround. The vdso may have been already
|
||||
* disabled though.
|
||||
*/
|
||||
if (arch_timer_this_cpu_has_cntvct_wa() ||
|
||||
!IS_ENABLED(CONFIG_ARM_ARCH_TIMER_VCT_ACCESS))
|
||||
if (arch_timer_this_cpu_has_cntvct_wa())
|
||||
pr_info("CPU%d: Trapping CNTVCT access\n", smp_processor_id());
|
||||
else
|
||||
cntkctl |= ARCH_TIMER_USR_VCT_ACCESS_EN;
|
||||
|
|
|
|||
Loading…
Reference in a new issue