diff options
author | Alexey Kardashevskiy <aik@ozlabs.ru> | 2014-01-06 16:36:39 +1100 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2014-03-05 03:06:25 +0100 |
commit | 0dc083fe10c5cc848f36498b9157a336cbc8c7c1 (patch) | |
tree | 6a66b66887fe2b5bf89d608d5aa287a0f2c5dcf2 /linux-user/m68k/target_signal.h | |
parent | ca480de66400c4fcaf59100b813e402f9edb08f7 (diff) |
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>
Diffstat (limited to 'linux-user/m68k/target_signal.h')
0 files changed, 0 insertions, 0 deletions