linux_dsm_epyc7002/drivers/misc/habanalabs
Omer Shpigelman 1b98d8b23f habanalabs: optimize MMU unmap
Reduce context close time by skipping hash table lookup if possible in
order to avoid hard reset with open contexts.
Reset with open contexts can potentially lead to a kernel crash as the
generic pool of the MMU hops is destroyed while it is not empty because
some unmap operations are not done.
This commit affect mainly when running on simulator.

Signed-off-by: Omer Shpigelman <oshpigelman@habana.ai>
Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
2019-11-21 11:35:46 +02:00
..
goya habanalabs: prevent read/write from/to the device during hard reset 2019-11-21 11:35:46 +02:00
include habanalabs: split MMU properties to PCI/DRAM 2019-11-21 11:35:46 +02:00
asid.c habanalabs: stop using the acronym KMD 2019-09-05 14:55:27 +03:00
command_buffer.c habanalabs: stop using the acronym KMD 2019-09-05 14:55:27 +03:00
command_submission.c habanalabs: don't print error when queues are full 2019-11-21 11:35:45 +02:00
context.c habanalabs: stop using the acronym KMD 2019-09-05 14:55:27 +03:00
debugfs.c habanalabs: split MMU properties to PCI/DRAM 2019-11-21 11:35:46 +02:00
device.c habanalabs: remove set but not used variable 'ctx' 2019-11-21 11:35:44 +02:00
firmware_if.c habanalabs: fix host memory polling in BE architecture 2019-07-29 11:40:25 +03:00
habanalabs_drv.c habanalabs: create two char devices per ASIC 2019-09-05 14:55:26 +03:00
habanalabs_ioctl.c habanalabs: expose card name in INFO IOCTL 2019-11-21 11:35:45 +02:00
habanalabs.h habanalabs: split MMU properties to PCI/DRAM 2019-11-21 11:35:46 +02:00
hw_queue.c habanalabs: Add a new H/W queue type 2019-11-21 11:35:45 +02:00
hwmon.c habanalabs: display card name as sensors header 2019-09-05 14:55:27 +03:00
irq.c habanalabs: replace __le32_to_cpu with le32_to_cpu 2019-09-05 14:55:27 +03:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
memory.c habanalabs: split MMU properties to PCI/DRAM 2019-11-21 11:35:46 +02:00
mmu.c habanalabs: optimize MMU unmap 2019-11-21 11:35:46 +02:00
pci.c habanalabs: increase PCI ELBI timeout for Palladium 2019-05-13 14:44:50 +03:00
sysfs.c habanalabs: replace __cpu_to_le32/64 with cpu_to_le32/64 2019-09-05 14:55:27 +03:00