xref: /linux/arch/arm64/kvm/hyp/vhe/timer-sr.c (revision 26fbb4c8c7c3ee9a4c3b4de555a8587b5a19154e)
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