aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2022-03-28 11:13:41 +0000
committerPeter Zijlstra <[email protected]>2022-04-07 09:27:02 +0000
commitbe8a096521ca1a252bf078b347f96ce94582612e (patch)
treec2b291f421ed2f0186eace3a065df45b95acd18f /drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c
parentobjtool: Fix SLS validation for kcov tail-call replacement (diff)
downloadkernel-be8a096521ca1a252bf078b347f96ce94582612e.tar.gz
kernel-be8a096521ca1a252bf078b347f96ce94582612e.zip
x86,bpf: Avoid IBT objtool warning
Clang can inline emit_indirect_jump() and then folds constants, which results in: | vmlinux.o: warning: objtool: emit_bpf_dispatcher()+0x6a4: relocation to !ENDBR: .text.__x86.indirect_thunk+0x40 | vmlinux.o: warning: objtool: emit_bpf_dispatcher()+0x67d: relocation to !ENDBR: .text.__x86.indirect_thunk+0x40 | vmlinux.o: warning: objtool: emit_bpf_tail_call_indirect()+0x386: relocation to !ENDBR: .text.__x86.indirect_thunk+0x20 | vmlinux.o: warning: objtool: emit_bpf_tail_call_indirect()+0x35d: relocation to !ENDBR: .text.__x86.indirect_thunk+0x20 Suppress the optimization such that it must emit a code reference to the __x86_indirect_thunk_array[] base. Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Acked-by: Alexei Starovoitov <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c')
0 files changed, 0 insertions, 0 deletions