From: "Kasai Takanori" Subject: [PATCH] [PV-ON-HVM] Fix evtchn of unbind_from_irqhandler() Date: Tue, 6 Nov 2007 20:36:41 +0900 Message-ID: <0a5701c82069$53183750$e16f210a@VF03007L> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0A54_01C820B4.BCF47A80" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. ------=_NextPart_000_0A54_01C820B4.BCF47A80 Content-Type: text/plain; format=flowed; charset="iso-2022-jp"; reply-type=original Content-Transfer-Encoding: 7bit Hi All, When xm block-detach command was done on PV-ON-HVM, the response of other disks was lost. It is because a wrong event channel was invalidated when detaching it. Not the evtchn number but the irq number is invalidated specifying it. Signed-off-by: Takanori Kasai Signed-off-by: Tomonari Horikoshi Signed-off-by: Kazuhiro Suzuki Best Regard, -- Takanori Kasai ------=_NextPart_000_0A54_01C820B4.BCF47A80 Content-Type: application/octet-stream; name="pv-fix-evtchn-unbind_from_irqhandler.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="pv-fix-evtchn-unbind_from_irqhandler.patch" # HG changeset patch=0A= # User kasai.takanori@jp.fujitsu.com=0A= # Date 1194346690 -32400=0A= # Node ID bc529131296be92727c3f470e0e3a0ee00b7eb21=0A= # Parent 3191627e5ad6c0a1e8805a179f2906ae79a8b901=0A= [PV-ON-HVM]: Fix evtchn of unbind_from_irqhandler().=0A= =0A= Signed-off-by: Takanori Kasai =0A= Signed-off-by: Tomonari Horikoshi =0A= Signed-off-by: Kazuhiro Suzuki =0A= =0A= diff -r 3191627e5ad6 -r bc529131296b = unmodified_drivers/linux-2.6/platform-pci/evtchn.c=0A= --- a/unmodified_drivers/linux-2.6/platform-pci/evtchn.c Wed Oct 31 = 16:21:18 2007 +0000=0A= +++ b/unmodified_drivers/linux-2.6/platform-pci/evtchn.c Tue Nov 06 = 19:58:10 2007 +0900=0A= @@ -223,7 +223,7 @@ void unbind_from_irqhandler(unsigned int=0A= evtchn =3D evtchn_from_irq(irq);=0A= =0A= if (is_valid_evtchn(evtchn)) {=0A= - evtchn_to_irq[irq] =3D -1;=0A= + evtchn_to_irq[evtchn] =3D -1;=0A= mask_evtchn(evtchn);=0A= if (irq_evtchn[irq].close) {=0A= struct evtchn_close close =3D { .port =3D evtchn };=0A= ------=_NextPart_000_0A54_01C820B4.BCF47A80 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel ------=_NextPart_000_0A54_01C820B4.BCF47A80--