summaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorYuri Nudelman <ynudelman@habana.ai>2021-10-25 10:37:25 +0200
committerOded Gabbay <ogabbay@kernel.org>2021-12-26 07:59:04 +0100
commit6ccba9a3bca95a24fd936e3c3542cf2ff2941b0f (patch)
treec840e14b287d6308b81d09fc179237a5617dfd7b /drivers/pci
parenthabanalabs: add enum mmu_op_flags (diff)
downloadlinux-6ccba9a3bca95a24fd936e3c3542cf2ff2941b0f.tar.xz
linux-6ccba9a3bca95a24fd936e3c3542cf2ff2941b0f.zip
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>
Diffstat (limited to 'drivers/pci')
0 files changed, 0 insertions, 0 deletions