|
From: | Gerd Hoffmann |
Subject: | [Qemu-devel] Re: [PATCH 8/8] ahci: fix !msi interrupts |
Date: | Tue, 18 Jan 2011 10:08:15 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Red Hat/3.1.7-3.el6_0 Thunderbird/3.1.7 |
Hi,
Worse might also be that unknown issue that force you to inject an IRQ here. We don't know. That's probably worst.Well, IIRC the issue was that usually a level high interrupt line would simply retrigger an interrupt after enabling the interrupt line in the APIC again.
edge triggered interrupts wouldn't though.
Unless my memory completely fails on me, that didn't happen, so I added the manual retrigger on a partial command ACK in ahci code.
That re-trigger smells like you are not clearing the interrupt line where you should. For starters try calling ahci_check_irq() after guest writes to PORT_IRQ_STAT.
cheers, Gerd
[Prev in Thread] | Current Thread | [Next in Thread] |