Re: [PATCH] sysctl: Add a feature to drop caches selectively

2014-06-24 Thread Artem Bityutskiy
or also for directories, why posix_fadvice(DONTNEED) is not sufficient. -- Best Regards, Artem Bityutskiy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH] Add security.selinux XATTR support for the UBIFS. Also fix couple of bugs in UBIFS extended attribute length calculation.

2014-06-23 Thread Artem Bityutskiy
Also ran integck test on UBI filesystem. > > Signed-off-by: Subodh Nijsure Hi, it looks like more people are interested in SELinux support. What happened to this stuff? You did not seem to take it all the way to upstream for some reasons. -- Best Regards, Artem Bityutskiy -- To

Re: [GIT PULL] UBIFS changes for 3.16

2014-06-09 Thread Artem Bityutskiy
started honoring the MS_SILENT mount flag, so now it won't print many I/O errors when user-space just tries to probe for the FS. Rest of the changes are rather minor UBI/UBIFS fixes, improvements, and clean-ups. ---- Artem Bityutskiy (1)

[GIT PULL] UBIFS changes for 3.16

2014-06-09 Thread Artem Bityutskiy
started honoring the MS_SILENT mount flag, so now it won't print many I/O errors when user-space just tries to probe for the FS. Rest of the changes are rather minor UBI/UBIFS fixes, improvements, and clean-ups. Artem Bityutsk

Re: [RFC 17/32] ubifs: convert to struct inode_time

2014-06-02 Thread Artem Bityutskiy
to lifting the VFS limit by using > struct inode_time in ubifs. > > Signed-off-by: Arnd Bergmann > Cc: Artem Bityutskiy > Cc: Adrian Hunter > Cc: linux-...@lists.infradead.org Looks fine from UBIFS POW, thanks! -- Best Regards, Artem Bityutskiy -- To unsubscribe from this

Re: [PATCH 01/27] mtd: nand: introduce function to fix a common bug in most nand-drivers not showing a device in sysfs

2014-05-28 Thread Artem Bityutskiy
On Wed, 2014-05-28 at 23:09 +0200, Alexander Holler wrote: > I'm very sorry, but I find such discussions extremly tiresome. Why discussing then at all, just go ahead and to something else. -- Best Regards, Artem Bityutskiy -- To unsubscribe from this list: send the line "unsu

Re: linux-next: build failure after merge of the l2-mtd tree

2014-05-27 Thread Artem Bityutskiy
his tree now. The URL you have is technically correct, but it is better to use this instead: git://git.infradead.org/l2-mtd.git#master The old URL is just a symlink to the above one nowadays. Thanks! -- Best Regards, Artem Bityutskiy -- To unsubscribe from this list: send the line &q

Re: [RFC PATCH] UBI: fix rb_tree node comparison in add_map

2014-05-13 Thread Artem Bityutskiy
On Fri, 2014-03-21 at 15:54 -0400, Mike Snitzer wrote: > The comparisons used in add_vol() shouldn't be identical. Pretty sure > the following is correct but it is completely untested. > > Signed-off-by: Mike Snitzer Pushed to linux-ubifs.git, thanks! -- Best Regards, Artem

Re: [RFC PATCH] UBI: fix rb_tree node comparison in add_map

2014-05-13 Thread Artem Bityutskiy
ng through my queue, and I occasionally see some obvious, > reviewed fixes like this one. Typically, you get around to them > eventually, but you never know. Do you prefer the "bump"? I'll pick this now, thanks for pointing. And yes, a "bump" is helpful. E.g., I missed

[GIT PULL] UBIFS changes for 3.15-rc5

2014-05-05 Thread Artem Bityutskiy
liner from Kees which hardens kernel security * a small error-path fix, where we forget to free various resources in case of failure - spotted by the "smatch" tool -------- Artem Bityutskiy (1): UBIFS: fix remount erro

Re: [PATCH] ubi: avoid workqueue format string leak

2014-04-08 Thread Artem Bityutskiy
with a crafted "gd->disk_name" 2. How attacker gets the workqueue name then, I guess there is a sysfs file or something, but I do not know off the top of my head. Yeah, I am interested to get educated on this a too. -- Best Regards, Artem Bityutskiy -- To unsubscribe

Re: [PATCH] ubi: avoid workqueue format string leak

2014-04-08 Thread Artem Bityutskiy
On Mon, 2014-04-07 at 21:44 -0700, Kees Cook wrote: > When building the name for the workqueue thread, make sure a format > string cannot leak in from the disk name. > > Signed-off-by: Kees Cook Pushed to linux-ubifs / master, thanks! -- Best Regards, Artem Bityutskiy -- To unsu

