Re: [PATCH] atiixp: Old drivers/ide layer driver for the ATIIXP hang fix

From: Bartlomiej Zolnierkiewicz
Date: Tue Jan 02 2007 - 15:19:32 EST


On 1/2/07, Alan <alan@xxxxxxxxxxxxxxxxxxx> wrote:
When the old IDE layer calls into methods in the driver during error
handling it is essentially random whether ide_lock is already held. This
causes a deadlock in the atiixp driver which also uses ide_lock internally
for locking.

Switch to a private lock instead.

Signed-off-by: Alan Cox <alan@xxxxxxxxxx>

Acked-by: Bartlomiej Zolnierkiewicz <bzolnier@xxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/