Skip to content

Commit

Permalink
fix(90kernel-modules): add (nonstandard) NVMe drivers
Browse files Browse the repository at this point in the history
The M1/etc hardware has an quirky NVMe disk controller that needs
a dedicated NVMe driver. Rather than picking up just that
bit of hardware pick up drivers that register NVMe controllers.

This also picks up NVMe-OF style drivers, but seems like a better
long term solution on Arm platforms which tend to have a lot
of odd hardware.

Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
  • Loading branch information
jlinton authored and LaszloGombos committed Nov 4, 2022
1 parent 1ec4790 commit 415e551
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules.d/90kernel-modules/module-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ installkernel() {

if [[ ${DRACUT_ARCH:-$(uname -m)} == arm* || ${DRACUT_ARCH:-$(uname -m)} == aarch64 || ${DRACUT_ARCH:-$(uname -m)} == riscv* ]]; then
# arm/aarch64 specific modules
_blockfuncs+='|dw_mc_probe|dw_mci_pltfm_register'
_blockfuncs+='|dw_mc_probe|dw_mci_pltfm_register|nvme_init_ctrl'
instmods \
"=drivers/clk" \
"=drivers/devfreq" \
Expand Down

0 comments on commit 415e551

Please sign in to comment.