linux/drivers/misc/habanalabs/common
Yuri Nudelman 6ccba9a3bc habanalabs: partly skip cache flush when in PMMU map flow
The PCI MMU cache is two layered. The upper layer, memcache, uses cache
lines, the bottom layer doesn't.

Hence, after PMMU map operation we have to invalidate memcache, to avoid
the situation where the new entry is already in the cache due to its
cache line being fully in the cache.

However, we do not have to invalidate the lower cache, and here we can
optimize, since cache invalidation is time consuming.

Signed-off-by: Yuri Nudelman <ynudelman@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
2021-12-26 08:59:04 +02:00
..
mmu habanalabs: make last_mask an MMU property 2021-12-26 08:59:04 +02:00
pci habanalabs: set dma max segment size 2021-08-29 09:47:47 +03:00
asid.c habanalabs: replace WARN/WARN_ON with dev_crit in driver 2021-01-27 21:03:49 +02:00
command_buffer.c habanalabs: partly skip cache flush when in PMMU map flow 2021-12-26 08:59:04 +02:00
command_submission.c habanalabs: refactor fence handling in hl_cs_poll_fences 2021-10-18 12:05:48 +03:00
context.c habanalabs: context cleanup cosmetics 2021-10-18 12:05:48 +03:00
debugfs.c habanalabs: print va_range in vm node debugfs 2021-12-26 08:59:03 +02:00
device.c habanalabs: bypass reset for continuous h/w error event 2021-10-18 12:05:47 +03:00
firmware_if.c habanalabs: revise and document use of boot status flags 2021-12-26 08:59:03 +02:00
habanalabs_drv.c habanalabs: initialize hpriv fields before adding new node 2021-10-18 12:05:47 +03:00
habanalabs_ioctl.c habanalabs: expose server type in INFO IOCTL 2021-09-01 18:38:24 +03:00
habanalabs.h habanalabs: partly skip cache flush when in PMMU map flow 2021-12-26 08:59:04 +02:00
hw_queue.c habanalabs: fix wait offset handling 2021-09-14 15:00:04 +03:00
hwmgr.c habanalabs: Unify frequency set/get functionality 2021-10-18 12:05:47 +03:00
hwmon.c habanalabs: enable power info via HWMON framework 2021-10-18 12:05:46 +03:00
irq.c habanalabs: simplify wait for interrupt with timestamp flow 2021-10-18 12:05:47 +03:00
Makefile habanalabs: Unify frequency set/get functionality 2021-10-18 12:05:47 +03:00
memory.c habanalabs: partly skip cache flush when in PMMU map flow 2021-12-26 08:59:04 +02:00
state_dump.c habanalabs: state dump monitors and fences infrastructure 2021-08-29 09:47:46 +03:00
sysfs.c habanalabs: define soft-reset as inference op 2021-10-18 12:05:46 +03:00