|
|
ff27f8 |
From f38de6b6ad07edf5c534ae7a38b3fa48f5ef6153 Mon Sep 17 00:00:00 2001
|
|
|
cd723a |
From: Jeremy Linton <jeremy.linton@arm.com>
|
|
|
cd723a |
Date: Fri, 6 Oct 2023 10:33:22 -0500
|
|
|
ff27f8 |
Subject: [PATCH 06/10] feat(kernel-modules): add Qualcomm IPC router to enable
|
|
|
ff27f8 |
USB
|
|
|
cd723a |
|
|
|
cd723a |
The x13s, and possibly other Qualcomm based devices need the QC
|
|
|
cd723a |
IPC router driver in order to enable USB. Without it, its not
|
|
|
cd723a |
possible to boot from USB-C attached disks.
|
|
|
cd723a |
|
|
|
cd723a |
IPC in this case is Inter _Processor_ Communication and forms
|
|
|
cd723a |
the message bus used to communicate between differing processing
|
|
|
cd723a |
elements in a given system/SoC running and managing various
|
|
|
cd723a |
hardware devices. This means that while it appears this driver
|
|
|
cd723a |
should be in the dracut network modules that is incorrect
|
|
|
cd723a |
because its not for enabling host networking in the initrd,
|
|
|
cd723a |
but rather for communicating with other hardware blocks.
|
|
|
cd723a |
|
|
|
cd723a |
Those other blocks aren't limited to modems, but any SMD (shared
|
|
|
cd723a |
memory device), which on QC based machines includes the audio DSPs,
|
|
|
cd723a |
RPM (resource power manager) and of course the application
|
|
|
cd723a |
processor cores linux is running on.
|
|
|
cd723a |
|
|
|
cd723a |
References:
|
|
|
cd723a |
https://osmocom.org/projects/quectel-modems/wiki/Qualcomm_Linux_SMD
|
|
|
cd723a |
https://android.googlesource.com/kernel/msm/+/android-7.1.0_r0.2/Documentation/arm/msm/msm_ipc_router.txt
|
|
|
cd723a |
https://github.com/dracutdevs/dracut/pull/2531
|
|
|
cd723a |
|
|
|
cd723a |
Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
|
|
|
ff27f8 |
|
|
|
ff27f8 |
(Cherry-picked commit a8015f7dfc682100434e3ee051bf9472a8e6cad4 from PR#2531)
|
|
|
cd723a |
---
|
|
|
cd723a |
modules.d/90kernel-modules/module-setup.sh | 3 ++-
|
|
|
cd723a |
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
cd723a |
|
|
|
cd723a |
diff --git a/modules.d/90kernel-modules/module-setup.sh b/modules.d/90kernel-modules/module-setup.sh
|
|
|
ff27f8 |
index e2175125..75afecc8 100755
|
|
|
cd723a |
--- a/modules.d/90kernel-modules/module-setup.sh
|
|
|
cd723a |
+++ b/modules.d/90kernel-modules/module-setup.sh
|
|
|
cd723a |
@@ -95,7 +95,8 @@ installkernel() {
|
|
|
cd723a |
"=drivers/usb/misc" \
|
|
|
cd723a |
"=drivers/usb/musb" \
|
|
|
cd723a |
"=drivers/usb/phy" \
|
|
|
cd723a |
- "=drivers/scsi/hisi_sas"
|
|
|
cd723a |
+ "=drivers/scsi/hisi_sas" \
|
|
|
cd723a |
+ "=net/qrtr"
|
|
|
cd723a |
fi
|
|
|
cd723a |
|
|
|
cd723a |
awk -F: '/^\// {print $1}' "$srcmods/modules.dep" 2> /dev/null | instmods
|
|
|
ff27f8 |
--
|
|
|
ff27f8 |
2.42.0
|
|
|
ff27f8 |
|