v1 -> v2: remove an unused variable in __ufshcd_send_uic_cmd There are two issues on UIC command handling related to auto hibern8. https://lore.kernel.org/linux-scsi/1684208012-114324-1-git-send-email-kwmad.kim@xxxxxxxxxxx/ https://lore.kernel.org/linux-scsi/1684209152-115304-1-git-send-email-kwmad.kim@xxxxxxxxxxx/ Now I combine the two things into this thread. And one thing added to make part of submitting a UIC command apart from the critical section w/ host_lock. Kiwoong Kim (3): ufs: make __ufshcd_send_uic_cmd not wrapped by host_lock ufs: poll HCS.UCRDY before issuing a UIC command ufs: poll pmc until another pa request is completed drivers/ufs/core/ufshcd.c | 110 ++++++++++++++++++++++++++++++++-------------- 1 file changed, 77 insertions(+), 33 deletions(-) -- 2.7.4