This is a note to let you know that I've just added the patch titled
ARM: hyp: initialize CNTVOFF to zero
to the 3.10-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
arm-hyp-initialize-cntvoff-to-zero.patch
and it can be found in the queue-3.10 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.
>From 0af0b189abf73d232af782df2f999235cd2fed7f Mon Sep 17 00:00:00 2001
From: Marc Zyngier <[email protected]>
Date: Wed, 30 Jan 2013 18:17:49 +0000
Subject: ARM: hyp: initialize CNTVOFF to zero
From: Marc Zyngier <[email protected]>
commit 0af0b189abf73d232af782df2f999235cd2fed7f upstream.
In order to be able to use the virtual counter in a safe way,
make sure it is initialized to zero before dropping to SVC.
Signed-off-by: Marc Zyngier <[email protected]>
Signed-off-by: Mark Rutland <[email protected]>
Acked-by: Santosh Shilimkar <[email protected]>
Cc: Dave Martin <[email protected]>
Cc: Mark Brown <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
arch/arm/kernel/hyp-stub.S | 2 ++
1 file changed, 2 insertions(+)
--- a/arch/arm/kernel/hyp-stub.S
+++ b/arch/arm/kernel/hyp-stub.S
@@ -153,6 +153,8 @@ THUMB( orr r7, #(1 << 30) ) @ HSCTLR.TE
mrc p15, 4, r7, c14, c1, 0 @ CNTHCTL
orr r7, r7, #3 @ PL1PCEN | PL1PCTEN
mcr p15, 4, r7, c14, c1, 0 @ CNTHCTL
+ mov r7, #0
+ mcrr p15, 4, r7, r7, c14 @ CNTVOFF
1:
#endif
Patches currently in stable-queue which might be from [email protected] are
queue-3.10/arm-hyp-initialize-cntvoff-to-zero.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html