qemu-patch-raspberry4/target-ppc
Alexander Graf d13fc32ecf PPC: KVM: Make pv hcall endian agnostic
There were a few revisions of the Linux kernel that incorrectly swapped
the hcall instructions when they saw ePAPR compliant hypercalls.

We already have fixups for those in place when running with PR KVM, but
HV KVM and systems that don't implement hypercalls at all are still broken
because they fall back to the QEMU implementation of fallback hypercalls.

So let's make the fallback hypercall instruction path endian agnostic. This
only really works well for 64bit guests, but I don't think there are any 32bit
systems left that don't implement real pv hcall support, so we'll never get
into this code path.

Signed-off-by: Alexander Graf <agraf@suse.de>
2014-06-16 13:24:46 +02:00
..
arch_dump.c
cpu-models.c
cpu-models.h
cpu-qom.h
cpu.h spapr_hcall: Add address-translation-mode-on-interrupt resource in H_SET_MODE 2014-06-16 13:24:45 +02:00
dfp_helper.c
excp_helper.c spapr_hcall: Add address-translation-mode-on-interrupt resource in H_SET_MODE 2014-06-16 13:24:45 +02:00
fpu_helper.c powerpc: use float64 for frsqrte 2014-06-16 13:24:46 +02:00
gdbstub.c
helper.h target-ppc: Add POWER8's TM SPRs 2014-06-16 13:24:45 +02:00
helper_regs.h
int_helper.c
kvm-stub.c
kvm.c PPC: KVM: Make pv hcall endian agnostic 2014-06-16 13:24:46 +02:00
kvm_ppc.c
kvm_ppc.h
machine.c KVM: target-ppc: Enable TM state migration 2014-06-16 13:24:45 +02:00
Makefile.objs
mem_helper.c
mfrom_table.c
mfrom_table_gen.c
misc_helper.c target-ppc: Add POWER8's TM SPRs 2014-06-16 13:24:45 +02:00
mmu-hash32.c
mmu-hash32.h
mmu-hash64.c
mmu-hash64.h
mmu_helper.c
STATUS
timebase_helper.c
translate.c
translate_init.c target-ppc: Enable DABRX SPR and limit it to <=POWER7 2014-06-16 13:24:45 +02:00
user_only_helper.c