All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] x86: qemu-x86_defconfig: Increase CONFIG_SYS_MALLOC_F_LEN
@ 2020-08-25  9:39 Stefan Roese
  2020-08-30 16:24 ` Simon Glass
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Roese @ 2020-08-25  9:39 UTC (permalink / raw)
  To: u-boot

With the upcoming increase of the malloc area in U-Boot
("pci: pci-uclass: Dynamically allocate the PCI regions"), the CI QEMU
x86 test fails:

U-Boot 2020.10-rc2-g0a668f6d38 (Aug 25 2020 - 06:12:51 +0000)

alloc space exhausted
Error binding driver 'cpu_qemu': -12
Some drivers failed to bind
alloc space exhausted
initcall sequence fff6a760 failed at call fff13b3d (err=-19)

This patch now increases CONFIG_SYS_MALLOC_F_LEN to 0x1000, which is
already used on qemu-x86_64_defconfig.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Tom Rini <trini@konsulko.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Bin Meng <bmeng.cn@gmail.com>
---
 configs/qemu-x86_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/qemu-x86_defconfig b/configs/qemu-x86_defconfig
index 6493fef835..218026b739 100644
--- a/configs/qemu-x86_defconfig
+++ b/configs/qemu-x86_defconfig
@@ -1,5 +1,6 @@
 CONFIG_X86=y
 CONFIG_SYS_TEXT_BASE=0xFFF00000
+CONFIG_SYS_MALLOC_F_LEN=0x1000
 CONFIG_NR_DRAM_BANKS=8
 CONFIG_ENV_SIZE=0x40000
 CONFIG_MAX_CPUS=2
-- 
2.28.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] x86: qemu-x86_defconfig: Increase CONFIG_SYS_MALLOC_F_LEN
  2020-08-25  9:39 [PATCH] x86: qemu-x86_defconfig: Increase CONFIG_SYS_MALLOC_F_LEN Stefan Roese
@ 2020-08-30 16:24 ` Simon Glass
  0 siblings, 0 replies; 2+ messages in thread
From: Simon Glass @ 2020-08-30 16:24 UTC (permalink / raw)
  To: u-boot

On Tue, 25 Aug 2020 at 03:39, Stefan Roese <sr@denx.de> wrote:
>
> With the upcoming increase of the malloc area in U-Boot
> ("pci: pci-uclass: Dynamically allocate the PCI regions"), the CI QEMU
> x86 test fails:
>
> U-Boot 2020.10-rc2-g0a668f6d38 (Aug 25 2020 - 06:12:51 +0000)
>
> alloc space exhausted
> Error binding driver 'cpu_qemu': -12
> Some drivers failed to bind
> alloc space exhausted
> initcall sequence fff6a760 failed at call fff13b3d (err=-19)
>
> This patch now increases CONFIG_SYS_MALLOC_F_LEN to 0x1000, which is
> already used on qemu-x86_64_defconfig.
>
> Signed-off-by: Stefan Roese <sr@denx.de>
> Cc: Tom Rini <trini@konsulko.com>
> Cc: Simon Glass <sjg@chromium.org>
> Cc: Bin Meng <bmeng.cn@gmail.com>
> ---
>  configs/qemu-x86_defconfig | 1 +
>  1 file changed, 1 insertion(+)

Reviewed-by: Simon Glass <sjg@chromium.org>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-08-30 16:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-25  9:39 [PATCH] x86: qemu-x86_defconfig: Increase CONFIG_SYS_MALLOC_F_LEN Stefan Roese
2020-08-30 16:24 ` Simon Glass

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.