<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/mmc/core, branch tegra</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>mmc: core: add eMMC hardware reset support</title>
<updated>2017-03-31T08:16:31+00:00</updated>
<author>
<name>Adrian Hunter</name>
<email>adrian.hunter@intel.com</email>
</author>
<published>2011-08-29T13:42:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=e5ad0688a6b46f62664bdaad854311017bd039c4'/>
<id>e5ad0688a6b46f62664bdaad854311017bd039c4</id>
<content type='text'>
eMMC's may have a hardware reset line.  This patch provides a
host controller operation to implement hardware reset and
a function to reset and reinitialize the card.  Also, for MMC,
the reset is always performed before initialization.

The host must set the new host capability MMC_CAP_HW_RESET
to enable hardware reset.

Signed-off-by: Adrian Hunter &lt;adrian.hunter@intel.com&gt;
Signed-off-by: Chris Ball &lt;cjb@laptop.org&gt;
(cherry picked from commit b2499518b5ad7e28bb3ed348fd3f370eeb1e36c0)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
eMMC's may have a hardware reset line.  This patch provides a
host controller operation to implement hardware reset and
a function to reset and reinitialize the card.  Also, for MMC,
the reset is always performed before initialization.

The host must set the new host capability MMC_CAP_HW_RESET
to enable hardware reset.

Signed-off-by: Adrian Hunter &lt;adrian.hunter@intel.com&gt;
Signed-off-by: Chris Ball &lt;cjb@laptop.org&gt;
(cherry picked from commit b2499518b5ad7e28bb3ed348fd3f370eeb1e36c0)
</pre>
</div>
</content>
</entry>
<entry>
<title>mmc: core: Disable HPI for certain Hynix eMMC cards</title>
<updated>2015-10-14T14:11:59+00:00</updated>
<author>
<name>Marcel Ziswiler</name>
<email>marcel.ziswiler@toradex.com</email>
</author>
<published>2015-10-14T14:11:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=332211ed906a6d3c7ffb0f3cae1865348aadcd14'/>
<id>332211ed906a6d3c7ffb0f3cae1865348aadcd14</id>
<content type='text'>
Certain Hynix eMMC 4.41 cards might get broken when HPI feature is used
and hence this patch disables the HPI feature for such buggy cards.

As some of the other features like BKOPs/Cache/Sanitize are dependent on
HPI feature, those features would also get disabled if HPI is disabled.

Change-Id: I6a638ce089cbd977122e47aecb721bc3f0adf7b0
Signed-off-by: Pratibhasagar V &lt;pratibha@codeaurora.org&gt;
Signed-off-by: Subhash Jadavani &lt;subhashj@codeaurora.org&gt;

Fix ported from the following Android MSM kernel commit:

https://www.codeaurora.org/cgit/quic/la/kernel/msm/commit/?id=84af3731019921a28d595dbf6cbf00539706a42c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Certain Hynix eMMC 4.41 cards might get broken when HPI feature is used
and hence this patch disables the HPI feature for such buggy cards.

As some of the other features like BKOPs/Cache/Sanitize are dependent on
HPI feature, those features would also get disabled if HPI is disabled.

Change-Id: I6a638ce089cbd977122e47aecb721bc3f0adf7b0
Signed-off-by: Pratibhasagar V &lt;pratibha@codeaurora.org&gt;
Signed-off-by: Subhash Jadavani &lt;subhashj@codeaurora.org&gt;

Fix ported from the following Android MSM kernel commit:

https://www.codeaurora.org/cgit/quic/la/kernel/msm/commit/?id=84af3731019921a28d595dbf6cbf00539706a42c
</pre>
</div>
</content>
</entry>
<entry>
<title>mmc: core: Retry if data commands fail with error</title>
<updated>2015-02-03T15:52:18+00:00</updated>
<author>
<name>Mayuresh Kulkarni</name>
<email>mkulkarni@nvidia.com</email>
</author>
<published>2011-12-20T11:16:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=274dcdb2b06714f0b637ed074114b580e65b3633'/>
<id>274dcdb2b06714f0b637ed074114b580e65b3633</id>
<content type='text'>
If the data commands fail due to some error, retry the transfer.
Add 3 retries for data commands.

for bug 914934

Change-Id: I53245ddd159abdbade09f841d9490d2f106e7c88
Signed-off-by: Mayuresh Kulkarni &lt;mkulkarni@nvidia.com&gt;
Signed-off-by: Pavan Kunapuli &lt;pkunapuli@nvidia.com&gt;
Reviewed-on: http://git-master/r/71181
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sachin Nikam &lt;snikam@nvidia.com&gt;
Reviewed-by: Varun Wadekar &lt;vwadekar@nvidia.com&gt;
(cherry picked from commit fd804ee58d3f9ce10cb2fe16aa76ae0407912d32)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If the data commands fail due to some error, retry the transfer.
Add 3 retries for data commands.

for bug 914934

Change-Id: I53245ddd159abdbade09f841d9490d2f106e7c88
Signed-off-by: Mayuresh Kulkarni &lt;mkulkarni@nvidia.com&gt;
Signed-off-by: Pavan Kunapuli &lt;pkunapuli@nvidia.com&gt;
Reviewed-on: http://git-master/r/71181
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sachin Nikam &lt;snikam@nvidia.com&gt;
Reviewed-by: Varun Wadekar &lt;vwadekar@nvidia.com&gt;
(cherry picked from commit fd804ee58d3f9ce10cb2fe16aa76ae0407912d32)
</pre>
</div>
</content>
</entry>
<entry>
<title>mmc: Add tracepoints of mmc block operations</title>
<updated>2015-02-03T15:47:08+00:00</updated>
<author>
<name>Ken Sumrall</name>
<email>ksumrall@android.com</email>
</author>
<published>2013-05-16T03:13:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=b982e9d1023f86805dd9bfae7d35e02f36bd2a06'/>
<id>b982e9d1023f86805dd9bfae7d35e02f36bd2a06</id>
<content type='text'>
Add tracepoints to record the start and end of each mmc block
operation.  This includes read, write, erase, secure erase,
trim, secure trim1 and secure trim 2, discard and
sanitize commands.

Change-Id: Ic5d1cbdb9adb940d8b1a2a13c73970023575df50
Signed-off-by: Ken Sumrall &lt;ksumrall@android.com&gt;
Signed-off-by: Iliyan Malchev &lt;malchev@google.com&gt;

Conflicts:
	drivers/mmc/card/block.c
	drivers/mmc/core/core.c

(cherry picked from commit 4de9a433c26e47d9b4a93105eb92935321100786)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add tracepoints to record the start and end of each mmc block
operation.  This includes read, write, erase, secure erase,
trim, secure trim1 and secure trim 2, discard and
sanitize commands.

Change-Id: Ic5d1cbdb9adb940d8b1a2a13c73970023575df50
Signed-off-by: Ken Sumrall &lt;ksumrall@android.com&gt;
Signed-off-by: Iliyan Malchev &lt;malchev@google.com&gt;

Conflicts:
	drivers/mmc/card/block.c
	drivers/mmc/core/core.c

(cherry picked from commit 4de9a433c26e47d9b4a93105eb92935321100786)
</pre>
</div>
</content>
</entry>
<entry>
<title>mmc: core: new discard feature support at Samsung eMMC v4.41+.</title>
<updated>2015-02-03T15:46:22+00:00</updated>
<author>
<name>singhome_lee</name>
<email>singhome_lee@asus.com</email>
</author>
<published>2012-09-20T05:54:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=ba18f86d405f3188eb2656dbf629845aa5b4759f'/>
<id>ba18f86d405f3188eb2656dbf629845aa5b4759f</id>
<content type='text'>
Support discard feature if MID field in the CID register is 0x15, EXT.CSD[192]
(device version) is 5 and Bit 0 in the EXT.CSD[64] is 1. Also removed REQ_SECURE flag
check to avoid kernel hang.

This patch is released from samsung.

Change-Id: I4023a900680e9bca10c40311b09ed077a22617db
(cherry picked from commit 4acc227edfb631d377e14911287c1b73682fc9c2)

Conflicts:
	drivers/mmc/card/block.c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Support discard feature if MID field in the CID register is 0x15, EXT.CSD[192]
(device version) is 5 and Bit 0 in the EXT.CSD[64] is 1. Also removed REQ_SECURE flag
check to avoid kernel hang.

This patch is released from samsung.

Change-Id: I4023a900680e9bca10c40311b09ed077a22617db
(cherry picked from commit 4acc227edfb631d377e14911287c1b73682fc9c2)

