Search Linux Wireless

Re: [PATCH 1/4] ath10k: provide firmware crash info via debugfs.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/05/2014 11:55 PM, Kalle Valo wrote:
> greearb@xxxxxxxxxxxxxxx writes:
> 
>> From: Ben Greear <greearb@xxxxxxxxxxxxxxx>
>>
>> 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@xxxxxxxxxxxxxxx>
> 
> [...]
> 
>> +	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@xxxxxxxxxxxxxxx>
Candela Technologies Inc  http://www.candelatech.com

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux