[PATCH] fs/binfmt_elf.c: remove unnecessary white space.

2019-08-05 Thread Jungseung Lee
- spaces before tabs, - spaces at the end of lines, - multiple blank lines, - redundant blank lines, fix it. Signed-off-by: Jungseung Lee --- fs/binfmt_elf.c | 31 --- 1 file changed, 12 insertions(+), 19 deletions(-) diff --git a/fs/binfmt_elf.c b/fs

[RFC PATCH 1/2] mtd: spi-nor: add 4bit block protection support

2018-12-04 Thread Jungseung Lee
it via a new flag. Signed-off-by: Jungseung Lee --- drivers/mtd/spi-nor/spi-nor.c | 61 ++- include/linux/mtd/spi-nor.h | 4 +++ 2 files changed, 57 insertions(+), 8 deletions(-) diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c index

[RFC PATCH 1/2] mtd: spi-nor: add 4bit block protection support

2018-12-04 Thread Jungseung Lee
it via a new flag. Signed-off-by: Jungseung Lee --- drivers/mtd/spi-nor/spi-nor.c | 61 ++- include/linux/mtd/spi-nor.h | 4 +++ 2 files changed, 57 insertions(+), 8 deletions(-) diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c index

[RFC PATCH 2/2] mtd: spi-nor: support lock/unlock for a few Micron chips

2018-12-04 Thread Jungseung Lee
Some Micron models are known to have lock/unlock support, and that also support 4bit block protection bit (bp0-3). This patch support lock/unlock feature on the flash. Tested on w25q512ax3. The Other is modified following the datasheet. Signed-off-by: Jungseung Lee --- drivers/mtd/spi-nor/spi

[RFC PATCH 2/2] mtd: spi-nor: support lock/unlock for a few Micron chips

2018-12-04 Thread Jungseung Lee
Some Micron models are known to have lock/unlock support, and that also support 4bit block protection bit (bp0-3). This patch support lock/unlock feature on the flash. Tested on w25q512ax3. The Other is modified following the datasheet. Signed-off-by: Jungseung Lee --- drivers/mtd/spi-nor/spi

[PATCH v3] mmc: core: Export device lifetime information through sysfs

2016-12-21 Thread Jungseung Lee
In the eMMC 5.0 version of the spec, several EXT_CSD fields about device lifetime are added. - Two types of estimated indications reflected by averaged wear out of memory - An indication reflected by average reserved blocks Export the information through sysfs. Signed-off-by: Jungseung Lee

[PATCH v3] mmc: core: Export device lifetime information through sysfs

2016-12-21 Thread Jungseung Lee
In the eMMC 5.0 version of the spec, several EXT_CSD fields about device lifetime are added. - Two types of estimated indications reflected by averaged wear out of memory - An indication reflected by average reserved blocks Export the information through sysfs. Signed-off-by: Jungseung Lee

[PATCH v2] mmc: core: Export device lifetime information through sysf

2016-12-08 Thread Jungseung Lee
In the eMMC 5.0 version of the spec, several EXT_CSD fields about device lifetime are added. - Two types of estimated indications reflected by averaged wear out of memory - An indication reflected by average reserved blocks Export the information through sysfs. Signed-off-by: Jungseung Lee

[PATCH v2] mmc: core: Export device lifetime information through sysf

2016-12-08 Thread Jungseung Lee
In the eMMC 5.0 version of the spec, several EXT_CSD fields about device lifetime are added. - Two types of estimated indications reflected by averaged wear out of memory - An indication reflected by average reserved blocks Export the information through sysfs. Signed-off-by: Jungseung Lee

[PATCH] init : Reduce rootwait polling interval time to 5ms

2016-12-06 Thread Jungseung Lee
For several devices, the rootwait time is sensitive because it directly affects booting time. The polling interval of rootwait is currently 100ms. To save unnessesary waiting time, reduce the polling interval to 5 ms. Signed-off-by: Jungseung Lee <js07@samsung.com> --- init/do_mounts

[PATCH] init : Reduce rootwait polling interval time to 5ms

2016-12-06 Thread Jungseung Lee
For several devices, the rootwait time is sensitive because it directly affects booting time. The polling interval of rootwait is currently 100ms. To save unnessesary waiting time, reduce the polling interval to 5 ms. Signed-off-by: Jungseung Lee --- init/do_mounts.c | 4 +++- 1 file changed, 3

[PATCH] mmc: core: Add error message when switching fails in mmc_select_hs()

2016-08-24 Thread Jungseung Lee
age. Let's make for mmc_select_hs() print message itself in the failure case. Signed-off-by: Jungseung Lee <js07@samsung.com> --- drivers/mmc/core/mmc.c |9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/mmc/core/mmc.c b/drivers/mmc/core/mmc.c index

[PATCH] mmc: core: Add error message when switching fails in mmc_select_hs()

2016-08-24 Thread Jungseung Lee
age. Let's make for mmc_select_hs() print message itself in the failure case. Signed-off-by: Jungseung Lee --- drivers/mmc/core/mmc.c |9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/mmc/core/mmc.c b/drivers/mmc/core/mmc.c index f2d185c..3486bc7 100644 ---

[PATCH] posix-clock: remove unneeded posix_clock_compat_ioctl()

2016-06-01 Thread Jungseung Lee
posix_clock_compat_ioctl() is identical to posix_clock_ioctl(). We don't need additional compat_ioctl in this time. Remove posix_clock_compat_ioctl() and let posix_clock_ioctl() is in charge. Signed-off-by: Jungseung Lee <js07@samsung.com> --- kernel/time/posix-clock.c

[PATCH] posix-clock: remove unneeded posix_clock_compat_ioctl()

2016-06-01 Thread Jungseung Lee
posix_clock_compat_ioctl() is identical to posix_clock_ioctl(). We don't need additional compat_ioctl in this time. Remove posix_clock_compat_ioctl() and let posix_clock_ioctl() is in charge. Signed-off-by: Jungseung Lee --- kernel/time/posix-clock.c | 22 -- 1 file

[PATCH] ARM: iop: Fix indentation

2016-05-05 Thread Jungseung Lee
Fix indentation in iop_3xx_std_desc Signed-off-by: Jungseung Lee <js07@gmail.com> --- arch/arm/plat-iop/setup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/plat-iop/setup.c b/arch/arm/plat-iop/setup.c index 5b217f4..8151bde 100644 --- a/arch/arm/pl

[PATCH] ARM: iop: Fix indentation

2016-05-05 Thread Jungseung Lee
Fix indentation in iop_3xx_std_desc Signed-off-by: Jungseung Lee --- arch/arm/plat-iop/setup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/plat-iop/setup.c b/arch/arm/plat-iop/setup.c index 5b217f4..8151bde 100644 --- a/arch/arm/plat-iop/setup.c +++ b/arch

RE: [PATCH] s390/compat: build error for large compat syscall args

2016-04-21 Thread Jungseung Lee
Hello, > s390/compat: build error for large compat syscall args > > Enforce 32 bit types for all compat syscall argument types. > > This way we can make sure that all arguments get correct sign > or zero extension. Otherwise incorrect code would be generated. > > E.g. for a 'long' type

RE: [PATCH] s390/compat: build error for large compat syscall args

2016-04-21 Thread Jungseung Lee
Hello, > s390/compat: build error for large compat syscall args > > Enforce 32 bit types for all compat syscall argument types. > > This way we can make sure that all arguments get correct sign > or zero extension. Otherwise incorrect code would be generated. > > E.g. for a 'long' type

RE: [PATCH] s390/compat: build error for large compat syscall args

2016-04-21 Thread Jungseung Lee
Hello, > s390/compat: build error for large compat syscall args > > Enforce 32 bit types for all compat syscall argument types. > > This way we can make sure that all arguments get correct sign > or zero extension. Otherwise incorrect code would be generated. > > E.g. for a 'long' type

RE: [PATCH] s390/compat: build error for large compat syscall args

2016-04-21 Thread Jungseung Lee
Hello, > s390/compat: build error for large compat syscall args > > Enforce 32 bit types for all compat syscall argument types. > > This way we can make sure that all arguments get correct sign > or zero extension. Otherwise incorrect code would be generated. > > E.g. for a 'long' type

Re: [PATCH] arch:arm:mm:Correction in the boundary check for module end address.

2015-11-09 Thread Jungseung Lee
art >= MODULES_END) > + if (end < MODULES_VADDR || end >= MODULES_END) > return -EINVAL; > > data.set_mask = set_mask; > -- > 1.7.9.5 > Same patch with proper format is already submitted by Hillf. https://lkml.org/lkml/2015/5/3/202 Best Rega

Re: [PATCH] arch:arm:mm:Correction in the boundary check for module end address.

2015-11-09 Thread Jungseung Lee
- > 1.7.9.5 > Same patch with proper format is already submitted by Hillf. https://lkml.org/lkml/2015/5/3/202 Best Regards, Jungseung Lee -- 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] kernel/module.c: Mark module state before set RO and NX regions

2015-01-07 Thread Jungseung Lee
2015-01-08 2:55 GMT+09:00 Laura Abbott : > On 1/6/2015 8:16 PM, Rusty Russell wrote: >> >> Jungseung Lee writes: >>> >>> In some architectures like arm/arm64, set_memory_*() check module address >>> and state as well. Mark module state before set RO an

Re: [PATCH] kernel/module.c: Mark module state before set RO and NX regions

2015-01-07 Thread Jungseung Lee
2015-01-08 2:55 GMT+09:00 Laura Abbott lau...@codeaurora.org: On 1/6/2015 8:16 PM, Rusty Russell wrote: Jungseung Lee js07@gmail.com writes: In some architectures like arm/arm64, set_memory_*() check module address and state as well. Mark module state before set RO and NX regions

[PATCH] kernel/module.c: Mark module state before set RO and NX regions

2015-01-06 Thread Jungseung Lee
In some architectures like arm/arm64, set_memory_*() check module address and state as well. Mark module state before set RO and NX regions for the routine is passed. It will fix wrong RO/NX protection for loadable kernel modules on arm/arm64. Signed-off-by: Jungseung Lee --- kernel/module.c

[PATCH] kernel/module.c: Mark module state before set RO and NX regions

2015-01-06 Thread Jungseung Lee
In some architectures like arm/arm64, set_memory_*() check module address and state as well. Mark module state before set RO and NX regions for the routine is passed. It will fix wrong RO/NX protection for loadable kernel modules on arm/arm64. Signed-off-by: Jungseung Lee js07@gmail.com

[RFC PATCHv2] fs/binfmt_elf.c: fix internal inconsistency relating to vma dump size

2014-11-30 Thread Jungseung Lee
. The consistnecy with reality is not actually guranteed, but it's tolerable since that is fully consistent with base line. Signed-off-by: Jungseung Lee --- fs/binfmt_elf.c | 40 ++-- 1 file changed, 22 insertions(+), 18 deletions(-) diff --git a/fs/binfmt_elf.c b

[RFC PATCHv2] fs/binfmt_elf.c: fix internal inconsistency relating to vma dump size

2014-11-30 Thread Jungseung Lee
. The consistnecy with reality is not actually guranteed, but it's tolerable since that is fully consistent with base line. Signed-off-by: Jungseung Lee js07@gmail.com --- fs/binfmt_elf.c | 40 ++-- 1 file changed, 22 insertions(+), 18 deletions(-) diff --git

Re: [RFC PATCH] fs/binfmt_elf.c: fix inconsistent vma dump size

