commit | 7957ee71c7733ca20178a49ba7de2b84bbc53d29 | [log] [tgz] |
---|---|---|
author | Hannes Reinecke <hare@suse.de> | Wed Oct 29 13:00:16 2014 +0100 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Fri Oct 31 11:29:01 2014 +0100 |
tree | 7df6815d4e019f35d00e29a48f55d6446470d0fb | |
parent | 6df5718bd3ec56225c44cf96440c723c1b611b87 [diff] |
megasas: Fixup MSI-X handling MSI-X works slightly different than INTx; the doorbell registers are not necessarily used as MSI-X interrupts are directed anyway. So the head pointer on the reply queue needs to be updated as soon as a frame is completed, and we can set the doorbell only when in INTx mode. Signed-off-by: Hannes Reinecke <hare@suse.de> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>