From: Shawn Guo <shawnguo@kernel.org>
To: Sean Nyekjaer <sean.nyekjaer@prevas.dk>
Cc: s.hauer@pengutronix.de, linux-spi@vger.kernel.org,
anton.bondarenko.sama@gmail.com, broonie@kernel.org,
stable@kernel.vger.org, linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH] ARM: dts: imx6q: Use correct SDMA script for SPI5 core
Date: Mon, 11 Jun 2018 14:41:06 +0800 [thread overview]
Message-ID: <20180611064104.GD16091@dragon> (raw)
In-Reply-To: <20180522174509.18154-1-sean.nyekjaer@prevas.dk>
On Tue, May 22, 2018 at 07:45:09PM +0200, Sean Nyekjaer wrote:
> According to the reference manual the shp_2_mcu / mcu_2_shp
> scripts must be used for devices connected through the SPBA.
>
> This fixes an issue we saw with DMA transfers.
> Sometimes the SPI controller RX FIFO was not empty after a DMA
> transfer and the driver got stuck in the next PIO transfer when
> it read one word more than expected.
>
> commit dd4b487b32a35 ("ARM: dts: imx6: Use correct SDMA script
> for SPI cores") is fixing the same issue but only for SPI1 - 4.
>
> Fixes: 677940258dd8e ("ARM: dts: imx6q: enable dma for ecspi5")
> Signed-off-by: Sean Nyekjaer <sean.nyekjaer@prevas.dk>
Applied, thanks.
WARNING: multiple messages have this Message-ID (diff)
From: shawnguo@kernel.org (Shawn Guo)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: dts: imx6q: Use correct SDMA script for SPI5 core
Date: Mon, 11 Jun 2018 14:41:06 +0800 [thread overview]
Message-ID: <20180611064104.GD16091@dragon> (raw)
In-Reply-To: <20180522174509.18154-1-sean.nyekjaer@prevas.dk>
On Tue, May 22, 2018 at 07:45:09PM +0200, Sean Nyekjaer wrote:
> According to the reference manual the shp_2_mcu / mcu_2_shp
> scripts must be used for devices connected through the SPBA.
>
> This fixes an issue we saw with DMA transfers.
> Sometimes the SPI controller RX FIFO was not empty after a DMA
> transfer and the driver got stuck in the next PIO transfer when
> it read one word more than expected.
>
> commit dd4b487b32a35 ("ARM: dts: imx6: Use correct SDMA script
> for SPI cores") is fixing the same issue but only for SPI1 - 4.
>
> Fixes: 677940258dd8e ("ARM: dts: imx6q: enable dma for ecspi5")
> Signed-off-by: Sean Nyekjaer <sean.nyekjaer@prevas.dk>
Applied, thanks.
next prev parent reply other threads:[~2018-06-11 6:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20180522174509.18154-1-sean.nyekjaer@prevas.dk>
2018-05-22 17:49 ` [PATCH] ARM: dts: imx6q: Use correct SDMA script for SPI5 core Fabio Estevam
2018-05-22 17:49 ` Fabio Estevam
2018-06-11 6:41 ` Shawn Guo [this message]
2018-06-11 6:41 ` Shawn Guo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180611064104.GD16091@dragon \
--to=shawnguo@kernel.org \
--cc=anton.bondarenko.sama@gmail.com \
--cc=broonie@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-spi@vger.kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=sean.nyekjaer@prevas.dk \
--cc=stable@kernel.vger.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.