[PATCH v2 4/6] ath10k: make warm reset a bit safer and faster

Michal Kazior michal.kazior at tieto.com
Thu Oct 23 01:27:57 PDT 2014


On 20 October 2014 14:14, Michal Kazior <michal.kazior at tieto.com> wrote:
> One of the problems with warm reset I've found is
> that it must be guaranteed that copy engine
> registers are not being accessed while being
> reset. Otherwise in worst case scenario the host
> may lock up.
>
> Instead of using sleeps and hoping the device is
> operational in some arbitrary timeframes use
> firmware indication register.
>
> As a side effect this makes driver
> boot/stop/recovery faster.
>
> Signed-off-by: Michal Kazior <michal.kazior at tieto.com>
> ---
>
> Notes:
>     v2:
>      * fix kernel panic on early fw crash due to CE not being fully initialized [Janusz]

Marek reported he sees a memory leak and git bisect blames this patch.
Please don't apply this patch yet.


Michał



More information about the ath10k mailing list