From: Miquel Raynal <miquel.raynal@bootlin.com>
To: Boris Brezillon <boris.brezillon@collabora.com>
Cc: linux-mtd@lists.infradead.org,
"Hauke Mehrtens" <hauke@hauke-m.de>,
"Rafał Miłecki" <zajec5@gmail.com>,
linux-mips@vger.kernel.org, "Richard Weinberger" <richard@nod.at>,
"Vignesh Raghavendra" <vigneshr@ti.com>,
"Tudor Ambarus" <tudor.ambarus@microchip.com>
Subject: Re: [PATCH v2 0/8] mtd: rawnand: bcm47xx: Convert to exec_op() (and more)
Date: Wed, 3 Jun 2020 16:22:03 +0200 [thread overview]
Message-ID: <20200603162203.7db6462a@xps13> (raw)
In-Reply-To: <20200518162837.304471-1-boris.brezillon@collabora.com>
Hello,
Boris Brezillon <boris.brezillon@collabora.com> wrote on Mon, 18 May
2020 18:28:29 +0200:
> Hello,
>
> A bit of context to explain the motivation behind those conversions
> I've been sending for the last couple of weeks. The raw NAND subsystem
> carries a lot of history which makes any rework not only painful, but
> also subject to regressions which we only detect when someone dares to
> update its kernel on one of those ancient HW. While carrying drivers
> for old HW is not a problem per se, carrying ancient and unmaintained
> drivers that are not converted to new APIs is a maintenance burden,
> hence this massive conversion attempt I'm conducting here.
>
> So here is a series converting the BCM47XX NAND controller driver to
> exec_op(), plus a bunch of minor improvements done along the way.
> I hope I'll find someone to test those changes, but if there's no one
> still having access to this HW or no interest in keeping it supported
> in recent kernel versions, we should definitely consider removing the
> driver instead.
>
> No major changes in this v2, apart from fixes for things reported by
> Miquel. See the changelog on each patch for more details.
>
> Regards,
>
> Boris
>
> Boris Brezillon (8):
> mtd: rawnand: Add an is_last flag to nand_subop
> mtd: rawnand: bcm47xx: Drop dependency on BCMA
> mtd: rawnand: bcm47xx: Allow compiling the driver when COMPILE_TEST=y
> mtd: rawnand: bcm47xx: Demistify a few more things
> mtd: rawnand: bcm47xx: Implement the exec_op() interface
> mtd: rawnand: bcm47xx: Get rid of the legacy implementation
> mtd: rawnand: bcm47xx: Simplify the init() function
> mtd: rawnand: bcm47xx: Merge all source files
>
> drivers/mtd/nand/raw/Kconfig | 3 +-
> drivers/mtd/nand/raw/Makefile | 2 +-
> .../mtd/nand/raw/bcm47xx-nand-controller.c | 343 +++++++++++++
> drivers/mtd/nand/raw/bcm47xxnflash/Makefile | 5 -
> .../nand/raw/bcm47xxnflash/bcm47xxnflash.h | 26 -
> drivers/mtd/nand/raw/bcm47xxnflash/main.c | 77 ---
> .../mtd/nand/raw/bcm47xxnflash/ops_bcm4706.c | 450 ------------------
> drivers/mtd/nand/raw/nand_base.c | 2 +
> include/linux/mtd/rawnand.h | 2 +
> 9 files changed, 349 insertions(+), 561 deletions(-)
> create mode 100644 drivers/mtd/nand/raw/bcm47xx-nand-controller.c
> delete mode 100644 drivers/mtd/nand/raw/bcm47xxnflash/Makefile
> delete mode 100644 drivers/mtd/nand/raw/bcm47xxnflash/bcm47xxnflash.h
> delete mode 100644 drivers/mtd/nand/raw/bcm47xxnflash/main.c
> delete mode 100644 drivers/mtd/nand/raw/bcm47xxnflash/ops_bcm4706.c
>
Anyone to test this series?
If not I will apply it as soon as v5.8-rc1 is released.
Thanks,
Miquèl
WARNING: multiple messages have this Message-ID (diff)
From: Miquel Raynal <miquel.raynal@bootlin.com>
To: Boris Brezillon <boris.brezillon@collabora.com>
Cc: "Vignesh Raghavendra" <vigneshr@ti.com>,
"Tudor Ambarus" <tudor.ambarus@microchip.com>,
"Hauke Mehrtens" <hauke@hauke-m.de>,
"Rafał Miłecki" <zajec5@gmail.com>,
linux-mips@vger.kernel.org, linux-mtd@lists.infradead.org,
"Richard Weinberger" <richard@nod.at>
Subject: Re: [PATCH v2 0/8] mtd: rawnand: bcm47xx: Convert to exec_op() (and more)
Date: Wed, 3 Jun 2020 16:22:03 +0200 [thread overview]
Message-ID: <20200603162203.7db6462a@xps13> (raw)
In-Reply-To: <20200518162837.304471-1-boris.brezillon@collabora.com>
Hello,
Boris Brezillon <boris.brezillon@collabora.com> wrote on Mon, 18 May
2020 18:28:29 +0200:
> Hello,
>
> A bit of context to explain the motivation behind those conversions
> I've been sending for the last couple of weeks. The raw NAND subsystem
> carries a lot of history which makes any rework not only painful, but
> also subject to regressions which we only detect when someone dares to
> update its kernel on one of those ancient HW. While carrying drivers
> for old HW is not a problem per se, carrying ancient and unmaintained
> drivers that are not converted to new APIs is a maintenance burden,
> hence this massive conversion attempt I'm conducting here.
>
> So here is a series converting the BCM47XX NAND controller driver to
> exec_op(), plus a bunch of minor improvements done along the way.
> I hope I'll find someone to test those changes, but if there's no one
> still having access to this HW or no interest in keeping it supported
> in recent kernel versions, we should definitely consider removing the
> driver instead.
>
> No major changes in this v2, apart from fixes for things reported by
> Miquel. See the changelog on each patch for more details.
>
> Regards,
>
> Boris
>
> Boris Brezillon (8):
> mtd: rawnand: Add an is_last flag to nand_subop
> mtd: rawnand: bcm47xx: Drop dependency on BCMA
> mtd: rawnand: bcm47xx: Allow compiling the driver when COMPILE_TEST=y
> mtd: rawnand: bcm47xx: Demistify a few more things
> mtd: rawnand: bcm47xx: Implement the exec_op() interface
> mtd: rawnand: bcm47xx: Get rid of the legacy implementation
> mtd: rawnand: bcm47xx: Simplify the init() function
> mtd: rawnand: bcm47xx: Merge all source files
>
> drivers/mtd/nand/raw/Kconfig | 3 +-
> drivers/mtd/nand/raw/Makefile | 2 +-
> .../mtd/nand/raw/bcm47xx-nand-controller.c | 343 +++++++++++++
> drivers/mtd/nand/raw/bcm47xxnflash/Makefile | 5 -
> .../nand/raw/bcm47xxnflash/bcm47xxnflash.h | 26 -
> drivers/mtd/nand/raw/bcm47xxnflash/main.c | 77 ---
> .../mtd/nand/raw/bcm47xxnflash/ops_bcm4706.c | 450 ------------------
> drivers/mtd/nand/raw/nand_base.c | 2 +
> include/linux/mtd/rawnand.h | 2 +
> 9 files changed, 349 insertions(+), 561 deletions(-)
> create mode 100644 drivers/mtd/nand/raw/bcm47xx-nand-controller.c
> delete mode 100644 drivers/mtd/nand/raw/bcm47xxnflash/Makefile
> delete mode 100644 drivers/mtd/nand/raw/bcm47xxnflash/bcm47xxnflash.h
> delete mode 100644 drivers/mtd/nand/raw/bcm47xxnflash/main.c
> delete mode 100644 drivers/mtd/nand/raw/bcm47xxnflash/ops_bcm4706.c
>
Anyone to test this series?
If not I will apply it as soon as v5.8-rc1 is released.
Thanks,
Miquèl
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
next prev parent reply other threads:[~2020-06-03 14:22 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-18 16:28 [PATCH v2 0/8] mtd: rawnand: bcm47xx: Convert to exec_op() (and more) Boris Brezillon
2020-05-18 16:28 ` Boris Brezillon
2020-05-18 16:28 ` [PATCH v2 1/8] mtd: rawnand: Add an is_last flag to nand_subop Boris Brezillon
2020-05-18 16:28 ` Boris Brezillon
2020-05-18 16:28 ` [PATCH v2 2/8] mtd: rawnand: bcm47xx: Drop dependency on BCMA Boris Brezillon
2020-05-18 16:28 ` Boris Brezillon
2020-05-18 16:28 ` [PATCH v2 3/8] mtd: rawnand: bcm47xx: Allow compiling the driver when COMPILE_TEST=y Boris Brezillon
2020-05-18 16:28 ` Boris Brezillon
2020-05-18 16:28 ` [PATCH v2 4/8] mtd: rawnand: bcm47xx: Demistify a few more things Boris Brezillon
2020-05-18 16:28 ` Boris Brezillon
2020-05-18 16:28 ` [PATCH v2 5/8] mtd: rawnand: bcm47xx: Implement the exec_op() interface Boris Brezillon
2020-05-18 16:28 ` Boris Brezillon
2020-05-18 16:28 ` [PATCH v2 6/8] mtd: rawnand: bcm47xx: Get rid of the legacy implementation Boris Brezillon
2020-05-18 16:28 ` Boris Brezillon
2020-05-18 16:28 ` [PATCH v2 7/8] mtd: rawnand: bcm47xx: Simplify the init() function Boris Brezillon
2020-05-18 16:28 ` Boris Brezillon
2020-05-18 16:28 ` [PATCH v2 8/8] mtd: rawnand: bcm47xx: Merge all source files Boris Brezillon
2020-05-18 16:28 ` Boris Brezillon
2020-06-03 14:22 ` Miquel Raynal [this message]
2020-06-03 14:22 ` [PATCH v2 0/8] mtd: rawnand: bcm47xx: Convert to exec_op() (and more) Miquel Raynal
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=20200603162203.7db6462a@xps13 \
--to=miquel.raynal@bootlin.com \
--cc=boris.brezillon@collabora.com \
--cc=hauke@hauke-m.de \
--cc=linux-mips@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=richard@nod.at \
--cc=tudor.ambarus@microchip.com \
--cc=vigneshr@ti.com \
--cc=zajec5@gmail.com \
/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.