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
Signed-off-by: Naman Padhiar <npadhiar@codeaurora.org>
This commit is contained in:
Naman Padhiar 2021-05-03 13:28:31 +05:30 • committed by Gerrit - the friendly Code Review server
commit ed992c7a17

View file

@ -3700,6 +3700,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);
}