Set protection bits for some tpc registers that should to be
secured.
Signed-off-by: Dalit Ben Zoor
---
drivers/misc/habanalabs/goya/goya_security.c | 16
1 file changed, 16 insertions(+)
diff --git a/drivers/misc/habanalabs/goya/goya_security.c
b/drivers/misc/habanalabs/goya
unsecured registers can be changed by the user, and hence should be
restored to their default values in context switch
Signed-off-by: Dalit Ben Zoor
---
drivers/misc/habanalabs/goya/goya.c | 19 ---
1 file changed, 16 insertions(+), 3 deletions(-)
diff --git a/drivers/misc
On context switch we need to ensure that each user is not be affected by
other user, so we need to clear sync objects and monitors in context
switch instead of in restore_phase_topology function.
Signed-off-by: Dalit Ben Zoor
---
drivers/misc/habanalabs/goya/goya.c | 7 +++
1 file changed
3 matches
Mail list logo