Re: [PATCH 08/18] spi/xilinx: Support cores with no interrupt

2015-01-27 Thread Ricardo Ribalda Delgado
Hello On Tue, Jan 27, 2015 at 8:49 PM, Mark Brown wrote: > >> https://patchwork.kernel.org/patch/5648351/ > > Please include plain text descriptions of things in your mails rather > than just links/numbers. spi: xilinx: Use standard num-cs binding Regards! -- Ricardo Ribalda -- To unsubscrib

Re: [PATCH 08/18] spi/xilinx: Support cores with no interrupt

2015-01-27 Thread Mark Brown
On Tue, Jan 27, 2015 at 08:05:57PM +0100, Ricardo Ribalda Delgado wrote: > > Right, for short transfers polling tends to win every time over > > interrupts - if you look at other controller drivers you'll see a lot of > > them use this technique. The best practice here is generally to use a > > c

Re: [PATCH 08/18] spi/xilinx: Support cores with no interrupt

2015-01-27 Thread Ricardo Ribalda Delgado
Hello Mark > Right, for short transfers polling tends to win every time over > interrupts - if you look at other controller drivers you'll see a lot of > them use this technique. The best practice here is generally to use a > copy break and do very short transfers in polling mode and go back to >

Re: [PATCH 08/18] spi/xilinx: Support cores with no interrupt

2015-01-26 Thread Mark Brown
On Fri, Jan 23, 2015 at 05:08:40PM +0100, Ricardo Ribalda Delgado wrote: > The core can run in polling mode. In fact, the performance of the core > is similar (or even better), due to the fact most of the spi > transactions are just a couple of bytes and there is one irq per > transactions. > Whe

[PATCH 08/18] spi/xilinx: Support cores with no interrupt

2015-01-23 Thread Ricardo Ribalda Delgado
The core can run in polling mode. In fact, the performance of the core is similar (or even better), due to the fact most of the spi transactions are just a couple of bytes and there is one irq per transactions. When an mtd device is connected via spi, reading 8MB of data produces more than 80K int