Skip to contentSkip to conversation

spi-imx: real time operation

DISCUSSION Jakub Kicinski 1 participant 2 messages Apr 15, 2015 SPI

lore
Share & tools
lore
#0 lore raw

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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#1 lore raw
Quoted 7 lines · Jakub Kicinski

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.

Quoted 7 lines

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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html