]> git.baikalelectronics.ru Git - kernel.git/commit
x86/entry: __always_inline CR2 for noinstr
authorPeter Zijlstra <peterz@infradead.org>
Wed, 3 Jun 2020 11:40:22 +0000 (13:40 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 11 Jun 2020 13:15:28 +0000 (15:15 +0200)
commit071802e553f61d8de2f072e906ec6fae2ca05eb5
treee208b52b660a2b83527ec1a5a16b15a8fd1de0c6
parent7f7bb93edfaeed5705446887efb7b8f52fa740ca
x86/entry: __always_inline CR2 for noinstr

vmlinux.o: warning: objtool: exc_page_fault()+0x9: call to read_cr2() leaves .noinstr.text section
vmlinux.o: warning: objtool: exc_page_fault()+0x24: call to prefetchw() leaves .noinstr.text section
vmlinux.o: warning: objtool: exc_page_fault()+0x21: call to kvm_handle_async_pf.isra.0() leaves .noinstr.text section
vmlinux.o: warning: objtool: exc_nmi()+0x1cc: call to write_cr2() leaves .noinstr.text section

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20200603114052.243227806@infradead.org
arch/x86/include/asm/kvm_para.h
arch/x86/include/asm/processor.h
arch/x86/include/asm/special_insns.h