[PATCH v3 0/4] Improve SVM migrate event report

James Zhu jamesz at amd.com
Tue Aug 27 20:55:58 UTC 2024


Reviewed-by:JamesZhu<James.Zhu at amd.com>fortheseries.

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(-)
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20240827/0300c039/attachment.htm>


More information about the amd-gfx mailing list