>On Mon, 2003-01-13 at 19:32, Ross Biro wrote:
>
>
>>One thing we could do to solve this entire problem is wait for the
>>interrupt to finish before sending the command to the drive in the first
>>place. Basically in ide_do_request we just have to change
>>
>>
>
>
>
>
>> if (!masked_irq) {
>> disable_irq_sync(hwif->irq);
>> }
>>
>>
>
>You cannot disable an IRQ synchronously holding a spin lock taken by an
>IRQ handler
>
>
You are correct, you have to drop the spinlock first. And it doesn't
really help anyway.
Ross
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/