Skip to content

Commit 83d93e2

Browse files
Tomer Tayarogabbay
authored andcommitted
habanalabs/gaudi: unmask out of bounds SLM access interrupt
The out of bounds SLM access TPC interrupt indicates a severe compiler bug and needs to be informed to user. This interrupt is currently masked so unmask it. Signed-off-by: Tomer Tayar <[email protected]> Reviewed-by: Oded Gabbay <[email protected]> Signed-off-by: Oded Gabbay <[email protected]>
1 parent 89b2136 commit 83d93e2

File tree

1 file changed

+1
-1
lines changed
  • drivers/misc/habanalabs/gaudi

1 file changed

+1
-1
lines changed

drivers/misc/habanalabs/gaudi/gaudi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2685,7 +2685,7 @@ static void gaudi_init_golden_registers(struct hl_device *hdev)
26852685
tpc_id < TPC_NUMBER_OF_ENGINES;
26862686
tpc_id++, tpc_offset += TPC_CFG_OFFSET) {
26872687
/* Mask all arithmetic interrupts from TPC */
2688-
WREG32(mmTPC0_CFG_TPC_INTR_MASK + tpc_offset, 0x8FFF);
2688+
WREG32(mmTPC0_CFG_TPC_INTR_MASK + tpc_offset, 0x8FFE);
26892689
/* Set 16 cache lines */
26902690
WREG32_FIELD(TPC0_CFG_MSS_CONFIG, tpc_offset,
26912691
ICACHE_FETCH_LINE_NUM, 2);

0 commit comments

Comments
 (0)