]> git.proxmox.com Git - qemu.git/commit
PPC: e500: increase DTC_LOAD_PAD
authorScott Wood <scottwood@freescale.com>
Wed, 22 Aug 2012 14:55:40 +0000 (14:55 +0000)
committerAlexander Graf <agraf@suse.de>
Fri, 5 Oct 2012 00:35:11 +0000 (02:35 +0200)
commit9dd5eba1bc69bccbd83885d157d84e2514799a22
tree2c2f21ade9f4b7ad931632dabb9d61d46a54f44e
parent6641b77254d3c191ecee5a87947425f623ac9ca0
PPC: e500: increase DTC_LOAD_PAD

An allowance of 5 MiB for BSS is not enough for Linux kernels with certain
debug options enabled (not sure exactly which one caused it, but I'd guess
lockdep).  The kernel I ran into this with had a BSS of around 6.4 MB.

Unfortunately, uImage does not give us enough information to determine the
actual BSS size.  Increase the allowance to 18 MiB to give us plenty of
room.  Eventually this should be more intelligent, possibly packing
initrd+dtb at the end of guest RAM.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/ppc/e500.c