amdgpu-a-null-mm-does-not-mean-a-thread-is-a-kthread.patch removed from -mm tree
The patch titled
Subject: amdgpu: a NULL ->mm does not mean a thread is a kthread
has been removed from the -mm tree. Its filename was
amdgpu-a-null-mm-does-not-mean-a-thread-is-a-kthread.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Christoph Hellwig <[email protected]>
Subject: amdgpu: a NULL ->mm does not mean a thread is a kthread
Use the proper API instead.
Fixes 70539bd795002 ("drm/amd: Update MEC HQD loading code for KFD")
Signed-off-by Christoph Hellwig <[email protected]>
Reviewed-by Felix Kuehling <[email protected]>
Reviewed-by Jens Axboe <[email protected]>
Tested-by Jens Axboe <[email protected]>
Cc Al Viro <[email protected]>
Cc Alex Deucher <[email protected]>
Cc Zhenyu Wang <[email protected]>
Cc Zhi Wang <[email protected]>
Cc Felipe Balbi <[email protected]>
Cc "Michael S. Tsirkin" <[email protected]>
Cc Jason Wang <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h renamed from drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h~amdgpu-a-null-mm-does-not-mean-a-thread-is-a-kthread +1 -1
@@ -196,7 +196,7 @@ uint8_t amdgpu_amdkfd_get_xgmi_hops_counpagefault_disable (); \if ((mmptr) == current->mm) { \ valid = !get_user ((dst), (wptr)); \ - }else if (current->mm ==NULL ) { \ + }else if (current->flags &PF_KTHREAD ) { \kthread_use_mm (mmptr); \ valid = !get_user ((dst), (wptr)); \kthread_unuse_mm (mmptr); \
_
Patches currently in -mm which might be from [email protected] are