Re: [RFC/PATCH] mtd: ubi: Fix ubi free PEBs count calculation

2014-04-08 Thread Artem Bityutskiy
On Tue, 2014-04-01 at 11:02 +0300, Tanya Brokhman wrote: > The ubi->free_count should be updated with every insert/remove to/from > the ubi->free list. > > Signed-off-by: Tanya Brokhman Pushed to linux-ubifs.git / master, thanks! -- Best Regards, Artem Bityutskiy -- To uns

Re: [RFC/PATCH] mtd: ubi: Test return value of __wl_get_peb

2014-04-08 Thread Artem Bityutskiy
gned-off-by: Tatyana Brokhman Pushed to linux-ubifs.git / master, thanks! -- Best Regards, Artem Bityutskiy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/m

Re: [RFC/PATCH] mtd: ubi: Free peb's synchronously for fastmap

2014-04-08 Thread Artem Bityutskiy
y. > Try fixing the above described situation by synchronously performing > pending erase work, thus produce another free PEB. > > Signed-off-by: Tatyana Brokhman Pushed to linux-ubifs.git / master, thanks! -- Best Regards, Artem Bityutskiy -- To unsubscribe from this list: send the lin

[GIT PULL] UBIFS changes for 3.15-rc1

2014-04-03 Thread Artem Bityutskiy
iel Garcia, along with a piece of documentation on the MTD web site and the user-space tool for creating and removing block devices. -------- Artem Bityutskiy (2): UBI: block: do not use term "attach" UBI: rename block dev

Re: [PATCH 1/2] UBI: block: Remove __initdata from ubiblock_param_ops

2014-03-21 Thread Artem Bityutskiy
estroy_params+0x24/0x50 > > Signed-off-by: Richard Weinberger Pushed to linux-ubifs.git, thanks! -- Best Regards, Artem Bityutskiy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

[GIT PULL] UBIFS changes for 3.14-rc5

2014-02-26 Thread Artem Bityutskiy
. Dan Carpenter (1): UBI: fix some use after free bugs drivers/mtd/ubi/fastmap.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) -- Best Regards, Artem Bityutskiy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

[GIT PULL] UBIFS changes for 3.14-rc1

2014-01-30 Thread Artem Bityutskiy
an "unstable" state and write operation sometimes causes NOR chip lock-ups. * Both UBI and UBIFS changes are now maintainer in one single tree, because the amount of changes dropped significantly. -------- Artem Bit

Re: [PATCH 1/1] MTD: UBI: avoid program operation on NOR flash after erasure interrupted

2014-01-09 Thread Artem Bityutskiy
On Thu, 2014-01-09 at 01:35 +, Qi Wang 王起 (qiwang) wrote: > Hi Artem: > Do you have any suggestion for my modification? > Other code I think it is ok. It is taken and pushed out. Thanks! -- Best Regards, Artem Bityutskiy -- To unsubscribe from this list: send the line "uns

Re: [PATCH 1/1] MTD: UBI: avoid program operation on NOR flash after erasure interrupted

2014-01-02 Thread Artem Bityutskiy
d to you look at it and confirm that it is all-right. And if it is not all-right, correct it. This is because I modified it myself. So waiting for your response on this. -- Best Regards, Artem Bityutskiy -- To unsubscribe from this list: send the line "unsubscribe linux-k

Re: [PATCH 1/1] MTD: UBI: avoid program operation on NOR flash after erasure interrupted

2014-01-02 Thread Artem Bityutskiy
On Thu, 2014-01-02 at 17:11 +0200, Artem Bityutskiy wrote: > Anyway, I did not respond for long time, so I decided to do all these > modifications myself. Could you please review and test the below patch, > which is also attached. I did not compile it even. If there are issues, > ju

Re: [PATCH 4/25] UBI: fix error return code

2014-01-02 Thread Artem Bityutskiy
) Pushed to linux-ubifs.git, thanks! -- Best Regards, Artem Bityutskiy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH 1/1] MTD: UBI: avoid program operation on NOR flash after erasure interrupted

2014-01-02 Thread Artem Bityutskiy
a valid VID or EC header, but we cannot invalidate +* it. Supposedly the flash media or the driver is screwed up, so +* return an error. */ - ubi_err("cannot invalidate PEB %d, write returned %d read returned %d", - pnum, err, err1); +

Re: [PATCH 0/2] MTD maintenance updates

2013-12-05 Thread Artem Bityutskiy
n-MTD work these days). Acked-by: Artem Bityutskiy Thanks Brian for taking care of the MTD subsystem. -- Best Regards, Artem Bityutskiy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

[GIT PULL] UBI changes for 3.13-rc1

2013-11-12 Thread Artem Bityutskiy
ch_fastmap() drivers/mtd/ubi/attach.c | 11 ++- drivers/mtd/ubi/fastmap.c | 46 ++ drivers/mtd/ubi/wl.c | 7 +++ 3 files changed, 47 insertions(+), 17 deletions(-) -- Best Regards, Artem Bityutskiy -- To unsubscribe from this list: sen

[GIT PULL] UBI changes for 3.13-rc1

2013-11-12 Thread Artem Bityutskiy
ch_fastmap() drivers/mtd/ubi/attach.c | 11 ++- drivers/mtd/ubi/fastmap.c | 46 ++ drivers/mtd/ubi/wl.c | 7 +++ 3 files changed, 47 insertions(+), 17 deletions(-) -- Best Regards, Artem Bityutskiy -- To unsubscribe from this list: sen

[GIT PULL] UBIFS changes for 3.13-rc1

2013-11-12 Thread Artem Bityutskiy
/ubifs/debug.c | 13 +++-- fs/ubifs/gc.c| 3 +-- fs/ubifs/super.c | 8 ++-- 3 files changed, 14 insertions(+), 10 deletions(-) -- Best Regards, Artem Bityutskiy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message

Re: [PATCH 1/1] MTD: UBI: try to avoid program data to NOR flash after erasure interrupted

2013-11-01 Thread Artem Bityutskiy
!= UBI_IO_BAD_HDR_EBADMSG && err != UBI_IO_BAD_HDR && err != > UBI_IO_FF)" > to judge. In case of UBI_IO_FF (all FFs) UBI will erase the eraseblock before using it anyway, so invalidation is not necessary. Thanks! -- Best Regards, Artem Bityutskiy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH 1/1] MTD: UBI: try to avoid program data to NOR flash after erasure interrupted

2013-10-29 Thread Artem Bityutskiy
On Mon, 2013-10-28 at 04:54 +, Qi Wang 王起 (qiwang) wrote: > On Sa, 2013-10-26 at 05:19 +0000, Artem Bityutskiy wrote: > >On Thu, 2013-10-10 at 08:28 +, Qi Wang 王起 (qiwang) wrote: > >> But I want to say the potential risk is if low level driver program data > >&

Re: [PATCH] UBIFS: fix error return code in ubifs_remount_rw() and ubifs_fill_super()

2013-10-26 Thread Artem Bityutskiy
On Wed, 2013-10-02 at 12:59 -0700, Brian Norris wrote: > Bump, Artem? I'm cleaning out my old email, and this patch looks > obviously correct. Picked to linux-ubifs.git, thanks! -- Best Regards, Artem Bityutskiy -- To unsubscribe from this list: send the line "unsubscribe linu

Re: [PATCH 2/2 for 3.12-rc6] Revert "partitions/efi: account for pmbr size in lba"

2013-10-15 Thread Artem Bityutskiy
On Mon, 2013-10-14 at 11:26 -0700, Andrew Morton wrote: > On Mon, 14 Oct 2013 14:41:49 +0300 Artem Bityutskiy > wrote: > > > This reverts commit 27a7c642174eaec627f6a3a254035bf8abd02c5e. > > > > This patch breaks existing systems, for example, Tizen IVI images do not

[PATCH 1/2 for 3.12-rc6] Revert "partitions/efi: loosen check fot pmbr size in lba"

2013-10-14 Thread Artem Bityutskiy
From: Artem Bityutskiy This reverts commit 6b02fa59a7cf34c548eedee657b07ea6c54d3894. This commit is fixing a commit which is going to be reverted. So revert this one too since it becomes unneeded. Signed-off-by: Artem Bityutskiy --- block/partitions/efi.c | 8 ++-- 1 file changed, 2

[PATCH 2/2 for 3.12-rc6] Revert "partitions/efi: account for pmbr size in lba"

2013-10-14 Thread Artem Bityutskiy
From: Artem Bityutskiy This reverts commit 27a7c642174eaec627f6a3a254035bf8abd02c5e. This patch breaks existing systems, for example, Tizen IVI images do not boot the way they have always been booted because of this patch. Here is the (pretty standard) use-case: 1. We create a 4GiB image with

Re: UBI fastmap updates

2013-10-03 Thread Artem Bityutskiy
really fastmap specific and touches generic > UBI code, "UBI: simplify image sequence test". > Pushed to linux-ubi, thanks! -- Best Regards, Artem Bityutskiy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord.

Re: [PATCH 1/7] UBI: fix refill_wl_user_pool()

