Skip to content
Commit 82736b06 authored by Oded Gabbay's avatar Oded Gabbay
Browse files

habanalabs: MMU invalidation h/w is per device



The code used the mmu mutex to protect access to the context's page
tables and invalidation of the MMU cache. Because pgt are per
context, the mmu mutex was a member of the context object.

The problem is that the device has a single MMU invalidation h/w
(per MMU). Therefore, the mmu mutex should not be a property of the
context but a property of the device.

Signed-off-by: default avatarOded Gabbay <ogabbay@kernel.org>
parent 6f0818c9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment