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] MSI: Handle MSI EOI for amd systems

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] MSI: Handle MSI EOI for amd systems
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 11 Jun 2008 13:40:09 -0700
Delivery-date: Wed, 11 Jun 2008 13:40:07 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/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 1213198682 -3600
# Node ID a0561bcf9333b594067fcea1f12ca73274238ca5
# Parent  0331bfd8b5d2156571336aafc84129dae98d0f91
MSI: Handle MSI EOI for amd systems
Signed-off-by: Wei Wang <wei.wang2@xxxxxxx>
---
 xen/arch/x86/hvm/vlapic.c    |    2 +-
 xen/drivers/passthrough/io.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff -r 0331bfd8b5d2 -r a0561bcf9333 xen/arch/x86/hvm/vlapic.c
--- a/xen/arch/x86/hvm/vlapic.c Wed Jun 11 15:19:42 2008 +0100
+++ b/xen/arch/x86/hvm/vlapic.c Wed Jun 11 16:38:02 2008 +0100
@@ -414,7 +414,7 @@ void vlapic_EOI_set(struct vlapic *vlapi
     if ( vlapic_test_and_clear_vector(vector, &vlapic->regs->data[APIC_TMR]) )
         vioapic_update_EOI(vlapic_domain(vlapic), vector);
        
-    if ( vtd_enabled )
+    if ( iommu_enabled )
         hvm_dpci_msi_eoi(current->domain, vector);
 }
 
diff -r 0331bfd8b5d2 -r a0561bcf9333 xen/drivers/passthrough/io.c
--- a/xen/drivers/passthrough/io.c      Wed Jun 11 15:19:42 2008 +0100
+++ b/xen/drivers/passthrough/io.c      Wed Jun 11 16:38:02 2008 +0100
@@ -216,7 +216,7 @@ void hvm_dpci_msi_eoi(struct domain *d, 
     struct hvm_irq_dpci *hvm_irq_dpci = d->arch.hvm_domain.irq.dpci;
     int pirq;
 
-    if ( !vtd_enabled || (hvm_irq_dpci == NULL) )
+    if ( !iommu_enabled || (hvm_irq_dpci == NULL) )
        return;
 
     pirq = hvm_irq_dpci->msi_gvec_pirq[vector];

_______________________________________________
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] MSI: Handle MSI EOI for amd systems, Xen patchbot-unstable <=