Re: [resend PATCH] DMA: PL330: fix locking inpl330_free_chan_resources()

From: Andrew Morton
Date: Wed Jun 26 2013 - 15:06:07 EST


On Wed, 26 Jun 2013 15:29:15 +0200 Bartlomiej Zolnierkiewicz <b.zolnierkie@xxxxxxxxxxx> wrote:

>
> tasklet_kill() may sleep so call it before taking pch->lock.
>
> Fixes following lockup:
>
> [ 345.470000] BUG: scheduling while atomic: cat/2383/0x00000002

Seems rather unpleasant, so I added a cc:stable to the changelog.
--
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/