Skip to content
Commit cd15d205 authored by Christoffer Dall's avatar Christoffer Dall
Browse files

KVM: arm/arm64: Fixup userspace irqchip static key optimization



When I introduced a static key to avoid work in the critical path for
userspace irqchips which is very rarely used, I accidentally messed up
my logic and used && where I should have used ||, because the point was
to short-circuit the evaluation in case userspace irqchips weren't even
in use.

This fixes an issue when running in-kernel irqchip VMs alongside
userspace irqchip VMs.

Acked-by: default avatarMarc Zyngier <marc.zyngier@arm.com>
Fixes: c44c232ee2d3 ("KVM: arm/arm64: Avoid work when userspace iqchips are not used")
Signed-off-by: default avatarChristoffer Dall <christoffer.dall@linaro.org>
parent f1d7231c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment