public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH v2 0/5] unconfuse get_unmapped_area and point/unpoint driver methods
@ 2017-10-17 15:28 Nicolas Pitre
  2017-10-17 15:28 ` [PATCH v2 1/5] MTD: mtdram: properly handle the phys argument in the point method Nicolas Pitre
                   ` (7 more replies)
  0 siblings, 8 replies; 16+ messages in thread
From: Nicolas Pitre @ 2017-10-17 15:28 UTC (permalink / raw)
  To: Boris Brezillon, Richard Weinberger; +Cc: Chris Brandt, linux-mtd

This series improves or implements the point and unpoint driver methods
and reimplements mtd_get_unmapped_area() in terms of those. Because
mtd->_point() provides a superset of what mtd->_get_unmapped_area() does
then there is no reason for having both. Or worse: having one but not
the other.

This is motivated by my work on XIP cramfs for both MMU and !MMU systems
where I do need the more complete point functionality. And it just looks
like the right thing to do.

This is also available on top of Linux v4.14-rc3 via git here:

  http://git.linaro.org/people/nicolas.pitre/linux mtd_point


Changes from v1:

- Fix retlen computation in mtdram.c:ram_point().

- Added Richard Weinberger's REviewd-by tags.


diffstat:

 drivers/mtd/chips/map_ram.c  | 34 ++++++++++++++++++++--------------
 drivers/mtd/chips/map_rom.c  | 34 +++++++++++++++++++++-------------
 drivers/mtd/devices/mtdram.c | 36 ++++++++++++++++++++++--------------
 drivers/mtd/mtdconcat.c      | 27 ---------------------------
 drivers/mtd/mtdcore.c        | 17 ++++++++++++-----
 drivers/mtd/mtdpart.c        | 14 --------------
 include/linux/mtd/mtd.h      |  4 ----
 7 files changed, 75 insertions(+), 91 deletions(-)

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2017-11-03  3:19 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-17 15:28 [PATCH v2 0/5] unconfuse get_unmapped_area and point/unpoint driver methods Nicolas Pitre
2017-10-17 15:28 ` [PATCH v2 1/5] MTD: mtdram: properly handle the phys argument in the point method Nicolas Pitre
2017-10-17 15:28 ` [PATCH v2 2/5] MTD: chips/map_ram.c: implement point and unpoint methods Nicolas Pitre
2017-10-17 15:28 ` [PATCH v2 3/5] MTD: chips/map_rom.c: " Nicolas Pitre
2017-10-17 15:28 ` [PATCH v2 4/5] MTD: implement mtd_get_unmapped_area() using the point method Nicolas Pitre
2017-10-17 15:28 ` [PATCH v2 5/5] MTD: remove the get_unmapped_area method Nicolas Pitre
2017-10-24 17:22 ` [PATCH v2 0/5] unconfuse get_unmapped_area and point/unpoint driver methods Nicolas Pitre
2017-10-25 12:24   ` Richard Weinberger
2017-10-25 15:36     ` Nicolas Pitre
2017-10-27 12:06 ` Boris Brezillon
2017-10-27 15:27   ` Nicolas Pitre
2017-10-30  8:58     ` Boris Brezillon
2017-11-03  3:19       ` Nicolas Pitre
2017-10-30 18:12 ` Chris Brandt
2017-10-30 18:34   ` Nicolas Pitre
2017-10-30 18:41     ` Chris Brandt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox