Thread (9 messages) 9 messages, 3 authors, 2021-06-18

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, linux-coco, lkml

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
_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help