diff options
author | Alexander Graf <agraf@suse.de> | 2012-01-31 03:46:55 +0100 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2012-02-02 02:47:49 +0100 |
commit | a496e8eeba51351af136734e475c947a3673dded (patch) | |
tree | efce0e9235f433ab09f73b406e0faa09d3394e4f /qemu-common.h | |
parent | 8917f4dc62a081c684a1769d38c538df94db9cf0 (diff) | |
download | qemu-a496e8eeba51351af136734e475c947a3673dded.zip |
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>
Diffstat (limited to 'qemu-common.h')
0 files changed, 0 insertions, 0 deletions