All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/6] UBI: add max_beb_per1024 parameter / ioctl
@ 2012-08-20 16:00 Richard Genoud
  2012-08-20 16:00 ` [PATCH v3 1/6] UBI: prepare for max_beb_per1024 module parameter addition Richard Genoud
                   ` (6 more replies)
  0 siblings, 7 replies; 35+ messages in thread
From: Richard Genoud @ 2012-08-20 16:00 UTC (permalink / raw)
  To: Artem Bityutskiy; +Cc: Richard Genoud, linux-mtd, Shmulik Ladkani

This patch serie introduce, step by step the kernel module parameter
max_beb_per1024, then the ioctl and finally drop the kernel config option
CONFIG_MTD_UBI_BEB_LIMIT.

It's based on top of linux-ubi/master (4ebb4b5)

Changelog:
V2..V3:
* Suppress the possibility to have an empty string for vid_hdr_offs and
max_beb_per1024 and change the module info accordingly.
* add the Reviewed-by of Shmulik on the 1st patch.

V1..V2:
* The upper bound of max_beb_per1024 is checked and set to 768
* The vid_hdr_offs parameter can now be an empty string in order to have a
kernel parameter like that: mtd.ubi=2,,25
* The max_beb_per1024 parameter can also be empty (just for consistency with
vid_hdr_offs)
* The comment in ubi-user.h has been adjusted with the new range 0-768 and
the term "default kernel value" is used in place of MTD_UBI_DEFAULT_BEB_LIMIT
or CONFIG_MTD_UBI_BEB_LIMIT
* As max_beb_per1024 can be safely null, the config range of MTD_UBI_BEB_LIMIT
has been updates to 0..768
* For the ioctl, max_beb_per1024 is now an __u16, so that we are not limited
to 255 anymore.
* The comment on the default value of max_beb_per1024 has been adjusted before
and after the ioctl patch.

Best Regards

Richard.


Richard Genoud (6):
  UBI: prepare for max_beb_per1024 module parameter addition
  UBI: change CONFIG_MTD_UBI_BEB_LIMIT range
  UBI: check max_beb_per1024 value in ubi_attach_mtd_dev
  UBI: replace MTD_UBI_BEB_LIMIT with module parameter
  UBI: add ioctl for max_beb_per1024
  UBI: drop CONFIG_MTD_UBI_BEB_LIMIT

 arch/arm/configs/sam9_l9260_defconfig |    1 -
 drivers/mtd/ubi/Kconfig               |   26 --------------
 drivers/mtd/ubi/build.c               |   62 +++++++++++++++++++++++---------
 drivers/mtd/ubi/cdev.c                |    3 +-
 drivers/mtd/ubi/ubi.h                 |    6 +++-
 include/mtd/ubi-user.h                |   19 +++++++++-
 6 files changed, 69 insertions(+), 48 deletions(-)

-- 
1.7.2.5

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

end of thread, other threads:[~2012-09-03 14:45 UTC | newest]

Thread overview: 35+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-20 16:00 [PATCH v3 0/6] UBI: add max_beb_per1024 parameter / ioctl Richard Genoud
2012-08-20 16:00 ` [PATCH v3 1/6] UBI: prepare for max_beb_per1024 module parameter addition Richard Genoud
2012-08-20 19:01   ` Artem Bityutskiy
2012-08-20 16:00 ` [PATCH v3 2/6] UBI: change CONFIG_MTD_UBI_BEB_LIMIT range Richard Genoud
2012-08-20 19:03   ` Artem Bityutskiy
2012-08-20 16:00 ` [PATCH v3 3/6] UBI: check max_beb_per1024 value in ubi_attach_mtd_dev Richard Genoud
2012-08-20 19:19   ` Artem Bityutskiy
2012-08-20 16:00 ` [PATCH v3 4/6] UBI: replace MTD_UBI_BEB_LIMIT with module parameter Richard Genoud
2012-08-21 13:54   ` Artem Bityutskiy
2012-08-22  8:32     ` Richard Genoud
2012-08-22  8:49       ` Artem Bityutskiy
2012-08-22 12:09         ` Richard Genoud
2012-08-22 12:16           ` Artem Bityutskiy
2012-08-20 16:00 ` [PATCH v3 5/6] UBI: add ioctl for max_beb_per1024 Richard Genoud
2012-08-21 19:34   ` Artem Bityutskiy
2012-08-20 16:00 ` [PATCH v3 6/6] UBI: drop CONFIG_MTD_UBI_BEB_LIMIT Richard Genoud
2012-08-21 19:34   ` Artem Bityutskiy
2012-08-23 10:10 ` [PATCH v3 0/6] UBI: add max_beb_per1024 parameter / ioctl Artem Bityutskiy
2012-08-23 10:36   ` Shmulik Ladkani
2012-08-23 11:01     ` Richard Genoud
2012-08-23 12:30     ` Artem Bityutskiy
2012-08-23 12:44       ` Shmulik Ladkani
2012-08-23 12:58         ` Artem Bityutskiy
2012-08-23 13:13           ` Richard Genoud
2012-08-23 14:45             ` Artem Bityutskiy
2012-08-31 14:46             ` Richard Genoud
2012-09-03  8:00               ` Artem Bityutskiy
2012-09-03 10:57                 ` Richard Genoud
2012-09-03 11:53                   ` Artem Bityutskiy
2012-09-03 13:14                     ` Richard Genoud
2012-09-03 13:31                       ` Artem Bityutskiy
2012-09-03 13:37                         ` Richard Genoud
2012-09-03 14:32               ` Artem Bityutskiy
2012-09-03 14:33               ` Artem Bityutskiy
2012-09-03 14:45                 ` Richard Genoud

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.