Skip to contentSkip to conversation

mmc: sdhci: Handle auto-command errors

PATCH Applied Kaiyen Chang 3 participants 6 messages Apr 23, 2019 – Apr 24, 2019 Stable branch

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mmc: sdhci: Handle auto-command errors

Existing data command CRC error handling on kernel 4.20 stable branch is non-standard and does not work with some Intel host controllers. Specifically, the assumption that the host controller will continue operating normally after the error interrupt, is not valid. So we suggest cherry-pick the 3 patches listed below to kernel 4.20 stable branch, which can change the driver to handle the error in the same manner as a data CRC error.

4bf7809: mmc: sdhci: Fix data command CRC error handling 869f8a6: mmc: sdhci: Rename SDHCI_ACMD12_ERR and SDHCI_INT_ACMD12ERR
af849c8: mmc: sdhci: Handle auto-command errors

All of the patches above have landed on kernel 5.0 stable branch.

maintainer
#1 lore raw
Quoted 8 lines · Kaiyen Chang

Existing data command CRC error handling on kernel 4.20 stable branch is non-standard and does not work with some Intel host controllers. Specifically, the assumption that the host controller will continue operating normally after the error interrupt, is not valid. So we suggest cherry-pick the 3 patches listed below to kernel 4.20 stable branch, which can change the driver to handle the error in the same manner as a data CRC error.

Quoted 5 lines

4bf7809: mmc: sdhci: Fix data command CRC error handling 869f8a6: mmc: sdhci: Rename SDHCI_ACMD12_ERR and SDHCI_INT_ACMD12ERR
af849c8: mmc: sdhci: Handle auto-command errors

All of the patches above have landed on kernel 5.0 stable branch.

The 4.20.y stable branch is long end-of-life, so there is nothing to be able to apply any patch to, sorry.

Remember to always check the front page of kernel.org for what trees are still active.

greg k-h

#2 lore raw

Hi Greg,

Actually our goal is to merge the 3 patches to 4.19.y and 4.14.y stable branch, however, I mistakenly believed that the patches should be present in 4.20.y first and did not notice that 4.20.y has been EOL. Sorry for that.

Thanks,
Kaiyen

-----Original Message-----
From: Greg KH [mailto:[email protected]]
Sent: Tuesday, April 23, 2019 8:34 PM
To: Chang, Kaiyen <[email protected]>
Cc: [email protected]; Hunter, Adrian <[email protected]>; [email protected]
Subject: Re: [PATCH v1] mmc: sdhci: Handle auto-command errors

Quoted 8 lines · Kaiyen Chang

Existing data command CRC error handling on kernel 4.20 stable branch is non-standard and does not work with some Intel host controllers. Specifically, the assumption that the host controller will continue operating normally after the error interrupt, is not valid. So we suggest cherry-pick the 3 patches listed below to kernel 4.20 stable branch, which can change the driver to handle the error in the same manner as a data CRC error.

Quoted 5 lines

4bf7809: mmc: sdhci: Fix data command CRC error handling 869f8a6: mmc: sdhci: Rename SDHCI_ACMD12_ERR and SDHCI_INT_ACMD12ERR
af849c8: mmc: sdhci: Handle auto-command errors

All of the patches above have landed on kernel 5.0 stable branch.

The 4.20.y stable branch is long end-of-life, so there is nothing to be able to apply any patch to, sorry.

Remember to always check the front page of kernel.org for what trees are still active.

greg k-h

maintainer Applied
#3 lore raw
In reply to Kaiyen Chang
Quoted 8 lines · Kaiyen Chang

Existing data command CRC error handling on kernel 4.20 stable branch is non-standard and does not work with some Intel host controllers. Specifically, the assumption that the host controller will continue operating normally after the error interrupt, is not valid. So we suggest cherry-pick the 3 patches listed below to kernel 4.20 stable branch, which can change the driver to handle the error in the same manner as a data CRC error.

Quoted 5 lines

