Re: [PATCH resend] mmc: Added ioctl to let userspace apps send ACMD

2011-03-21 Thread John Calixto
On Mon, 21 Mar 2011, Andrei Warkentin wrote: > 2011/3/21 Arnd Bergmann : > > On Sunday 20 March 2011, Michał Mirosław wrote: > >> 2011/3/20 John Calixto : > >> > On Sat, 19 Mar 2011, Arnd Bergmann wrote: > >> [...] > >> >> > I expect for more general purposes, like your qemu passthrough case, > >

Re: [PATCH resend] mmc: Added ioctl to let userspace apps send ACMD

2011-03-21 Thread Andrei Warkentin
2011/3/21 Arnd Bergmann : > On Sunday 20 March 2011, Michał Mirosław wrote: >> 2011/3/20 John Calixto : >> > On Sat, 19 Mar 2011, Arnd Bergmann wrote: >> [...] >> >> > I expect for more general purposes, like your qemu passthrough case, you >> >> > would want to add a handler for cmd=SD_IOC_CMD? >>

Re: [PATCH resend] mmc: Added ioctl to let userspace apps send ACMD

2011-03-21 Thread Arnd Bergmann
On Sunday 20 March 2011, Michał Mirosław wrote: > 2011/3/20 John Calixto : > > On Sat, 19 Mar 2011, Arnd Bergmann wrote: > [...] > >> > I expect for more general purposes, like your qemu passthrough case, you > >> > would want to add a handler for cmd=SD_IOC_CMD? > >> Yes, but I suspect that would

Re: [PATCH resend] mmc: Added ioctl to let userspace apps send ACMD

2011-03-19 Thread Michał Mirosław
2011/3/20 John Calixto : > On Sat, 19 Mar 2011, Arnd Bergmann wrote: [...] >> > I expect for more general purposes, like your qemu passthrough case, you >> > would want to add a handler for cmd=SD_IOC_CMD? >> Yes, but I suspect that would mean blocking all other activity on the >> same device, poss

Re: [PATCH resend] mmc: Added ioctl to let userspace apps send ACMD

2011-03-19 Thread John Calixto
On Sat, 19 Mar 2011, Arnd Bergmann wrote: > Many of the SD specifications have redacted versions that allow > us to write OS drivers. For instance there is > http://www.sdcard.org/developers//tech/sdcard/pls/simplified_specs/Part_A1_ASSD_Extension_Simplified_Specification_Ver2.00_Final_100518.pdf >

Re: [PATCH resend] mmc: Added ioctl to let userspace apps send ACMD

2011-03-19 Thread Arnd Bergmann
On Friday 18 March 2011, John Calixto wrote: > On Fri, 18 Mar 2011, Arnd Bergmann wrote: > > On Friday 18 March 2011 18:32:41 John Calixto wrote: > > > I started down that route, but part of the problem with putting any more > > > than a simple passthrough in kernel space is that the CPRM algorithm

Re: [PATCH resend] mmc: Added ioctl to let userspace apps send ACMD

2011-03-18 Thread John Calixto
On Fri, 18 Mar 2011, Arnd Bergmann wrote: > On Friday 18 March 2011 18:32:41 John Calixto wrote: > > I started down that route, but part of the problem with putting any more > > than a simple passthrough in kernel space is that the CPRM algorithms > > live in the next highest logic layer, and 4C li