summaryrefslogtreecommitdiffstats
path: root/usr/Makefile
diff options
context:
space:
mode:
authorOmer Shpigelman <oshpigelman@habana.ai>2019-11-14 18:23:58 +0000
committerOded Gabbay <oded.gabbay@gmail.com>2019-11-21 11:35:46 +0200
commitbea84c4d67e5efd1078ef234ef1304a4d1788008 (patch)
treea0aa2cb73293acd11d809a049e9e5a487887f3bc /usr/Makefile
parent71c5e55e7c077fa17c42fbda91a8d14322825c44 (diff)
downloadlinux-bea84c4d67e5efd1078ef234ef1304a4d1788008.tar.gz
linux-bea84c4d67e5efd1078ef234ef1304a4d1788008.tar.bz2
linux-bea84c4d67e5efd1078ef234ef1304a4d1788008.zip
habanalabs: invalidate MMU cache only once
Reduce context close time by performing MMU cache invalidation once at the end of the unmap loop rather in each iteration, 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. The 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>
Diffstat (limited to 'usr/Makefile')
0 files changed, 0 insertions, 0 deletions