[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] MSI: Handle MSI EOI for amd systems
# 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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |