WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] Not unmap all MSI-X pirqs when enabling MSI-X

To: "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx>, "Neil Turton" <nturton@xxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] Not unmap all MSI-X pirqs when enabling MSI-X
From: "Shan, Haitao" <haitao.shan@xxxxxxxxx>
Date: Thu, 15 May 2008 16:50:32 +0800
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 15 May 2008 01:52:41 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <482AEAC8.9080103@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <823A93EED437D048963A3697DB0E35DE014F156F@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <48296609.8060603@xxxxxxxxxxxxxx> <481ad8630805130652v2f921287qc851edf3fa314477@xxxxxxxxxxxxxx> <482AEAC8.9080103@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Aci1x3tQyHe2bdk1RDWWH+Cul232ggAnRh4A
Thread-topic: [PATCH] Not unmap all MSI-X pirqs when enabling MSI-X
Hi, Keir,

This patch made some changes to msix_capability_init for kernel. 

Originally, all existing MSI-X pirqs of that device are unmapped before
mapping the required MSI-X entries. This is actually not right. This
function may be called several times, with each time requiring enabling
different parts of the device MSI-X entry. Former pirqs should not be
unmapped.

I made this patch to correct this. Thanks for Turton's comments on this
problem.

Signed-off-by: Shan Haitao <Haitao.shan@xxxxxxxxx>

Best Regards
Shan Haitao

Attachment: correctly_init_msix_pirqs.patch
Description: correctly_init_msix_pirqs.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>