[Bug 107065] "BUG: unable to handle kernel paging request at 0000000000002000" in amdgpu_vm_cpu_set_ptes at amdgpu_vm.c:921
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Jul 2 03:11:27 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=107065
--- Comment #10 from Andrey Grodzovsky <andrey.grodzovsky at amd.com> ---
Created attachment 140418
--> https://bugs.freedesktop.org/attachment.cgi?id=140418&action=edit
drm/amdgpu: Verify root PD is mapped into kernel address space.
dwagner, please try this patch. Fixes the issue for me and I observed no
suspend/resume issues.
Christian, please take a look at the patch, problem was that in
amdgpu_vm_update_directories the parent BO didn't have a kernel mapping and so
later inside amdgpu_vm_cpu_set_ptes
pe += (unsigned long)amdgpu_bo_kptr(bo); would equal to 0000000000002000 since
parent amdgpu_bo_kptr woudld return NULL. The parent was the root PD.
This was still working in 67b8d5c Linus Torvalds 7 weeks ago Linux
4.17-rc5 (tag: v4.17-rc5) but I wasn't able to exactly pinpoint which change
broke it. I am not sure my fix is the right one so please advise.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20180702/d1e436dd/attachment-0001.html>
More information about the dri-devel
mailing list