import seabios-1.16.0-4.module+el8.9.0+19570+14a90618

i8c-stream-rhel changed/i8c-stream-rhel/seabios-1.16.0-4.module+el8.9.0+19570+14a90618
MSVSphere Packaging Team 1 year ago
parent 470e5c5e99
commit 18f6045496

@ -1,29 +1,21 @@
From c80f616bf9c35de475539b90efa80a6134377d31 Mon Sep 17 00:00:00 2001
From: Jon Maloy <jmaloy@redhat.com>
Date: Thu, 3 Aug 2023 20:07:38 -0400
From 93ba763d219be90b088b15a5fc585ff7f051e424 Mon Sep 17 00:00:00 2001
From: Gerd Hoffmann <kraxel@redhat.com>
Date: Mon, 25 Apr 2022 09:25:31 +0200
Subject: [PATCH 2/2] malloc: use large ZoneHigh when there is enough memory
RH-Author: Jon Maloy <jmaloy@redhat.com>
RH-MergeRequest: 10: malloc: use variable for ZoneHigh size
RH-Bugzilla: 2228485
RH-Acked-by: Paolo Bonzini <pbonzini@redhat.com>
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>
RH-Commit: [2/2] d21be18a702b8935cd912127bc148af8d92af19f (jmaloy/jmaloy-src-seabios)
RH-Author: Paolo Bonzini <pbonzini@redhat.com>
RH-MergeRequest: 9: malloc: use large ZoneHigh when there is enough memory
RH-Bugzilla: 2227373
RH-Acked-by: Thomas Huth <thuth@redhat.com>
RH-Acked-by: Oliver Steffen <osteffen@redhat.com>
RH-Acked-by: Laszlo Ersek <lersek@redhat.com>
RH-Acked-by: Jon Maloy <jmaloy@redhat.com>
RH-Commit: [2/2] aa6072543a124ad152199d5263c590cb95609d81
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2228485
Upstream: Merged
In case there is enough memory installed use a large ZoneHigh.
commit dc88f9b72df52b22c35b127b80c487e0b6fca4af
Author: Gerd Hoffmann <kraxel@redhat.com>
Date: Mon Apr 25 09:25:31 2022 +0200
malloc: use large ZoneHigh when there is enough memory
In case there is enough memory installed use a large ZoneHigh.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Jon Maloy <jmaloy@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
(cherry picked from commit dc88f9b72df52b22c35b127b80c487e0b6fca4af)
---
src/config.h | 3 ++-
src/malloc.c | 14 +++++++++-----

@ -1,34 +1,26 @@
From dd4841701064e7649c0fe70db1d7f322a08215d2 Mon Sep 17 00:00:00 2001
From: Jon Maloy <jmaloy@redhat.com>
Date: Thu, 3 Aug 2023 20:07:38 -0400
From 2be730cc469be472bc3e3967690a83f1327e9fc1 Mon Sep 17 00:00:00 2001
From: Gerd Hoffmann <kraxel@redhat.com>
Date: Mon, 25 Apr 2022 09:20:02 +0200
Subject: [PATCH 1/2] malloc: use variable for ZoneHigh size
RH-Author: Jon Maloy <jmaloy@redhat.com>
RH-MergeRequest: 10: malloc: use variable for ZoneHigh size
RH-Bugzilla: 2228485
RH-Acked-by: Paolo Bonzini <pbonzini@redhat.com>
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>
RH-Commit: [1/2] 7508668d9288ac3a2ed73802fc100c969c2e3784 (jmaloy/jmaloy-src-seabios)
RH-Author: Paolo Bonzini <pbonzini@redhat.com>
RH-MergeRequest: 9: malloc: use large ZoneHigh when there is enough memory
RH-Bugzilla: 2227373
RH-Acked-by: Thomas Huth <thuth@redhat.com>
RH-Acked-by: Oliver Steffen <osteffen@redhat.com>
RH-Acked-by: Laszlo Ersek <lersek@redhat.com>
RH-Acked-by: Jon Maloy <jmaloy@redhat.com>
RH-Commit: [1/2] 9e60f2104cc297ed4e78b92c5e5e11e11395bfc3
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2228485
Upstream: Merged
Use the variable highram_size instead of the BUILD_MAX_HIGHTABLE #define
for the ZoneHigh size. Initialize the new variable with the old #define,
so behavior does not change.
commit 3b91e8e9fe93d5ff7edf17f984c401f9e6ba55fe
Author: Gerd Hoffmann <kraxel@redhat.com>
Date: Mon Apr 25 09:20:02 2022 +0200
This allows to easily adjust the ZoneHigh size at runtime in a followup
patch.
malloc: use variable for ZoneHigh size
Use the variable highram_size instead of the BUILD_MAX_HIGHTABLE #define
for the ZoneHigh size. Initialize the new variable with the old #define,
so behavior does not change.
This allows to easily adjust the ZoneHigh size at runtime in a followup
patch.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Jon Maloy <jmaloy@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
(cherry picked from commit 3b91e8e9fe93d5ff7edf17f984c401f9e6ba55fe)
---
src/malloc.c | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)

