> > + do { > > + val = ufshcd_readl(hba, REG_CONTROLLER_STATUS) & > > + UIC_COMMAND_READY; > > + if (val) > > + break; > > + usleep_range(500, 1000); > Hi Kiwoong, > It looks like you are sleeping while holding the spin_lock_irqsave(hba- > >host->host_lock, flags) in ufshcd_send_uic_cmd()? You're right. Let me fix it.