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

From
Joerg Roedel <hidden>
Date
2021-06-18 08:25:18
Also in
kvm, lkml, virtualization
Reply to
Peter Zijlstra, 2021-06-17
On Thu, Jun 17, 2021 at 05:00:48PM +0200, Peter Zijlstra wrote:
I think this is broken, at this point RCU is quite dead on this CPU and
local_irq_save/restore include tracing and all sorts.

Also, shouldn't IRQs already be disabled by the time we get here?
Yes it is, I removed these calls, made __sev_get/put_ghcb() noinstr
instead of __always_inline and put instrumentation_begin()/end() around
the panic() call in __sev_get_ghcb().

Regards,

	Joerg
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