[PATCH 1/4] ath10k: provide firmware crash info via debugfs.
Ben Greear
greearb at candelatech.com
Fri Jun 6 09:01:27 PDT 2014
On 06/05/2014 11:55 PM, Kalle Valo wrote:
> greearb at candelatech.com writes:
>
>> From: Ben Greear <greearb at candelatech.com>
>>
>> Store the firmware crash registers and last 128 or so
>> firmware debug-log ids and present them to user-space
>> via debugfs.
>>
>> Should help with figuring out why the firmware crashed.
>>
>> Signed-off-by: Ben Greear <greearb at candelatech.com>
>
> [...]
>
>> + dump_data->kernel_ver_code = LINUX_VERSION_CODE;
>> + strncpy(dump_data->kernel_ver, VERMAGIC_STRING,
>> + sizeof(dump_data->kernel_ver) - 1);
>
> Other thing nice to have here is the kernel timestamp in the kernel log
> "[123456.4321]". How difficult would it be to add that to the dump?
It's easy to get the time-of-day, if that is what you mean.
I'll add that...
Thanks,
Ben
--
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc http://www.candelatech.com
More information about the ath10k
mailing list