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

Kalle Valo kvalo at qca.qualcomm.com
Thu Jun 5 23:55:37 PDT 2014


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?

-- 
Kalle Valo



More information about the ath10k mailing list