From: Andre Przywara Date: Thu, 6 Nov 2014 12:11:45 +0000 (+0000) Subject: arm/arm64: KVM: avoid unnecessary guest register mangling on MMIO read X-Git-Tag: omap-for-v3.20/drop-legacy-3517~40^2~2^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5100f9833e1881c800bc088e70afa4b9a1409f51;p=pandora-kernel.git 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 Signed-off-by: Marc Zyngier --- Reading git-diff-tree failed