summaryrefslogtreecommitdiff
path: root/include/trace
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2020-04-14 17:10:08 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-05-20 09:16:58 +0300
commit91017f1ac3b6306cf0d10cbad0d6bbfd7e606873 (patch)
treee094b437cf3fd9db200be41254fc663c6ab68721 /include/trace
parent4d9c4f41d8bf5f2976ced0cc703acb2651259ca9 (diff)
downloadlinux-91017f1ac3b6306cf0d10cbad0d6bbfd7e606873.tar.xz
KVM: arm: vgic: Fix limit condition when writing to GICD_I[CS]ACTIVER
commit 1c32ca5dc6d00012f0c964e5fdd7042fcc71efb1 upstream. When deciding whether a guest has to be stopped we check whether this is a private interrupt or not. Unfortunately, there's an off-by-one bug here, and we fail to recognize a whole range of interrupts as being global (GICv2 SPIs 32-63). Fix the condition from > to be >=. Cc: stable@vger.kernel.org Fixes: abd7229626b93 ("KVM: arm/arm64: Simplify active_change_prepare and plug race") Reported-by: André Przywara <andre.przywara@arm.com> Signed-off-by: Marc Zyngier <maz@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/trace')
0 files changed, 0 insertions, 0 deletions