Patch "kvm: arm64: Fix EC field in inject_abt64" has been added to the 4.6-stable tree
Subsystems (3)
This is a note to let you know that I've just added the patch titled
kvm: arm64: Fix EC field in inject_abt64
to the 4.6-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
kvm-arm64-fix-ec-field-in-inject_abt64.patch
and it can be found in the queue-4.6 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
e4fe9e7dc3828bf6a5714eb3c55aef6260d823a2Mon Sep 17 00:00:00 2001
From: Matt Evans <[email protected]>
Date: Mon, 16 May 2016 13:54:56 +0100
Subject: kvm: arm64: Fix EC field in inject_abt64
From: Matt Evans <[email protected]>
commit e4fe9e7dc3828bf6a5714eb3c55aef6260d823a2 upstream.
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.
--- arch/arm64/kvm/inject_fault.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm64/kvm/inject_fault.c +1 -1
@@ -162,7 +162,7 @@ static void inject_abt64(struct kvm_vcpu esr |= (ESR_ELx_EC_IABT_CUR << ESR_ELx_EC_SHIFT);if (!is_iabt) - esr |= ESR_ELx_EC_DABT_LOW; + esr |= ESR_ELx_EC_DABT_LOW << ESR_ELx_EC_SHIFT;vcpu_sys_reg (vcpu,ESR_EL1 ) = esr | ESR_ELx_FSC_EXTABT; }
Patches currently in stable-queue which might be from [email protected] are
queue-4.6/kvm-arm64-fix-ec-field-in-inject_abt64.patch