Re: [PATCH] mmc: sdhci-iproc: suppress spurious interrupt with Multiblock read
On 22 May 2017 at 15:33, Srinath Mannamwrote: > On Mon, May 22, 2017 at 5:31 PM, Ulf Hansson wrote: >> On 22 May 2017 at 13:52, Srinath Mannam wrote: >>> On Fri, May 19, 2017 at 11:55 AM, Adrian Hunter >>> wrote: On 18/05/17 19:57, Srinath Mannam wrote: > The stingray SDHCI hardware supports ACMD12 and automatically > issues after multi block transfer completed. > > If ACMD12 in SDHCI is disabled, spurious tx done interrupts are seen > on multi block read command with below error message: > > Got data interrupt 0x0002 even though no data > operation was in progress. > > This patch uses SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12 to enable > ACM12 support in SDHCI hardware and suppress spurious interrupt. > > Signed-off-by: Srinath Mannam > Reviewed-by: Ray Jui > Reviewed-by: Scott Branden Acked-by: Adrian Hunter >>> >>> Thanks Adrian... >>> >>> Will it be possible to take this for Linux-4.12?? >> >> It's queued for 4.13, however are you saying it's a regression for >> 4.12? Then what commit fixes it? >> >> Perhaps you even want this to go stable? >> >> Kind regards >> Uffe > > Yes, this is regression for 4.12. > Fixes: b580c52d58d9 ("mmc: sdhci-iproc: add IPROC SDHCI driver") > Yes we want this to go in stable. > Alright, applied for fixes and added a stable tag. Kind regards Uffe
Re: [PATCH] mmc: sdhci-iproc: suppress spurious interrupt with Multiblock read
On 22 May 2017 at 15:33, Srinath Mannam wrote: > On Mon, May 22, 2017 at 5:31 PM, Ulf Hansson wrote: >> On 22 May 2017 at 13:52, Srinath Mannam wrote: >>> On Fri, May 19, 2017 at 11:55 AM, Adrian Hunter >>> wrote: On 18/05/17 19:57, Srinath Mannam wrote: > The stingray SDHCI hardware supports ACMD12 and automatically > issues after multi block transfer completed. > > If ACMD12 in SDHCI is disabled, spurious tx done interrupts are seen > on multi block read command with below error message: > > Got data interrupt 0x0002 even though no data > operation was in progress. > > This patch uses SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12 to enable > ACM12 support in SDHCI hardware and suppress spurious interrupt. > > Signed-off-by: Srinath Mannam > Reviewed-by: Ray Jui > Reviewed-by: Scott Branden Acked-by: Adrian Hunter >>> >>> Thanks Adrian... >>> >>> Will it be possible to take this for Linux-4.12?? >> >> It's queued for 4.13, however are you saying it's a regression for >> 4.12? Then what commit fixes it? >> >> Perhaps you even want this to go stable? >> >> Kind regards >> Uffe > > Yes, this is regression for 4.12. > Fixes: b580c52d58d9 ("mmc: sdhci-iproc: add IPROC SDHCI driver") > Yes we want this to go in stable. > Alright, applied for fixes and added a stable tag. Kind regards Uffe
Re: [PATCH] mmc: sdhci-iproc: suppress spurious interrupt with Multiblock read
On Mon, May 22, 2017 at 5:31 PM, Ulf Hanssonwrote: > On 22 May 2017 at 13:52, Srinath Mannam wrote: >> On Fri, May 19, 2017 at 11:55 AM, Adrian Hunter >> wrote: >>> On 18/05/17 19:57, Srinath Mannam wrote: The stingray SDHCI hardware supports ACMD12 and automatically issues after multi block transfer completed. If ACMD12 in SDHCI is disabled, spurious tx done interrupts are seen on multi block read command with below error message: Got data interrupt 0x0002 even though no data operation was in progress. This patch uses SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12 to enable ACM12 support in SDHCI hardware and suppress spurious interrupt. Signed-off-by: Srinath Mannam Reviewed-by: Ray Jui Reviewed-by: Scott Branden >>> >>> Acked-by: Adrian Hunter >> >> Thanks Adrian... >> >> Will it be possible to take this for Linux-4.12?? > > It's queued for 4.13, however are you saying it's a regression for > 4.12? Then what commit fixes it? > > Perhaps you even want this to go stable? > > Kind regards > Uffe Yes, this is regression for 4.12. Fixes: b580c52d58d9 ("mmc: sdhci-iproc: add IPROC SDHCI driver") Yes we want this to go in stable. Thank you. Regards, Srinath.
Re: [PATCH] mmc: sdhci-iproc: suppress spurious interrupt with Multiblock read
On Mon, May 22, 2017 at 5:31 PM, Ulf Hansson wrote: > On 22 May 2017 at 13:52, Srinath Mannam wrote: >> On Fri, May 19, 2017 at 11:55 AM, Adrian Hunter >> wrote: >>> On 18/05/17 19:57, Srinath Mannam wrote: The stingray SDHCI hardware supports ACMD12 and automatically issues after multi block transfer completed. If ACMD12 in SDHCI is disabled, spurious tx done interrupts are seen on multi block read command with below error message: Got data interrupt 0x0002 even though no data operation was in progress. This patch uses SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12 to enable ACM12 support in SDHCI hardware and suppress spurious interrupt. Signed-off-by: Srinath Mannam Reviewed-by: Ray Jui Reviewed-by: Scott Branden >>> >>> Acked-by: Adrian Hunter >> >> Thanks Adrian... >> >> Will it be possible to take this for Linux-4.12?? > > It's queued for 4.13, however are you saying it's a regression for > 4.12? Then what commit fixes it? > > Perhaps you even want this to go stable? > > Kind regards > Uffe Yes, this is regression for 4.12. Fixes: b580c52d58d9 ("mmc: sdhci-iproc: add IPROC SDHCI driver") Yes we want this to go in stable. Thank you. Regards, Srinath.
Re: [PATCH] mmc: sdhci-iproc: suppress spurious interrupt with Multiblock read
On 22 May 2017 at 13:52, Srinath Mannamwrote: > On Fri, May 19, 2017 at 11:55 AM, Adrian Hunter > wrote: >> On 18/05/17 19:57, Srinath Mannam wrote: >>> The stingray SDHCI hardware supports ACMD12 and automatically >>> issues after multi block transfer completed. >>> >>> If ACMD12 in SDHCI is disabled, spurious tx done interrupts are seen >>> on multi block read command with below error message: >>> >>> Got data interrupt 0x0002 even though no data >>> operation was in progress. >>> >>> This patch uses SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12 to enable >>> ACM12 support in SDHCI hardware and suppress spurious interrupt. >>> >>> Signed-off-by: Srinath Mannam >>> Reviewed-by: Ray Jui >>> Reviewed-by: Scott Branden >> >> Acked-by: Adrian Hunter > > Thanks Adrian... > > Will it be possible to take this for Linux-4.12?? It's queued for 4.13, however are you saying it's a regression for 4.12? Then what commit fixes it? Perhaps you even want this to go stable? Kind regards Uffe
Re: [PATCH] mmc: sdhci-iproc: suppress spurious interrupt with Multiblock read
On 22 May 2017 at 13:52, Srinath Mannam wrote: > On Fri, May 19, 2017 at 11:55 AM, Adrian Hunter > wrote: >> On 18/05/17 19:57, Srinath Mannam wrote: >>> The stingray SDHCI hardware supports ACMD12 and automatically >>> issues after multi block transfer completed. >>> >>> If ACMD12 in SDHCI is disabled, spurious tx done interrupts are seen >>> on multi block read command with below error message: >>> >>> Got data interrupt 0x0002 even though no data >>> operation was in progress. >>> >>> This patch uses SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12 to enable >>> ACM12 support in SDHCI hardware and suppress spurious interrupt. >>> >>> Signed-off-by: Srinath Mannam >>> Reviewed-by: Ray Jui >>> Reviewed-by: Scott Branden >> >> Acked-by: Adrian Hunter > > Thanks Adrian... > > Will it be possible to take this for Linux-4.12?? It's queued for 4.13, however are you saying it's a regression for 4.12? Then what commit fixes it? Perhaps you even want this to go stable? Kind regards Uffe
Re: [PATCH] mmc: sdhci-iproc: suppress spurious interrupt with Multiblock read
On Fri, May 19, 2017 at 11:55 AM, Adrian Hunterwrote: > On 18/05/17 19:57, Srinath Mannam wrote: >> The stingray SDHCI hardware supports ACMD12 and automatically >> issues after multi block transfer completed. >> >> If ACMD12 in SDHCI is disabled, spurious tx done interrupts are seen >> on multi block read command with below error message: >> >> Got data interrupt 0x0002 even though no data >> operation was in progress. >> >> This patch uses SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12 to enable >> ACM12 support in SDHCI hardware and suppress spurious interrupt. >> >> Signed-off-by: Srinath Mannam >> Reviewed-by: Ray Jui >> Reviewed-by: Scott Branden > > Acked-by: Adrian Hunter Thanks Adrian... Will it be possible to take this for Linux-4.12?? Regards, Srinath
Re: [PATCH] mmc: sdhci-iproc: suppress spurious interrupt with Multiblock read
On Fri, May 19, 2017 at 11:55 AM, Adrian Hunter wrote: > On 18/05/17 19:57, Srinath Mannam wrote: >> The stingray SDHCI hardware supports ACMD12 and automatically >> issues after multi block transfer completed. >> >> If ACMD12 in SDHCI is disabled, spurious tx done interrupts are seen >> on multi block read command with below error message: >> >> Got data interrupt 0x0002 even though no data >> operation was in progress. >> >> This patch uses SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12 to enable >> ACM12 support in SDHCI hardware and suppress spurious interrupt. >> >> Signed-off-by: Srinath Mannam >> Reviewed-by: Ray Jui >> Reviewed-by: Scott Branden > > Acked-by: Adrian Hunter Thanks Adrian... Will it be possible to take this for Linux-4.12?? Regards, Srinath
Re: [PATCH] mmc: sdhci-iproc: suppress spurious interrupt with Multiblock read
On 18/05/17 19:57, Srinath Mannam wrote: > The stingray SDHCI hardware supports ACMD12 and automatically > issues after multi block transfer completed. > > If ACMD12 in SDHCI is disabled, spurious tx done interrupts are seen > on multi block read command with below error message: > > Got data interrupt 0x0002 even though no data > operation was in progress. > > This patch uses SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12 to enable > ACM12 support in SDHCI hardware and suppress spurious interrupt. > > Signed-off-by: Srinath Mannam> Reviewed-by: Ray Jui > Reviewed-by: Scott Branden Acked-by: Adrian Hunter > > diff --git a/drivers/mmc/host/sdhci-iproc.c b/drivers/mmc/host/sdhci-iproc.c > index 3275d49..61666d2 100644 > --- a/drivers/mmc/host/sdhci-iproc.c > +++ b/drivers/mmc/host/sdhci-iproc.c > @@ -187,7 +187,8 @@ static const struct sdhci_iproc_data iproc_cygnus_data = { > }; > > static const struct sdhci_pltfm_data sdhci_iproc_pltfm_data = { > - .quirks = SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK, > + .quirks = SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK | > + SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12, > .quirks2 = SDHCI_QUIRK2_ACMD23_BROKEN, > .ops = _iproc_ops, > }; >
Re: [PATCH] mmc: sdhci-iproc: suppress spurious interrupt with Multiblock read
On 18/05/17 19:57, Srinath Mannam wrote: > The stingray SDHCI hardware supports ACMD12 and automatically > issues after multi block transfer completed. > > If ACMD12 in SDHCI is disabled, spurious tx done interrupts are seen > on multi block read command with below error message: > > Got data interrupt 0x0002 even though no data > operation was in progress. > > This patch uses SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12 to enable > ACM12 support in SDHCI hardware and suppress spurious interrupt. > > Signed-off-by: Srinath Mannam > Reviewed-by: Ray Jui > Reviewed-by: Scott Branden Acked-by: Adrian Hunter > > diff --git a/drivers/mmc/host/sdhci-iproc.c b/drivers/mmc/host/sdhci-iproc.c > index 3275d49..61666d2 100644 > --- a/drivers/mmc/host/sdhci-iproc.c > +++ b/drivers/mmc/host/sdhci-iproc.c > @@ -187,7 +187,8 @@ static const struct sdhci_iproc_data iproc_cygnus_data = { > }; > > static const struct sdhci_pltfm_data sdhci_iproc_pltfm_data = { > - .quirks = SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK, > + .quirks = SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK | > + SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12, > .quirks2 = SDHCI_QUIRK2_ACMD23_BROKEN, > .ops = _iproc_ops, > }; >
[PATCH] mmc: sdhci-iproc: suppress spurious interrupt with Multiblock read
The stingray SDHCI hardware supports ACMD12 and automatically issues after multi block transfer completed. If ACMD12 in SDHCI is disabled, spurious tx done interrupts are seen on multi block read command with below error message: Got data interrupt 0x0002 even though no data operation was in progress. This patch uses SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12 to enable ACM12 support in SDHCI hardware and suppress spurious interrupt. Signed-off-by: Srinath MannamReviewed-by: Ray Jui Reviewed-by: Scott Branden diff --git a/drivers/mmc/host/sdhci-iproc.c b/drivers/mmc/host/sdhci-iproc.c index 3275d49..61666d2 100644 --- a/drivers/mmc/host/sdhci-iproc.c +++ b/drivers/mmc/host/sdhci-iproc.c @@ -187,7 +187,8 @@ static const struct sdhci_iproc_data iproc_cygnus_data = { }; static const struct sdhci_pltfm_data sdhci_iproc_pltfm_data = { - .quirks = SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK, + .quirks = SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK | + SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12, .quirks2 = SDHCI_QUIRK2_ACMD23_BROKEN, .ops = _iproc_ops, }; -- 2.7.4
[PATCH] mmc: sdhci-iproc: suppress spurious interrupt with Multiblock read
The stingray SDHCI hardware supports ACMD12 and automatically issues after multi block transfer completed. If ACMD12 in SDHCI is disabled, spurious tx done interrupts are seen on multi block read command with below error message: Got data interrupt 0x0002 even though no data operation was in progress. This patch uses SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12 to enable ACM12 support in SDHCI hardware and suppress spurious interrupt. Signed-off-by: Srinath Mannam Reviewed-by: Ray Jui Reviewed-by: Scott Branden diff --git a/drivers/mmc/host/sdhci-iproc.c b/drivers/mmc/host/sdhci-iproc.c index 3275d49..61666d2 100644 --- a/drivers/mmc/host/sdhci-iproc.c +++ b/drivers/mmc/host/sdhci-iproc.c @@ -187,7 +187,8 @@ static const struct sdhci_iproc_data iproc_cygnus_data = { }; static const struct sdhci_pltfm_data sdhci_iproc_pltfm_data = { - .quirks = SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK, + .quirks = SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK | + SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12, .quirks2 = SDHCI_QUIRK2_ACMD23_BROKEN, .ops = _iproc_ops, }; -- 2.7.4