2013-10-03 Thread Artem Bityutskiy
On Thu, 2013-10-03 at 18:35 +0200, Richard Weinberger wrote: > Am 03.10.2013 18:00, schrieb Artem Bityutskiy: > > On Thu, 2013-10-03 at 17:53 +0200, Richard Weinberger wrote: > >> Am 03.10.2013 17:27, schrieb Artem Bityutskiy: > >>> On Thu, 2013-10-03 at 17:08 +

Re: [PATCH 1/7] UBI: fix refill_wl_user_pool()

2013-10-03 Thread Artem Bityutskiy
On Thu, 2013-10-03 at 17:53 +0200, Richard Weinberger wrote: > Am 03.10.2013 17:27, schrieb Artem Bityutskiy: > > On Thu, 2013-10-03 at 17:08 +0200, Richard Weinberger wrote: > >> Am 03.10.2013 17:00, schrieb Artem Bityutskiy: > >>> On Sat, 2013-09-28 at 15:55 +

Re: [PATCH 1/7] UBI: fix refill_wl_user_pool()

2013-10-03 Thread Artem Bityutskiy
On Thu, 2013-10-03 at 17:08 +0200, Richard Weinberger wrote: > Am 03.10.2013 17:00, schrieb Artem Bityutskiy: > > On Sat, 2013-09-28 at 15:55 +0200, Richard Weinberger wrote: > >> If no free PEBs are available refill_wl_user_pool() must not > >> return with -ENOSPC

Re: [PATCH 1/7] UBI: fix refill_wl_user_pool()

2013-10-03 Thread Artem Bityutskiy
ed-off-by: Richard Weinberger What is pool size, I wonder? -- Best Regards, Artem Bityutskiy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [GIT PULL] UBI changes for 3.12-rc1

2013-09-16 Thread Artem Bityutskiy
On Mon, 2013-09-16 at 10:30 +0300, Artem Bityutskiy wrote: > Hi Linus, > > very few changes. I'll start using a single UBI/UBIFS tree instead > of 2 trees from now on. So in the future you'll get 1 small pull > request instead of 2 tiny ones. Also, I do realize this is

[GIT PULL] UBI changes for 3.12-rc1

2013-09-16 Thread Artem Bityutskiy
c | 3 +++ 2 files changed, 4 insertions(+), 4 deletions(-) -- Best Regards, Artem Bityutskiy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-i

[GIT PULL] UBIFS changes for 3.12-rc1

2013-09-16 Thread Artem Bityutskiy
changed, 4 insertions(+), 3 deletions(-) -- Best Regards, Artem Bityutskiy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please r

Re: [PATCH] UBI: Fix invalidate_fastmap()

2013-08-20 Thread Artem Bityutskiy
o linux-ubi.git, thanks! -- Best Regards, Artem Bityutskiy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH] UBI: Fix PEB leak in wear_leveling_worker()

2013-08-19 Thread Artem Bityutskiy
he free list. > > This issue was introduced with commit ed4b7021c > (UBI: remove PEB from free tree in get_peb_for_wl()). > > Cc: # 3.7.x > Signed-off-by: Richard Weinberger Pushed to linux-ubi.git, thanks. And special thanks for taking care about Ccing -stable. -- Best Re

Re: [PATCH RESEND] mtd: MTD_NAND_DENALI should depend on HAS_DMA

2013-08-19 Thread Artem Bityutskiy
ce to `dma_map_single' > drivers/mtd/nand/denali.c:1442: undefined reference to `dma_mapping_error' > > Signed-off-by: Geert Uytterhoeven Pushed to l2-mtd.git, thanks! -- Best Regards, Artem Bityutskiy -- To unsubscribe from this list: send the line "unsubscribe li

Re: [PATCH 3/6] mtd: fsmc_nand: simplify platform_get_resource_byname/devm_ioremap_resource

