From: Kalle Valo <kvalo@qca.qualcomm.com>
To: Michal Kazior <michal.kazior@tieto.com>
Cc: linux-wireless@vger.kernel.org, ath10k@lists.infradead.org
Subject: Re: [PATCH 2/3] ath10k: expose hw restart via debugfs
Date: Mon, 13 Oct 2014 11:07:14 +0300 [thread overview]
Message-ID: <87bnpg9yvh.fsf@kamboji.qca.qualcomm.com> (raw)
In-Reply-To: <1412847527-25983-3-git-send-email-michal.kazior@tieto.com> (Michal Kazior's message of "Thu, 9 Oct 2014 11:38:46 +0200")
Michal Kazior <michal.kazior@tieto.com> writes:
> Until now it was possible to simulate soft and
> hard fw crashes but it wasn't possible to trigger
> an immediately hw restart itself (without the fw
> crash).
>
> This can be useful when stress testing hw
> restarting stability, e.g. during heavy tx/rx
> traffic.
>
> Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Nice idea!
> --- a/drivers/net/wireless/ath/ath10k/debug.c
> +++ b/drivers/net/wireless/ath/ath10k/debug.c
> @@ -694,7 +694,8 @@ static ssize_t ath10k_read_simulate_fw_crash(struct file *file,
> "To simulate firmware crash write one of the keywords to this file:\n"
> "`soft` - this will send WMI_FORCE_FW_HANG_ASSERT to firmware if FW supports that command.\n"
> "`hard` - this will send to firmware command with illegal parameters causing firmware crash.\n"
> - "`assert` - this will send special illegal parameter to firmware to cause assert failure and crash.\n";
> + "`assert` - this will send special illegal parameter to firmware to cause assert failure and crash.\n"
> + "`request` - this will simply queue hw restart without fw/hw actually crashing.\n";
"request" is not really very descriptive command. Maybe call it
"hw-restart" because that's what it really does, right?
--
Kalle Valo
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
next prev parent reply other threads:[~2014-10-13 8:07 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-09 9:38 [PATCH 0/3] ath10k: speed up recovery Michal Kazior
2014-10-09 9:38 ` [PATCH 1/3] ath10k: fix possible bmi crash Michal Kazior
2014-10-09 9:38 ` [PATCH 2/3] ath10k: expose hw restart via debugfs Michal Kazior
2014-10-13 8:07 ` Kalle Valo [this message]
2014-10-13 8:45 ` Michal Kazior
2014-10-09 9:38 ` [PATCH 3/3] ath10k: speed up hw recovery Michal Kazior
2014-10-10 6:56 ` Michal Kazior
2014-10-13 8:15 ` Kalle Valo
2014-10-13 8:29 ` Michal Kazior
2014-10-13 8:44 ` Kalle Valo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87bnpg9yvh.fsf@kamboji.qca.qualcomm.com \
--to=kvalo@qca.qualcomm.com \
--cc=ath10k@lists.infradead.org \
--cc=linux-wireless@vger.kernel.org \
--cc=michal.kazior@tieto.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox