]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00289237 PXP: fix a multiple instances hang issue
authorFancy Fang <B47543@freescale.com>
Thu, 21 Nov 2013 11:44:45 +0000 (19:44 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Mon, 16 Jun 2014 16:08:37 +0000 (18:08 +0200)
commit0c56799b2cb9c10b4edcd80e33e40922a8132080
treec1de227a3a79fd090b36cb9a5e654848a26b3d7a
parentdb9d610123ae96bdb4bd607408cc2b3e3eec0b79
ENGR00289237 PXP: fix a multiple instances hang issue

In pxp_issue_pending(), the wait for pxp done processes will be woken up
together in PXP ISR. So there will be some situations that one process will
set PXP hardware registers after another process's setting but before the
first PXP task done. So the PXP hardware may be corrupted and hang maybe
happen.

Signed-off-by: Fancy Fang <B47543@freescale.com>
drivers/dma/pxp/pxp_device.c
drivers/dma/pxp/pxp_dma_v2.c