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

[Xen-devel] [PATCH]Clear pending event when unbinding an event channel


  • To: "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx>
  • From: "Chen, Huacai" <huacai.chen@xxxxxxxxx>
  • Date: Thu, 31 Jul 2008 17:09:37 +0800
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Thu, 31 Jul 2008 02:11:14 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Acjy7SfJnp4Wy0QGSV+F/NGvvXH46w==
  • Thread-topic: [PATCH]Clear pending event when unbinding an event channel

Hi, Keir

If a pending event hasn't been cleared when unbinding the event channel,
next time this event channel may bind to another IRQ and cause some
unexpected behavior. E.g. we found when an un-cleared event channel
bound to a call function IPI when S3 resuming, Domain0 will crash.
The attachment fixed this issue.

Signed-off-by:  Huacai Chen <huacai.chen@xxxxxxxxx>
Signed-off-by:  Kevin Tian <kevin.tian@xxxxxxxxx>

Attachment: clear_event_when_unbound.patch
Description: clear_event_when_unbound.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.