Re: [PATCH 3/3] mmc: Add per-card debugfs support

From: Haavard Skinnemoen
Date: Sat Jun 28 2008 - 09:48:49 EST


Pierre Ossman <drzeus-mmc@xxxxxxxxx> wrote:
> The status command doesn't work on SDIO cards, so this seems like the
> wrong place for it.

Where do you want it then?

Btw, /sys/class/mmc_host/mmc0/<card>/test doesn't work on SDIO cards
either:

mmc0: Starting tests of card mmc0:0001...
mmc0: Test case 1. Basic write (no data verification)...
mmc0: Result: ERROR (-110)
mmc0: Test case 2. Basic read (no data verification)...
mmc0: Result: ERROR (-110)
mmc0: Test case 3. Basic write (with data verification)...
mmc0: Result: Prepare stage failed! (-110)
mmc0: Test case 4. Basic read (with data verification)...
mmc0: Result: Prepare stage failed! (-110)
mmc0: Test case 5. Multi-block write...
mmc0: Result: Prepare stage failed! (-110)
mmc0: Test case 6. Multi-block read...
mmc0: Result: Prepare stage failed! (-110)
mmc0: Test case 7. Power of two block writes...
mmc0: Result: Prepare stage failed! (-110)
mmc0: Test case 8. Power of two block reads...
mmc0: Result: Prepare stage failed! (-110)
mmc0: Test case 9. Weird sized block writes...
mmc0: Result: Prepare stage failed! (-110)
mmc0: Test case 10. Weird sized block reads...
mmc0: Result: Prepare stage failed! (-110)
mmc0: Test case 11. Badly aligned write...
mmc0: Result: Prepare stage failed! (-110)
mmc0: Test case 12. Badly aligned read...
mmc0: Result: Prepare stage failed! (-110)
mmc0: Test case 13. Badly aligned multi-block write...
mmc0: Result: Prepare stage failed! (-110)
mmc0: Test case 14. Badly aligned multi-block read...
mmc0: Result: Prepare stage failed! (-110)
mmc0: Test case 15. Correct xfer_size at write (start failure)...
mmc0: Result: ERROR (-110)
mmc0: Test case 16. Correct xfer_size at read (start failure)...
mmc0: Result: ERROR (-110)
mmc0: Test case 17. Correct xfer_size at write (midway failure)...
mmc0: Result: ERROR (-110)
mmc0: Test case 18. Correct xfer_size at read (midway failure)...
mmc0: Result: ERROR (-110)
mmc0: Tests completed.

Haavard
--
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/