<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/mmc/core/mmc_ops.c, branch linux-4.4.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.4.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.4.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2019-04-03T04:23:24Z</updated>
<entry>
<title>mmc: mmc: fix switch timeout issue caused by jiffies precision</title>
<updated>2019-04-03T04:23:24Z</updated>
<author>
<name>Chaotian Jing</name>
</author>
<published>2016-05-19T08:47:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=695fc282c337c5f520582eaf3bda9b53319384e4'/>
<id>urn:sha1:695fc282c337c5f520582eaf3bda9b53319384e4</id>
<content type='text'>
[ Upstream commit 987aa5f8059613bf85cbb6f64ffbd34f5cb7a9d1 ]

with CONFIG_HZ=100, the precision of jiffies is 10ms, and the
generic_cmd6_time of some card is also 10ms. then, may be current
time is only 5ms, but already timed out caused by jiffies precision.

Signed-off-by: Chaotian Jing &lt;chaotian.jing@mediatek.com&gt;
Signed-off-by: Ulf Hansson &lt;ulf.hansson@linaro.org&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>mmc: mmc: extend the mmc_send_tuning()</title>
<updated>2015-10-27T09:38:41Z</updated>
<author>
<name>Chaotian Jing</name>
</author>
<published>2015-10-27T06:24:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9979dbe5158899b556eb772b7335e29417ac0ddd'/>
<id>urn:sha1:9979dbe5158899b556eb772b7335e29417ac0ddd</id>
<content type='text'>
The mmc_execute_tuning() has already prepared the opcode,
there is no need to prepare it again at mmc_send_tuning(),
and, there is a BUG of mmc_send_tuning() to determine the opcode
by bus width, assume eMMC was running at HS200, 4bit mode,
then the mmc_send_tuning() will overwrite the opcode from CMD21
to CMD19, then got error.

in addition, extend an argument of "cmd_error" to allow getting
if there was cmd error when tune response.

Signed-off-by: Chaotian Jing &lt;chaotian.jing@mediatek.com&gt;
[Ulf: Rebased patch]
Signed-off-by: Ulf Hansson &lt;ulf.hansson@linaro.org&gt;
</content>
</entry>
<entry>
<title>mmc: core: Convert __mmc_switch() into an internal core function</title>
<updated>2015-10-26T14:59:54Z</updated>
<author>
<name>Ulf Hansson</name>
</author>
<published>2015-09-15T13:19:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f90d2e4035d456cb20c0b784725d556eb4de4d8a'/>
<id>urn:sha1:f90d2e4035d456cb20c0b784725d556eb4de4d8a</id>
<content type='text'>
As there are no users of the __mmc_switch() API, except for the mmc core
itself, let's convert it from an exported function into an internal.

Signed-off-by: Ulf Hansson &lt;ulf.hansson@linaro.org&gt;
</content>
</entry>
<entry>
<title>mmc: core: Separate out the mmc_switch status check so it can be re-used</title>
<updated>2015-06-01T07:06:56Z</updated>
<author>
<name>Adrian Hunter</name>
</author>
<published>2015-05-07T10:10:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ed16f58dc00d47439c201ab18ca4d981210bcafd'/>
<id>urn:sha1:ed16f58dc00d47439c201ab18ca4d981210bcafd</id>
<content type='text'>
Make a separate function to do the mmc_switch status check
so it can be re-used. This is preparation for adding support
for HS400 re-tuning.

Signed-off-by: Adrian Hunter &lt;adrian.hunter@intel.com&gt;
Signed-off-by: Ulf Hansson &lt;ulf.hansson@linaro.org&gt;
</content>
</entry>
<entry>
<title>mmc: core: Hold re-tuning during switch commands</title>
<updated>2015-06-01T07:06:54Z</updated>
<author>
<name>Adrian Hunter</name>
</author>
<published>2015-05-07T10:10:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c6dbab9cb58f5519c65867c4b371e1ee730a8451'/>
<id>urn:sha1:c6dbab9cb58f5519c65867c4b371e1ee730a8451</id>
<content type='text'>
Hold re-tuning during switch commands to prevent
it from conflicting with the busy state or the CMD13
verification.

Signed-off-by: Adrian Hunter &lt;adrian.hunter@intel.com&gt;
Signed-off-by: Ulf Hansson &lt;ulf.hansson@linaro.org&gt;
</content>
</entry>
<entry>
<title>mmc: core: Make tuning block patterns static</title>
<updated>2015-01-19T08:56:24Z</updated>
<author>
<name>Ulf Hansson</name>
</author>
<published>2014-12-01T15:53:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=04cdbbfa73ebac57a30ec2ebebfd7e9342bbdc44'/>
<id>urn:sha1:04cdbbfa73ebac57a30ec2ebebfd7e9342bbdc44</id>
<content type='text'>
Since previous patches removed the need for the tuning block patterns
to be exported, let's move them close to the mmc_send_tuning() API.

Those are now intended to be used only by the mmc core.

Signed-off-by: Ulf Hansson &lt;ulf.hansson@linaro.org&gt;
Reviewed-by: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
Acked-by: Jaehoon Chung &lt;jh80.chung@samsung.com&gt;
</content>
</entry>
<entry>
<title>mmc: core: Let mmc_send_tuning() to take struct mmc_host* as parameter</title>
<updated>2014-12-08T08:11:04Z</updated>
<author>
<name>Ulf Hansson</name>
</author>
<published>2014-12-05T10:31:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fe5afb13d46e76b07ab7e732f2b694dcafef4d9d'/>
<id>urn:sha1:fe5afb13d46e76b07ab7e732f2b694dcafef4d9d</id>
<content type='text'>
To be able to use mmc_send_tuning() prior the struct mmc_card has been
allocated, let's convert it to take the struct mmc_host* as parameter
instead.

Suggested-by: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
Signed-off-by: Ulf Hansson &lt;ulf.hansson@linaro.org&gt;
Acked-by: Dong Aisheng &lt;b29396@freescale.com&gt;
Reviewed-by: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
</content>
</entry>
<entry>
<title>mmc: core: add core-level function for sending tuning commands</title>
<updated>2014-11-26T13:36:51Z</updated>
<author>
<name>Minda Chen</name>
</author>
<published>2014-11-26T05:05:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=996903de92f0c7a32d8c83f37d7ebcea0def8660'/>
<id>urn:sha1:996903de92f0c7a32d8c83f37d7ebcea0def8660</id>
<content type='text'>
According to the SD card spec, Add a manual tuning command function
for SDR104/HS200.
Sending command 19 or command 21 to read data and compare with the
tunning block pattern.

This patch will help to decrease some platform private codes in SDHCI
platform_execute_tuning() callbacks.

Signed-off-by: Minda Chen &lt;Minda.Chen@csr.com&gt;
Signed-off-by: Barry Song &lt;Baohua.Song@csr.com&gt;
Signed-off-by: Ulf Hansson &lt;ulf.hansson@linaro.org&gt;
</content>
</entry>
<entry>
<title>mmc: core: Convert to use kzalloc() for CXD register buffers</title>
<updated>2014-11-10T11:40:45Z</updated>
<author>
<name>Ulf Hansson</name>
</author>
<published>2014-10-17T10:00:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=22b787007faed44456414f7ed88331e39f0df387'/>
<id>urn:sha1:22b787007faed44456414f7ed88331e39f0df387</id>
<content type='text'>
While allocating buffers for CXD data, let's use kzalloc() to make sure
those are zeroed.

Signed-off-by: Ulf Hansson &lt;ulf.hansson@linaro.org&gt;
</content>
</entry>
<entry>
<title>mmc: core: Don't handle buffers on stack while fetching CXD registers</title>
<updated>2014-11-10T11:40:45Z</updated>
<author>
<name>Ulf Hansson</name>
</author>
<published>2014-10-17T09:58:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=601ed60cef722d1fcdbf46e5b63a7892585abf7b'/>
<id>urn:sha1:601ed60cef722d1fcdbf46e5b63a7892585abf7b</id>
<content type='text'>
Due to previous patches, all callers of mmc_send_cxd_data() now
allocates their buffers from the heap. This enables us to simplify
mmc_send_cxd_data() by removing the support of handling buffers, which
are allocated from the stack.

Signed-off-by: Ulf Hansson &lt;ulf.hansson@linaro.org&gt;
</content>
</entry>
</feed>
