From 9af429562a3a925a6d5d2b5cd383346989cbd0d8 Mon Sep 17 00:00:00 2001 From: Saravana Kannan Date: Thu, 25 Feb 2021 16:59:05 -0800 Subject: [PATCH] ANDROID: driver core: Set fw_devlink.strict=true by default fw_devlink.strict makes sure all the iommus and dmas probe before their consumers. Without this, some consumers could probe before the iommus/dmas and function without iommu/dma capability. For Android, if an iommu/dma is listed as a supplier for a device tree node, we assume the driver for the iommu/dma exists and will be loaded. Bug: 181264536 Signed-off-by: Saravana Kannan Change-Id: I36e69269eb16fbedb8f7efc48e8b0b20c66a765f --- drivers/base/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/base/core.c b/drivers/base/core.c index 1578ae656dd2..313a7ef22716 100644 --- a/drivers/base/core.c +++ b/drivers/base/core.c @@ -1521,7 +1521,7 @@ static int __init fw_devlink_setup(char *arg) } early_param("fw_devlink", fw_devlink_setup); -static bool fw_devlink_strict; +static bool fw_devlink_strict = true; static int __init fw_devlink_strict_setup(char *arg) { return strtobool(arg, &fw_devlink_strict);