<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/mmc/core/core.c, branch linux-6.16.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.16.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.16.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2025-05-14T14:59:17Z</updated>
<entry>
<title>mmc: rename mmc_can_trim() to mmc_card_can_trim()</title>
<updated>2025-05-14T14:59:17Z</updated>
<author>
<name>Wolfram Sang</name>
</author>
<published>2025-04-01T09:58:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b89d05f654547859c96a2f9ec142d4ea773df236'/>
<id>urn:sha1:b89d05f654547859c96a2f9ec142d4ea773df236</id>
<content type='text'>
mmc_can_* functions sometimes relate to the card and sometimes to the host.
Make it obvious by renaming this function to include 'card'. Also, convert to
proper bool type while we are here.

Signed-off-by: Wolfram Sang &lt;wsa+renesas@sang-engineering.com&gt;
Link: https://lore.kernel.org/r/20250401095847.29271-10-wsa+renesas@sang-engineering.com
Signed-off-by: Ulf Hansson &lt;ulf.hansson@linaro.org&gt;
</content>
</entry>
<entry>
<title>mmc: rename mmc_can_secure_erase_trim() to mmc_card_can_secure_erase_trim()</title>
<updated>2025-05-14T14:59:17Z</updated>
<author>
<name>Wolfram Sang</name>
</author>
<published>2025-04-01T09:58:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=55e0961a8b56f8356261e4a9b5544daf4f552def'/>
<id>urn:sha1:55e0961a8b56f8356261e4a9b5544daf4f552def</id>
<content type='text'>
mmc_can_* functions sometimes relate to the card and sometimes to the host.
Make it obvious by renaming this function to include 'card'. Also, convert to
proper bool type while we are here.

Signed-off-by: Wolfram Sang &lt;wsa+renesas@sang-engineering.com&gt;
Link: https://lore.kernel.org/r/20250401095847.29271-8-wsa+renesas@sang-engineering.com
Signed-off-by: Ulf Hansson &lt;ulf.hansson@linaro.org&gt;
</content>
</entry>
<entry>
<title>mmc: rename mmc_can_sanitize() to mmc_card_can_sanitize()</title>
<updated>2025-05-14T14:59:17Z</updated>
<author>
<name>Wolfram Sang</name>
</author>
<published>2025-04-01T09:58:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2abda0485610a6a7849a13576c8c13c3ba903db1'/>
<id>urn:sha1:2abda0485610a6a7849a13576c8c13c3ba903db1</id>
<content type='text'>
mmc_can_* functions sometimes relate to the card and sometimes to the host.
Make it obvious by renaming this function to include 'card'. Also, convert to
proper bool type while we are here.

Signed-off-by: Wolfram Sang &lt;wsa+renesas@sang-engineering.com&gt;
Link: https://lore.kernel.org/r/20250401095847.29271-7-wsa+renesas@sang-engineering.com
Signed-off-by: Ulf Hansson &lt;ulf.hansson@linaro.org&gt;
</content>
</entry>
<entry>
<title>mmc: rename mmc_can_erase() to mmc_card_can_erase()</title>
<updated>2025-05-14T14:59:17Z</updated>
<author>
<name>Wolfram Sang</name>
</author>
<published>2025-04-01T09:58:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5513d9bebbcca2eb30252ad6c2f0eaf73eec7121'/>
<id>urn:sha1:5513d9bebbcca2eb30252ad6c2f0eaf73eec7121</id>
<content type='text'>
mmc_can_* functions sometimes relate to the card and sometimes to the host.
Make it obvious by renaming this function to include 'card'. Also, convert to
proper bool type while we are here.

Signed-off-by: Wolfram Sang &lt;wsa+renesas@sang-engineering.com&gt;
Link: https://lore.kernel.org/r/20250401095847.29271-3-wsa+renesas@sang-engineering.com
Signed-off-by: Ulf Hansson &lt;ulf.hansson@linaro.org&gt;
</content>
</entry>
<entry>
<title>mmc: rename mmc_can_discard() to mmc_card_can_discard()</title>
<updated>2025-05-14T14:59:17Z</updated>
<author>
<name>Wolfram Sang</name>
</author>
<published>2025-04-01T09:58:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=76d62cde684ba53dcbc6923b2ec90a024ee253f9'/>
<id>urn:sha1:76d62cde684ba53dcbc6923b2ec90a024ee253f9</id>
<content type='text'>
mmc_can_* functions sometimes relate to the card and sometimes to the host.
Make it obvious by renaming this function to include 'card'. Also, convert to
proper bool type while we are here.

Signed-off-by: Wolfram Sang &lt;wsa+renesas@sang-engineering.com&gt;
Link: https://lore.kernel.org/r/20250401095847.29271-2-wsa+renesas@sang-engineering.com
Signed-off-by: Ulf Hansson &lt;ulf.hansson@linaro.org&gt;
</content>
</entry>
<entry>
<title>mmc: core: Remove redundant null check</title>
<updated>2025-03-21T08:48:37Z</updated>
<author>
<name>Avri Altman</name>
</author>
<published>2025-03-19T20:36:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c48e13e83513bd7eb4efffeeb562df9e4e1452d0'/>
<id>urn:sha1:c48e13e83513bd7eb4efffeeb562df9e4e1452d0</id>
<content type='text'>
This change removes a redundant null check found by Smatch.

