commit | 5100f9833e1881c800bc088e70afa4b9a1409f51 | [log] [tgz] |
---|---|---|
author | Andre Przywara <andre.przywara@arm.com> | Thu Nov 06 12:11:45 2014 +0000 |
committer | Marc Zyngier <marc.zyngier@arm.com> | Tue Nov 25 13:57:28 2014 +0000 |
tree | c4f34bbb05d281c623d7c0dbeba90ae4e8175ca3 | |
parent | 849260c72c6b8bd53850cb00b80027db3a273c2c [diff] |
arm/arm64: KVM: avoid unnecessary guest register mangling on MMIO read Currently we mangle the endianness of the guest's register even on an MMIO _read_, where it is completely useless, because we will not use the value of that register. Rework the io_mem_abort() function to clearly separate between reads and writes and only do the endianness mangling on MMIO writes. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>