aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorJosh Poimboeuf <[email protected]>2022-04-18 16:50:25 +0000
committerPeter Zijlstra <[email protected]>2022-04-19 19:58:49 +0000
commit1ab80a0da4c4a4dd496fc14faabbc8bde61a605c (patch)
tree5fc8af5969da4e68c756d82398744d78795ddacc /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentx86/uaccess: Add ENDBR to __put_user_nocheck*() (diff)
downloadkernel-1ab80a0da4c4a4dd496fc14faabbc8bde61a605c.tar.gz
kernel-1ab80a0da4c4a4dd496fc14faabbc8bde61a605c.zip
x86/xen: Add ANNOTATE_NOENDBR to startup_xen()
The startup_xen() kernel entry point is referenced by the ".note.Xen" section, and is the real entry point of the VM. Control transfer is through IRET, which *could* set NEED_ENDBR, however Xen currently does no such thing. Add ANNOTATE_NOENDBR to silence future objtool warnings. Fixes: ed53a0d97192 ("x86/alternative: Use .ibt_endbr_seal to seal indirect calls") Signed-off-by: Josh Poimboeuf <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Reviewed-by: Andrew Cooper <[email protected]> Link: https://lkml.kernel.org/r/a87bd48b06d11ec4b98122a429e71e489b4e48c3.1650300597.git.jpoimboe@redhat.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions