Tests:SDHI-DMA-callback-timing

From eLinux.org
Revision as of 11:59, 30 January 2017 by W sang (talk | contribs) (initial draft)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This document describes how to test for SDHI that DMA requests and SD accesses are properly finished before proceeding with the next command.

Setup

Kernel Version and Configuration

Support for this feature is expected to land upstream in v4.12. It is currently available in a topic branch:

git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git renesas/topic/<fixme>

It is critical that CONFIG_MMC_SDHI and CONFIG_MMC_DEBUG is enabled for these tests. All debug messages examined in this test are automatically created during boot. There is no need to trigger the messages by some event.

Hardware Environment

  • Lager/r8a7790 (R-Car H2 SoC) with a microSD card inserted into CN8 (SDHI0)

Testing