commit | 5b6b780660ad9e3ce60a1f04cfa1f4d5013e267a | [log] [tgz] |
---|---|---|
author | Ohad Sharabi <osharabi@habana.ai> | Tue Feb 02 13:33:34 2021 +0200 |
committer | Oded Gabbay <ogabbay@kernel.org> | Mon Feb 08 18:20:08 2021 +0200 |
tree | 1370b97dc92ff3e6ce970b4e3e08b41a57727c42 | |
parent | 28bcf1fdc408cd2f7393ae5dcd71c756e1163cdb [diff] |
habanalabs: update security map after init CPU Qs when reading CPU_BOOT_DEV_STS0 reg after FW reports SRAM AVAILABLE the value in the register might not yet be updated by FW. to overcome this issue another "up-to-date" read of this register is done at the end of CPU queues init. Signed-off-by: Ohad Sharabi <osharabi@habana.ai> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Oded Gabbay <ogabbay@kernel.org>