Re: [PATCH V2] ath10k: don't fail if IRAM write fails

From: Kalle Valo
Date: Wed Oct 20 2021 - 03:54:40 EST


ojab <ojab@xxxxxxx> wrote:

> After reboot with kernel & firmware updates I found `failed to copy
> target iram contents:` in dmesg and missing wlan interfaces for both
> of my QCA9984 compex cards. Rolling back kernel/firmware didn't fixed
> it, so while I have no idea what's actually happening, I don't see why
> we should fail in this case, looks like some optional firmware ability
> that could be skipped.
>
> Also with additional logging there is
> ```
> [ 6.839858] ath10k_pci 0000:04:00.0: No hardware memory
> [ 6.841205] ath10k_pci 0000:04:00.0: failed to copy target iram contents: -12
> [ 6.873578] ath10k_pci 0000:07:00.0: No hardware memory
> [ 6.875052] ath10k_pci 0000:07:00.0: failed to copy target iram contents: -12
> ```
> so exact branch could be seen.
>
> Signed-off-by: Slava Kardakov <ojab@xxxxxxx>
> Tested-by: Axel Rasmussen <axelrasmussen@xxxxxxxxxx>

I'm planning to take this patch instead:

https://patchwork.kernel.org/project/linux-wireless/patch/20211020075054.23061-1-kvalo@xxxxxxxxxxxxxx/

Patch set to Superseded.

--
https://patchwork.kernel.org/project/linux-wireless/patch/20210722193459.7474-1-ojab@xxxxxxx/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches