Re: [PATCH] x86, nmi: workaround sti; hlt race vs nmi; intr

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 On 09/27/2010 11:15 AM, Alexander Graf wrote:
>
>  Wow, this is incredibly ugly :). Can't we just mask NMIs when the interrupt shadow is active?

I plan to do that, for all the code that's out there relying on on STI interrupt shadow masking NMIs.

Yeah, that's me writing without thinking. So this means that the race can also happen on real hardware?


Yes. At least on documented hardware. Some (most? all?) hardware does mask NMIs after STI.

--
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux