qemu-e2k/target-ppc
Alexey Kardashevskiy 0dc083fe10 target-ppc: fix Authority Mask Register init value
The existing default value (-1) of the AMR register forbids data access
to all 32 classes. Since the guest linux does not change this register,
we end up with the guest hanging right after switching from the real to
protected mode.

This sets the default AMR value to zero what enables data access for all
classes.

The only reason for not hitting this bug before is that
kvm_arch_put_registers() did not put any SPR to KVM due to missing
assignment of @one_reg_id in _spr_register() (which is going to be fixed
by a separate patch).

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: Greg Kurz <gkurz@linux.vnet.ibm.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
2014-03-05 03:06:25 +01:00
..
arch_dump.c target-ppc: dump-guest-memory support 2013-10-25 23:25:48 +02:00
cpu-models.c target-ppc: remove powerpc 970gx 2014-03-05 03:06:23 +01:00
cpu-models.h target-ppc: remove powerpc 970gx 2014-03-05 03:06:23 +01:00
cpu-qom.h powerpc: add PVR mask support 2013-12-20 01:57:45 +01:00
cpu.h target-ppc: fix SPR_CTRL/SPR_UCTRL register numbers 2014-03-05 03:06:23 +01:00
excp_helper.c exec: Make ldl_*_phys input an AddressSpace 2014-02-11 22:56:54 +10:00
fpu_helper.c
gdbstub.c cpu: Introduce CPUClass::gdb_{read,write}_register() 2013-07-27 00:04:17 +02:00
helper_regs.h PPC: Add VSX to hflags 2013-12-20 01:58:10 +01:00
helper.h tcg: Remove stray semi-colons from target-*/helper.h 2013-10-10 11:43:37 -07:00
int_helper.c
kvm_ppc.c PPC: KVM: Compile fix for qemu_notify_event 2013-09-02 10:06:42 +02:00
kvm_ppc.h target-ppc: Add helper for KVM_PPC_RTAS_DEFINE_TOKEN 2013-10-25 23:25:46 +02:00
kvm-stub.c kvm/openpic: in-kernel mpic support 2013-07-01 01:11:14 +02:00
kvm.c PPC: KVM: Add missing address space to ldl_phys helper 2014-02-14 10:42:31 +00:00
machine.c target-ppc: Use #define for max slb entries 2013-10-25 23:25:48 +02:00
Makefile.objs target-ppc: dump-guest-memory support 2013-10-25 23:25:48 +02:00
mem_helper.c target-ppc: Little Endian Correction to Load/Store Vector Element 2013-10-25 23:25:45 +02:00
mfrom_table_gen.c
mfrom_table.c
misc_helper.c
mmu_helper.c Merge branch 'tcg-next' of git://github.com/rth7680/qemu 2013-09-03 01:35:43 +02:00
mmu-hash32.c target-ppc: Change LOG_MMU_STATE() argument to CPUState 2013-07-09 21:33:04 +02:00
mmu-hash32.h exec: Make stl_*_phys input an AddressSpace 2014-02-11 22:57:18 +10:00
mmu-hash64.c target-ppc: Change LOG_MMU_STATE() argument to CPUState 2013-07-09 21:33:04 +02:00
mmu-hash64.h exec: Make stq_*_phys input an AddressSpace 2014-02-11 22:57:12 +10:00
STATUS target-ppc: remove powerpc 970gx 2014-03-05 03:06:23 +01:00
timebase_helper.c
translate_init.c target-ppc: fix Authority Mask Register init value 2014-03-05 03:06:25 +01:00
translate.c target-ppc: dump DAR and DSISR 2014-03-05 03:06:24 +01:00
user_only_helper.c