[linux-yocto] [PATCH 3/4] mmc: block: Always switch back to main area after RPMB access

2016-06-17 Thread Lim Key Seong
From: Adrian Hunter In preparation to support the use of the RPMB partition with transfer modes that might require re-tuning, always switch back to the main area after RPMB access. RPMB is accessible only via IOCTL so only those paths are affected. Signed-off-by:

[linux-yocto] [PATCH 4/4] mmc: block: Pause re-tuning while switched to the RPMB partition

2016-06-17 Thread Lim Key Seong
From: Adrian Hunter Re-tuning is not possible when switched to the RPMB partition. However re-tuning should not be needed if re-tuning is done immediately before switching, a small set of operations is done, and then we immediately switch back to the main partition. A

[linux-yocto] [PATCH 2/4] mmc: core: Add a facility to "pause" re-tuning

2016-06-17 Thread Lim Key Seong
From: Adrian Hunter Re-tuning is not possible when switched to the RPMB partition. However re-tuning should not be needed if re-tuning is done immediately before switching, a small set of operations is done, and then we immediately switch back to the main partition. To

[linux-yocto] [PATCH 1/4] mmc: block: Add new ioctl to send multi commands

2016-06-17 Thread Lim Key Seong
From: Jon Hunter Certain eMMC devices allow vendor specific device information to be read via a sequence of vendor commands. These vendor commands must be issued in sequence and an atomic fashion. One way to support this would be to add an ioctl function for sending a