[PATCH] ath10k: add target IRAM recovery feature support
Kalle Valo
kvalo at codeaurora.org
Mon Nov 23 13:07:36 EST 2020
Venkateswara Naralasetty <vnaralas at codeaurora.org> wrote:
> This target IRAM recovery feature support is to copy target
> IRAM contents available at ATH10K_MEM_REGION_TYPE_REG to host
> memory for back up after firmware loaded. Target IRAM contents
> are copied to wmi memory chunks allocated for the
> WMI_IRAM_RECOVERY_HOST_MEM_REQ_ID and provide the wmi chunks
> address to the firmware through wmi init command.
>
> If firmware detects andy IRAM corruption through periodic
> checksum validation, It will download the IRAM contents back
> from the provided wmi memory chunks address using hif_memcpy.
>
> This IRAM recovery feature prevent target assert in case of
> unexpected target IRAM corruptions.
>
> This patch also introduce a new feature flag 'iram-recovery' for
> backward compatibility.
>
> Tested-on: QCA9888 10.4-3.9.0.2-00094
>
> Signed-off-by: Venkateswara Naralasetty <vnaralas at codeaurora.org>
> Signed-off-by: Kalle Valo <kvalo at codeaurora.org>
Patch applied to ath-next branch of ath.git, thanks.
9af7c32ceca8 ath10k: add target IRAM recovery feature support
--
https://patchwork.kernel.org/project/linux-wireless/patch/1604657442-23674-1-git-send-email-vnaralas@codeaurora.org/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
More information about the ath10k
mailing list