Reviewed-by: James Zhu <James.Zhu@xxxxxxx> for the series.
On 2024-08-27 13:10, Philip Yang wrote:
1. Document how to use SMI system management interface to receive SVM events, define string format macro for user mode. 2. Increase the event kfifo size, so less chance to drop event. 3. Output migrate end event with error code if migration failed. 4. Report dropped event count if fifo is full. v3: Simplify event drop count handling (James Zhu) Philip Yang (4): drm/amdkfd: Document and define SVM events message macro drm/amdkfd: Output migrate end event if migrate failed drm/amdkfd: Increase SMI event fifo size drm/amdkfd: SMI report dropped event count drivers/gpu/drm/amd/amdkfd/kfd_migrate.c | 14 ++- drivers/gpu/drm/amd/amdkfd/kfd_smi_events.c | 79 +++++++++------ drivers/gpu/drm/amd/amdkfd/kfd_smi_events.h | 3 +- include/uapi/linux/kfd_ioctl.h | 107 +++++++++++++++++--- 4 files changed, 150 insertions(+), 53 deletions(-)