Re: [Qemu-devel] ahci: crash after duplicate bh registration

2011-05-09 Thread Jan Kiszka
On 2011-05-09 16:31, Alexander Graf wrote: > On 05/09/2011 04:26 PM, Kevin Wolf wrote: >> Am 09.05.2011 16:12, schrieb Alexander Graf: >>> On 05/08/2011 09:10 PM, Jan Kiszka wrote: Hi Alex, I've seen crashes caused by ahci_check_cmd_bh unregistering a NULL bh. It looks like ahci

Re: [Qemu-devel] ahci: crash after duplicate bh registration

2011-05-09 Thread Alexander Graf
On 05/09/2011 04:26 PM, Kevin Wolf wrote: Am 09.05.2011 16:12, schrieb Alexander Graf: On 05/08/2011 09:10 PM, Jan Kiszka wrote: Hi Alex, I've seen crashes caused by ahci_check_cmd_bh unregistering a NULL bh. It looks like ahci_dma_set_inactive can a called while there is already a bh hanging

Re: [Qemu-devel] ahci: crash after duplicate bh registration

2011-05-09 Thread Kevin Wolf
Am 09.05.2011 16:12, schrieb Alexander Graf: > On 05/08/2011 09:10 PM, Jan Kiszka wrote: >> Hi Alex, >> >> I've seen crashes caused by ahci_check_cmd_bh unregistering a NULL bh. >> It looks like ahci_dma_set_inactive can a called while there is already >> a bh hanging around. Patch below cures the

Re: [Qemu-devel] ahci: crash after duplicate bh registration

2011-05-09 Thread Alexander Graf
On 05/08/2011 09:10 PM, Jan Kiszka wrote: Hi Alex, I've seen crashes caused by ahci_check_cmd_bh unregistering a NULL bh. It looks like ahci_dma_set_inactive can a called while there is already a bh hanging around. Patch below cures the issue, but I have no clue if such an invocation order is va