RE: [PATCH 1/2] habanalabs: block scalar load_and_exe on external queue

2020-06-06 Thread Tomer Tayar
On Sat, Jun 6, 2020 at 0:29, Oded Gabbay wrote: > In Gaudi, the user can't execute scalar load_and_exe on external queue > because it can be a security hole. The driver doesn't parse the commands > being loaded and it can be msg_prot, which the user isn't allowed to use. > > Signed-off-by: Oded G

[PATCH 1/2] habanalabs: block scalar load_and_exe on external queue

2020-06-05 Thread Oded Gabbay
In Gaudi, the user can't execute scalar load_and_exe on external queue because it can be a security hole. The driver doesn't parse the commands being loaded and it can be msg_prot, which the user isn't allowed to use. Signed-off-by: Oded Gabbay --- drivers/misc/habanalabs/gaudi/gaudi.c |