commit | 22601127c0faa5db70ab88f23af11cb23c8f6cdf | [log] [tgz] |
---|---|---|
author | Christoffer Dall <christoffer.dall@linaro.org> | Wed Nov 29 17:05:16 2017 +0100 |
committer | Christoffer Dall <christoffer.dall@linaro.org> | Wed Nov 29 18:17:47 2017 +0100 |
tree | 672f81531c199e2d5d132f40a47fb4a24fb84ab4 | |
parent | e3feebf81744acd8b581e5eb58a93e8fdcf042a5 [diff] |
KVM: arm/arm64: Avoid attempting to load timer vgic state without a vgic The timer optimization patches inadvertendly changed the logic to always load the timer state as if we have a vgic, even if we don't have a vgic. Fix this by doing the usual irqchip_in_kernel() check and call the appropriate load function. Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>