summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRitesh Harjani <riteshh@codeaurora.org>2015-10-07 16:42:47 +0530
committerSubhash Jadavani <subhashj@codeaurora.org>2016-05-31 15:28:05 -0700
commitb90443c63bacb73da137a13811500816a07194ae (patch)
tree3a3754b4e88f5364bbe2f51d824e80d7abd52082 /tools/perf/scripts/python
parentbbd570a9b13e15b7b16034157b67f464f88f9546 (diff)
mmc: block: Error handling fixes and support of reset_all
This does following: 1. Adds support to handle multiple cmdq software requests timeout. Currently we schedule error handling work for the first timedout request. We requeue all pending tasks, knock off all tasks from device queue and reset card and controller as part of this, then for all other software requests timeout, if it comes while executing error work, we return BLK_EH_NOT_HANDLED. This fixes BUG_ON in case of multiple requests timesout together. 2. Current code resets CQE, power cycle the card and requeue all the requests in case of any error. 3. mmc_blk_cmdq_err work takes care freeing up all resource allocation like clk and rpm hold, in case of reset_all. 4. Currently we were never clearing error CMDQ_STATE_ERR in case of any error. This patch takes care of this bug. Change-Id: I83d483c11fe2d7f2e462086cc3c0932057304c0d Signed-off-by: Ritesh Harjani <riteshh@codeaurora.org> [subhashj@codeaurora.org: fixed compilation error] Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions