From: Yann Gautier <yann.gautier@foss.st.com> To: Ulf Hansson <ulf.hansson@linaro.org> Cc: Christophe Kerello <christophe.kerello@foss.st.com>, Ludovic Barre <ludovic.barre@foss.st.com>, Maxime Coquelin <mcoquelin.stm32@gmail.com>, Alexandre Torgue <alexandre.torgue@foss.st.com>, Philipp Zabel <p.zabel@pengutronix.de>, Linus Walleij <linus.walleij@linaro.org>, <linux-mmc@vger.kernel.org>, <linux-stm32@st-md-mailman.stormreply.com>, <linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org>, Yann Gautier <yann.gautier@foss.st.com> Subject: [PATCH 0/2] mmc: mmci: stm32: manage unaligned DMA req for SDIO Date: Thu, 17 Mar 2022 12:19:42 +0100 [thread overview] Message-ID: <20220317111944.116148-1-yann.gautier@foss.st.com> (raw) The first patch corrects an issue when parsing the sg list to check DMA constraints. The second patch manages those DMA alignment by copying from or to a bounce buffer, the way it is done in meson-gx-mmc. Yann Gautier (2): mmc: mmci: stm32: correctly check all elements of sg list mmc: mmci: stm32: use a buffer for unaligned DMA requests drivers/mmc/host/mmci_stm32_sdmmc.c | 86 ++++++++++++++++++++++------- 1 file changed, 66 insertions(+), 20 deletions(-) -- 2.25.1
WARNING: multiple messages have this Message-ID (diff)
From: Yann Gautier <yann.gautier@foss.st.com> To: Ulf Hansson <ulf.hansson@linaro.org> Cc: Christophe Kerello <christophe.kerello@foss.st.com>, Ludovic Barre <ludovic.barre@foss.st.com>, Maxime Coquelin <mcoquelin.stm32@gmail.com>, Alexandre Torgue <alexandre.torgue@foss.st.com>, Philipp Zabel <p.zabel@pengutronix.de>, Linus Walleij <linus.walleij@linaro.org>, <linux-mmc@vger.kernel.org>, <linux-stm32@st-md-mailman.stormreply.com>, <linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org>, Yann Gautier <yann.gautier@foss.st.com> Subject: [PATCH 0/2] mmc: mmci: stm32: manage unaligned DMA req for SDIO Date: Thu, 17 Mar 2022 12:19:42 +0100 [thread overview] Message-ID: <20220317111944.116148-1-yann.gautier@foss.st.com> (raw) The first patch corrects an issue when parsing the sg list to check DMA constraints. The second patch manages those DMA alignment by copying from or to a bounce buffer, the way it is done in meson-gx-mmc. Yann Gautier (2): mmc: mmci: stm32: correctly check all elements of sg list mmc: mmci: stm32: use a buffer for unaligned DMA requests drivers/mmc/host/mmci_stm32_sdmmc.c | 86 ++++++++++++++++++++++------- 1 file changed, 66 insertions(+), 20 deletions(-) -- 2.25.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next reply other threads:[~2022-03-17 11:20 UTC|newest] Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-03-17 11:19 Yann Gautier [this message] 2022-03-17 11:19 ` [PATCH 0/2] mmc: mmci: stm32: manage unaligned DMA req for SDIO Yann Gautier 2022-03-17 11:19 ` [PATCH 1/2] mmc: mmci: stm32: correctly check all elements of sg list Yann Gautier 2022-03-17 11:19 ` Yann Gautier 2022-03-28 14:04 ` Ulf Hansson 2022-03-28 14:04 ` Ulf Hansson 2022-03-17 11:19 ` [PATCH 2/2] mmc: mmci: stm32: use a buffer for unaligned DMA requests Yann Gautier 2022-03-17 11:19 ` Yann Gautier 2022-03-24 11:55 ` Ulf Hansson 2022-03-24 11:55 ` Ulf Hansson 2022-03-24 16:23 ` Yann Gautier 2022-03-24 16:23 ` Yann Gautier 2022-03-25 13:43 ` Ulf Hansson 2022-03-25 13:43 ` Ulf Hansson 2022-03-25 14:01 ` Yann Gautier 2022-03-25 14:01 ` Yann Gautier
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=20220317111944.116148-1-yann.gautier@foss.st.com \ --to=yann.gautier@foss.st.com \ --cc=alexandre.torgue@foss.st.com \ --cc=christophe.kerello@foss.st.com \ --cc=linus.walleij@linaro.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-mmc@vger.kernel.org \ --cc=linux-stm32@st-md-mailman.stormreply.com \ --cc=ludovic.barre@foss.st.com \ --cc=mcoquelin.stm32@gmail.com \ --cc=p.zabel@pengutronix.de \ --cc=ulf.hansson@linaro.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: linkBe 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.