<feed xmlns='http://www.w3.org/2005/Atom'>
<title>talos-obmc-linux/drivers/mmc, branch dev-4.13</title>
<subtitle>Talos™ II Linux sources for OpenBMC</subtitle>
<id>https://git.raptorcs.com/git/talos-obmc-linux/atom?h=dev-4.13</id>
<link rel='self' href='https://git.raptorcs.com/git/talos-obmc-linux/atom?h=dev-4.13'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/'/>
<updated>2017-12-07T10:37:34+00:00</updated>
<entry>
<title>mmc: sdhci-st: add FSP2(ppc476fpe) into depends for sdhci-st</title>
<updated>2017-12-07T10:37:34+00:00</updated>
<author>
<name>Ivan Mikhaylov</name>
<email>ivan@de.ibm.com</email>
</author>
<published>2017-06-30T11:53:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/commit/?id=61dd33b93ddde2f996d087c1129e4309c97822a2'/>
<id>urn:sha1:61dd33b93ddde2f996d087c1129e4309c97822a2</id>
<content type='text'>
shdci-st driver can be used for ppc476 fsp2 soc.

Signed-off-by: Ivan Mikhaylov &lt;ivan@de.ibm.com&gt;
Signed-off-by: Ulf Hansson &lt;ulf.hansson@linaro.org&gt;
(cherry picked from commit 2feada5bb0441c918d12778bf9449d5ff805aa7c)
Signed-off-by: Joel Stanley &lt;joel@jms.id.au&gt;
</content>
</entry>
<entry>
<title>mmc: sdhci-pci: Fix default d3_retune for Intel host controllers</title>
<updated>2017-10-27T08:39:12+00:00</updated>
<author>
<name>Adrian Hunter</name>
<email>adrian.hunter@intel.com</email>
</author>
<published>2017-10-09T07:24:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/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:19+00:00</updated>
<author>
<name>Chanho Min</name>
<email>chanho.min@lge.com</email>
</author>
<published>2017-09-26T00:03:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/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:32+00:00</updated>
<author>
<name>Adrian Hunter</name>
<email>adrian.hunter@intel.com</email>
</author>
<published>2017-09-18T12:16:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/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:24+00:00</updated>
<author>
<name>Adrian Hunter</name>
<email>adrian.hunter@intel.com</email>
</author>
<published>2017-09-07T07:40:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/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:47+00:00</updated>
<author>
<name>Zhoujie Wu</name>
<email>zjwu@marvell.com</email>
</author>
<published>2017-08-21T18:02:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/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:40+00:00</updated>
<author>
<name>Adrian Hunter</name>
<email>adrian.hunter@intel.com</email>
</author>
<published>2017-08-25T12:43:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/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:31+00:00</updated>
<author>
<name>Shawn Lin</name>
<email>shawn.lin@rock-chips.com</email>
</author>
<published>2017-08-18T01:16:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/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:44+00:00</updated>
<author>
<name>Michał Mirosław</name>
<email>mirq-linux@rere.qmqm.pl</email>
</author>
<published>2017-08-08T23:48:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/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:43+00:00</updated>
<author>
<name>Haibo Chen</name>
<email>haibo.chen@nxp.com</email>
</author>
<published>2017-08-08T10:54:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-obmc-linux/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>
</feed>
