All of lore.kernel.org
 help / color / mirror / Atom feed
* spi-imx: real time operation
@ 2015-04-15 15:09 Jakub Kicinski
  2015-04-15 19:36 ` Jakub Kiciński
  0 siblings, 1 reply; 2+ messages in thread
From: Jakub Kicinski @ 2015-04-15 15:09 UTC (permalink / raw)
  To: Markus.Niebel-HVi9AzVXQk5Wk0Htik3J/w; +Cc: linux-spi-u79uwXL29TY76Z2rM5mHXA

Hi Markus!

I've seen your patch from July which added rt parameter to spi-imx [1].
If I understand the code correctly spi-imx is using bitbang, therefore
it uses old SPI API, therefore the message pump does not apply to it,
therefore setting master->rt has no effect.

Is my understanding correct?  If so before I convert spi-imx not to use
bitbang I would like to ask you if you have not already done it? ;)

Without SPI threads running with RT prio I can't even reliably use an
sc16is7xx UART at 115200...

[1] http://www.spinics.net/lists/arm-kernel/msg348713.html


Thanks
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: spi-imx: real time operation
  2015-04-15 15:09 spi-imx: real time operation Jakub Kicinski
@ 2015-04-15 19:36 ` Jakub Kiciński
  0 siblings, 0 replies; 2+ messages in thread
From: Jakub Kiciński @ 2015-04-15 19:36 UTC (permalink / raw)
  To: Markus.Niebel-HVi9AzVXQk5Wk0Htik3J/w; +Cc: linux-spi-u79uwXL29TY76Z2rM5mHXA

On Wed, 15 Apr 2015 17:09:36 +0200, Jakub Kicinski wrote:
> Hi Markus!
> 
> I've seen your patch from July which added rt parameter to spi-imx [1].
> If I understand the code correctly spi-imx is using bitbang, therefore
> it uses old SPI API, therefore the message pump does not apply to it,
> therefore setting master->rt has no effect.
> 
> Is my understanding correct?  If so before I convert spi-imx not to use
> bitbang I would like to ask you if you have not already done it? ;)
> 
> Without SPI threads running with RT prio I can't even reliably use an
> sc16is7xx UART at 115200...
> 
> [1] http://www.spinics.net/lists/arm-kernel/msg348713.html

Ugh.. I missed 2025172e3280 ("spi/bitbang: Use core message pump"),
working with old kernels bit my in the rear end.

Sorry for the noise.
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-04-15 19:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-15 15:09 spi-imx: real time operation Jakub Kicinski
2015-04-15 19:36 ` Jakub Kiciński

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.