2013-08-19 Thread Artem Bityutskiy
makes this change is as > follows: (http://coccinelle.lip6.fr/) Pushed to l2-mtd.git, thanks. -- Best Regards, Artem Bityutskiy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH 4/29] mtd: simplify use of devm_ioremap_resource

2013-08-16 Thread Artem Bityutskiy
ent to the call to > devm_ioremap_resource to make the connection between them more clear. Pushed to l2-mtd.git, thanks! -- Best Regards, Artem Bityutskiy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo

Re: [PATCH 1/1] ubi: remove and create MTD device back when UBI volume is resized

2013-08-16 Thread Artem Bityutskiy
lume was resized. May be not always, but only if it became smaller. Or something else. Anyway, I do acknowledge this is a problem, but I am not sure this is a good solution... -- Best Regards, Artem Bityutskiy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel"

Re: [PATCH] m25p80 / fast read

2013-08-16 Thread Artem Bityutskiy
leads to problems with multiboard kernels. This series adds a flag > to the chip specific data to solve this. Also some unnecessary ifdefs > are removed. Signed-off-by: Artem Bityutskiy I'll let Biran take a look, and tomorrow apply, unless he applies himself or has objections.

Re: [PATCH v6 00/10] mtd: add datasheet's ECC information to nand_chip{}

2013-08-09 Thread Artem Bityutskiy
On Thu, 2013-08-08 at 23:00 -0700, Brian Norris wrote: > On 08/08/2013 08:58 PM, Artem Bityutskiy wrote: > > On Thu, 2013-08-08 at 16:06 -0700, Brian Norris wrote: > >> On Thu, Aug 08, 2013 at 04:33:35PM +0800, Huang Shijie wrote: > >>> Hi Artem &

Re: [PATCH v6 00/10] mtd: add datasheet's ECC information to nand_chip{}

2013-08-08 Thread Artem Bityutskiy
ind/maintaining.git There are few minor issues in aiaiai, which I can fix if you hit them and complain. Also, I did not invest much time in making the user interface and experience very nice. But this can also be improved. -- Best Regards, Artem Bityutskiy -- To unsubscribe from this list: sen

Re: [PATCH] mtd: jedec_probe: fix LH28F640BF definition

2013-08-05 Thread Artem Bityutskiy
> the NOR is mounted read only probably because of wrong vpp. > > Signed-off-by: Andrea Adami Pushed to l2-mtd.git, thanks! -- Best Regards, Artem Bityutskiy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger

Re: [PATCH] mtd: diskonchip: remove unused entries in Kconfig

2013-08-02 Thread Artem Bityutskiy
Pushed to l2-mtd.git, thanks! -- Best Regards, Artem Bityutskiy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [RESEND][PATCH] mtd: refactor call to request_module

2013-08-02 Thread Artem Bityutskiy
On Mon, 2013-07-08 at 06:05 -0700, Kees Cook wrote: > This reduces the size of the stack frame when calling request_module(). > Performing the sprintf before the call is not needed. > > Signed-off-by: Kees Cook Pushed to l2-mtd.git, thanks! -- Best Regards, Artem Bityutskiy -- To

Re: [PATCH 05/12] drivers/mtd/nand: don't use devm_pinctrl_get_select_default() in probe

2013-08-02 Thread Artem Bityutskiy
y: Wolfram Sang Pushed to l2-mtd.git, thanks! -- Best Regards, Artem Bityutskiy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Ple

Re: [PATCH 06/12] drivers/mtd/nand/gpmi-nand: don't use devm_pinctrl_get_select_default() in probe

2013-08-02 Thread Artem Bityutskiy
y: Wolfram Sang Pushed to l2-mtd.git, thanks! -- Best Regards, Artem Bityutskiy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Ple

Re: [PATCH] mtd: remove obsolete JEDEC mapping drivers

2013-08-02 Thread Artem Bityutskiy
rable patch queued somewhere? > > Did anyone had a chance to look at this patch? Or has this code already > been removed? Pushed to l2-mtd.git, thanks! -- Best Regards, Artem Bityutskiy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

Re: [PATCH resend] MTD: atmel_nand: using a stronger ECC is not dangerous

2013-08-02 Thread Artem Bityutskiy
On Tue, 2013-07-30 at 17:17 +0200, Richard Genoud wrote: > We don't have to issue a warning when a stronger error correting > capability is chosen. > > Signed-off-by: Richard Genoud > Acked-by: Josh Wu Pushed to l2-mtd.git, thanks! -- Best Regards, Artem Bityutskiy --

Re: [PATCH] mtd: nand: omap2: Fix compilation warning

2013-08-02 Thread Artem Bityutskiy
Johansson > > --- > > Thanks much.. > But just to remind, this commit fb1585b in linux-next needs to be reverted. > This patch is leftover by mistake because other dependent patches of > this series were dropped. This will not only break omap2-nand driver, > but might also

Re: [GIT PULL] UBI changes for 3.11-rc1

2013-07-05 Thread Artem Bityutskiy
; disclaimers. I've resent the request from my @gmail.com address instead. -- Best Regards, Artem Bityutskiy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/m

[GIT PULL] UBI changes for 3.11-rc1

2013-07-05 Thread Artem Bityutskiy
UBI: document UBI_IOCVOLUP better in user header UBI: support ubi_num on mtd.ubi command line drivers/mtd/ubi/build.c | 59 --- drivers/mtd/ubi/fastmap.c | 4 +++- include/uapi/mtd/ubi-user.h | 5 - -- Best Regar

[GIT PULL] UBIFS changes for 3.11-rc1

2013-07-05 Thread Artem Bityutskiy
message fs/ubifs/super.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- Best Regards, Artem Bityutskiy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org

Re: linux-next: manual merge of the arm-soc tree with the l2-mtd tree

2013-07-02 Thread Artem Bityutskiy
nd follow-up reasoning.. > http://lists.infradead.org/pipermail/linux-mtd/2013-May/047032.html Pekon, let me drop these 3 patches so far anyway. Please, re-submit it with CC to the devicetree-discuss mailing list. Thanks! -- Best Regards, Artem Bityutskiy -- To unsubscribe from this list: send th

Re: linux-next: manual merge of the arm-soc tree with the l2-mtd tree

2013-07-02 Thread Artem Bityutskiy
On Mon, 2013-07-01 at 23:00 -0700, Olof Johansson wrote: > It was also applied today, after the merge window opened. Don't merge > it for 3.11. Artem? OK, dropping it. -- Best Regards, Artem Bityutskiy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel&q

Re: [PATCH] x86/PCI: setup data may be in highmem

2013-06-08 Thread Artem Bityutskiy
ed to be true on x86 > where the direct mapping range is much smaller than on x86-64. > > Calling phys_to_virt() on a highmem address results in the following, Fixes paging request oops for me as well, thanks! Would you please add a -stable tag to this patch? -- Best Regards, Artem Bityutskiy

Re: [PATCH] drivers: mtd: devices: elm: use devm_ioremap_resource()

2013-05-29 Thread Artem Bityutskiy
the newly introduced devm_ioremap_resource() which provides more consistent error handling. Signed-off-by: Silviu-Mihai Popescu Signed-off-by: Artem Bityutskiy -- Best Regards, Artem Bityutskiy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

Re: [PATCH V2] drivers: mtd: nand: davinci: use devm_ioremap_resource()

2013-05-29 Thread Artem Bityutskiy
ent Navet Pushed to l2-mtd.git, thanks! -- Best Regards, Artem Bityutskiy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH] UBI: Fastmap: Fix memory leak

