[PATCH v2] ath10k: support firmware crash-by-assert

Kalle Valo kvalo at qca.qualcomm.com
Thu Sep 11 13:40:26 PDT 2014


Ben Greear <greearb at candelatech.com> writes:

> On 09/10/2014 08:59 AM, Kalle Valo wrote:
>> From: Ben Greear <greearb at candelatech.com>
>>
>> 10.1 firmware does not have an official way to
>> cause assert on purpose, but it can be done with
>> carefully crafted WMI command.  This is a different
>> kind of crash from the 'hard' crash, which is
>> a bad memory dereference.
>>
>> Different crashes decode in different manners, so
>> this will help the crash-report testing as well as
>> offer better ways to test firmware failure and
>> recovery.
>>
>> kvalo: move the wmi command creation to debug.c, modify
>> the info print
>
> This looks fine to me.  I have not tested this version.

I did test it and seems to work as it should.

-- 
Kalle Valo



More information about the ath10k mailing list