Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/amdkfd: drop warning in event_interrupt_isr_v1*()

Commit ded8b3c36f17 ("drm/amdgpu: properly handle GC vs MM in amdgpu_vmid_mgr_init()")
enables all 16 vmids for MMHUB on GC 10 and newer for KGD since
there are no KFD resources using MMHUB. With this change, KFD
starts seeing MMHUB vmids in it's range with no pasid set. As
such there is no need to warn, we can just ignore those interrupts.

Fixes: aded8b3c36f1 ("drm/amdgpu: properly handle GC vs MM in amdgpu_vmid_mgr_init()")
Reviewed-by: Felix Kuehling <felix.kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

+2 -4
+1 -2
drivers/gpu/drm/amd/amdkfd/kfd_int_process_v10.c
··· 175 175 data[0], data[1], data[2], data[3], data[4], data[5], data[6], 176 176 data[7]); 177 177 178 - /* If there is no valid PASID, it's likely a bug */ 179 - if (WARN_ONCE(pasid == 0, "Bug: No PASID in KFD interrupt")) 178 + if (pasid == 0) 180 179 return 0; 181 180 182 181 /* Interrupt types we care about: various signals and faults.
+1 -2
drivers/gpu/drm/amd/amdkfd/kfd_int_process_v11.c
··· 287 287 data[0], data[1], data[2], data[3], data[4], data[5], data[6], 288 288 data[7]); 289 289 290 - /* If there is no valid PASID, it's likely a bug */ 291 - if (WARN_ONCE(pasid == 0, "Bug: No PASID in KFD interrupt")) 290 + if (pasid == 0) 292 291 return false; 293 292 294 293 /* Interrupt types we care about: various signals and faults.