Re: [PATCH V10 07/10] accel/amdxdna: Add command execution

2024-11-18 Thread Lizhi Hou
Sure. I will fix these two and post v11 patch set. Lizhi On 11/17/24 12:03, Jeffrey Hugo wrote: On 11/12/2024 12:47 PM, Lizhi Hou wrote: @@ -88,6 +91,8 @@ struct amdxdna_client {   struct list_head    node;   pid_t    pid;   struct mutex    hwctx_lock; /* p

Re: [PATCH V10 07/10] accel/amdxdna: Add command execution

2024-11-17 Thread Jeffrey Hugo
On 11/12/2024 12:47 PM, Lizhi Hou wrote: @@ -88,6 +91,8 @@ struct amdxdna_client { struct list_headnode; pid_t pid; struct mutexhwctx_lock; /* protect hwctx */ + /* do NOT wait this srcu when hwctx_lock is

[PATCH V10 07/10] accel/amdxdna: Add command execution

2024-11-12 Thread Lizhi Hou
Add interfaces for user application to submit command and wait for its completion. Co-developed-by: Min Ma Signed-off-by: Min Ma Signed-off-by: Lizhi Hou --- drivers/accel/amdxdna/aie2_ctx.c | 607 +- drivers/accel/amdxdna/aie2_message.c | 343 ++