2014-11-26 Thread Jungseung Lee
2014-11-26 21:43 GMT+09:00 Andrew Morton : > On Wed, 26 Nov 2014 21:37:54 +0900 Jungseung Lee wrote: > >> 2014-11-26 15:51 GMT+09:00 Jungseung Lee : >> >> >>> @@ -2093,7 +2083,20 @@ static int elf_core_dump(struct coredump_params >> >>> *cprm

Re: [RFC PATCH] fs/binfmt_elf.c: fix inconsistent vma dump size

2014-11-26 Thread Jungseung Lee
2014-11-26 15:51 GMT+09:00 Jungseung Lee : >>> @@ -2093,7 +2083,20 @@ static int elf_core_dump(struct coredump_params >>> *cprm) >>> >>> dataoff = offset = roundup(offset, ELF_EXEC_PAGESIZE); >>> >>> - offset += elf_core_vma_dat

Re: [RFC PATCH] fs/binfmt_elf.c: fix inconsistent vma dump size

2014-11-26 Thread Jungseung Lee
2014-11-26 15:51 GMT+09:00 Jungseung Lee js07@gmail.com: @@ -2093,7 +2083,20 @@ static int elf_core_dump(struct coredump_params *cprm) dataoff = offset = roundup(offset, ELF_EXEC_PAGESIZE); - offset += elf_core_vma_data_size(gate_vma, cprm-mm_flags); + vma_filesz

Re: [RFC PATCH] fs/binfmt_elf.c: fix inconsistent vma dump size

2014-11-26 Thread Jungseung Lee
2014-11-26 21:43 GMT+09:00 Andrew Morton a...@linux-foundation.org: On Wed, 26 Nov 2014 21:37:54 +0900 Jungseung Lee js07@gmail.com wrote: 2014-11-26 15:51 GMT+09:00 Jungseung Lee js07@gmail.com: @@ -2093,7 +2083,20 @@ static int elf_core_dump(struct coredump_params *cprm

Re: [RFC PATCH] fs/binfmt_elf.c: fix inconsistent vma dump size

2014-11-25 Thread Jungseung Lee
Hello, Andrew. 2014-11-26 6:38 GMT+09:00 Andrew Morton : > On Sun, 23 Nov 2014 04:16:39 +0900 Jungseung Lee wrote: > >> vma_dump_size() has been used several times on actual dumper >> and it is supposed to be same values for same vma. >> But vma_dump_size() could be d

[PATCH RESEND] fs/binfmt_elf.c: fix inconsistent vma dump size

2014-11-25 Thread Jungseung Lee
coredump file creation. Fix the problem by always using the same vma dump size which is stored in vma_filsz. Signed-off-by: Jungseung Lee --- fs/binfmt_elf.c | 40 ++-- 1 file changed, 22 insertions(+), 18 deletions(-) diff --git a/fs/binfmt_elf.c b/fs/binfmt_elf.c

[PATCH RESEND] fs/binfmt_elf.c: fix inconsistent vma dump size

2014-11-25 Thread Jungseung Lee
coredump file creation. Fix the problem by always using the same vma dump size which is stored in vma_filsz. Signed-off-by: Jungseung Lee js07@gmail.com --- fs/binfmt_elf.c | 40 ++-- 1 file changed, 22 insertions(+), 18 deletions(-) diff --git a/fs/binfmt_elf.c

Re: [RFC PATCH] fs/binfmt_elf.c: fix inconsistent vma dump size

2014-11-25 Thread Jungseung Lee
Hello, Andrew. 2014-11-26 6:38 GMT+09:00 Andrew Morton a...@linux-foundation.org: On Sun, 23 Nov 2014 04:16:39 +0900 Jungseung Lee js07@gmail.com wrote: vma_dump_size() has been used several times on actual dumper and it is supposed to be same values for same vma. But vma_dump_size

[RFC PATCH] fs/binfmt_elf.c: fix inconsistent vma dump size

2014-11-22 Thread Jungseung Lee
coredump file creation. Fix the problem by always using the same vma dump size which is stored in vma_filsz. Signed-off-by: Jungseung Lee --- fs/binfmt_elf.c | 40 ++-- 1 file changed, 22 insertions(+), 18 deletions(-) diff --git a/fs/binfmt_elf.c b/fs/binfmt_elf.c

[RFC PATCH] fs/binfmt_elf.c: fix inconsistent vma dump size

2014-11-22 Thread Jungseung Lee
coredump file creation. Fix the problem by always using the same vma dump size which is stored in vma_filsz. Signed-off-by: Jungseung Lee js07@gmail.com --- fs/binfmt_elf.c | 40 ++-- 1 file changed, 22 insertions(+), 18 deletions(-) diff --git a/fs/binfmt_elf.c

RE: [Q] L1_CACHE_BYTES on flush_pfn_alias function.

2014-01-25 Thread Jungseung Lee
Not to flush some more bytes. In the scenario, they can *omit* to flush last 32 bytes. L1_CACHE_BYTES = 64 (ARM v7, CA9) asm("mcrr p15, 0, %1, %0, c14\n" " mcr p15, 0, %2, c7, c10, 4" : : "r" (to), "r" (to + PAGE_SIZE - L1_CACHE_BYTES), "r" (zero) : "cc");

RE: [Q] L1_CACHE_BYTES on flush_pfn_alias function.

2014-01-25 Thread Jungseung Lee
Not to flush some more bytes. In the scenario, they can *omit* to flush last 32 bytes. L1_CACHE_BYTES = 64 (ARM v7, CA9) asm(mcrr p15, 0, %1, %0, c14\n mcr p15, 0, %2, c7, c10, 4 : : r (to), r (to + PAGE_SIZE - L1_CACHE_BYTES), r (zero) : cc); -Original

gitstat 0.1: kernel development statistics / monitoring system

2007-08-19 Thread jungseung lee
We are pleased to announce the release of gitstat 0.1. Gitstat is a GPL'd, web-based git statistics/monitoring system. It retrieves a specified git tree, analyzes changesets, and shows graphical information like the number of changesets per day, the number of people who submitted changesets for

gitstat 0.1: kernel development statistics / monitoring system

2007-08-19 Thread jungseung lee
We are pleased to announce the release of gitstat 0.1. Gitstat is a GPL'd, web-based git statistics/monitoring system. It retrieves a specified git tree, analyzes changesets, and shows graphical information like the number of changesets per day, the number of people who submitted changesets for