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

Bart Van Assche bvanassche at acm.org
Thu Nov 2 12:16:15 PDT 2023


On 11/1/23 22:24, naomi.chu at mediatek.com wrote:
> 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.

Reviewed-by: Bart Van Assche <bvanassche at acm.org>



More information about the linux-arm-kernel mailing list