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-changelog

[Xen-changelog] [xen-unstable] x86: Remove the redundant logic in set_ms

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] x86: Remove the redundant logic in set_msi_affinity
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 02 Sep 2009 03:45:17 -0700
Delivery-date: Wed, 02 Sep 2009 03:46:30 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1251888004 -3600
# Node ID afbeaea4ada1b076723d78266fad78bdef4ae992
# Parent  2375b4ac35bdef836a6fe8bbb6547764216be7bc
x86: Remove the redundant logic in set_msi_affinity

Remove the redundant logic in set_msi_affinity. And it is introduced
accidently, maybe something wrong when I generated the patch.

Signed-off-by: Xiantao Zhang <xiantao.zhang@xxxxxxxxx>
---
 xen/arch/x86/msi.c |   14 --------------
 1 files changed, 14 deletions(-)

diff -r 2375b4ac35bd -r afbeaea4ada1 xen/arch/x86/msi.c
--- a/xen/arch/x86/msi.c        Wed Sep 02 11:39:27 2009 +0100
+++ b/xen/arch/x86/msi.c        Wed Sep 02 11:40:04 2009 +0100
@@ -281,20 +281,6 @@ void set_msi_affinity(unsigned int irq, 
 
     msg.data &= ~MSI_DATA_VECTOR_MASK;
     msg.data |= MSI_DATA_VECTOR(cfg->vector);
-    cpus_and(mask, mask, cpu_online_map);
-    if ( cpus_empty(mask) )
-        mask = TARGET_CPUS;
-    dest = cpu_mask_to_apicid(mask);
-
-    if ( !desc )
-        return;
-
-    ASSERT(spin_is_locked(&desc->lock));
-    read_msi_msg(msi_desc, &msg);
-
-    msg.data &= ~MSI_DATA_VECTOR_MASK;
-    msg.data |= MSI_DATA_VECTOR(cfg->vector);
-
     msg.address_lo &= ~MSI_ADDR_DEST_ID_MASK;
     msg.address_lo |= MSI_ADDR_DEST_ID(dest);
 

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] x86: Remove the redundant logic in set_msi_affinity, Xen patchbot-unstable <=