summaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorVictor Kamensky <victor.kamensky@linaro.org>2014-06-12 09:30:09 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-06-29 12:25:38 -0700
commitd57d14cfeba4b05810daca84c22f019072f5b495 (patch)
treedbd29839de540dd6e9e50a74dc3d367682f59377 /lib/memory-notifier-error-inject.c
parent03f600a84336d6291405048b088cb1fce55a973d (diff)
downloadlwn-d57d14cfeba4b05810daca84c22f019072f5b495.tar.gz
lwn-d57d14cfeba4b05810daca84c22f019072f5b495.zip
ARM64: KVM: store kvm_vcpu_fault_info est_el2 as word
commit ba083d20d8cfa9e999043cd89c4ebc964ccf8927 upstream. esr_el2 field of struct kvm_vcpu_fault_info has u32 type. It should be stored as word. Current code works in LE case because existing puts least significant word of x1 into esr_el2, and it puts most significant work of x1 into next field, which accidentally is OK because it is updated again by next instruction. But existing code breaks in BE case. Signed-off-by: Victor Kamensky <victor.kamensky@linaro.org> Acked-by: Christoffer Dall <christoffer.dall@linaro.org> Acked-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions