diff options
author | Marc Zyngier <maz@kernel.org> | 2020-04-14 16:10:08 +0200 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2020-04-15 15:56:14 +0200 |
commit | 1c32ca5dc6d00012f0c964e5fdd7042fcc71efb1 (patch) | |
tree | 1590d1bf3f643583a04cdb771b4202f5bb4a10c0 /Kconfig | |
parent | Linux 5.7-rc1 (diff) | |
download | linux-1c32ca5dc6d00012f0c964e5fdd7042fcc71efb1.tar.xz linux-1c32ca5dc6d00012f0c964e5fdd7042fcc71efb1.zip |
KVM: arm: vgic: Fix limit condition when writing to GICD_I[CS]ACTIVER
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>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions