<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - "BUG: unable to handle kernel paging request at 0000000000002000" at amdgpu_vm_cpu_set_ptes at S3 resume"
href="https://bugs.freedesktop.org/show_bug.cgi?id=107065#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - "BUG: unable to handle kernel paging request at 0000000000002000" at amdgpu_vm_cpu_set_ptes at S3 resume"
href="https://bugs.freedesktop.org/show_bug.cgi?id=107065">bug 107065</a>
from <span class="vcard"><a class="email" href="mailto:jb5sgc1n.nya@20mm.eu" title="dwagner <jb5sgc1n.nya@20mm.eu>"> <span class="fn">dwagner</span></a>
</span></b>
<pre>(In reply to Andrey Grodzovsky from <a href="show_bug.cgi?id=107065#c3">comment #3</a>)
<span class="quote">> Can you use addr2line or gdb with 'list' command to give the line number
> matching
> amdgpu_vm_cpu_set_ptes+0x76/0xf0 ?</span >
That would have been easy had I used my self-compiled kernel - but it seems
there is no debuginfo file available for the Arch Linux supplied kernels, which
I ran in this case.
So I can only provide a disassembled listing of that function, with offset 0x76
aka +118 inside:
Dump of assembler code for function amdgpu_vm_cpu_set_ptes:
0x0000000000027c80 <+0>: callq 0x27c85 <amdgpu_vm_cpu_set_ptes+5>
0x0000000000027c85 <+5>: push %r15
0x0000000000027c87 <+7>: mov %rcx,%r15
0x0000000000027c8a <+10>: push %r14
0x0000000000027c8c <+12>: mov %rdi,%r14
0x0000000000027c8f <+15>: mov %rsi,%rdi
0x0000000000027c92 <+18>: push %r13
0x0000000000027c94 <+20>: mov %r8d,%r13d
0x0000000000027c97 <+23>: push %r12
0x0000000000027c99 <+25>: mov %rdx,%r12
0x0000000000027c9c <+28>: push %rbp
0x0000000000027c9d <+29>: mov %r9d,%ebp
0x0000000000027ca0 <+32>: push %rbx
0x0000000000027ca1 <+33>: callq 0x27ca6 <amdgpu_vm_cpu_set_ptes+38>
0x0000000000027ca6 <+38>: add %rax,%r12
0x0000000000027ca9 <+41>: nopl 0x0(%rax,%rax,1)
0x0000000000027cae <+46>: xor %ebx,%ebx
0x0000000000027cb0 <+48>: test %r13d,%r13d
0x0000000000027cb3 <+51>: je 0x27cfb <amdgpu_vm_cpu_set_ptes+123>
0x0000000000027cb5 <+53>: mov 0x28(%r14),%rax
0x0000000000027cb9 <+57>: mov %r15,%rcx
0x0000000000027cbc <+60>: test %rax,%rax
0x0000000000027cbf <+63>: je 0x27cd3 <amdgpu_vm_cpu_set_ptes+83>
0x0000000000027cc1 <+65>: mov %r15,%rdx
0x0000000000027cc4 <+68>: mov $0xfffffffffffff000,%rcx
0x0000000000027ccb <+75>: shr $0xc,%rdx
0x0000000000027ccf <+79>: and (%rax,%rdx,8),%rcx
0x0000000000027cd3 <+83>: mov (%r14),%rdi
0x0000000000027cd6 <+86>: mov %ebx,%edx
0x0000000000027cd8 <+88>: add $0x1,%ebx
0x0000000000027cdb <+91>: mov 0x38(%rsp),%r8
0x0000000000027ce0 <+96>: mov %r12,%rsi
0x0000000000027ce3 <+99>: add %rbp,%r15
0x0000000000027ce6 <+102>: mov 0x968(%rdi),%rax
0x0000000000027ced <+109>: mov 0x18(%rax),%rax
0x0000000000027cf1 <+113>: callq 0x27cf6 <amdgpu_vm_cpu_set_ptes+118>
0x0000000000027cf6 <+118>: cmp %ebx,%r13d
0x0000000000027cf9 <+121>: jne 0x27cb5 <amdgpu_vm_cpu_set_ptes+53>
0x0000000000027cfb <+123>: pop %rbx
0x0000000000027cfc <+124>: pop %rbp
0x0000000000027cfd <+125>: pop %r12
0x0000000000027cff <+127>: pop %r13
0x0000000000027d01 <+129>: pop %r14
0x0000000000027d03 <+131>: pop %r15
0x0000000000027d05 <+133>: retq
0x0000000000027d06 <+134>: mov %gs:0x0(%rip),%eax # 0x27d0d
<amdgpu_vm_cpu_set_ptes+141>
0x0000000000027d0d <+141>: mov %eax,%eax
0x0000000000027d0f <+143>: bt %rax,0x0(%rip) # 0x27d17
<amdgpu_vm_cpu_set_ptes+151>
0x0000000000027d17 <+151>: jae 0x27cae <amdgpu_vm_cpu_set_ptes+46>
0x0000000000027d19 <+153>: incl %gs:0x0(%rip) # 0x27d20
<amdgpu_vm_cpu_set_ptes+160>
0x0000000000027d20 <+160>: mov 0x0(%rip),%rbx # 0x27d27
<amdgpu_vm_cpu_set_ptes+167>
0x0000000000027d27 <+167>: test %rbx,%rbx
0x0000000000027d2a <+170>: je 0x27d55 <amdgpu_vm_cpu_set_ptes+213>
0x0000000000027d2c <+172>: mov (%rbx),%rax
0x0000000000027d2f <+175>: mov 0x8(%rbx),%rdi
0x0000000000027d33 <+179>: add $0x18,%rbx
0x0000000000027d37 <+183>: mov 0x38(%rsp),%r9
0x0000000000027d3c <+188>: mov %ebp,%r8d
0x0000000000027d3f <+191>: mov %r13d,%ecx
0x0000000000027d42 <+194>: mov %r15,%rdx
0x0000000000027d45 <+197>: mov %r12,%rsi
0x0000000000027d48 <+200>: callq 0x27d4d <amdgpu_vm_cpu_set_ptes+205>
0x0000000000027d4d <+205>: mov (%rbx),%rax
0x0000000000027d50 <+208>: test %rax,%rax
0x0000000000027d53 <+211>: jne 0x27d2f <amdgpu_vm_cpu_set_ptes+175>
0x0000000000027d55 <+213>: decl %gs:0x0(%rip) # 0x27d5c
<amdgpu_vm_cpu_set_ptes+220>
0x0000000000027d5c <+220>: jne 0x27cae <amdgpu_vm_cpu_set_ptes+46>
0x0000000000027d62 <+226>: callq 0x27d67 <amdgpu_vm_cpu_set_ptes+231>
0x0000000000027d67 <+231>: jmpq 0x27cae <amdgpu_vm_cpu_set_ptes+46></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>