projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff5c702
)
accel/habanalabs: unsecure TSB_CFG_MTRR regs
author
Ofir Bitton
<obitton@habana.ai>
Mon, 22 May 2023 05:52:46 +0000
(08:52 +0300)
committer
Oded Gabbay
<ogabbay@kernel.org>
Thu, 8 Jun 2023 09:35:56 +0000
(12:35 +0300)
In order to utilize Engine Barrier padding, user must have access to
this register set.
Signed-off-by: Ofir Bitton <obitton@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/accel/habanalabs/gaudi2/gaudi2_security.c
patch
|
blob
|
history
diff --git
a/drivers/accel/habanalabs/gaudi2/gaudi2_security.c
b/drivers/accel/habanalabs/gaudi2/gaudi2_security.c
index fadb870ff4c031f125f23a90ef640b8952e4df7e..2742b1f801eb2a599bd08741b64267bb5d9a756d 100644
(file)
--- a/
drivers/accel/habanalabs/gaudi2/gaudi2_security.c
+++ b/
drivers/accel/habanalabs/gaudi2/gaudi2_security.c
@@
-1534,6
+1534,10
@@
static const u32 gaudi2_pb_dcr0_tpc0_unsecured_regs[] = {
mmDCORE0_TPC0_CFG_QM_KERNEL_CONFIG,
mmDCORE0_TPC0_CFG_QM_KERNEL_ID,
mmDCORE0_TPC0_CFG_QM_POWER_LOOP,
+ mmDCORE0_TPC0_CFG_TSB_CFG_MTRR_2_0,
+ mmDCORE0_TPC0_CFG_TSB_CFG_MTRR_2_1,
+ mmDCORE0_TPC0_CFG_TSB_CFG_MTRR_2_2,
+ mmDCORE0_TPC0_CFG_TSB_CFG_MTRR_2_3,
mmDCORE0_TPC0_CFG_LUT_FUNC32_BASE2_ADDR_LO,
mmDCORE0_TPC0_CFG_LUT_FUNC32_BASE2_ADDR_HI,
mmDCORE0_TPC0_CFG_LUT_FUNC64_BASE2_ADDR_LO,