kvm: arm64: Fix EC field in inject_abt64
authorMatt Evans <matt.evans@arm.com>
Mon, 16 May 2016 12:54:56 +0000 (13:54 +0100)
committerChristoffer Dall <christoffer.dall@linaro.org>
Fri, 20 May 2016 13:39:36 +0000 (15:39 +0200)
commite4fe9e7dc3828bf6a5714eb3c55aef6260d823a2
treef0f62a65627b1ecce3c389a54d435e036dc88e86
parent06485053244480f5f403d8f89b8617bd7d549113
kvm: arm64: Fix EC field in inject_abt64

The EC field of the constructed ESR is conditionally modified by ORing in
ESR_ELx_EC_DABT_LOW for a data abort.  However, ESR_ELx_EC_SHIFT is missing
from this condition.

Signed-off-by: Matt Evans <matt.evans@arm.com>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
arch/arm64/kvm/inject_fault.c