Paolo Bonzini 44cf4a
From cd088ce3bc68a6986637c0cd77b94ebff729b89b Mon Sep 17 00:00:00 2001
Paolo Bonzini 44cf4a
From: Gerd Hoffmann <kraxel@redhat.com>
Paolo Bonzini 44cf4a
Date: Tue, 19 Apr 2016 11:27:50 +0200
Paolo Bonzini 44cf4a
Subject: redhat: reserve more memory on fseg
Paolo Bonzini 44cf4a
Paolo Bonzini 44cf4a
RH-Author: Gerd Hoffmann <kraxel@redhat.com>
Paolo Bonzini 44cf4a
Message-id: <1461065271-22039-2-git-send-email-kraxel@redhat.com>
Paolo Bonzini 44cf4a
Patchwork-id: 70213
Paolo Bonzini 44cf4a
O-Subject: [RHEL-7.1 seabios PATCH 1/2] redhat: reserve more memory on fseg
Paolo Bonzini 44cf4a
Bugzilla: 1327060
Paolo Bonzini 44cf4a
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>
Paolo Bonzini 44cf4a
RH-Acked-by: Marcel Apfelbaum <marcel@redhat.com>
Paolo Bonzini 44cf4a
RH-Acked-by: Laszlo Ersek <lersek@redhat.com>
Paolo Bonzini 44cf4a
Paolo Bonzini 44cf4a
seabios 1.7.5 has about 8k free space in fseg.
Paolo Bonzini 44cf4a
Paolo Bonzini 44cf4a
configure 1.9.1 to keep the same amout space in fseg, so the amout of
Paolo Bonzini 44cf4a
disks we are able to handle stays roughly the same.  ahci + scsi are
Paolo Bonzini 44cf4a
slightly below the 1.7.5 numbers but stay above the documented limits.
Paolo Bonzini 44cf4a
virtio-block numbers are higher than the 1.7.5 numbers.
Paolo Bonzini 44cf4a
Paolo Bonzini 44cf4a
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Paolo Bonzini 44cf4a
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
Paolo Bonzini 44cf4a
(cherry picked from commit 0561b82b0470679505d62f49eec83adb01eec0ab)
Paolo Bonzini 44cf4a
---
Paolo Bonzini 44cf4a
 scripts/layoutrom.py | 2 +-
Paolo Bonzini 44cf4a
 1 file changed, 1 insertion(+), 1 deletion(-)
Paolo Bonzini 44cf4a
Paolo Bonzini 44cf4a
diff --git a/scripts/layoutrom.py b/scripts/layoutrom.py
Paolo Bonzini 44cf4a
index 6616721..71841aa 100755
Paolo Bonzini 44cf4a
--- a/scripts/layoutrom.py
Paolo Bonzini 44cf4a
+++ b/scripts/layoutrom.py
Paolo Bonzini 44cf4a
@@ -66,7 +66,7 @@ BUILD_BIOS_SIZE = 0x10000
Paolo Bonzini 44cf4a
 BUILD_ROM_START = 0xc0000
Paolo Bonzini 44cf4a
 BUILD_LOWRAM_END = 0xa0000
Paolo Bonzini 44cf4a
 # Space to reserve in f-segment for dynamic allocations
Paolo Bonzini 44cf4a
-BUILD_MIN_BIOSTABLE = 2048
Paolo Bonzini 44cf4a
+BUILD_MIN_BIOSTABLE = 8192
Paolo Bonzini 44cf4a
 
Paolo Bonzini 44cf4a
 # Layout the 16bit code.  This ensures sections with fixed offset
Paolo Bonzini 44cf4a
 # requirements are placed in the correct location.  It also places the
Paolo Bonzini 44cf4a
-- 
Paolo Bonzini 44cf4a
1.8.3.1
Paolo Bonzini 44cf4a