Skip to contentSkip to conversation

driver core: Enable fw_devlink=rpm by default

PATCH New Saravana Kannan 1 participant 1 message Nov 13, 2023 Driver core

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 driver core: Enable fw_devlink=rpm by default

fw_devlink=on has stabilized and is working correctly. Let's start using device links created by fw_devlink to also enforce runtime PM ordering.

---
 drivers/base/core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/base/core.c +1 -1
index 67ba592afc77..9dee7d6282ae 100644
@@ -1641,7 +1641,7 @@ static void device_links_purge(struct device *dev)
 #define FW_DEVLINK_FLAGS_RPM		(FW_DEVLINK_FLAGS_ON | \
 					 DL_FLAG_PM_RUNTIME)
 
-static u32 fw_devlink_flags = FW_DEVLINK_FLAGS_ON;
+static u32 fw_devlink_flags = FW_DEVLINK_FLAGS_RPM;
 static int __init fw_devlink_setup(char *arg)
 {
 	if (!arg)
Signature · 1 line
2.42.0.869.gea05f2083d-goog