public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/seabios] f44: map nvme + nics below 4g
@ 2026-11-24 12:06 Gerd Hoffmann
0 siblings, 0 replies; only message in thread
From: Gerd Hoffmann @ 2026-11-24 12:06 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/seabios
Branch : f44
Commit : de85e7e60c35d89ccdc63fc850ffc66d383c4d60
Author : Gerd Hoffmann <kraxel@redhat.com>
Date : 2026-11-24T13:06:36+01:00
Stats : +61/-0 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/seabios/c/de85e7e60c35d89ccdc63fc850ffc66d383c4d60?branch=f44
Log:
map nvme + nics below 4g
---
diff --git a/0001-pci-map-ethernet-nics-below-4G.patch b/0001-pci-map-ethernet-nics-below-4G.patch
new file mode 100644
index 0000000..44c7ce1
--- /dev/null
+++ b/0001-pci-map-ethernet-nics-below-4G.patch
@@ -0,0 +1,30 @@
+From 145e447d4adf06fe9e70e4f8f1d30920e456fa6b Mon Sep 17 00:00:00 2001
+From: Gerd Hoffmann <kraxel@redhat.com>
+Date: Mon, 23 Nov 2026 16:08:25 +0100
+Subject: [PATCH] pci: map ethernet nics below 4G.
+
+ipxe is unhappy if it can not access nic pci bars.
+
+https://github.com/ipxe/ipxe/commit/fe070bf2de1a854329e1546cd4479c64f4ab428e
+
+Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
+---
+ src/fw/pciinit.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/src/fw/pciinit.c b/src/fw/pciinit.c
+index 5903fa26e7fc..e7d10440d877 100644
+--- a/src/fw/pciinit.c
++++ b/src/fw/pciinit.c
+@@ -766,6 +766,8 @@ static void pci_region_migrate_64bit_entries(struct pci_region *from,
+ continue;
+ if (entry->dev->class == PCI_CLASS_STORAGE_NVME)
+ continue;
++ if (entry->dev->class == PCI_CLASS_NETWORK_ETHERNET)
++ continue;
+ // Move from source list to destination list.
+ hlist_del(&entry->node);
+ hlist_add(&entry->node, last);
+--
+2.56.1
+
diff --git a/0001-pciinit-ignore-nvme-for-64-bit-mmio-window.patch b/0001-pciinit-ignore-nvme-for-64-bit-mmio-window.patch
new file mode 100644
index 0000000..adc6ab5
--- /dev/null
+++ b/0001-pciinit-ignore-nvme-for-64-bit-mmio-window.patch
@@ -0,0 +1,29 @@
+From 7b1f7fb09125e62532ef3ad2bbacd4c60e962320 Mon Sep 17 00:00:00 2001
+From: Gerd Hoffmann <kraxel@redhat.com>
+Date: Mon, 15 Jul 2024 10:53:23 +0200
+Subject: [PATCH] pciinit: ignore nvme for 64-bit mmio window
+
+Add nvme drives to the list of devices which are not
+moved to the 64-bit mmio window.
+
+Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
+---
+ src/fw/pciinit.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/src/fw/pciinit.c b/src/fw/pciinit.c
+index be76c447cf19..5903fa26e7fc 100644
+--- a/src/fw/pciinit.c
++++ b/src/fw/pciinit.c
+@@ -764,6 +764,8 @@ static void pci_region_migrate_64bit_entries(struct pci_region *from,
+ continue;
+ if (entry->dev->class == PCI_CLASS_SERIAL_USB)
+ continue;
++ if (entry->dev->class == PCI_CLASS_STORAGE_NVME)
++ continue;
+ // Move from source list to destination list.
+ hlist_del(&entry->node);
+ hlist_add(&entry->node, last);
+--
+2.56.1
+
diff --git a/seabios.spec b/seabios.spec
index b2223a2..46c06c2 100644
--- a/seabios.spec
+++ b/seabios.spec
@@ -14,6 +14,8 @@ Source0: http://code.coreboot.org/p/seabios/downloads/get/%{name}-%{versi
Patch0001: 0001-Workaround-for-a-win8.1-32-S4-resume-bug.patch
Patch0003: 0003-vgabios-Reorder-video-modes-to-work-around-a-Windows.patch
+Patch0004: 0001-pciinit-ignore-nvme-for-64-bit-mmio-window.patch
+Patch0005: 0001-pci-map-ethernet-nics-below-4G.patch
Patch0009: 0001-update-release-date.patch
Source10: config.vga-cirrus
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-24 12:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-24 12:06 [rpms/seabios] f44: map nvme + nics below 4g Gerd Hoffmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox