[PATCH v3 1/1] ufs: core: Expand MCQ queue slot to DeviceQueueDepth + 1

Martin K. Petersen martin.petersen at oracle.com
Wed Nov 8 18:35:53 PST 2023


> The UFSHCI 4.0 specification mandates that there should always be at
> least one empty slot in each queue for distinguishing between full and
> empty states. Enlarge the `hwq->max_entries` to `DeviceQueueDepth +1`
> to allow UFSHCI 4.0 controllers to fully utilize MCQ queue slots.

Applied to 6.7/scsi-staging, thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering



More information about the Linux-mediatek mailing list