From 917e1b6b5b2669a30bce69061686adbb6abc5e35 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Thu, 23 Mar 2017 14:59:15 +0000 Subject: [PATCH 138/159] Add check for aarch64 to the arm kernel module list This adds the same list of drivers we use for arm platforms for aarch64 too, also add the DMA drivers there too as they can add sigficant performance for some storage/usb and often need to be present when the storage drivers load. Signed-off-by: Peter Robinson --- modules.d/90kernel-modules/module-setup.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules.d/90kernel-modules/module-setup.sh b/modules.d/90kernel-modules/module-setup.sh index deb3709c..b1bced69 100755 --- a/modules.d/90kernel-modules/module-setup.sh +++ b/modules.d/90kernel-modules/module-setup.sh @@ -23,10 +23,11 @@ installkernel() { virtio virtio_blk virtio_ring virtio_pci virtio_scsi \ "=drivers/pcmcia" =ide nvme - if [[ "$(uname -p)" == arm* ]]; then - # arm specific modules + if [[ "$(uname -m)" == arm* || "$(uname -m)" == aarch64 ]]; then + # arm/aarch64 specific modules instmods \ "=drivers/clk" \ + "=drivers/dma" \ "=drivers/i2c/busses" \ "=drivers/phy" \ "=drivers/power" \ -- 2.12.2