Re: [PATCH v2] mtd: pxa3xx-nand: handle PIO in threaded interrupt
From: Brian Norris
Date: Sat Feb 28 2015 - 04:16:26 EST
On Fri, Feb 20, 2015 at 07:36:43PM +0100, Robert Jarzmik wrote:
> Change the handling of the data stage in the driver : don't pump data in
> the top-half interrupt, but rather schedule a thread for non dma cases.
>
> This will enable latencies in the data pumping, especially if delays are
> required. Moreover platform shall be more reactive as other interrupts
> can be served while pumping data.
>
> No throughput degradation was observed, at least on the zylonite
> platform, while a slight degradation was being expected.
>
> Signed-off-by: Robert Jarzmik <robert.jarzmik@xxxxxxx>
> Tested-by: Maxime Ripard <maxime.ripard@xxxxxxxxxxxxxxxxxx>
> ---
> Since v1: use IRQF_ONESHOT per Maxime's comment
Pushed to l2-mtd.git. Thanks.
Brian
--
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/