On 07/26/2018 09:34 AM, Jan Beulich wrote: >>>> On 26.06.18 at 09:32, wrote: >> Use EFLAGS.IF for all ordinary purposes; there's in particular no need >> to unduly defer NMI/#MC. Clear/set GIF solely around VMRUN itself. This >> has the additional advantage that svm_stgi_label now indeed marks the >> only place where GIF is being set. >> >> A note regarding the main STI placement: Orignally I had it at the place >> the main STGI was sitting at so far. However, my Fam15 box reliably >> locks up hard with this, unless I have the NMI watchdog enabled. I can >> only deduce that the CPU doesn't like STGI with EFLAGS.IF clear plus >> some other condition (the lockup occurs only after exiting the boot >> loader in the guest). As there's nothing wrong with interrupts being on >> right after VMRUN, I've decided to put the STI right after the CLGI >> (matching what KVM does, i.e. having a fair chance of working >> everywhere). >> >> Suggested-by: Andrew Cooper <andrew.coop...@citrix.com> >> Signed-off-by: Jan Beulich <jbeul...@suse.com> > Ping, first and foremost on the described rather unexpected behavior?
Reviewed-by: Boris Ostrovsky <boris.ostrov...@oracle.com> but for the question I will have to defer to AMD. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel