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 <ttayar@habana.ai> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
This commit is contained in:
parent
89b213657c
commit
83d93e2bed
|
@ -2685,7 +2685,7 @@ static void gaudi_init_golden_registers(struct hl_device *hdev)
|
|||
tpc_id < TPC_NUMBER_OF_ENGINES;
|
||||
tpc_id++, tpc_offset += TPC_CFG_OFFSET) {
|
||||
/* Mask all arithmetic interrupts from TPC */
|
||||
WREG32(mmTPC0_CFG_TPC_INTR_MASK + tpc_offset, 0x8FFF);
|
||||
WREG32(mmTPC0_CFG_TPC_INTR_MASK + tpc_offset, 0x8FFE);
|
||||
/* Set 16 cache lines */
|
||||
WREG32_FIELD(TPC0_CFG_MSS_CONFIG, tpc_offset,
|
||||
ICACHE_FETCH_LINE_NUM, 2);
|
||||
|
|
Loading…
Reference in New Issue