linux/drivers/misc/habanalabs
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
..
common habanalabs: partly skip cache flush when in PMMU map flow 2021-12-26 08:59:04 +02:00
gaudi habanalabs: add enum mmu_op_flags 2021-12-26 08:59:04 +02:00
goya habanalabs: add enum mmu_op_flags 2021-12-26 08:59:04 +02:00
include habanalabs: update firmware files 2021-10-18 12:05:47 +03:00
Kconfig habanalabs: select CRC32 2021-10-18 12:05:47 +03:00
Makefile habanalabs: create common folder 2020-07-24 20:31:37 +03:00