From: Ofir Bitton <[email protected]>

User needs to be able to perform downcast / upcast of fp8_143 dtype.
Hence bias register needs to be accessed by the user.

Signed-off-by: Ofir Bitton <[email protected]>
Reviewed-by: Oded Gabbay <[email protected]>
Signed-off-by: Oded Gabbay <[email protected]>
---
 drivers/accel/habanalabs/gaudi2/gaudi2_security.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/accel/habanalabs/gaudi2/gaudi2_security.c 
b/drivers/accel/habanalabs/gaudi2/gaudi2_security.c
index 52a12c2bb58e..fadb870ff4c0 100644
--- a/drivers/accel/habanalabs/gaudi2/gaudi2_security.c
+++ b/drivers/accel/habanalabs/gaudi2/gaudi2_security.c
@@ -1542,6 +1542,7 @@ static const u32 gaudi2_pb_dcr0_tpc0_unsecured_regs[] = {
        mmDCORE0_TPC0_CFG_LUT_FUNC128_BASE2_ADDR_HI,
        mmDCORE0_TPC0_CFG_LUT_FUNC256_BASE2_ADDR_LO,
        mmDCORE0_TPC0_CFG_LUT_FUNC256_BASE2_ADDR_HI,
+       mmDCORE0_TPC0_CFG_FP8_143_BIAS,
        mmDCORE0_TPC0_CFG_ROUND_CSR,
        mmDCORE0_TPC0_CFG_CONV_ROUND_CSR,
        mmDCORE0_TPC0_CFG_SEMAPHORE,
-- 
2.40.0

Reply via email to