Kalle Valo <kvalo@xxxxxxxxxxxxxxxx> writes: > From: Ben Greear <greearb@xxxxxxxxxxxxxxx> > > kvalo: split into it's own patch, add debugfs file and add locking > > Signed-off-by: Ben Greear <greearb@xxxxxxxxxxxxxxx> > Signed-off-by: Kalle Valo <kvalo@xxxxxxxxxxxxxxxx> Oh, I forgot to add a commit log. I'm planning to add something like this: ---------------------------------------------------------------------- Add three counters related to firmware crashes or resets. Usage: # cat /sys/kernel/debug/ieee80211/phy0/ath10k/fw_reset_stats fw_crash_counter 2 fw_warm_reset_counter 43 fw_cold_reset_counter 0 # ---------------------------------------------------------------------- Also I forgot to add the cover letter, here's the changelog for both patches: v2: * remove unneeded ifdef from debug.c * rebase on top of Michal's "ath10k: fix fw stats processing", dropping patch "ath10k: add helper method to grab debug stats" because it was not needed anymore * remove ifdef from ath10k_ops with "#define foo NULL" hack * hold mutex when reading pdev_stats in ath10k_debug_get_et_stats() * move fw reset stats to struct ath10k::stats and add locking * add fw_reset_stats debugfs file -- Kalle Valo -- 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