public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Is espfix64's double-fault thing OK on Xen?
@ 2014-07-09 23:17 Andy Lutomirski
  2014-07-14 16:58 ` Konrad Rzeszutek Wilk
  2014-07-14 17:04 ` H. Peter Anvin
  0 siblings, 2 replies; 11+ messages in thread
From: Andy Lutomirski @ 2014-07-09 23:17 UTC (permalink / raw)
  To: H. Peter Anvin, Konrad Rzeszutek Wilk,
	linux-kernel@vger.kernel.org

This part in __do_double_fault looks fishy:

    cmpl $__KERNEL_CS,CS(%rdi)
    jne do_double_fault

Shouldn't that be:

    test $3,CS(%rdi)
    jnz do_double_fault

--Andy

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2014-07-15  4:14 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-09 23:17 Is espfix64's double-fault thing OK on Xen? Andy Lutomirski
2014-07-14 16:58 ` Konrad Rzeszutek Wilk
2014-07-14 17:04 ` H. Peter Anvin
2014-07-14 17:11   ` Andy Lutomirski
2014-07-14 17:15     ` Andy Lutomirski
2014-07-14 21:31       ` Andy Lutomirski
2014-07-14 21:35         ` Andy Lutomirski
2014-07-14 22:23           ` H. Peter Anvin
2014-07-15  2:46             ` Andy Lutomirski
2014-07-15  3:20               ` Andy Lutomirski
2014-07-15  4:14               ` H. Peter Anvin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox