projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9171fa2
)
KVM: arm/arm64: Add the EL1 physical timer context
author
Jintack Lim
<
[email protected]
>
Fri, 3 Feb 2017 15:20:02 +0000
(10:20 -0500)
committer
Marc Zyngier
<
[email protected]
>
Wed, 8 Feb 2017 15:13:34 +0000
(15:13 +0000)
Add the EL1 physical timer context.
Signed-off-by: Jintack Lim <
[email protected]
>
Acked-by: Christoffer Dall <
[email protected]
>
Signed-off-by: Marc Zyngier <
[email protected]
>
include/kvm/arm_arch_timer.h
patch
|
blob
|
history
diff --git
a/include/kvm/arm_arch_timer.h
b/include/kvm/arm_arch_timer.h
index f46fa3b62b06951472dfa3bd8da717eef9fdff24..6445a3d9a6e2077a63d028e415b562635f20c49a 100644
(file)
--- a/
include/kvm/arm_arch_timer.h
+++ b/
include/kvm/arm_arch_timer.h
@@
-40,6
+40,7
@@
struct arch_timer_context {
struct arch_timer_cpu {
struct arch_timer_context vtimer;
+ struct arch_timer_context ptimer;
/* Background timer used when the guest is not running */
struct hrtimer timer;
@@
-75,4
+76,5
@@
void kvm_timer_vcpu_put(struct kvm_vcpu *vcpu);
void kvm_timer_init_vhe(void);
#define vcpu_vtimer(v) (&(v)->arch.timer_cpu.vtimer)
+#define vcpu_ptimer(v) (&(v)->arch.timer_cpu.ptimer)
#endif