From 50be7685337151cce44ac6f2402951c40aff6de8 Mon Sep 17 00:00:00 2001 From: Brian Masney Date: Jun 08 2023 19:00:02 +0000 Subject: backport fix to add the interconnect drivers This is needed in order to boot Fedora on the Lenovo Thinkpad x13s laptop (aarch64). This is also needed in order to boot Fedora on other Qualcomm-based SoCs. Signed-off-by: Brian Masney --- diff --git a/2377-fix-kernel-modules-add-interconnect-drivers.patch b/2377-fix-kernel-modules-add-interconnect-drivers.patch new file mode 100644 index 0000000..12a55ae --- /dev/null +++ b/2377-fix-kernel-modules-add-interconnect-drivers.patch @@ -0,0 +1,29 @@ +From afb5717e67727d49fae0d2a1a4169e5b247387f4 Mon Sep 17 00:00:00 2001 +From: Andrew Halaney +Date: Mon, 5 Jun 2023 12:16:24 -0500 +Subject: [PATCH] fix(kernel-modules): add interconnect drivers +Content-type: text/plain + +Many devicetree based systems require interconnect drivers to function +properly. Include those in the initramfs. + +Signed-off-by: Andrew Halaney +--- + modules.d/90kernel-modules/module-setup.sh | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/modules.d/90kernel-modules/module-setup.sh b/modules.d/90kernel-modules/module-setup.sh +index 5b6df776a947..e2175125946e 100755 +--- a/modules.d/90kernel-modules/module-setup.sh ++++ b/modules.d/90kernel-modules/module-setup.sh +@@ -71,6 +71,7 @@ installkernel() { + "=drivers/gpio" \ + "=drivers/hwmon" \ + "=drivers/hwspinlock" \ ++ "=drivers/interconnect" \ + "=drivers/i2c/busses" \ + "=drivers/mailbox" \ + "=drivers/memory" \ +-- +2.40.1 + diff --git a/dracut.spec b/dracut.spec index 0b3afe0..7ed9600 100644 --- a/dracut.spec +++ b/dracut.spec @@ -7,7 +7,7 @@ %global __requires_exclude pkg-config # rpmdev-bumpspec and releng automation compatible variable -%global baserelease 7 +%global baserelease 8 Name: dracut Version: 059 @@ -62,6 +62,10 @@ Patch7: 2224-network-include-default-mac-none-link.patch # https://github.com/dracutdevs/dracut/pull/2290 Patch8: 2290-remove-dependency-on-multipathd-socket.patch +# fix(kernel-modules): add interconnect drivers +# https://github.com/dracutdevs/dracut/pull/2377 +Patch9: 2377-fix-kernel-modules-add-interconnect-drivers.patch + BuildRequires: bash BuildRequires: git-core BuildRequires: pkgconfig(libkmod) >= 23 @@ -468,6 +472,9 @@ echo 'dracut_rescue_image="yes"' > $RPM_BUILD_ROOT%{dracutlibdir}/dracut.conf.d/ %{_prefix}/lib/kernel/install.d/51-dracut-rescue.install %changelog +* Thu Jun 08 2023 Brian Masney - 059-8 +- Backport fix to add the interconnect drivers + * Thu Apr 27 2023 Lukáš Zaoral - 059-7 - migrate to SPDX license format