From: Christoffer Dall Date: Thu, 25 Sep 2014 16:41:07 +0000 (+0200) Subject: arm/arm64: KVM: Fix set_clear_sgi_pend_reg offset X-Git-Tag: fixes-for-v3.18-merge-window~23^2~3^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0fea6d7628ed6e25a9ee1b67edf7c859718d39e8;p=pandora-kernel.git arm/arm64: KVM: Fix set_clear_sgi_pend_reg offset The sgi values calculated in read_set_clear_sgi_pend_reg() and write_set_clear_sgi_pend_reg() were horribly incorrectly multiplied by 4 with catastrophic results in that subfunctions ended up overwriting memory not allocated for the expected purpose. This showed up as bugs in kfree() and the kernel complaining a lot of you turn on memory debugging. This addresses: http://marc.info/?l=kvm&m=141164910007868&w=2 Reported-by: Shannon Zhao Signed-off-by: Christoffer Dall --- Reading git-diff-tree failed