Skip to contentSkip to conversation

scsi: ufs: add soft dependency on governor_simpleondemand

PATCH Applied Adrien Thierry 2 participants 2 messages Feb 20, 2023 – Mar 7, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 scsi: ufs: add soft dependency on governor_simpleondemand

The ufshcd driver uses simpleondemand governor for devfreq. Add it to the list of ufshcd softdeps to allow userspace initramfs tools like dracut to automatically pull the governor module into the initramfs together with ufs drivers.

---
 drivers/ufs/core/ufshcd.c | 1 +
 1 file changed, 1 insertion(+)
drivers/ufs/core/ufshcd.c +1 -0
index 3a1c4d31e010..4b969127f6ae 100644
@@ -10079,4 +10079,5 @@ module_exit(ufshcd_core_exit);
 MODULE_AUTHOR("Santosh Yaragnavi <[email protected]>");
 MODULE_AUTHOR("Vinayak Holikatti <[email protected]>");
 MODULE_DESCRIPTION("Generic UFS host controller driver Core");
+MODULE_SOFTDEP("pre: governor_simpleondemand");
 MODULE_LICENSE("GPL");
Signature · 1 line
2.39.1
#1 lore raw
Quoted 6 lines · Adrien Thierry

The ufshcd driver uses simpleondemand governor for devfreq. Add it to the list of ufshcd softdeps to allow userspace initramfs tools like dracut to automatically pull the governor module into the initramfs together with ufs drivers.

Applied to 6.3/scsi-fixes, thanks!

[1/1] scsi: ufs: add soft dependency on governor_simpleondemand

      https://git.kernel.org/mkp/scsi/c/2ebe16155dc8
Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering