Re: csdio-kernel module status, if any (was: Re: char interface to sdio, chdio.c)

From: Arnd Bergmann
Date: Tue Nov 03 2015 - 04:53:26 EST


On Tuesday 03 November 2015 10:33:01 Patrick Boettcher wrote:
> Hi all,
>
> Sorry for posting out-of-thread, but I don't have the original mail and
> thus cannot reply.
>
> If refer to this thread:
>
> https://lkml.org/lkml/2014/7/15/975
>
> where you guys started to review and prepare things for
> upstream-inclusion of the csdio-module.
>
> Strangely enough the last mail on lkml.org isn't showing - I had to
> use another lkml-archive: http://lkml.iu.edu/hypermail/linux/kernel/1407.2/01971.html
>
> In it, greg is saying, that this thing is "_way_ down" on his list.
>
> Has, by magic, anything evolved regarding the remarks made by Arnd and
> I'm just too blind to find it? (nothing in recent kernel sources)
>
> We are having the exact same need (a basic sdio-device-driver
> accessing things from user-space) and are ready to invest some time in
> it (if nothing comes in between) - but of course would like to start
> from something sane.

I have never heard from it again. Looking at the Android sources, I find that
the driver has been removed between Android 6.0-r0.5:
https://android.googlesource.com/kernel/msm/+/f06163e6d0b0c001ed79275cbe522d0b62ace3ed

The basic concept of the driver looks sane, so I think it makes sense to
start out with the code from Android 6.0-r0.4 and adapt it to your needs.
An alternative would be to build on the support we have in the MMC block
driver that allows sending commands to a card, but that is currently
limited to the block device interface.

Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/