mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-24 05:08:49 +07:00
habanalabs: Allow access to TPC LFSR register
Allow user access to TPC LFSR register, as it might be accessed by TPC kernels. Signed-off-by: Tomer Tayar <ttayar@habana.ai> Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
This commit is contained in:
parent
25e7aeba60
commit
eef544f746
@ -683,7 +683,6 @@ static void goya_init_tpc_protection_bits(struct hl_device *hdev)
|
||||
mask = 1 << ((mmTPC0_CFG_SEMAPHORE & 0x7F) >> 2);
|
||||
mask |= 1 << ((mmTPC0_CFG_VFLAGS & 0x7F) >> 2);
|
||||
mask |= 1 << ((mmTPC0_CFG_SFLAGS & 0x7F) >> 2);
|
||||
mask |= 1 << ((mmTPC0_CFG_LFSR_POLYNOM & 0x7F) >> 2);
|
||||
mask |= 1 << ((mmTPC0_CFG_STATUS & 0x7F) >> 2);
|
||||
|
||||
WREG32(pb_addr + word_offset, ~mask);
|
||||
|
Loading…
Reference in New Issue
Block a user