1. Pre-GFX9 the amdgpu ISR saves the vm-fault status and address per per-vmid. amdkfd needs to get the information from amdgpu through the new get_vm_fault_info interface. On GFX9 and later, all the required information is in the IH ring 2. amdkfd unmaps all queues from the faulting process and create new run-list without the guilty process 3. amdkfd notifies the runtime of the vm fault trap via EVENT_TYPE_MEMORY
Showing the changes to include/uapi/linux (1 of 7 files). Show all
Unified · Split
| @@ -219,7 +219,7 @@ struct kfd_memory_exception_failure { · 218 unmodified lines | ||
| 219 | 219 | __u32 NotPresent; /* Page not present or supervisor privilege */ |
| 220 | 220 | __u32 ReadOnly; /* Write access to a read-only page */ |
| 221 | 221 | __u32 NoExecute; /* Execute access to a page marked NX */ |
| 222 | − __u32 pad; | |
| 222 | + __u32 imprecise; /* Can't determine the exact fault address */ | |
| 223 | 223 | }; |
| 224 | 224 | |
| 225 | 225 | /* memory exception data*/ |