Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

habanalabs/gaudi2: unsecure tpc kernel_config registers

This is required in order to allow the kernel to control relevant
configuration space via load and store instructions.

Signed-off-by: Ofir Bitton <obitton@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>

authored by

Ofir Bitton and committed by
Oded Gabbay
ce582bea 44155bb6

+1
+1
drivers/accel/habanalabs/gaudi2/gaudi2_security.c
··· 1561 1561 mmDCORE0_TPC0_CFG_LUT_FUNC128_BASE_ADDR_HI, 1562 1562 mmDCORE0_TPC0_CFG_LUT_FUNC256_BASE_ADDR_LO, 1563 1563 mmDCORE0_TPC0_CFG_LUT_FUNC256_BASE_ADDR_HI, 1564 + mmDCORE0_TPC0_CFG_KERNEL_KERNEL_CONFIG, 1564 1565 mmDCORE0_TPC0_CFG_KERNEL_SRF_0, 1565 1566 mmDCORE0_TPC0_CFG_KERNEL_SRF_1, 1566 1567 mmDCORE0_TPC0_CFG_KERNEL_SRF_2,