* Patch "ARM: KVM: Fix size check in __coherent_cache_guest_page" has been added to the 3.19-stable tree
@ 2015-05-02 12:25 gregkh
0 siblings, 0 replies; only message in thread
From: gregkh @ 2015-05-02 12:25 UTC (permalink / raw)
To: jan.kiszka, christoffer.dall, gregkh, shannon.zhao; +Cc: stable, stable-commits
This is a note to let you know that I've just added the patch titled
ARM: KVM: Fix size check in __coherent_cache_guest_page
to the 3.19-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-kvm-fix-size-check-in-__coherent_cache_guest_page.patch
and it can be found in the queue-3.19 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@vger.kernel.org> know about it.
>From a050dfb21cc22ac0c666d52531040c1bc48184cc Mon Sep 17 00:00:00 2001
From: Jan Kiszka <jan.kiszka@siemens.com>
Date: Sat, 7 Feb 2015 22:21:20 +0100
Subject: ARM: KVM: Fix size check in __coherent_cache_guest_page
From: Jan Kiszka <jan.kiszka@siemens.com>
commit a050dfb21cc22ac0c666d52531040c1bc48184cc upstream.
The check is supposed to catch page-unaligned sizes, not the inverse.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
arch/arm/include/asm/kvm_mmu.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/arch/arm/include/asm/kvm_mmu.h
+++ b/arch/arm/include/asm/kvm_mmu.h
@@ -186,7 +186,7 @@ static inline void __coherent_cache_gues
bool need_flush = !vcpu_has_cache_enabled(vcpu) || ipa_uncached;
- VM_BUG_ON(size & PAGE_MASK);
+ VM_BUG_ON(size & ~PAGE_MASK);
if (!need_flush && !icache_is_pipt())
goto vipt_cache;
Patches currently in stable-queue which might be from jan.kiszka@siemens.com are
queue-3.19/arm-kvm-fix-size-check-in-__coherent_cache_guest_page.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-05-02 12:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-02 12:25 Patch "ARM: KVM: Fix size check in __coherent_cache_guest_page" has been added to the 3.19-stable tree gregkh
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.