Re: [PATCH v6 1/2] x86/sev: Make sure IRQs are disabled while GHCB is active

From
Peter Zijlstra <peterz@infradead.org>
Date
2021-06-18 10:55:14
Also in
kvm, linux-coco, lkml
Reply to
Joerg Roedel, 2021-06-18
On Fri, Jun 18, 2021 at 10:17:54AM +0200, Joerg Roedel wrote:
On Thu, Jun 17, 2021 at 05:38:46PM +0200, Peter Zijlstra wrote:
quoted
I'm getting (with all of v6.1 applied):

vmlinux.o: warning: objtool: __sev_es_nmi_complete()+0x1bf: call to panic() leaves .noinstr.text section

$ ./scripts/faddr2line defconfig-build/vmlinux __sev_es_nmi_complete+0x1bf
__sev_es_nmi_complete+0x1bf/0x1d0:
__sev_get_ghcb at arch/x86/kernel/sev.c:223
(inlined by) __sev_es_nmi_complete at arch/x86/kernel/sev.c:519
I see where this is coming from, but can't create the same warning. I
did run 'objtool check -n vmlinux'. Is there more to do to get the full
check?
You get those when you enable CONFIG_DEBUG_ENTRY=y (make sure to have
PARAVIRT=n, I so need to go fix that :/).
_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization
Thread (9 messages) 9 messages, 3 authors, last reply 2021-06-18
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help