4bf7809: mmc: sdhci: Fix data command CRC error handling 869f8a6: mmc: sdhci: Rename SDHCI_ACMD12_ERR and SDHCI_INT_ACMD12ERR
af849c8: mmc: sdhci: Handle auto-command errors

All of the patches above have landed on kernel 5.0 stable branch.

4.20 went EoL quite a while ago, you should be using 5.0 at this point.

I've queued these to older stable kernels, thanks.

--
Thanks,
Sasha

#4 lore raw
Quoted 24 lines

-----Original Message-----
From: Sasha Levin [mailto:[email protected]]
Sent: Tuesday, April 23, 2019 9:43 PM
To: Chang, Kaiyen <[email protected]>
Cc: [email protected]; Hunter, Adrian <[email protected]>; [email protected]
Subject: Re: [PATCH v1] mmc: sdhci: Handle auto-command errors

Quoted 10 lines · Kaiyen Chang

Existing data command CRC error handling on kernel 4.20 stable branch is non-standard and does not work with some Intel host controllers. Specifically, the assumption that the host controller will continue operating normally after the error interrupt, is not valid. So we suggest cherry-pick the 3 patches listed below to kernel 4.20 stable branch, which can change the driver to handle the error in the same manner as a data CRC error.

4bf7809: mmc: sdhci: Fix data command CRC error handling 869f8a6: mmc: sdhci: Rename SDHCI_ACMD12_ERR and

SDHCI_INT_ACMD12ERR

Quoted 3 lines

af849c8: mmc: sdhci: Handle auto-command errors

All of the patches above have landed on kernel 5.0 stable branch.

Quoted 7 lines

4.20 went EoL quite a while ago, you should be using 5.0 at this point.

I've queued these to older stable kernels, thanks.

--
Thanks,
Sasha

Hi Sasha,

Actually our goal is to merge the 3 patches to 4.19.y and 4.14.y stable branch, however, I mistakenly believed that the patches should be present in 4.20.y first and did not notice that 4.20.y has been EOL. Sorry for that. Should I create another thread to issue the request for merging the 3 patches to 4.19.y and 4.14.y?

Thanks,
Kaiyen

maintainer
#5 lore raw
Quoted 28 lines · Kaiyen
Quoted 28 lines

-----Original Message-----
From: Sasha Levin [mailto:[email protected]]
Sent: Tuesday, April 23, 2019 9:43 PM
To: Chang, Kaiyen <[email protected]>
Cc: [email protected]; Hunter, Adrian <[email protected]>; [email protected]
Subject: Re: [PATCH v1] mmc: sdhci: Handle auto-command errors

Quoted 10 lines · Kaiyen Chang

Existing data command CRC error handling on kernel 4.20 stable branch is non-standard and does not work with some Intel host controllers. Specifically, the assumption that the host controller will continue operating normally after the error interrupt, is not valid. So we suggest cherry-pick the 3 patches listed below to kernel 4.20 stable branch, which can change the driver to handle the error in the same manner as a data CRC error.

4bf7809: mmc: sdhci: Fix data command CRC error handling 869f8a6: mmc: sdhci: Rename SDHCI_ACMD12_ERR and

SDHCI_INT_ACMD12ERR

Quoted 3 lines

af849c8: mmc: sdhci: Handle auto-command errors

All of the patches above have landed on kernel 5.0 stable branch.

4.20 went EoL quite a while ago, you should be using 5.0 at this point.

I've queued these to older stable kernels, thanks.

Quoted 7 lines
Quoted 3 lines

--
Thanks,
Sasha

Hi Sasha,

Actually our goal is to merge the 3 patches to 4.19.y and 4.14.y stable branch, however, I mistakenly believed that the patches should be present in 4.20.y first and did not notice that 4.20.y has been EOL. Sorry for that. Should I create another thread to issue the request for merging the 3 patches to 4.19.y and 4.14.y?

I've already queued it for 4.19 and 4.14, nothing else to do here.

--
Thanks,
Sasha