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 <bmasney@redhat.com>
This commit is contained in:
Brian Masney 2023-06-08 10:14:40 -04:00
parent c403756579
commit 50be768533
2 changed files with 37 additions and 1 deletions

View File

@ -0,0 +1,29 @@
From afb5717e67727d49fae0d2a1a4169e5b247387f4 Mon Sep 17 00:00:00 2001
From: Andrew Halaney <ahalaney@redhat.com>
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 <ahalaney@redhat.com>
---
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

View File

@ -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 <bmasney@redhat.com> - 059-8
- Backport fix to add the interconnect drivers
* Thu Apr 27 2023 Lukáš Zaoral <lzaoral@redhat.com> - 059-7
- migrate to SPDX license format