public inbox for linux-mmc@vger.kernel.org
 help / color / mirror / Atom feed
From: Chris Ball <cjb@laptop.org>
To: Shashidhar Hiremath <shashidharh@vayavyalabs.com>
Cc: Will Newton <will.newton@gmail.com>,
	Jae hoon Chung <jh80.chung@gmail.com>,
	James Hogan <james.hogan@imgtec.com>,
	kyungmin.park@samsung.com, linux-mmc@vger.kernel.org
Subject: Re: Testing Infrastructure for SD/MMC Commands
Date: Tue, 16 Aug 2011 12:11:13 -0400	[thread overview]
Message-ID: <m239h1z68u.fsf@bob.laptop.org> (raw)
In-Reply-To: <CANYdXnrHWGPCeAEJQq6cmsZAyYfvvcSZ_1_3jKhcMbTARJpGVw@mail.gmail.com> (Shashidhar Hiremath's message of "Tue, 16 Aug 2011 14:56:29 +0530")

Hi Shashidhar,

On Tue, Aug 16 2011, Shashidhar Hiremath wrote:
> i am planning to come up with a module that would help for testing
> the SD/MMC controller to see if supports the particular command.
>
> For example ,Through this module , we will be able to see if a
> particular command has been accepted by the device and whether device
> has responded in the expected manner or not by checking its response.
>
> Can I get some points on how useful this infrastructure would be ,and
> any inputs on what else to cover under this ?

You could consider using John Calixto's CMD passthrough ioctl for this,
and writing your tests in userspace:

  http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=cb87ea28ed9e75a41eb456bfcb547b4e6f10e750

It would be great to include your finished tool in a testsuite, both for
testing card commands and for testing the ioctl functionality itself.  :)

Thanks!

- Chris.
-- 
Chris Ball   <cjb@laptop.org>   <http://printf.net/>
One Laptop Per Child

  parent reply	other threads:[~2011-08-16 16:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CANYdXnoZK3OoWOnJhyq645GofnsXuk7tJm09Wv8=Y+gLujPSkQ@mail.gmail.com>
2011-08-16  9:26 ` Testing Infrastructure for SD/MMC Commands Shashidhar Hiremath
2011-08-16 16:03   ` J Freyensee
2011-08-16 16:11   ` Chris Ball [this message]
2011-08-17 13:51   ` seedshope
2011-08-17 14:11     ` about MicroSD transport issue for the current mainline kernel seedshope

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m239h1z68u.fsf@bob.laptop.org \
    --to=cjb@laptop.org \
    --cc=james.hogan@imgtec.com \
    --cc=jh80.chung@gmail.com \
    --cc=kyungmin.park@samsung.com \
    --cc=linux-mmc@vger.kernel.org \
    --cc=shashidharh@vayavyalabs.com \
    --cc=will.newton@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox