diff options
author | Ofir Bitton <obitton@habana.ai> | 2023-06-28 14:40:46 +0300 |
---|---|---|
committer | Oded Gabbay <ogabbay@kernel.org> | 2023-10-09 12:37:19 +0300 |
commit | 1e3a78270b4ec1c8c177eb310c08128d52137a69 (patch) | |
tree | 4f97beff0b3e3fa7ad88d352c68412ca40a66315 /drivers/accel | |
parent | 5a8487ac54019cd597334292f36be4248a97e816 (diff) | |
download | linux-1e3a78270b4ec1c8c177eb310c08128d52137a69.tar.gz linux-1e3a78270b4ec1c8c177eb310c08128d52137a69.tar.bz2 linux-1e3a78270b4ec1c8c177eb310c08128d52137a69.zip |
accel/habanalabs/gaudi2: unsecure tpc count registers
As TPC kernels now must use those registers we unsecure them.
Signed-off-by: Ofir Bitton <obitton@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'drivers/accel')
-rw-r--r-- | drivers/accel/habanalabs/gaudi2/gaudi2_security.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/accel/habanalabs/gaudi2/gaudi2_security.c b/drivers/accel/habanalabs/gaudi2/gaudi2_security.c index d08267e59303..34bf80c5a44b 100644 --- a/drivers/accel/habanalabs/gaudi2/gaudi2_security.c +++ b/drivers/accel/habanalabs/gaudi2/gaudi2_security.c @@ -1601,6 +1601,7 @@ static const u32 gaudi2_pb_dcr0_tpc0_unsecured_regs[] = { mmDCORE0_TPC0_CFG_KERNEL_SRF_30, mmDCORE0_TPC0_CFG_KERNEL_SRF_31, mmDCORE0_TPC0_CFG_TPC_SB_L0CD, + mmDCORE0_TPC0_CFG_TPC_COUNT, mmDCORE0_TPC0_CFG_TPC_ID, mmDCORE0_TPC0_CFG_QM_KERNEL_ID_INC, mmDCORE0_TPC0_CFG_QM_TID_BASE_SIZE_HIGH_DIM_0, |