x86/sev: Fix noinstr for vc_ghcb_invalidate()
authorPeter Zijlstra <peterz@infradead.org>
Thu, 24 Jun 2021 09:41:09 +0000 (11:41 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Wed, 15 Sep 2021 13:51:47 +0000 (15:51 +0200)
commit2c36d87be49355931da5b29ef7621505e0e46ce9
tree521af94e203edece9eb0bdcf5d9ad8c28be04e81
parentc6b01dace2cd7f6b3e9174d4d1411755608486f1
x86/sev: Fix noinstr for vc_ghcb_invalidate()

vmlinux.o: warning: objtool: __sev_put_ghcb()+0x88: call to __memset() leaves .noinstr.text section
vmlinux.o: warning: objtool: __sev_es_nmi_complete()+0x39: call to __memset() leaves .noinstr.text section

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20210624095148.250770465@infradead.org
arch/x86/kernel/sev-shared.c