Re: Questions about userspace SPI async IO support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Mar 09, 2024 at 12:41:56AM -0500, Jesse T wrote:

> I would like to add support for userspace SPI async IO.
> Why hasn't it been added?

Nobody proposed anything.

> Is it not as simple as adding the async equivalent of SPI_IOC_MESSAGE
> to ioctl, or is that not a valid way to accomplish this?

There's the completion part of things - you need a way to know that at
least some of the messages have actually been handled, especially on the
read side where you're going to look at the data.  You also have to
worry about management of the storage used for everything.

TBH with modern systems it's unclear if async offers useful benefits
outside of an interrupt context - the cost of synchronisation between
CPUs gets very expensive very quickly.

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux