qemu-e2k/target-ppc
Alexander Graf a496e8eeba PPC: E500: Populate L1CFG0 SPR
When running Linux on e500 with powersave-nap enabled, Linux tries to
read out the L1CFG0 register and calculates some things from it. Passing
0 there ends up in a division by 0, resulting in -1, resulting in badness.

So let's populate the L1CFG0 register with reasonable defaults. That way
guests aren't completely confused.

Reported-by: Shrijeet Mukherjee <shm@cumulusnetworks.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
2012-02-02 02:47:49 +01:00
..
cpu.h PPC: Add CPU feature for processor control 2012-02-02 02:47:47 +01:00
helper_regs.h
helper.c PPC: Enable doorbell excp handlers 2012-02-02 02:47:47 +01:00
helper.h PPC: E500: Implement msgsnd 2012-02-02 02:47:47 +01:00
kvm_ppc.c
kvm_ppc.h
kvm.c PPC: KVM: Update HIOR code to new interface 2012-02-02 02:47:45 +01:00
machine.c
mfrom_table_gen.c
mfrom_table.c
op_helper.c PPC: E500: Implement msgsnd 2012-02-02 02:47:47 +01:00
STATUS
translate_init.c PPC: E500: Populate L1CFG0 SPR 2012-02-02 02:47:49 +01:00
translate.c PPC: E500: Implement msgsnd 2012-02-02 02:47:47 +01:00