]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf5544ee16b30cba15b3336f1e76544e98eb5f0e4
tree5fa45c4488a75455dfb75d305ec688bb8bf07d51
parent37cdcc24e0748f3f85322ff303ed6da6932bd61b
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