diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2013-02-12 12:40:22 +0000 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2013-11-07 19:09:04 +0000 |
commit | 6d89d2d9b5bac9dbe40ee106ceda9307b6265234 (patch) | |
tree | dc2f8fad0be6afabbbfccca1311be40298449cd2 /arch/arm/kvm/psci.c | |
parent | d241aac798eb042e605f78c31a4122e583b2cd13 (diff) |
arm/arm64: KVM: MMIO support for BE guest
Do the necessary byteswap when host and guest have different
views of the universe. Actually, the only case we need to take
care of is when the guest is BE. All the other cases are naturally
handled.
Also be careful about endianness when the data is being memcopy-ed
from/to the run buffer.
Acked-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'arch/arm/kvm/psci.c')
0 files changed, 0 insertions, 0 deletions