diff options
author | Victor Kamensky <victor.kamensky@linaro.org> | 2014-06-12 18:30:09 +0200 |
---|---|---|
committer | Christoffer Dall <christoffer.dall@linaro.org> | 2014-07-11 13:57:41 +0200 |
commit | ba083d20d8cfa9e999043cd89c4ebc964ccf8927 (patch) | |
tree | 850c08e9cc797365b92cd27942139c7448b88631 /virt | |
parent | ARM64: KVM: MMIO support BE host running LE code (diff) | |
download | linux-ba083d20d8cfa9e999043cd89c4ebc964ccf8927.tar.xz linux-ba083d20d8cfa9e999043cd89c4ebc964ccf8927.zip |
ARM64: KVM: store kvm_vcpu_fault_info est_el2 as word
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>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions