Bao D. Nguyen <quic_nguyenb@xxxxxxxxxxx> 於 2023年4月18日 週二 上午5:12寫道: > > This patch series enable support for ufshcd_abort() and error handler in MCQ mode. > The first 3 patches are for supporting ufshcd_abort(). > The 4th and 5th patches are for supporting error handler. > > Bao D. Nguyen (5): > ufs: mcq: Add supporting functions for mcq abort > ufs: mcq: Add support for clean up mcq resources > ufs: mcq: Added ufshcd_mcq_abort() > ufs: mcq: Use ufshcd_mcq_poll_cqe_lock() in mcq mode > ufs: core: Add error handling for MCQ mode > --- > v1->v2: > patch #1: Addressed Powen's comment. Replaced read_poll_timeout() > with ufshcd_mcq_poll_register(). The function read_poll_timeout() > may sleep while the caller is holding a spin_lock(). Poll the registers > in a tight loop instead. > --- > > drivers/ufs/core/ufs-mcq.c | 258 ++++++++++++++++++++++++++++++++++++++++- > drivers/ufs/core/ufshcd-priv.h | 15 ++- > drivers/ufs/core/ufshcd.c | 140 ++++++++++++++++++---- > drivers/ufs/host/ufs-qcom.c | 2 +- > include/ufs/ufshcd.h | 2 +- > include/ufs/ufshci.h | 17 +++ > 6 files changed, 404 insertions(+), 30 deletions(-) > > -- > 2.7.4 > This series looks good to me. Reviewed-by: Stanley Chu <stanley.chu@xxxxxxxxxxxx>