2013-05-29 Thread Artem Bityutskiy
eber > > > > The discussion about this patch can be found: > > https://lkml.org/lkml/2013/5/2/118 > > Thanks a lot for fixing the whitespace issues! > Am I allowed to add a Tested-by: Thomas Weber ? > IOW did you test the patch? :D Did you intend to re-send the pa

Re: BUG: spinlock lockup suspected on CPU#0, flush-ubifs_0_0/844

2013-05-16 Thread Artem Bityutskiy
t; [ 3451.344427] Stack: (0xcf479df4 to 0xcf47a000) No idea, may be a memory corruption, for example. Is this reproducible? -- Best Regards, Artem Bityutskiy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org

Re: [PATCH v5 01/11] mtd: add datasheet's ECC information to nand_chip{}

2013-05-16 Thread Artem Bityutskiy
On Thu, 2013-05-16 at 16:06 +0800, Huang Shijie wrote: > what's about add the "_datasheet" for these two fields? > such as > > ecc_strength__datasheet;ecc_step__datasheet May be, if these are not too long names. Or ecc_ds_strignth / ecc_ds_step, for example. -- Bes

Re: [PATCH v2 0/4] Export the ecc step size to user applications

2013-05-16 Thread Artem Bityutskiy
ly in use. -- Best Regards, Artem Bityutskiy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH v5 01/11] mtd: add datasheet's ECC information to nand_chip{}

2013-05-16 Thread Artem Bityutskiy
On Thu, 2013-05-16 at 10:16 +0800, Huang Shijie wrote: > 于 2013年05月15日 20:11, Artem Bityutskiy 写道: > > On Wed, 2013-05-15 at 16:40 +0800, Huang Shijie wrote: > >> + * @ecc_strength: [INTERN] ECC correctability from the datasheet. > >> + *Minim

Re: [PATCH v5 02/11] mtd: increase max OOB size to 744

2013-05-15 Thread Artem Bityutskiy
. Let me apply it separately. -- Best Regards, Artem Bityutskiy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH v5 01/11] mtd: add datasheet's ECC information to nand_chip{}

2013-05-15 Thread Artem Bityutskiy
Do you assume that the real ECC strength/step used by NAND chips may be different? Or you assume it must be the same? -- Best Regards, Artem Bityutskiy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More

Re: [PATCH v2 0/4] Export the ecc step size to user applications