@ -30,9 +30,9 @@ Patch6: seabios-pci-refactor-the-pci_config_-functions.patch
Patch7: seabios-reset-force-standard-PCI-configuration-access.patch
# For bz#2101787 - [rhel.8.7] Loading a kernel/initrd is sometimes very slow
Patch8: seabios-virtio-blk-use-larger-default-request-size.patch
# For bz#2228485 - "No bootable device" with OS boot disk interface VirtIO-SCSI and with more than 9 VirtIO disks. [rhel-8.8.0.z]
# For bz#2227373 - "No bootable device" with OS boot disk interface VirtIO-SCSI and with more than 9 VirtIO disks.
Patch9: seabios-malloc-use-variable-for-ZoneHigh-size.patch
# For bz#2228485 - "No bootable device" with OS boot disk interface VirtIO-SCSI and with more than 9 VirtIO disks. [rhel-8.8.0.z]
# For bz#2227373 - "No bootable device" with OS boot disk interface VirtIO-SCSI and with more than 9 VirtIO disks.
Patch10: seabios-malloc-use-large-ZoneHigh-when-there-is-enough-memor.patch
BuildRequires: python3 iasl
@ -155,11 +155,11 @@ install -m 0644 binaries/vgabios*.bin $RPM_BUILD_ROOT%{_datadir}/seavgabios
* Tue Dec 12 2023 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 1.16.0-4.el8_8
- Rebuilt for MSVSphere 8.8
* Tue Aug 08 2023 Jon Maloy <jmaloy@redhat.com> - 1.16.0-4.el8_8
- seabios-malloc-use-variable-for-ZoneHigh-size.patch [bz#2228485]
- seabios-malloc-use-large-ZoneHigh-when-there-is-enough-memor.patch [bz#2228485]
- Resolves: bz#2228485
("No bootable device" with OS boot disk interface VirtIO-SCSI and with more than 9 VirtIO disks. [rhel-8.8.0.z])
* Thu Aug 03 2023 Jon Maloy <jmaloy@redhat.com> - 1.16.0-4
- seabios-malloc-use-variable-for-ZoneHigh-size.patch [bz#2227373]
- seabios-malloc-use-large-ZoneHigh-when-there-is-enough-memor.patch [bz#2227373]
- Resolves: bz#2227373
("No bootable device" with OS boot disk interface VirtIO-SCSI and with more than 9 VirtIO disks.)
* Wed Jul 27 2022 Miroslav Rezanina <mrezanin@redhat.com> - 1.16.0-3
- seabios-virtio-blk-use-larger-default-request-size.patch [bz#2101787]

Loading…
Cancel
Save