|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v8 16/16] microcode: block #NMI handling when loading an ucode
On 07.08.2019 09:59, Chao Gao wrote: On Mon, Aug 05, 2019 at 12:11:01PM +0000, Jan Beulich wrote:On 01.08.2019 12:22, Chao Gao wrote: As said, this is not directly an option - at the very least a thread should record the fact that there was an NMI, such that it can handle it after the ucode update has completed. 2. Enhance this patch: A thread which is not going to load an update is forced to send an #NMI to itself to enter the callback, do busy-loop until completion of loading ucode on all cores. With this method, no #NMI delivery, or MSR write would happen on this threads during microcode update. This sounds doable at the first glance; iirc the CPU would latch another NMI while NMIs are blocked due to there not having been an IRET yet after the last one was raised. There would still be some ambiguity in case the self-NMI and an actual one arrived at about the same time, but I guess we need to live with this small window. Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |