summaryrefslogtreecommitdiffstats
path: root/arch/arm64/kvm/hyp/vhe/Makefile
diff options
context:
space:
mode:
authorDavid Brazdil <dbrazdil@google.com>2020-06-25 15:14:17 +0200
committerMarc Zyngier <maz@kernel.org>2020-07-05 19:38:38 +0200
commit9aebdea494b5d2d5fe0ba54d71e9d6c5acfe76b4 (patch)
tree523b5b8b519681b067f767b820193a9eafdb989a /arch/arm64/kvm/hyp/vhe/Makefile
parentKVM: arm64: Split hyp/sysreg-sr.c to VHE/nVHE (diff)
downloadlinux-9aebdea494b5d2d5fe0ba54d71e9d6c5acfe76b4.tar.xz
linux-9aebdea494b5d2d5fe0ba54d71e9d6c5acfe76b4.zip
KVM: arm64: Duplicate hyp/timer-sr.c for VHE/nVHE
timer-sr.c contains a HVC handler for setting CNTVOFF_EL2 and two helper functions for controlling access to physical counter. The former is used by both VHE/nVHE and is duplicated, the latter are used only by nVHE and moved to nvhe/timer-sr.c. Signed-off-by: David Brazdil <dbrazdil@google.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20200625131420.71444-13-dbrazdil@google.com
Diffstat (limited to 'arch/arm64/kvm/hyp/vhe/Makefile')
-rw-r--r--arch/arm64/kvm/hyp/vhe/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/kvm/hyp/vhe/Makefile b/arch/arm64/kvm/hyp/vhe/Makefile
index 2801582a739a..a1dbbc5409bd 100644
--- a/arch/arm64/kvm/hyp/vhe/Makefile
+++ b/arch/arm64/kvm/hyp/vhe/Makefile
@@ -6,7 +6,7 @@
asflags-y := -D__KVM_VHE_HYPERVISOR__
ccflags-y := -D__KVM_VHE_HYPERVISOR__
-obj-y := sysreg-sr.o debug-sr.o switch.o tlb.o ../hyp-entry.o
+obj-y := timer-sr.o sysreg-sr.o debug-sr.o switch.o tlb.o ../hyp-entry.o
# KVM code is run at a different exception code with a different map, so
# compiler instrumentation that inserts callbacks or checks into the code may