Thread (73 messages) 73 messages, 8 authors, 2020-12-03

Re: [PATCH v6 22/25] x86/asm: annotate indirect jumps

From: Kees Cook <hidden>
Date: 2020-10-15 02:24:39
Also in: linux-arch, linux-kbuild, linux-pci, lkml

On Mon, Oct 12, 2020 at 05:32:00PM -0700, Sami Tolvanen wrote:
Running objtool --vmlinux --duplicate on vmlinux.o produces a few
warnings about indirect jumps with retpoline:

  vmlinux.o: warning: objtool: wakeup_long64()+0x61: indirect jump
  found in RETPOLINE build
  ...

This change adds ANNOTATE_RETPOLINE_SAFE annotations to the jumps
in assembly code to stop the warnings.

Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
Reviewed-by: Kees Cook <redacted>

This looks like it's an independent fix -- can an x86 maintainer pick
up this patch directly?

-- 
Kees Cook

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help