Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions drivers/soc/qcom/icnss.c
Original file line number Diff line number Diff line change
Expand Up @@ -3576,6 +3576,17 @@ static int icnss_smmu_init(struct icnss_priv *priv)
goto attach_fail;
}

// COMMA: to turn off the wlan crash reboot on smmu fault
ret = iommu_domain_set_attr(mapping->domain,
DOMAIN_ATTR_NON_FATAL_FAULTS,
&fast);
if (ret < 0) {
icnss_pr_err("Set non fatal faults attribute failed, err = %d\n",
ret);
goto set_attr_fail;
}
icnss_pr_dbg("SMMU NON FATAL FAULTS map set\n");

priv->smmu_mapping = mapping;

return ret;
Expand Down
2 changes: 1 addition & 1 deletion drivers/staging/qcacld-3.0/core/hdd/inc/wlan_hdd_cfg.h
Original file line number Diff line number Diff line change
Expand Up @@ -6037,7 +6037,7 @@ enum hdd_link_speed_rpt_type {
#define CFG_ENABLE_CRASH_INJECT "gEnableForceTargetAssert"
#define CFG_ENABLE_CRASH_INJECT_MIN (0)
#define CFG_ENABLE_CRASH_INJECT_MAX (1)
#define CFG_ENABLE_CRASH_INJECT_DEFAULT (0)
#define CFG_ENABLE_CRASH_INJECT_DEFAULT (1)

#ifdef FEATURE_WLAN_FORCE_SAP_SCC
/*
Expand Down