diff mbox

[V3,29/30] mmc: sdhci-pci: Enable Software Command Queuing for some Intel controllers

Message ID 1467973391-29221-30-git-send-email-adrian.hunter@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Adrian Hunter July 8, 2016, 10:23 a.m. UTC
Set MMC_CAP_SWCMDQ for Intel BYT and related eMMC host controllers.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
---
 drivers/mmc/host/sdhci-pci-core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Venu Byravarasu July 8, 2016, 10:46 a.m. UTC | #1
> -----Original Message-----
> From: Adrian Hunter [mailto:adrian.hunter@intel.com]
> Sent: Friday, July 08, 2016 3:53 PM
> To: Ulf Hansson
> Cc: linux-mmc; Alex Lemberg; Mateusz Nowak; Yuliy Izrailov; Jaehoon Chung;
> Dong Aisheng; Das Asutosh; Zhangfei Gao; Dorfman Konstantin; David
> Griego; Sahitya Tummala; Harjani Ritesh; Venu Byravarasu
> Subject: [PATCH V3 29/30] mmc: sdhci-pci: Enable Software Command
> Queuing for some Intel controllers
> 
> Set MMC_CAP_SWCMDQ for Intel BYT and related eMMC host controllers.
> 
> Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
> ---
>  drivers/mmc/host/sdhci-pci-core.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/mmc/host/sdhci-pci-core.c b/drivers/mmc/host/sdhci-pci-
> core.c
> index 358ac0978cde..4504fc381877 100644
> --- a/drivers/mmc/host/sdhci-pci-core.c
> +++ b/drivers/mmc/host/sdhci-pci-core.c
> @@ -356,7 +356,7 @@ static int byt_emmc_probe_slot(struct sdhci_pci_slot
> *slot)  {
>  	slot->host->mmc->caps |= MMC_CAP_8_BIT_DATA |
> MMC_CAP_NONREMOVABLE |
>  				 MMC_CAP_HW_RESET |
> MMC_CAP_1_8V_DDR |
> -				 MMC_CAP_CMD_DURING_TFR |
> +				 MMC_CAP_CMD_DURING_TFR |

What exactly got changed in this patch?

> MMC_CAP_SWCMDQ |
>  				 MMC_CAP_WAIT_WHILE_BUSY;
>  	slot->host->mmc->caps2 |= MMC_CAP2_HC_ERASE_SZ;
>  	slot->hw_reset = sdhci_pci_int_hw_reset;
> --
> 1.9.1

-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may contain
confidential information.  Any unauthorized review, use, disclosure or distribution
is prohibited.  If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Adrian Hunter July 8, 2016, 10:59 a.m. UTC | #2
On 08/07/16 13:46, Venu Byravarasu wrote:
> 
> 
>> -----Original Message-----
>> From: Adrian Hunter [mailto:adrian.hunter@intel.com]
>> Sent: Friday, July 08, 2016 3:53 PM
>> To: Ulf Hansson
>> Cc: linux-mmc; Alex Lemberg; Mateusz Nowak; Yuliy Izrailov; Jaehoon Chung;
>> Dong Aisheng; Das Asutosh; Zhangfei Gao; Dorfman Konstantin; David
>> Griego; Sahitya Tummala; Harjani Ritesh; Venu Byravarasu
>> Subject: [PATCH V3 29/30] mmc: sdhci-pci: Enable Software Command
>> Queuing for some Intel controllers
>>
>> Set MMC_CAP_SWCMDQ for Intel BYT and related eMMC host controllers.
>>
>> Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
>> ---
>>  drivers/mmc/host/sdhci-pci-core.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/mmc/host/sdhci-pci-core.c b/drivers/mmc/host/sdhci-pci-
>> core.c
>> index 358ac0978cde..4504fc381877 100644
>> --- a/drivers/mmc/host/sdhci-pci-core.c
>> +++ b/drivers/mmc/host/sdhci-pci-core.c
>> @@ -356,7 +356,7 @@ static int byt_emmc_probe_slot(struct sdhci_pci_slot
>> *slot)  {
>>  	slot->host->mmc->caps |= MMC_CAP_8_BIT_DATA |
>> MMC_CAP_NONREMOVABLE |
>>  				 MMC_CAP_HW_RESET |
>> MMC_CAP_1_8V_DDR |
>> -				 MMC_CAP_CMD_DURING_TFR |
>> +				 MMC_CAP_CMD_DURING_TFR |
> 
> What exactly got changed in this patch?
> 
>> MMC_CAP_SWCMDQ |

It adds MMC_CAP_SWCMDQ to slot->host->mmc->caps for Intel BYT and related
eMMC host controllers.

>>  				 MMC_CAP_WAIT_WHILE_BUSY;
>>  	slot->host->mmc->caps2 |= MMC_CAP2_HC_ERASE_SZ;
>>  	slot->hw_reset = sdhci_pci_int_hw_reset;
>> --
>> 1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/mmc/host/sdhci-pci-core.c b/drivers/mmc/host/sdhci-pci-core.c
index 358ac0978cde..4504fc381877 100644
--- a/drivers/mmc/host/sdhci-pci-core.c
+++ b/drivers/mmc/host/sdhci-pci-core.c
@@ -356,7 +356,7 @@  static int byt_emmc_probe_slot(struct sdhci_pci_slot *slot)
 {
 	slot->host->mmc->caps |= MMC_CAP_8_BIT_DATA | MMC_CAP_NONREMOVABLE |
 				 MMC_CAP_HW_RESET | MMC_CAP_1_8V_DDR |
-				 MMC_CAP_CMD_DURING_TFR |
+				 MMC_CAP_CMD_DURING_TFR | MMC_CAP_SWCMDQ |
 				 MMC_CAP_WAIT_WHILE_BUSY;
 	slot->host->mmc->caps2 |= MMC_CAP2_HC_ERASE_SZ;
 	slot->hw_reset = sdhci_pci_int_hw_reset;