xref: /linux/arch/arm64/kvm/hyp/vhe/timer-sr.c (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1 // SPDX-License-Identifier: GPL-2.0-only
2 /*
3  * Copyright (C) 2012-2015 - ARM Ltd
4  * Author: Marc Zyngier <marc.zyngier@arm.com>
5  */
6 
7 #include <asm/kvm_hyp.h>
8 
9 void __kvm_timer_set_cntvoff(u64 cntvoff)
10 {
11 	write_sysreg(cntvoff, cntvoff_el2);
12 }
13