linux/drivers/misc/habanalabs/common
Oded Gabbay 82736b063f 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: Oded Gabbay <ogabbay@kernel.org>
2022-09-19 15:08:39 +03:00
..
mmu habanalabs: MMU invalidation h/w is per device 2022-09-19 15:08:39 +03:00
pci habanalabs: remove obsolete device variables used for testing 2022-07-12 09:09:27 +03:00
asid.c habanalabs: Use the bitmap API to allocate bitmaps 2022-07-12 09:09:30 +03:00
command_buffer.c habanalabs: MMU invalidation h/w is per device 2022-09-19 15:08:39 +03:00
command_submission.c habanalabs: perform context switch flow only if needed 2022-09-18 13:29:53 +03:00
context.c habanalabs: add gaudi2 asic-specific code 2022-07-12 09:09:27 +03:00
debugfs.c habanalabs: fix H/W block handling for partial unmappings 2022-09-18 13:29:51 +03:00
decoder.c habanalabs: add gaudi2 asic-specific code 2022-07-12 09:09:27 +03:00
device.c habanalabs: fix resetting the DRAM BAR 2022-09-19 15:08:38 +03:00
firmware_if.c habanalabs: add support for new cpucp return codes 2022-09-19 15:08:38 +03:00
habanalabs_drv.c habanalabs: send device activity in a proper context 2022-09-19 15:08:37 +03:00
habanalabs_ioctl.c habanalabs: expose device security status using info ioctl 2022-09-18 13:29:52 +03:00
habanalabs.h habanalabs: MMU invalidation h/w is per device 2022-09-19 15:08:39 +03:00
hw_queue.c habanalabs: add gaudi2 wait-for-CS support 2022-07-12 09:09:28 +03:00
hwmon.c habanalabs: unify hwmon resources clean up 2022-09-18 13:29:51 +03:00
irq.c habanalabs: rename soft reset to compute reset 2022-07-12 09:09:31 +03:00
Makefile habanalabs: add generic security module 2022-07-12 09:09:27 +03:00
memory_mgr.c habanalabs: fix spelling mistakes 2022-09-18 13:29:50 +03:00
memory.c habanalabs: MMU invalidation h/w is per device 2022-09-19 15:08:39 +03:00
security.c habanalabs: add gaudi2 wait-for-CS support 2022-07-12 09:09:28 +03:00
state_dump.c habanalabs: state dump monitors and fences infrastructure 2021-08-29 09:47:46 +03:00
sysfs.c habanalabs: expose device security status through sysfs 2022-09-18 13:29:52 +03:00