We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d198e26 commit a02395dCopy full SHA for a02395d
arch/arm64/include/asm/kvm_mmu.h
@@ -53,22 +53,6 @@
53
54
#include <asm/alternative.h>
55
56
-/*
57
- * Convert a kernel VA into a HYP VA.
58
- * reg: VA to be converted.
59
- */
60
-.macro kern_hyp_va reg
61
-#ifndef __KVM_VHE_HYPERVISOR__
62
-alternative_cb ARM64_ALWAYS_SYSTEM, kvm_update_va_mask
63
- and \reg, \reg, #1 /* mask with va_mask */
64
- ror \reg, \reg, #1 /* rotate to the first tag bit */
65
- add \reg, \reg, #0 /* insert the low 12 bits of the tag */
66
- add \reg, \reg, #0, lsl 12 /* insert the top 12 bits of the tag */
67
- ror \reg, \reg, #63 /* rotate back */
68
-alternative_cb_end
69
-#endif
70
-.endm
71
-
72
/*
73
* Convert a hypervisor VA to a PA
74
* reg: hypervisor address to be converted in place
0 commit comments