[PATCH 1/6] accel/ivpu: Add missing locks around mmu queues

Jeffrey Hugo quic_jhugo at quicinc.com
Fri Feb 14 16:41:27 UTC 2025


On 2/4/2025 1:46 AM, Jacek Lawrynowicz wrote:
> From: Andrzej Kacprowski <Andrzej.Kacprowski at intel.com>
> 
> Multiple threads were accessing mmu cmd queue simultaneously
> causing sporadic failures in ivpu_mmu_cmdq_sync() function.
> Protect critical code with mmu mutex.

Describe a scenario in which this can occur? The two functions this 
patch modify cannot run concurrently from what I can tell.

-Jeff


More information about the dri-devel mailing list