Re: [PATCH v2 0/2] Try to fix the sg_mitet bugs in SH MMCIF

From: Ulf Hansson
Date: Wed Feb 28 2024 - 08:04:59 EST


On Wed, 21 Feb 2024 at 22:23, Linus Walleij <linus.walleij@xxxxxxxxxx> wrote:
>
> This adresses some bugs found after the introduction of the
> memory iterator sg_miter to the sh mmcif driver.
>
> This was first just one patch for fixing the atomic bug, but
> now also a second patch is needed to fix a semantic issue.
>
> Signed-off-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
> ---
> Changes in v2:
> - Collect Geerts test tag on patch 1
> - Add a second patch fixing the problem with advancing to
> the next sglist entry before reading/writing the first block and
> after reading/writing each block in a multiblock operation.
> - Link to v1: https://lore.kernel.org/r/20240220-fix-sh-mmcif-v1-1-b9d08a787c1f@xxxxxxxxxx
>
> ---
> Linus Walleij (2):
> mmc: sh_mmcif: sg_miter does not need to be atomic
> mmc: sh_mmcif: Advance sg_miter before reading blocks
>
> drivers/mmc/host/sh_mmcif.c | 46 +++++++++++++++++++++++++++++----------------
> 1 file changed, 30 insertions(+), 16 deletions(-)
> ---

Applied for next and by amending the commit message header as pointed
out by Geert, thanks!

Kind regards
Uffe