[bug report] drm/amdkfd: CRIU checkpoint and restore queue mqds

2022-02-17 Thread Dan Carpenter
Hello David Yat Sin, The patch 42c6c48214b7: "drm/amdkfd: CRIU checkpoint and restore queue mqds" from Jan 25, 2021, leads to the following Smatch static checker warning: drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_mqd_manager_v9.c:344 restore_mqd() error: 'ctl_stack_size' from user

Re: [PATCH] drm/amdgpu: check vm bo eviction valuable at last

2022-02-17 Thread Christian König
Am 18.02.22 um 04:08 schrieb Qiang Yu: On Thu, Feb 17, 2022 at 8:22 PM Christian König wrote: Am 17.02.22 um 11:58 schrieb Qiang Yu: On Thu, Feb 17, 2022 at 6:39 PM Christian König wrote: Am 17.02.22 um 11:13 schrieb Qiang Yu: On Thu, Feb 17, 2022 at 5:46 PM Christian König wrote: Am 17.

Re: [PATCH] drm/amdkfd: Replace one-element array with flexible-array member

2022-02-17 Thread Christian König
Felix need to comment as well, but I don't think that this will work that easily. By changing the entry from 1 to 0 your are also changing the size of the structure. Regards, Christian. Am 18.02.22 um 04:09 schrieb cgel@gmail.com: From: Changcheng Deng There is a regular need in the k

<    1   2   3   4