2013-05-15 Thread Artem Bityutskiy
t; size. Looks good to me. Would you please update Documentation/ABI/testing/sysfs-class-mtd as well? -- Best Regards, Artem Bityutskiy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info

Re: [PATCH v5 00/11] mtd: add datasheet's ECC information to nand_chip{}

2013-05-15 Thread Artem Bityutskiy
C info. Thanks. Brian has disappeared, may be busy, but I would still like to wait for his response. At the very least, I would like to make sure he does not object. -- Best Regards, Artem Bityutskiy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the b

Re: [PATCH V4 1/9] mtd: add more comment for ecc_strength/ecc_size

2013-05-15 Thread Artem Bityutskiy
On Wed, 2013-05-15 at 16:02 +0800, Huang Shijie wrote: > 于 2013年05月15日 15:42, Artem Bityutskiy 写道: > > You did not send v4 thus far, is this because you are busy or you did > > not have any requests to address? > > > I am not busy. > I just thought the v4 is enough. &

Re: MTD : cannot reserve enough PEBs for bad PEB handling

2013-05-15 Thread Artem Bityutskiy
he various option values correctly for > mkfs.ubifs and ubinize. > > But since I'm getting the warning, can anyone explain where I've gone > wrong ? This is because UBI is trying to reserve 40 PEBs for bad block handling. Why so much? See the explanations here: htt

Re: [PATCH 1/4] mtd: add a new field to mtd_info{}

2013-05-15 Thread Artem Bityutskiy
> > + /* the ecc step size. */ > + unsigned int ecc_size; It would really be nice to harmonize the naming and probably stick to ecc_step everywhere. To me things looks confusing, because ecc_size is actually ECC step size, and not the size of ECC codes. -- Best Regards, Artem

Re: [PATCH V4 1/9] mtd: add more comment for ecc_strength/ecc_size

2013-05-15 Thread Artem Bityutskiy
On Wed, 2013-05-15 at 15:38 +0800, Huang Shijie wrote: > 于 2013年05月15日 15:27, Artem Bityutskiy 写道: > > On Fri, 2013-04-26 at 17:08 +0800, Huang Shijie wrote: > >> Add more commit for ecc_strength and ecc_size fields. > >> We can treat the comment as the initial s

Re: [PATCH V4 1/9] mtd: add more comment for ecc_strength/ecc_size

2013-05-15 Thread Artem Bityutskiy
Silly question, why you call this one "ecc_size", and not "ecc_step"? -- Best Regards, Artem Bityutskiy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kern

Re: [PATCH] mtd: Convert logging messages

2013-05-13 Thread Artem Bityutskiy
it, thanks! -- Best Regards, Artem Bityutskiy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH] mtd: Convert logging messages

2013-05-13 Thread Artem Bityutskiy
e wants the patch or not, but I personally think the patch is all-right. -- Best Regards, Artem Bityutskiy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/maj

Re: [PATCH] mtd: devices: added the 16mb winbond device

2013-05-13 Thread Artem Bityutskiy
ixes. E.g., mb may mean mega bytes, or mega bits. 16MiB device, 64KiB block size is a lot less ambiguous way communicate the sizes. I've amended your commit message. -- Best Regards, Artem Bityutskiy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" i

Re: [PATCH 3/8] mtd: use generic helper to set max_discard_sectors

2013-05-13 Thread Artem Bityutskiy
r mmc in below link > https://lkml.org/lkml/2013/4/1/292 Pushed to l2-mtd.git, thanks! -- Best Regards, Artem Bityutskiy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vg

Re: [PATCH] drivers: mtd: devices: convert to devm_ioremap_resource()

2013-05-10 Thread Artem Bityutskiy
s! -- Best Regards, Artem Bityutskiy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: eGalax touchscreen regression

2013-04-26 Thread Artem Bityutskiy
On Fri, 2013-04-26 at 08:39 -0700, Dmitry Torokhov wrote: > On Fri, Apr 26, 2013 at 06:09:05PM +0300, Artem Bityutskiy wrote: > > On Fri, 2013-04-26 at 16:59 +0200, Arnd Bergmann wrote: > > > On Wednesday 24 April 2013 12:03:13 Artem Bityutskiy wrote: > > > > On

Re: eGalax touchscreen regression

2013-04-26 Thread Artem Bityutskiy
On Fri, 2013-04-26 at 16:59 +0200, Arnd Bergmann wrote: > On Wednesday 24 April 2013 12:03:13 Artem Bityutskiy wrote: > > On Tue, 2013-04-23 at 08:40 -0700, Dmitry Torokhov wrote: > > > > the eGalax driver now requires OF. For us this is a regression because > > &

Re: eGalax touchscreen regression