Fixes: 403a0293f1c2 ("mmc: core: Add open-ended Ext memory addressing")
Reported-by: Dan Carpenter &lt;dan.carpenter@linaro.org&gt;
Closes: https://lore.kernel.org/linux-mmc/345be6cd-f2f3-472e-a897-ca4b7c4cf826@stanley.mountain/
Signed-off-by: Avri Altman &lt;avri.altman@sandisk.com&gt;
Link: https://lore.kernel.org/r/20250319203642.778016-1-avri.altman@sandisk.com
Signed-off-by: Ulf Hansson &lt;ulf.hansson@linaro.org&gt;
</content>
</entry>
<entry>
<title>mmc: core: don't include 'pm_wakeup.h' directly</title>
<updated>2024-12-10T10:18:45Z</updated>
<author>
<name>Wolfram Sang</name>
</author>
<published>2024-11-18T07:29:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=65169604e8d00308c23d66d02a70d67a5e4ff68c'/>
<id>urn:sha1:65169604e8d00308c23d66d02a70d67a5e4ff68c</id>
<content type='text'>
The header clearly states that it does not want to be included directly,
only via 'device.h'. 'platform_device.h' works equally well. Remove the
direct inclusion.

Signed-off-by: Wolfram Sang &lt;wsa+renesas@sang-engineering.com&gt;
Message-ID: &lt;20241118072917.3853-9-wsa+renesas@sang-engineering.com&gt;
Signed-off-by: Ulf Hansson &lt;ulf.hansson@linaro.org&gt;
</content>
</entry>
<entry>
<title>mmc: core: Introduce the MMC_RSP_R1B_NO_CRC response</title>
<updated>2024-12-10T10:18:45Z</updated>
<author>
<name>Andy-ld Lu</name>
</author>
<published>2024-11-26T12:48:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ed97550d470d00ebafe9de888fd100cb82d3abb6'/>
<id>urn:sha1:ed97550d470d00ebafe9de888fd100cb82d3abb6</id>
<content type='text'>
The R1B response type with ignoring CRC is used in the mmc_cqe_recovery(),
introduce the MMC_RSP_R1B_NO_CRC response type to simplify the code.

Signed-off-by: Andy-ld Lu &lt;andy-ld.lu@mediatek.com&gt;
Message-ID: &lt;20241126125041.16071-2-andy-ld.lu@mediatek.com&gt;
Signed-off-by: Ulf Hansson &lt;ulf.hansson@linaro.org&gt;
</content>
</entry>
<entry>
<title>mmc: core: Further prevent card detect during shutdown</title>
<updated>2024-12-02T14:37:16Z</updated>
<author>
<name>Ulf Hansson</name>
</author>
<published>2024-11-25T12:24:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=87a0d90fcd31c0f36da0332428c9e1a1e0f97432'/>
<id>urn:sha1:87a0d90fcd31c0f36da0332428c9e1a1e0f97432</id>
<content type='text'>
Disabling card detect from the host's -&gt;shutdown_pre() callback turned out
to not be the complete solution. More precisely, beyond the point when the
mmc_bus-&gt;shutdown() has been called, to gracefully power off the card, we
need to prevent card detect. Otherwise the mmc_rescan work may poll for the
card with a CMD13, to see if it's still alive, which then will fail and
hang as the card has already been powered off.

To fix this problem, let's disable mmc_rescan prior to power off the card
during shutdown.

Reported-by: Anthony Pighin &lt;anthony.pighin@nokia.com&gt;
Fixes: 66c915d09b94 ("mmc: core: Disable card detect during shutdown")
Cc: stable@vger.kernel.org
Signed-off-by: Ulf Hansson &lt;ulf.hansson@linaro.org&gt;
Reviewed-by: Adrian Hunter &lt;adrian.hunter@intel.com&gt;
Closes: https://lore.kernel.org/all/BN0PR08MB695133000AF116F04C3A9FFE83212@BN0PR08MB6951.namprd08.prod.outlook.com/
Tested-by: Anthony Pighin &lt;anthony.pighin@nokia.com&gt;
Message-ID: &lt;20241125122446.18684-1-ulf.hansson@linaro.org&gt;
</content>
</entry>
<entry>
<title>mmc: core: Support UHS-II card control and access</title>
<updated>2024-10-24T12:22:24Z</updated>
<author>
<name>Victor Shih</name>
</author>
<published>2024-10-18T10:53:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9a9f7e13952b2638bc57bc9b34e6bdd106509836'/>
<id>urn:sha1:9a9f7e13952b2638bc57bc9b34e6bdd106509836</id>
<content type='text'>
Embed UHS-II access/control functionality into the MMC request
processing flow.

Signed-off-by: Jason Lai &lt;jason.lai@genesyslogic.com.tw&gt;
Signed-off-by: Victor Shih &lt;victor.shih@genesyslogic.com.tw&gt;
Message-ID: &lt;20241018105333.4569-2-victorshihgli@gmail.com&gt;
[Ulf: A couple of cleanups and fixed sd_uhs2_power_off()]
Signed-off-by: Ulf Hansson &lt;ulf.hansson@linaro.org&gt;
</content>
</entry>
</feed>
