mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-02 23:36:43 +07:00
iwlagn: disply queue read/write pointer when stuck
When driver detect queue stuck, display current read/write pointer before perform frimware reload. Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
7a10e3e407
commit
05f8a09fae
@ -1497,6 +1497,8 @@ static int iwl_trans_pcie_check_stuck_queue(struct iwl_trans *trans, int cnt)
|
|||||||
if (time_after(jiffies, timeout)) {
|
if (time_after(jiffies, timeout)) {
|
||||||
IWL_ERR(trans, "Queue %d stuck for %u ms.\n", q->id,
|
IWL_ERR(trans, "Queue %d stuck for %u ms.\n", q->id,
|
||||||
hw_params(trans).wd_timeout);
|
hw_params(trans).wd_timeout);
|
||||||
|
IWL_ERR(trans, "Current read_ptr %d write_ptr %d\n",
|
||||||
|
q->read_ptr, q->write_ptr);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user