mtd: pxa3xx-nand: handle PIO in threaded interrupt
authorRobert Jarzmik <robert.jarzmik@free.fr>
Fri, 20 Feb 2015 18:36:43 +0000 (19:36 +0100)
committerBrian Norris <computersforpeace@gmail.com>
Sat, 28 Feb 2015 09:08:36 +0000 (01:08 -0800)
commit24542257a3b987025d4b998ec2d15e556c98ad3f
tree5fa45c4488a75455dfb75d305ec688bb8bf07d51
parentadf716d2f3e62820cc86cdb08c277516c7012352
mtd: pxa3xx-nand: handle PIO in threaded interrupt

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@free.fr>
Tested-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/pxa3xx_nand.c