From: Mark Brown <broonie@kernel.org>
To: linux-spi@vger.kernel.org, Marc Kleine-Budde <mkl@pengutronix.de>
Cc: stable@vger.kernel.org, Shawn Guo <shawnguo@kernel.org>,
Fabio Estevam <festevam@gmail.com>,
linux-arm-kernel@lists.infradead.org,
David Jander <david@protonic.nl>,
NXP Linux Team <linux-imx@nxp.com>,
Frieder Schrempf <frieder.schrempf@kontron.de>,
kernel@pengutronix.de
Subject: Re: [PATCH] spi: spi-imx: spi_imx_transfer_one(): check for DMA transfer first
Date: Fri, 18 Nov 2022 14:16:26 +0000 [thread overview]
Message-ID: <166878098696.885585.12678167389874876535.b4-ty@kernel.org> (raw)
In-Reply-To: <20221116164930.855362-1-mkl@pengutronix.de>
On Wed, 16 Nov 2022 17:49:30 +0100, Marc Kleine-Budde wrote:
> The SPI framework checks for each transfer (with the struct
> spi_controller::can_dma callback) whether the driver wants to use DMA
> for the transfer. If the driver returns true, the SPI framework will
> map the transfer's data to the device, start the actual transfer and
> map the data back.
>
> In commit 07e759387788 ("spi: spi-imx: add PIO polling support") the
> spi-imx driver's spi_imx_transfer_one() function was extended. If the
> estimated duration of a transfer does not exceed a configurable
> duration, a polling transfer function is used. This check happens
> before checking if the driver decided earlier for a DMA transfer.
>
> [...]
Applied to
broonie/spi.git for-next
Thanks!
[1/1] spi: spi-imx: spi_imx_transfer_one(): check for DMA transfer first
commit: e85e9e0d8cb759013d6474011c227f92e442d746
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
WARNING: multiple messages have this Message-ID (diff)
From: Mark Brown <broonie@kernel.org>
To: linux-spi@vger.kernel.org, Marc Kleine-Budde <mkl@pengutronix.de>
Cc: stable@vger.kernel.org, Shawn Guo <shawnguo@kernel.org>,
Fabio Estevam <festevam@gmail.com>,
linux-arm-kernel@lists.infradead.org,
David Jander <david@protonic.nl>,
NXP Linux Team <linux-imx@nxp.com>,
Frieder Schrempf <frieder.schrempf@kontron.de>,
kernel@pengutronix.de
Subject: Re: [PATCH] spi: spi-imx: spi_imx_transfer_one(): check for DMA transfer first
Date: Fri, 18 Nov 2022 14:16:26 +0000 [thread overview]
Message-ID: <166878098696.885585.12678167389874876535.b4-ty@kernel.org> (raw)
In-Reply-To: <20221116164930.855362-1-mkl@pengutronix.de>
On Wed, 16 Nov 2022 17:49:30 +0100, Marc Kleine-Budde wrote:
> The SPI framework checks for each transfer (with the struct
> spi_controller::can_dma callback) whether the driver wants to use DMA
> for the transfer. If the driver returns true, the SPI framework will
> map the transfer's data to the device, start the actual transfer and
> map the data back.
>
> In commit 07e759387788 ("spi: spi-imx: add PIO polling support") the
> spi-imx driver's spi_imx_transfer_one() function was extended. If the
> estimated duration of a transfer does not exceed a configurable
> duration, a polling transfer function is used. This check happens
> before checking if the driver decided earlier for a DMA transfer.
>
> [...]
Applied to
broonie/spi.git for-next
Thanks!
[1/1] spi: spi-imx: spi_imx_transfer_one(): check for DMA transfer first
commit: e85e9e0d8cb759013d6474011c227f92e442d746
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2022-11-18 14:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-16 16:49 [PATCH] spi: spi-imx: spi_imx_transfer_one(): check for DMA transfer first Marc Kleine-Budde
2022-11-16 16:49 ` Marc Kleine-Budde
2022-11-16 17:03 ` Frieder Schrempf
2022-11-16 17:03 ` Frieder Schrempf
2022-11-18 14:16 ` Mark Brown [this message]
2022-11-18 14:16 ` Mark Brown
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=166878098696.885585.12678167389874876535.b4-ty@kernel.org \
--to=broonie@kernel.org \
--cc=david@protonic.nl \
--cc=festevam@gmail.com \
--cc=frieder.schrempf@kontron.de \
--cc=kernel@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-imx@nxp.com \
--cc=linux-spi@vger.kernel.org \
--cc=mkl@pengutronix.de \
--cc=shawnguo@kernel.org \
--cc=stable@vger.kernel.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.