|
|
712866 |
From 436052a84b84183a3b44b19d7a9db02d391bf26a Mon Sep 17 00:00:00 2001
|
|
|
712866 |
From: Peter Robinson <pbrobinson@gmail.com>
|
|
|
712866 |
Date: Thu, 23 Mar 2017 14:59:15 +0000
|
|
|
712866 |
Subject: [PATCH] Add check for aarch64 to the arm kernel module list
|
|
|
712866 |
|
|
|
712866 |
This adds the same list of drivers we use for arm platforms for
|
|
|
712866 |
aarch64 too, also add the DMA drivers there too as they can add
|
|
|
712866 |
sigficant performance for some storage/usb and often need to be
|
|
|
712866 |
present when the storage drivers load.
|
|
|
712866 |
|
|
|
712866 |
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
|
|
|
712866 |
|
|
|
712866 |
Cherry-picked from: 917e1b6b5b2669a30bce69061686adbb6abc5e35
|
|
|
712866 |
Resolves: #1459277
|
|
|
712866 |
---
|
|
|
712866 |
modules.d/90kernel-modules/module-setup.sh | 5 +++--
|
|
|
712866 |
1 file changed, 3 insertions(+), 2 deletions(-)
|
|
|
712866 |
|
|
|
712866 |
diff --git a/modules.d/90kernel-modules/module-setup.sh b/modules.d/90kernel-modules/module-setup.sh
|
|
|
5c6c2a |
index 0a414eaf..c4bf5af5 100755
|
|
|
712866 |
--- a/modules.d/90kernel-modules/module-setup.sh
|
|
|
712866 |
+++ b/modules.d/90kernel-modules/module-setup.sh
|
|
|
712866 |
@@ -52,13 +52,14 @@ installkernel() {
|
|
|
712866 |
"=drivers/input/serio" \
|
|
|
712866 |
"=drivers/input/keyboard"
|
|
|
712866 |
|
|
|
712866 |
- if [[ "$(uname -p)" == arm* ]]; then
|
|
|
712866 |
- # arm specific modules
|
|
|
712866 |
+ if [[ "$(uname -m)" == arm* || "$(uname -m)" == aarch64 ]]; then
|
|
|
712866 |
+ # arm/aarch64 specific modules
|
|
|
712866 |
hostonly='' instmods \
|
|
|
712866 |
connector-hdmi connector-dvi encoder-tfp410 \
|
|
|
712866 |
encoder-tpd12s015 i2c-tegra gpio-regulator \
|
|
|
712866 |
as3722-regulator orion-ehci ehci-tegra
|
|
|
712866 |
instmods \
|
|
|
712866 |
+ "=drivers/dma" \
|
|
|
712866 |
"=drivers/i2c/busses" \
|
|
|
712866 |
"=drivers/regulator" \
|
|
|
712866 |
"=drivers/rtc" \
|