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 Replace always_inline with inline 2009-08-16 09:06:54 +00:00
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 PPC: KVM: Remove kvmppc_read_host_property 2011-10-06 09:43:35 +02:00
kvm_ppc.h ppc: Fix up usermode only builds 2011-10-30 20:03:27 +01:00
kvm.c PPC: KVM: Update HIOR code to new interface 2012-02-02 02:47:45 +01:00
machine.c PPC: move TLBs to their own arrays 2011-06-17 02:58:37 +02:00
mfrom_table_gen.c fix spelling in target sub directory 2011-12-02 10:50:57 +00:00
mfrom_table.c find -type f | xargs sed -i 's/[\t ]$//g' # on most files 2007-09-16 21:08:06 +00:00
op_helper.c PPC: E500: Implement msgsnd 2012-02-02 02:47:47 +01:00
STATUS Fix typos in comments (chek -> check) 2011-05-22 22:31:45 +01:00
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