2013-04-24 Thread Artem Bityutskiy
citive 11.6” LCD monitor). The touchscreen is connected to a commodity hardware via USB. So yes, the platform _is_ upstream :-) Namely, we use just a SandyBridge PC. -- Best Regards, Artem Bityutskiy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a m

Re: eGalax touchscreen regression

2013-04-23 Thread Artem Bityutskiy
; wakeup gpio in case platform does not support OF. irq_to_gpio() is not > supported on many platforms, causing compilation errors. > > Is the platform that you are trying to use the touchscreen upstream? Unfortunately I do not really know about it, but once I learn, I'll come bac

Re: [PATCH] input: egalax_ts: remove bogus OF dependency

2013-04-23 Thread Artem Bityutskiy
On Tue, 2013-04-23 at 08:37 -0700, Dmitry Torokhov wrote: > On Tue, Apr 23, 2013 at 02:09:17PM +0300, Artem Bityutskiy wrote: > > There are platforms using this driver which do not have OF. However, commit > > ae495e844a77344fdaedbb2ad97d925d096e9f0d added a Kconfig dependency

[PATCH] input: egalax_ts: remove bogus OF dependency

2013-04-23 Thread Artem Bityutskiy
There are platforms using this driver which do not have OF. However, commit ae495e844a77344fdaedbb2ad97d925d096e9f0d added a Kconfig dependency on OF and broke OF-less setups. Signed-off-by: Artem Bityutskiy Cc: sta...@vger.kernel.org [v3.7+] --- drivers/input/touchscreen/Kconfig |2

eGalax touchscreen regression

2013-04-23 Thread Artem Bityutskiy
the eGalax driver now requires OF. For us this is a regression because we do not have OF: https://bugs.tizen.org/jira/browse/TIVI-740 -- Best Regards, Artem Bityutskiy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.

[GIT PULL] UBIFS changes for 3.9-rc6

2013-04-04 Thread Artem Bityutskiy
remounted R/W. Artem Bityutskiy (1): UBIFS: make space fixup work in the remount case fs/ubifs/super.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) -- Best Regards, Artem Bityutskiy -- To

Re: [PATCH -next] UBIFS: fix missing unlock on error in ubifs_remount_rw()

2013-03-19 Thread Artem Bityutskiy
On Mon, 2013-03-18 at 11:12 +0800, Wei Yongjun wrote: > From: Wei Yongjun > > Add the missing unlock before return from function ubifs_remount_rw() > in the error handling case. > > Signed-off-by: Wei Yongjun Thanks, I fixed this up in linux-ubifs.git. -- Best Regards

Re: linux-next: Tree for Mar 18 (mtdcore)

2013-03-19 Thread Artem Bityutskiy
On Mon, 2013-03-18 at 14:38 -0700, Randy Dunlap wrote: > when CONFIG_PROC_FS is not enabled: Thanks Randy, should be fixed now. -- Best Regards, Artem Bityutskiy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vg

Re: [PATCH v6 0/3] mtd: use the full-id as the keyword for some nand chips

2013-03-18 Thread Artem Bityutskiy
y hand: > TC58NVG2S0F, TC58NVG3S0F, TC58NVG5D2, TC58NVG6D2 Pushed to l2-mtd.git, thanks! -- Best Regards, Artem Bityutskiy -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vg

Re: [PATCH] mtd: remove ixp2000 driver

2013-03-17 Thread Artem Bityutskiy
quot;). That commit removed the ARCH_IXP2000 Kconfig > > symbol. This removes the last driver depending on that symbol. > > > > Signed-off-by: Paul Bolle > > It turns out that Artem Bityutskiy has published a series of patches > removing this and similar drivers just yesterday: &

Re: MTD : Kernel oops when remounting ubifs as read/write

2013-03-15 Thread Artem Bityutskiy
On Thu, 2013-03-14 at 11:13 +0200, Artem Bityutskiy wrote: > On Wed, 2013-03-13 at 11:12 +, Mark Jackson wrote: > > Sorry ... this just locks up the unit. > > OK, I've reproduced the issue with 3.9-rc2 in nandsim, see the details > below. The patch I proposed did

Re: MTD : Kernel oops when remounting ubifs as read/write

2013-03-15 Thread Artem Bityutskiy
On Thu, 2013-03-14 at 13:40 +, Mark Jackson wrote: > On 14/03/13 12:23, Artem Bityutskiy wrote: > > On Thu, 2013-03-14 at 14:18 +0200, Artem Bityutskiy wrote: > >>> Is this size larger than the allocated buffer ? > >> > >> I believe so. > > >

<    1   2   3   4   5   6   7   8   9   >