]> 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)
commitd4a4cfc9f5f0ddbfb53f43da7bb70d72a54130a1
tree5fa45c4488a75455dfb75d305ec688bb8bf07d51
parenta046dfa83decdd156e704959a872435863558408
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