]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ENGR00291400 PXP: Organize PXP task queue to be FIFO
authorFancy Fang <B47543@freescale.com>
Mon, 9 Dec 2013 10:36:39 +0000 (18:36 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 20 Aug 2014 08:06:48 +0000 (10:06 +0200)
commit0f40d45e896fefc5ee61e9e9d832ce547c5020b7
treec90d3f67ea49eb3c4b777889afeba9356233e29f
parentdd9435a41d388a0d59b9b87ad3e8a8f3b067ff59
ENGR00291400 PXP: Organize PXP task queue to be FIFO

The requested PXP tasks were handled based on channel unit. All the
tasks in one channel were handled one by one, and the tasks in another
channel only can get chance after all the tasks in previous channel
were finished. So this may allow some channel occupies PXP hardware
exclusively all the time, and other channels may never get PXP services.
So this change makes the PXP task queue to be a FIFO to avoid this kind
of unfair usage for PXP.

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