<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/mmc, branch linux-4.13.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.13.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.13.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2017-10-27T08:39:12Z</updated>
<entry>
<title>mmc: sdhci-pci: Fix default d3_retune for Intel host controllers</title>
<updated>2017-10-27T08:39:12Z</updated>
<author>
<name>Adrian Hunter</name>
</author>
<published>2017-10-09T07:24:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e8194caabdf1c292a07138806f3d9a894cb41a49'/>
<id>urn:sha1:e8194caabdf1c292a07138806f3d9a894cb41a49</id>
<content type='text'>
commit eb701ce16a45ed9880897c48f05ee608d77c72e3 upstream.

The default for d3_retune is true, but that was not being set in all cases,
which results in eMMC errors because re-tuning has not been done.
Fix by initializing d3_retune to true.

Signed-off-by: Adrian Hunter &lt;adrian.hunter@intel.com&gt;
Fixes: c959a6b00ff5 ("mmc: sdhci-pci: Don't re-tune with runtime pm for some Intel devices")
Reported-and-tested-by: ojab &lt;ojab@ojab.ru&gt;
Signed-off-by: Ulf Hansson &lt;ulf.hansson@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>mmc: core: add driver strength selection when selecting hs400es</title>
<updated>2017-10-12T09:56:19Z</updated>
<author>
<name>Chanho Min</name>
</author>
<published>2017-09-26T00:03:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=537222a044437627cb7e4c75684b90c1a678b458'/>
<id>urn:sha1:537222a044437627cb7e4c75684b90c1a678b458</id>
<content type='text'>
commit fb458864d9a78cc433fec7979acbe4078c82d7a8 upstream.

The driver strength selection is missed and required when selecting
hs400es. So, It is added here.

Fixes: 81ac2af65793ecf ("mmc: core: implement enhanced strobe support")
Signed-off-by: Hankyung Yu &lt;hankyung.yu@lge.com&gt;
Signed-off-by: Chanho Min &lt;chanho.min@lge.com&gt;
Reviewed-by: Adrian Hunter &lt;adrian.hunter@intel.com&gt;
Reviewed-by: Shawn Lin &lt;shawn.lin@rock-chips.com&gt;
Signed-off-by: Ulf Hansson &lt;ulf.hansson@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>mmc: sdhci-pci: Fix voltage switch for some Intel host controllers</title>
<updated>2017-10-05T07:47:32Z</updated>
<author>
<name>Adrian Hunter</name>
</author>
<published>2017-09-18T12:16:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4d4b18be3ac192f10feb6c08e2725e339625f008'/>
<id>urn:sha1:4d4b18be3ac192f10feb6c08e2725e339625f008</id>
<content type='text'>
commit 6ae033689d7b1a419def78e8e990b0eab8bb6419 upstream.

Some Intel host controllers (e.g. CNP) use an ACPI device-specific method
to ensure correct voltage switching. Fix voltage switch for those, by
adding a call to the DSM.

Signed-off-by: Adrian Hunter &lt;adrian.hunter@intel.com&gt;
Signed-off-by: Ulf Hansson &lt;ulf.hansson@linaro.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>mmc: block: Fix incorrectly initialized requests</title>
<updated>2017-10-05T07:47:24Z</updated>
<author>
<name>Adrian Hunter</name>
</author>
<published>2017-09-07T07:40:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3b4692fe4111e75c035f256e8732c95328e42f60'/>
<id>urn:sha1:3b4692fe4111e75c035f256e8732c95328e42f60</id>
<content type='text'>
commit 01f5bbd17a8066b58dba9b5049fad504bce67322 upstream.

mmc_init_request() depends on card-&gt;bouncesz so it must be calculated
before blk_init_allocated_queue() starts allocating requests.

Reported-by: Seraphime Kirkovski &lt;kirkseraph@gmail.com&gt;
Fixes: 304419d8a7e9 ("mmc: core: Allocate per-request data using the..")
Signed-off-by: Adrian Hunter &lt;adrian.hunter@intel.com&gt;
Tested-by: Seraphime Kirkovski &lt;kirkseraph@gmail.com&gt;
Signed-off-by: Ulf Hansson &lt;ulf.hansson@linaro.org&gt;
Tested-by: Pavel Machek &lt;pavel@ucw.cz&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>mmc: sdhci-xenon: add set_power callback</title>
<updated>2017-08-30T12:11:47Z</updated>
<author>
<name>Zhoujie Wu</name>
</author>
<published>2017-08-21T18:02:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=99c14fc360dbbb583a03ab985551b12b5c5ca4f1'/>
<id>urn:sha1:99c14fc360dbbb583a03ab985551b12b5c5ca4f1</id>
<content type='text'>
Xenon sdh controller requests proper SD bus voltage select
bits programmed even with vmmc power supply. Any reserved
value(100b-000b) programmed in this field will lead to controller
ignore SD bus power bit and keep its value at zero.
Add set_power callback to handle this.

Signed-off-by: Zhoujie Wu &lt;zjwu@marvell.com&gt;
Acked-by: Adrian Hunter &lt;adrian.hunter@intel.com&gt;
Tested-by: Gregory CLEMENT &lt;gregory.clement@free-electrons.com&gt;
Fixes: 3a3748dba881 ("mmc: sdhci-xenon: Add Marvell Xenon SDHC core functionality")
Cc: &lt;stable@vger.kernel.org&gt;
Signed-off-by: Ulf Hansson &lt;ulf.hansson@linaro.org&gt;
</content>
</entry>
<entry>
<title>mmc: block: Fix block status codes</title>
<updated>2017-08-30T11:49:40Z</updated>
<author>
<name>Adrian Hunter</name>
</author>
<published>2017-08-25T12:43:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a7c17d8ae4918afe527c141cc20ed34dfe18e7db'/>
<id>urn:sha1:a7c17d8ae4918afe527c141cc20ed34dfe18e7db</id>
<content type='text'>
Commit 2a842acab109 ("block: introduce new block status code type") changed
the error type but not in patches merged through the mmc tree, like
commit 0493f6fe5bde ("mmc: block: Move boot partition locking into a driver
op"). Fix one error code that is incorrect and also use BLK_STS_OK in
preference to 0.

Fixes: 17ece345a042 ("Merge tag 'mmc-v4.13' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc")
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: block: prevent propagating R1_OUT_OF_RANGE for open-ending mode</title>
<updated>2017-08-21T11:32:31Z</updated>
<author>
<name>Shawn Lin</name>
</author>
<published>2017-08-18T01:16:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d83c2dbaa90a9bd6346e234d9802080a9c7b2fea'/>
<id>urn:sha1:d83c2dbaa90a9bd6346e234d9802080a9c7b2fea</id>
<content type='text'>
We to some extent should tolerate R1_OUT_OF_RANGE for open-ending
mode as it is expected behaviour and most of the backup partition
tables should be located near some of the last blocks which will
always make open-ending read exceed the capacity of cards.

Fixes: 9820a5b11101 ("mmc: core: for data errors, take response of stop cmd into account")
Fixes: a04e6bae9e6f ("mmc: core: check also R1 response for stop commands")
Signed-off-by: Shawn Lin &lt;shawn.lin@rock-chips.com&gt;
Reviewed-by: Wolfram Sang &lt;wsa+renesas@sang-engineering.com&gt;
Tested-by: Shawn Guo &lt;shawnguo@kernel.org&gt;
Signed-off-by: Ulf Hansson &lt;ulf.hansson@linaro.org&gt;
</content>
</entry>
<entry>
<title>mmc: block: fix lockdep splat when removing mmc_block module</title>
<updated>2017-08-09T11:19:44Z</updated>
<author>
<name>Michał Mirosław</name>
</author>
<published>2017-08-08T23:48:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3f8b23a09a87aa65df3e13129cb2d9cffcb394db'/>
<id>urn:sha1:3f8b23a09a87aa65df3e13129cb2d9cffcb394db</id>
<content type='text'>
Fix lockdep splat introduced in v4.13-rc4.

[  266.297226] ------------[ cut here ]------------
[  266.300078] WARNING: CPU: 2 PID: 176 at /mnt/src/jaja/git/tf300t/include/linux/blkdev.h:657 mmc_blk_remove_req+0xd0/0xe8 [mmc_block]
[  266.302937] Modules linked in: mmc_block(-) sdhci_tegra sdhci_pltfm sdhci pwrseq_simple pwrseq_emmc mmc_core
[  266.305941] CPU: 2 PID: 176 Comm: rmmod Tainted: G        W       4.13.0-rc4mq-00208-gb691e67724b8-dirty #694
[  266.308852] Hardware name: NVIDIA Tegra SoC (Flattened Device Tree)
[  266.311719] [&lt;b011144c&gt;] (unwind_backtrace) from [&lt;b010ca54&gt;] (show_stack+0x18/0x1c)
[  266.314664] [&lt;b010ca54&gt;] (show_stack) from [&lt;b062e3f4&gt;] (dump_stack+0x84/0x98)
[  266.317644] [&lt;b062e3f4&gt;] (dump_stack) from [&lt;b01214f4&gt;] (__warn+0xf4/0x10c)
[  266.320542] [&lt;b01214f4&gt;] (__warn) from [&lt;b01215d4&gt;] (warn_slowpath_null+0x28/0x30)
[  266.323534] [&lt;b01215d4&gt;] (warn_slowpath_null) from [&lt;af067858&gt;] (mmc_blk_remove_req+0xd0/0xe8 [mmc_block])
[  266.326568] [&lt;af067858&gt;] (mmc_blk_remove_req [mmc_block]) from [&lt;af068f40&gt;] (mmc_blk_remove_parts.constprop.6+0x50/0x64 [mmc_block])
[  266.329678] [&lt;af068f40&gt;] (mmc_blk_remove_parts.constprop.6 [mmc_block]) from [&lt;af0693b8&gt;] (mmc_blk_remove+0x24/0x140 [mmc_block])
[  266.332894] [&lt;af0693b8&gt;] (mmc_blk_remove [mmc_block]) from [&lt;af0052ec&gt;] (mmc_bus_remove+0x20/0x28 [mmc_core])
[  266.336198] [&lt;af0052ec&gt;] (mmc_bus_remove [mmc_core]) from [&lt;b046aa64&gt;] (device_release_driver_internal+0x164/0x200)
[  266.339367] [&lt;b046aa64&gt;] (device_release_driver_internal) from [&lt;b046ab54&gt;] (driver_detach+0x40/0x74)
[  266.342537] [&lt;b046ab54&gt;] (driver_detach) from [&lt;b046982c&gt;] (bus_remove_driver+0x68/0xdc)
[  266.345660] [&lt;b046982c&gt;] (bus_remove_driver) from [&lt;af06ad40&gt;] (mmc_blk_exit+0xc/0x2cc [mmc_block])
[  266.348875] [&lt;af06ad40&gt;] (mmc_blk_exit [mmc_block]) from [&lt;b01aee30&gt;] (SyS_delete_module+0x1c4/0x254)
[  266.352068] [&lt;b01aee30&gt;] (SyS_delete_module) from [&lt;b0108480&gt;] (ret_fast_syscall+0x0/0x34)
[  266.355308] ---[ end trace f68728a0d3053b72 ]---

Fixes: 7c84b8b43d3d ("mmc: block: bypass the queue even if usage is present for hotplug")
Signed-off-by: Michał Mirosław &lt;mirq-linux@rere.qmqm.pl&gt;
Reviewed-by: Shawn Lin &lt;shawn.lin@rock-chips.com&gt;
Signed-off-by: Ulf Hansson &lt;ulf.hansson@linaro.org&gt;
</content>
</entry>
<entry>
<title>mmc: mmc: correct the logic for setting HS400ES signal voltage</title>
<updated>2017-08-08T16:55:43Z</updated>
<author>
<name>Haibo Chen</name>
</author>
<published>2017-08-08T10:54:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=92ddd95919466de5d34f3cb43635da9a7f9ab814'/>
<id>urn:sha1:92ddd95919466de5d34f3cb43635da9a7f9ab814</id>
<content type='text'>
Change the default err value to -EINVAL, make sure the card only
has type EXT_CSD_CARD_TYPE_HS400_1_8V also do the signal voltage
setting when select hs400es mode.

Fixes: commit 1720d3545b77 ("mmc: core: switch to 1V8 or 1V2 for hs400es mode")
Cc: &lt;stable@vger.kernel.org&gt;
Signed-off-by: Haibo Chen &lt;haibo.chen@nxp.com&gt;
Reviewed-by: Shawn Lin &lt;shawn.lin@rock-chips.com&gt;
Signed-off-by: Ulf Hansson &lt;ulf.hansson@linaro.org&gt;
</content>
</entry>
<entry>
<title>mmc: host: omap_hsmmc: Add CMD23 capability to omap_hsmmc driver</title>
<updated>2017-08-08T08:11:07Z</updated>
<author>
<name>Kishon Vijay Abraham I</name>
</author>
<published>2017-08-08T05:18:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ac2b21157a3104ad2daa21c65e6cc73604edba0b'/>
<id>urn:sha1:ac2b21157a3104ad2daa21c65e6cc73604edba0b</id>
<content type='text'>
omap_hsmmc driver always relied on CMD12 to stop transmission.
However if CMD12 is not issued at the correct timing, the card will
indicate a out of range error. With certain cards in some of the
DRA7 based boards, -EIO error is observed. By Adding CMD23 capability,
the MMC core will send MMC_SET_BLOCK_COUNT command before
MMC_READ_MULTIPLE_BLOCK/MMC_WRITE_MULTIPLE_BLOCK commands.

commit a04e6bae9e6f12 ("mmc: core: check also R1 response for
stop commands") exposed this bug in omap_hsmmc driver.

Signed-off-by: Kishon Vijay Abraham I &lt;kishon@ti.com&gt;
Signed-off-by: Ulf Hansson &lt;ulf.hansson@linaro.org&gt;
</content>
</entry>
</feed>