Conflicts:
	drivers/mmc/card/block.c
</pre>
</div>
</content>
</entry>
<entry>
<title>eMMC: Enable deferred resume function</title>
<updated>2015-02-03T15:00:16+00:00</updated>
<author>
<name>ban_feng</name>
<email>Ban_Feng@asus.com</email>
</author>
<published>2012-03-28T07:45:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=cee47e607ad98f0299cdce0bbe83898f4eab689a'/>
<id>cee47e607ad98f0299cdce0bbe83898f4eab689a</id>
<content type='text'>
Change-Id: I40a8481618b1a5995a713ff343c7532badd20b65
Change-Id: I399302118c9d8d8246a4a304ff7a1ea80889dbc6
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/45568
Reviewed-by: Ban Feng &lt;Ban_Feng@asus.com&gt;
Tested-by: Ban Feng &lt;Ban_Feng@asus.com&gt;
Reviewed-by: Sam hblee &lt;Sam_hblee@asus.com&gt;
(cherry picked from commit 121c0c6dffe16c683f4dbf00ed841fb4de1f70a0)

Conflicts:
	drivers/mmc/core/mmc.c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I40a8481618b1a5995a713ff343c7532badd20b65
Change-Id: I399302118c9d8d8246a4a304ff7a1ea80889dbc6
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/45568
Reviewed-by: Ban Feng &lt;Ban_Feng@asus.com&gt;
Tested-by: Ban Feng &lt;Ban_Feng@asus.com&gt;
Reviewed-by: Sam hblee &lt;Sam_hblee@asus.com&gt;
(cherry picked from commit 121c0c6dffe16c683f4dbf00ed841fb4de1f70a0)

Conflicts:
	drivers/mmc/core/mmc.c
</pre>
</div>
</content>
</entry>
<entry>
<title>eMMC: Add more debugging messages</title>
<updated>2015-02-03T14:51:48+00:00</updated>
<author>
<name>ban_feng</name>
<email>Ban_Feng@asus.com</email>
</author>
<published>2012-03-28T09:30:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=d9a0d0137d952e1adad44ee96069dc2db30e06c9'/>
<id>d9a0d0137d952e1adad44ee96069dc2db30e06c9</id>
<content type='text'>
Change-Id: I28d670944cbfd55e2b2ad98b727368a8dfdc0944
Change-Id: I2bb65335c2468b257473fe264e705826cfd4474e
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/45300
Reviewed-by: Ban Feng &lt;Ban_Feng@asus.com&gt;
Tested-by: Ban Feng &lt;Ban_Feng@asus.com&gt;
Reviewed-by: Sam hblee &lt;Sam_hblee@asus.com&gt;
(cherry picked from commit 1711f72a9840f3667cf93c774ac16c2d8417375c)

Conflicts:
	drivers/mmc/core/core.c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I28d670944cbfd55e2b2ad98b727368a8dfdc0944
Change-Id: I2bb65335c2468b257473fe264e705826cfd4474e
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/45300
Reviewed-by: Ban Feng &lt;Ban_Feng@asus.com&gt;
Tested-by: Ban Feng &lt;Ban_Feng@asus.com&gt;
Reviewed-by: Sam hblee &lt;Sam_hblee@asus.com&gt;
(cherry picked from commit 1711f72a9840f3667cf93c774ac16c2d8417375c)

Conflicts:
	drivers/mmc/core/core.c
</pre>
</div>
</content>
</entry>
<entry>
<title>eMMC: Add Product revision, Sector count and driver init log</title>
<updated>2015-02-03T14:49:06+00:00</updated>
<author>
<name>ban_feng</name>
<email>Ban_Feng@asus.com</email>
</author>
<published>2012-03-28T03:05:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=5f7bbcaf707c56badf8dd9354994ea908561eda6'/>
<id>5f7bbcaf707c56badf8dd9354994ea908561eda6</id>
<content type='text'>
Change-Id: I89b544afbb0a109a222621a9948399fba8f77693
Change-Id: Ie366a152100a478e7811b4395f3fae9794bb1386
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/45221
Reviewed-by: Ban Feng &lt;Ban_Feng@asus.com&gt;
Tested-by: Ban Feng &lt;Ban_Feng@asus.com&gt;
Reviewed-by: Sam hblee &lt;Sam_hblee@asus.com&gt;

Conflicts:
	drivers/mmc/core/mmc.c
	include/linux/mmc/card.h

asdf
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I89b544afbb0a109a222621a9948399fba8f77693
Change-Id: Ie366a152100a478e7811b4395f3fae9794bb1386
Reviewed-on: http://mcrd1-5.corpnet.asus/code-review/master/45221
Reviewed-by: Ban Feng &lt;Ban_Feng@asus.com&gt;
Tested-by: Ban Feng &lt;Ban_Feng@asus.com&gt;
Reviewed-by: Sam hblee &lt;Sam_hblee@asus.com&gt;

Conflicts:
	drivers/mmc/core/mmc.c
	include/linux/mmc/card.h

asdf
</pre>
</div>
</content>
</entry>
<entry>
<title>mmc: Allow forward compatibility for eMMC</title>
<updated>2014-12-09T13:43:23+00:00</updated>
<author>
<name>Romain Izard</name>
<email>romain.izard.pro@gmail.com</email>
</author>
<published>2014-06-27T08:51:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=ff48d3dc5c35b37cf3fb2469fba969308d3c4db0'/>
<id>ff48d3dc5c35b37cf3fb2469fba969308d3c4db0</id>
<content type='text'>
As stated by the eMMC 5.0 specification, a chip should not be rejected
only because of the revision stated in the EXT_CSD_REV field of the
EXT_CSD register.

Remove the control on this value, the control of the CSD_STRUCTURE field
should be sufficient to reject future incompatible changes.

Signed-off-by: Romain Izard &lt;romain.izard.pro@gmail.com&gt;
Signed-off-by: Ulf Hansson &lt;ulf.hansson@linaro.org&gt;
(cherry picked from commit 03a59437ef6b6ad7fb0165cb9b96c08d6bf057fc)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As stated by the eMMC 5.0 specification, a chip should not be rejected
only because of the revision stated in the EXT_CSD_REV field of the
EXT_CSD register.

Remove the control on this value, the control of the CSD_STRUCTURE field
should be sufficient to reject future incompatible changes.

Signed-off-by: Romain Izard &lt;romain.izard.pro@gmail.com&gt;
Signed-off-by: Ulf Hansson &lt;ulf.hansson@linaro.org&gt;
(cherry picked from commit 03a59437ef6b6ad7fb0165cb9b96c08d6bf057fc)
</pre>
</div>
</content>
</entry>
<entry>
<title>mmc: core: Update the ext-csd.rev check for eMMC5.1</title>
<updated>2014-12-09T13:42:35+00:00</updated>
<author>
<name>Yuvaraj Kumar C D</name>
<email>yuvaraj.cd@gmail.com</email>
</author>
<published>2013-05-21T09:38:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=e4c3c4d0d336576e4f507bd76889689fb1f747fd'/>
<id>e4c3c4d0d336576e4f507bd76889689fb1f747fd</id>
<content type='text'>
With the new eMMC5.1 spec, there is a new EXT_CSD register with
the revision number(EXT_CSD_REV) 7. This patch updates the check
for ext-csd.rev number as 7.

Signed-off-by: Alim Akhtar &lt;alim.akhtar@samsung.com&gt;
Signed-off-by: Yuvaraj Kumar C D &lt;yuvaraj.cd@samsung.com&gt;
Reviewed-by: Doug Anderson &lt;dianders@chromium.org&gt;
Signed-off-by: Chris Ball &lt;cjb@laptop.org&gt;
(cherry picked from commit 6636bad839d9936e73e48c4841eda83a58fcdb53)

Conflicts:
	drivers/mmc/core/mmc.c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With the new eMMC5.1 spec, there is a new EXT_CSD register with
the revision number(EXT_CSD_REV) 7. This patch updates the check
for ext-csd.rev number as 7.

Signed-off-by: Alim Akhtar &lt;alim.akhtar@samsung.com&gt;
Signed-off-by: Yuvaraj Kumar C D &lt;yuvaraj.cd@samsung.com&gt;
Reviewed-by: Doug Anderson &lt;dianders@chromium.org&gt;
Signed-off-by: Chris Ball &lt;cjb@laptop.org&gt;
(cherry picked from commit 6636bad839d9936e73e48c4841eda83a58fcdb53)

Conflicts:
	drivers/mmc/core/mmc.c
</pre>
</div>
</content>
</entry>
</feed>
