Skip to content

Commit 19aa21b

Browse files
ofirbittogabbay
authored andcommitted
accel/habanalabs: unsecure TSB_CFG_MTRR regs
In order to utilize Engine Barrier padding, user must have access to this register set. Signed-off-by: Ofir Bitton <obitton@habana.ai> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
1 parent ff5c702 commit 19aa21b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

drivers/accel/habanalabs/gaudi2/gaudi2_security.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1534,6 +1534,10 @@ static const u32 gaudi2_pb_dcr0_tpc0_unsecured_regs[] = {
15341534
mmDCORE0_TPC0_CFG_QM_KERNEL_CONFIG,
15351535
mmDCORE0_TPC0_CFG_QM_KERNEL_ID,
15361536
mmDCORE0_TPC0_CFG_QM_POWER_LOOP,
1537+
mmDCORE0_TPC0_CFG_TSB_CFG_MTRR_2_0,
1538+
mmDCORE0_TPC0_CFG_TSB_CFG_MTRR_2_1,
1539+
mmDCORE0_TPC0_CFG_TSB_CFG_MTRR_2_2,
1540+
mmDCORE0_TPC0_CFG_TSB_CFG_MTRR_2_3,
15371541
mmDCORE0_TPC0_CFG_LUT_FUNC32_BASE2_ADDR_LO,
15381542
mmDCORE0_TPC0_CFG_LUT_FUNC32_BASE2_ADDR_HI,
15391543
mmDCORE0_TPC0_CFG_LUT_FUNC64_BASE2_ADDR_LO,

0 commit comments

Comments
 (0)