OpenCloudOS-Kernel/arch/arm/kvm
Marc Zyngier b57cd6f640 ARM: KVM: Change kvm_call_hyp return type to unsigned long
Having u64 as the kvm_call_hyp return type is problematic, as
it forces all kind of tricks for the return values from HYP
to be promoted to 64bit (LE has the LSB in r0, and BE has them
in r1).

Since the only user of the return value is perfectly happy with
a 32bit value, let's make kvm_call_hyp return an unsigned long,
which is 32bit on ARM.

This solves yet another headache.

Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
2016-02-29 18:34:14 +00:00
..
hyp ARM: KVM: Add panic handling code 2016-02-29 18:34:14 +00:00
Kconfig arm/arm64: KVM : Enable vhost device selection under KVM config menu 2015-10-22 23:01:45 +02:00
Makefile ARM: KVM: Add TLB invalidation code 2016-02-29 18:34:13 +00:00
arm.c ARM: KVM: Remove __kvm_hyp_code_start/__kvm_hyp_code_end 2016-02-29 18:34:12 +00:00
coproc.c ARM: KVM: Move CP15 array into the CPU context structure 2016-02-29 18:34:12 +00:00
coproc.h ARM: KVM: Move CP15 array into the CPU context structure 2016-02-29 18:34:12 +00:00
coproc_a7.c arm/arm64: KVM: Use set/way op trapping to track the state of the caches 2015-01-29 23:24:56 +01:00
coproc_a15.c arm/arm64: KVM: Use set/way op trapping to track the state of the caches 2015-01-29 23:24:56 +01:00
emulate.c ARM: KVM: Move GP registers into the CPU context structure 2016-02-29 18:34:12 +00:00
guest.c ARM: KVM: Move GP registers into the CPU context structure 2016-02-29 18:34:12 +00:00
handle_exit.c KVM: arm/arm64: Count guest exit due to various reasons 2015-12-14 11:30:00 +00:00
init.S ARM: kvm: round HYP section to page size instead of log2 upper bound 2015-03-27 12:21:27 +00:00
interrupts.S ARM: KVM: Change kvm_call_hyp return type to unsigned long 2016-02-29 18:34:14 +00:00
interrupts_head.S ARM: KVM: Move GP registers into the CPU context structure 2016-02-29 18:34:12 +00:00
mmio.c arm/arm64: KVM: Feed initialized memory to MMIO accesses 2016-02-24 11:53:09 +00:00
mmu.c kvm: rename pfn_t to kvm_pfn_t 2016-01-15 17:56:32 -08:00
perf.c ARM: KVM: add support for minimal host vs guest profiling 2013-04-28 21:44:01 -07:00
psci.c arm64: KVM: Get rid of old vcpu_reg() 2015-12-04 16:30:03 +00:00
reset.c ARM: KVM: Move GP registers into the CPU context structure 2016-02-29 18:34:12 +00:00
trace.h arm/arm64: KVM: Improve kvm_exit tracepoint 2015-10-22 23:01:47 +02:00