icnss2: Send ICNSS_SMMU_FAULT uevent to host driver

On detection of SMMU fault, platform driver send
SMMU_FAULT and FW_DOWN event to Host driver.

Change-Id: I623522231b5ee7ab0b03b8c1b25993395b7f3a2d
This commit is contained in:
Naman Padhiar
2023-01-11 23:46:22 +05:30
committed by Madan Koyyalamudi
parent a1b93f1d72
commit b0d6e583c7

View File

@@ -4050,6 +4050,8 @@ static int icnss_smmu_fault_handler(struct iommu_domain *domain,
if (test_bit(ICNSS_FW_READY, &priv->state)) {
fw_down_data.crashed = true;
icnss_call_driver_uevent(priv, ICNSS_UEVENT_SMMU_FAULT,
&fw_down_data);
icnss_call_driver_uevent(priv, ICNSS_UEVENT_FW_DOWN,
&fw_down_data);
}