Re: [PATCH V1 1/7] accel/amdxdna: Add device status for aie2 devices

2024-12-04 Thread Lizhi Hou
On 12/4/24 14:26, Mario Limonciello wrote: On 12/4/2024 15:37, Lizhi Hou wrote: Add device status to track if aie2_hw_start() or aie2_hw_stop() is re-entered. In aie2_hw_stop(), call drmm_kfree to free mbox. Signed-off-by: Lizhi Hou ---   drivers/accel/amdxdna/aie2_pci.c    | 17

Re: [PATCH V1 1/7] accel/amdxdna: Add device status for aie2 devices

2024-12-04 Thread Mario Limonciello
On 12/4/2024 15:37, Lizhi Hou wrote: Add device status to track if aie2_hw_start() or aie2_hw_stop() is re-entered. In aie2_hw_stop(), call drmm_kfree to free mbox. Signed-off-by: Lizhi Hou --- drivers/accel/amdxdna/aie2_pci.c| 17 + drivers/accel/amdxdna/aie2_pci.h

[PATCH V1 1/7] accel/amdxdna: Add device status for aie2 devices

2024-12-04 Thread Lizhi Hou
Add device status to track if aie2_hw_start() or aie2_hw_stop() is re-entered. In aie2_hw_stop(), call drmm_kfree to free mbox. Signed-off-by: Lizhi Hou --- drivers/accel/amdxdna/aie2_pci.c| 17 + drivers/accel/amdxdna/aie2_pci.h| 7 +++ drivers/accel/amdxdna