OSDN Git Service

habanalabs: set Goya CPU to use ASIC MMU
authorOded Gabbay <oded.gabbay@gmail.com>
Wed, 29 May 2019 14:52:04 +0000 (17:52 +0300)
committerOded Gabbay <oded.gabbay@gmail.com>
Wed, 29 May 2019 14:52:04 +0000 (17:52 +0300)
commitf09415f507c478a0916647b3af62720c8fab0d53
treeeb0275abc716b78c10c8387767d2f0ad79f0dd68
parent95b5a8b83e06ccc44feff2c0cfb1881468596e7c
habanalabs: set Goya CPU to use ASIC MMU

This patch configures the Goya CPU to actually go through the MMU for
translation. The configuration is done after the configuration of the
relevant MMU mappings.

Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
drivers/misc/habanalabs/goya/goya.c