commit | cc5b4c4c75c43184c1d8684299efef2a68b87720 | [log] [tgz] |
---|---|---|
author | Koby Elbaz <kelbaz@habana.ai> | Mon Jul 19 08:28:34 2021 +0300 |
committer | Oded Gabbay <ogabbay@kernel.org> | Wed Sep 01 18:38:24 2021 +0300 |
tree | e46ea6694db253908efc02001d6ca9304e420fe7 | |
parent | b9317d513098d0da45ea96deff19058d1d37ae4d [diff] |
habanalabs: clear msg_to_cpu_reg to avoid misread after reset For some ASICs, the f/w reads the msg_to_cpu_reg value after reset, and for some it doesn't. Therefore, to be sure f/w doesn't read a wrong value after reset, we need to clear this register before the reset occurs. Signed-off-by: Koby Elbaz <kelbaz@habana.ai> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Oded Gabbay <ogabbay@kernel.org>