diff options
Diffstat (limited to 'include/linux/mmc/host.h')
-rw-r--r-- | include/linux/mmc/host.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h index 149b71810477..9ad76f2590fe 100644 --- a/include/linux/mmc/host.h +++ b/include/linux/mmc/host.h @@ -286,6 +286,7 @@ struct mmc_slot { * @wait waiting for all conditions described in * mmc_cmdq_ready_wait to be satisified before * issuing the new request to LLD. + * @err_rwsem synchronizes issue/completion/error-handler ctx */ struct mmc_cmdq_context_info { unsigned long active_reqs; /* in-flight requests */ @@ -299,6 +300,7 @@ struct mmc_cmdq_context_info { wait_queue_head_t queue_empty_wq; wait_queue_head_t wait; int active_small_sector_read_reqs; + struct rw_semaphore err_rwsem; }; /** @@ -582,6 +584,8 @@ struct mmc_host { bool err_occurred; u32 err_stats[MMC_ERR_MAX]; + ktime_t last_failed_rq_time; + ktime_t last_completed_rq_time; struct mmc_async_req *areq; /* active async req */ struct mmc_context_info context_info; /* async synchronization info */ |