]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ARM: KVM: Fix size check in __coherent_cache_guest_page
authorJan Kiszka <jan.kiszka@siemens.com>
Mon, 4 May 2015 01:25:23 +0000 (09:25 +0800)
committerSasha Levin <sasha.levin@oracle.com>
Mon, 11 May 2015 11:07:36 +0000 (07:07 -0400)
commitf10b9c8a2ee0382e566f488f5d3d2a481369c593
tree3cac46a1f20ff01b9334780f05c6814b107ff542
parenta49ecf872ec8870c32f5d9d412edae4033e87f12
ARM: KVM: Fix size check in __coherent_cache_guest_page

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: Sasha Levin <sasha.levin@oracle.com>
arch/arm/include/asm/kvm_mmu.h