[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 8/8] ahci: fix !msi interrupts
From: |
Alexander Graf |
Subject: |
[Qemu-devel] [PATCH 8/8] ahci: fix !msi interrupts |
Date: |
Mon, 20 Dec 2010 22:13:24 +0100 |
When not using MSI, receiving an interrupt while the interrupt line is active
pulses the interrupt line. Without this, guests don't realize that a new
interrupt occured.
Signed-off-by: Alexander Graf <address@hidden>
---
hw/ide/ahci.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/hw/ide/ahci.c b/hw/ide/ahci.c
index 97aef68..4c920da 100644
--- a/hw/ide/ahci.c
+++ b/hw/ide/ahci.c
@@ -153,11 +153,10 @@ static void ahci_check_irq(AHCIState *s)
}
}
+ ahci_irq_lower(s, NULL);
if (s->control_regs.irqstatus &&
(s->control_regs.ghc & HOST_CTL_IRQ_EN)) {
ahci_irq_raise(s, NULL);
- } else {
- ahci_irq_lower(s, NULL);
}
}
--
1.6.0.2
- [Qemu-devel] [PATCH 0/8] Some more AHCI work, Alexander Graf, 2010/12/20
- [Qemu-devel] [PATCH 8/8] ahci: fix !msi interrupts,
Alexander Graf <=
- [Qemu-devel] [PATCH 3/8] ahci: send init d2h fis on fis enable, Alexander Graf, 2010/12/20
- [Qemu-devel] [PATCH 6/8] ahci: make number of ports runtime determined, Alexander Graf, 2010/12/20
- [Qemu-devel] [PATCH 5/8] ahci: Implement HBA reset, Alexander Graf, 2010/12/20
- [Qemu-devel] [PATCH 7/8] ahci: free dynamically allocated iovs, Alexander Graf, 2010/12/20
- [Qemu-devel] [PATCH 2/8] ahci: split ICH and AHCI even more, Alexander Graf, 2010/12/20
- [Qemu-devel] [PATCH 4/8] ahci: use qiov instead of dma helpers, Alexander Graf, 2010/12/20
- [Qemu-devel] [PATCH 1/8] ahci: split ICH9 from core, Alexander Graf, 2010/12/20