[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC 03/10] AHCI: Add PRD interrupt
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [RFC 03/10] AHCI: Add PRD interrupt |
Date: |
Tue, 16 Sep 2014 09:44:38 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 |
Il 15/09/2014 18:31, John Snow ha scritto:
>
>
> On 09/13/2014 03:50 PM, Paolo Bonzini wrote:
>> Il 13/09/2014 15:26, Paolo Bonzini ha scritto:
>>>>>
>>>>> + if (ad->dp_intr_req) {
>>>>> + ahci_trigger_irq(ad->hba, ad, PORT_IRQ_SG_DONE);
>>>>> + ad->dp_intr_req = 0;
>>>>> + }
>>> Is it also needed in the error case? Especially the short-PRDT case
>>> that you are adding in the next patch.
>>>
>>
>> ... and is it also needed for NCQ, albeit with a separate flag?
>>
>> Paolo
>>
>
> I had actually thought that it wasn't; due to the more asynchronous
> nature of NCQ. But... looking back at the specification, I can't find
> anywhere that explicitly says you can't use these bits for NCQ.
I suggest that you leave out this bit for a moment, so that we can get
Windows fixed.
Paolo
[Qemu-devel] [RFC 04/10] ide: Correct handling of malformed/short PRDTs, John Snow, 2014/09/13
[Qemu-devel] [RFC 05/10] AHCI: Rename NCQFIS structure fields, John Snow, 2014/09/13
[Qemu-devel] [RFC 01/10] ide: add is_write() macro for semantic consistency, John Snow, 2014/09/13
[Qemu-devel] [RFC 06/10] AHCI: Fix FIS decomposition, John Snow, 2014/09/13
[Qemu-devel] [RFC 07/10] ide/ahci: Reorder error cases in handle_cmd, John Snow, 2014/09/13