OSDN Git Service

x86/xen: Make get_debugreg() noinstr
authorPeter Zijlstra <peterz@infradead.org>
Thu, 24 Jun 2021 09:41:15 +0000 (11:41 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Fri, 17 Sep 2021 11:12:34 +0000 (13:12 +0200)
commitf4afb713e5c3a4419ba7aaecc31a8c8bd91d13fb
treeaf6dd4355ff1a319a0b8441f050a123ae8c626ff
parent209cfd0cbb6722d3461e4f928dc150e4c3811948
x86/xen: Make get_debugreg() noinstr

vmlinux.o: warning: objtool: pv_ops[1]: xen_get_debugreg
vmlinux.o: warning: objtool: pv_ops[1]: native_get_debugreg
vmlinux.o: warning: objtool: exc_debug()+0x25: call to pv_ops[1]() leaves .noinstr.text section

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Juergen Gross <jgross@suse.com>
Link: https://lore.kernel.org/r/20210624095148.625523645@infradead.org
arch/x86/include/asm/paravirt.h
arch/x86/include/asm/xen/hypercall.h
arch/x86/kernel/paravirt.c
arch/x86/xen/enlighten_pv.c