diff options
author | Dongjiu Geng <gengdongjiu@huawei.com> | 2017-10-30 14:05:18 +0800 |
---|---|---|
committer | Christoffer Dall <christoffer.dall@linaro.org> | 2017-11-06 16:23:20 +0100 |
commit | a2b83133339067c1b27f902e32506ab2871e2320 (patch) | |
tree | db4b0965ccce89f94ef627bc698bfb03745d7bc2 /include/clocksource | |
parent | 74a64a981662ab34289b3c90f6f964aa38ec1d9f (diff) | |
download | linux-a2b83133339067c1b27f902e32506ab2871e2320.tar.gz linux-a2b83133339067c1b27f902e32506ab2871e2320.tar.bz2 linux-a2b83133339067c1b27f902e32506ab2871e2320.zip |
KVM: arm/arm64: fix the incompatible matching for external abort
kvm_vcpu_dabt_isextabt() tries to match a full fault syndrome, but
calls kvm_vcpu_trap_get_fault_type() that only returns the fault class,
thus reducing the scope of the check. This doesn't cause any observable
bug yet as we end-up matching a closely related syndrome for which we
return the same value.
Using kvm_vcpu_trap_get_fault() instead fixes it for good.
Signed-off-by: Dongjiu Geng <gengdongjiu@huawei.com>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Diffstat (limited to 'include/clocksource')
0 files changed, 0 insertions, 0 deletions