All of lore.kernel.org
 help / color / mirror / Atom feed
* trap bounce flags
@ 2007-04-25  9:56 Jan Beulich
  2007-04-25 10:10 ` Keir Fraser
  0 siblings, 1 reply; 9+ messages in thread
From: Jan Beulich @ 2007-04-25  9:56 UTC (permalink / raw)
  To: Ian Campbell, Keir Fraser; +Cc: xen-devel

With the severe stability issues we are having with SLE10sp1 on x86-64, things
start pointing pretty closely at the int80 direct trap patch we imported from
-unstable. While I just now realized that there's been a fix for these problems
for quite a while (don't know how this slipped my attention), I still have a few
notes:

- even compat_restore_all_guest now asserts interrupts are disabled, despite
  32-bit restore_all_guest not doing so (and the iret path not generally needing
  this)
- int80_direct_trap checks for non-zero TRAPBOUNCE_flags, yet
  {,compat_}create_bounce_frame clear the low byte of these flags (i.e.
  including TBF_exception, which is in this lower byte); it appears to be only a
  lucky coincidence that this still works as the cmp (again!) is suffix-less and
  hence gets sized as a 32-bit compare, accidentally covering TRAPBOUNCE_cs
- from the above, why is it that only the lower byte (if anything) needs clearing?

Jan

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

end of thread, other threads:[~2007-04-25 11:48 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-25  9:56 trap bounce flags Jan Beulich
2007-04-25 10:10 ` Keir Fraser
2007-04-25 10:16   ` Keir Fraser
2007-04-25 10:33   ` Jan Beulich
2007-04-25 10:41     ` Keir Fraser
2007-04-25 10:56       ` Keir Fraser
2007-04-25 11:11         ` Jan Beulich
2007-04-25 11:26           ` Keir Fraser
2007-04-25 11:48             ` Jan Beulich

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.