[PATCH] vmalloc: Remove alloc_map from vmap_block.

2013-02-06 Thread Chanho Min
off-by: Chanho Min Signed-off-by: Joonsoo Kim --- mm/vmalloc.c | 23 +-- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/mm/vmalloc.c b/mm/vmalloc.c index 5123a16..4fd3555 100644 --- a/mm/vmalloc.c +++ b/mm/vmalloc.c @@ -744,7 +744,6 @@ struct vmap_bl

Re: [PATCH] vmalloc: Remove alloc_map from vmap_block.

2013-02-07 Thread Chanho Min
| sys_ioctl | | | ret_fast_syscall | | | malloc | | --0.16%-- [...] ... Thanks Chanho Min -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.

Re: [PATCH v2] ARM: PL011: Add support for Rx DMA buffer polling

2013-01-28 Thread Chanho Min
On Mon, Jan 28, 2013 at 5:28 PM, Linus Walleij wrote: > On Mon, Jan 28, 2013 at 9:15 AM, Chanho Min wrote: >> [Russell] >>>Well, I thought I had explained that I'd prefer to see the poll rate >>>adjusted with the baud rate, but maybe I wasn't explicit eno

Re: [PATCH v2] ARM: PL011: Add support for Rx DMA buffer polling

2013-01-29 Thread Chanho Min
> Then it can use DMA polling post-wakeup? Yes, It will be switched back to DMA polling on UART IRQ. > What do you mean by "user" here? Userspace? Or > "platform data parameter"? platform data parameter > Not platform I think. Per usecase. > Are you not actually thinking about things like the abo

Re: [PATCH v2] ARM: PL011: Add support for Rx DMA buffer polling

2013-01-29 Thread Chanho Min
> Anyway I just want to know we still need auto scale of poll rate. I correct the mistake in this sentence. Anyway I just want to know whether we still need auto scale of poll rate or not. Thanks Chanho -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a mes

RE: [PATCH v2] ARM: PL011: Add support for Rx DMA buffer polling

2013-01-28 Thread Chanho Min
>Well, I thought I had explained that I'd prefer to see the poll rate >adjusted with the baud rate, but maybe I wasn't explicit enough. >Instead, what we seem to have ended up with are two new entries in >platform data (which we're trying to get away from with DT): > >+ unsigned int dma_rx_po

[PATCH 0/2] lib,crypto: Add lz4 compressor module and crypto API

2013-03-14 Thread Chanho Min
essed data Size: 101 MB Compressed Size compression Speed LZO 72.1MB 32.1MB/s, 33.0MB/s(UA) LZ4 75.1MB 30.4MB/s, 35.9MB/s(UA) LZ4HC 59.8MB2.4MB/s, 2.5MB/s(UA) - UA: Unaligned memory Access support - Latest patch set for LZO applied Chanho Min

[PATCH 1/2] lib: Add lz4 compressor module

2013-03-14 Thread Chanho Min
be allocated with the size of lz4_compressbound. Signed-off-by: Chanho Min --- include/linux/lz4.h | 36 lib/Kconfig |6 + lib/Makefile |2 + lib/lz4/Makefile |2 + lib/lz4/lz4_compress.c | 443 + lib

[PATCH 2/2] crypto: Add lz4 Cryptographic API

2013-03-14 Thread Chanho Min
This patch adds support for lz4 and lz4hc compression algorithm using the lib/lz4/* codebase. Signed-off-by: Chanho Min --- crypto/Kconfig | 16 + crypto/Makefile |2 ++ crypto/lz4.c| 105 +++ crypto/lz4hc.c | 105

Re: [PATCH] ARM: Fix build warning in do_alignment.

2012-09-10 Thread Chanho Min
> What it's caused by is do_alignment_t32_to_handler(), and its assignment > through a pointer of this variable. You can see that this is the cause > because the patch below fixes the warning. We couldn't fix the warning with your patch. the patch below fixes it instead. IMHO, gcc can't seems to k

[PATCH] ARM: gic: fix irq affinity mismatch.

2012-09-23 Thread Chanho Min
t the default affinity to the boot cpu in gic_dist_init. thereafter, irq_data->affinity will be set to default 1-bit affinity. - Even if we write multiple bits to smp_affinity, both irq_data and gic register will be set one cpu. procfs will show 1 bit affinity as well. Signed-off-by: Chanho Mi

[PATCH] mmc: sdhci: add support for pre_req and post_req

2013-09-05 Thread Chanho Min
/null bs=64k count=1024 67108864 bytes (64.0MB) copied, 0.993098 seconds, 64.4MB/s Signed-off-by: Chanho Min --- drivers/mmc/host/sdhci.c | 96 +++-- include/linux/mmc/sdhci.h |6 +++ 2 files changed, 90 insertions(+), 12 deletions(-) diff --git a

[PATCH] [media] uvcvideo: fix data type for pan/tilt control

2013-09-26 Thread Chanho Min
max are -36000 and 36000, the setting value between of this range is always 36000. So, Its data type should be changed to signed. Signed-off-by: Chanho Min --- drivers/media/usb/uvc/uvc_ctrl.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/usb/uvc

[PATCH] ARM: Fix build warning in do_alignment.

2012-09-09 Thread Chanho Min
Fix the following build warning: arch/arm/mm/alignment.c: In function 'do_alignment': arch/arm/mm/alignment.c:327:15: warning: 'offset.un' may be used uninitialized in this function [-Wuninitialized] arch/arm/mm/alignment.c:749:21: note: 'offset.un' was declared h

[PATCH] bitmap: speedup in bitmap_find_free_region when order is 0

2013-04-07 Thread Chanho Min
free bit. But, If This is applied, it takes 64 for-loops. Instead, if free bit is in the first index of the bitmaps, It will be needed additional 1 for-loop. But from second index, It will be speed up significantly. Signed-off-by: Chanho Min --- lib/bitmap.c | 34

[PATCH v2] bitmap: speedup in bitmap_find_free_region when order is 0

2013-04-08 Thread Chanho Min
code if `bits' is not an multiple of BITS_PER_LONG. Signed-off-by: Chanho Min --- lib/bitmap.c | 36 1 file changed, 36 insertions(+) diff --git a/lib/bitmap.c b/lib/bitmap.c index 06f7e4f..663fc28 100644 --- a/lib/bitmap.c +++ b/lib/bitmap.c @@ -1

[PATCH] lib: add weak clz/ctz functions

2013-05-02 Thread Chanho Min
Uytterhoeven Signed-off-by: Chanho Min --- lib/Makefile |2 +- lib/clz_ctz.c | 58 + 2 files changed, 59 insertions(+), 1 deletion(-) create mode 100644 lib/clz_ctz.c diff --git a/lib/Makefile b/lib/Makefile index af79e8c..3eacb2c 100644 --- a

Re : [PATCH, RFC 09/22] crypto: lz4: don't build on ARM

2013-05-02 Thread Chanho Min
ctions for __builtin_clz/ctz. Porting them to lib is in progress: http://marc.info/?l=linux-kernel&m=136748861811956&w=2 But, It doesn't happen on ARM, PowerPC and x86. Thanks Chanho Min mime.txt Description: Binary data

[PATCH RESEND] lib: add weak clz/ctz functions

2013-05-07 Thread Chanho Min
Uytterhoeven Signed-off-by: Chanho Min --- lib/Makefile |2 +- lib/clz_ctz.c | 58 + 2 files changed, 59 insertions(+), 1 deletion(-) create mode 100644 lib/clz_ctz.c diff --git a/lib/Makefile b/lib/Makefile index af79e8c..3eacb2c 100644 --- a

[PATCH RESEND v3] bitmap: speed up bitmap_find_free_region

2013-05-07 Thread Chanho Min
patch: 15475 ns after patch: 16131 ns Changes compared to v1: - Modified unnecessarily complicated code. - Fixed the buggy code if `bits' is not an multiple of BITS_PER_LONG. Changes compared to v2: - Removed bitmap_find_free_one and merged it to bitmap_find_free_region. Signed-off-by:

Re : Re: [PATCH RESEND v3] bitmap: speed up bitmap_find_free_region

2013-05-07 Thread Chanho Min
. before = local_clock(); bitmap_find_free_region(bitmap, 1024,0); after = local_clock(); Chanho Min, -- 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/major

Re: [PATCH 1/2] lib: Add lz4 compressor module

2013-04-25 Thread Chanho Min
>> gcc seems to define __builtin_clz as __clzsi2 in some architecture. >> But, kernel doesn't link libgcc.a. >> If kernel should use gcc's built-in function without libgcc.a, >> do we need to port __clzsi2 to 'arch/*/lib/*'? > >This breaks alpha (gcc-4.4.4) as well. Can we please get this fixed >

[PATCH] lib: add weak __clzsi2()/__clzdi2() functions

2013-04-28 Thread Chanho Min
Signed-off-by: Chanho Min --- lib/Makefile |2 +- lib/clz.c| 36 2 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 lib/clz.c diff --git a/lib/Makefile b/lib/Makefile index af79e8c..e17b3ee 100644 --- a/lib/Makefile +++ b/lib/Makefile

[PATCH v3] bitmap: speed up bitmap_find_free_region

2013-04-15 Thread Chanho Min
patch: 15475 ns after patch: 16131 ns Changes compared to v1: - Modified unnecessarily complicated code. - Fixed the buggy code if `bits' is not an multiple of BITS_PER_LONG. Changes compared to v2: - Removed bitmap_find_free_one and merged it to bitmap_find_free_region. Signed-off-by:

[PATCH] ARM: PL011: Add support for Rx DMA buffer polling.

2013-03-27 Thread Chanho Min
polling timeout. Changes compared to v2: - Use of consistent DMA mappings for default. - Added dma_rx_poll_enable in platform data to adjust the polling time according to the baud rate. - remove unnecessary lock from the polling function. Signed-off-by: Chanho Min --- drivers/tty/s

[PATCH] fix NULL-pointer dereference on scsi_run_queue

2012-08-02 Thread Chanho Min
+0x0/0x8) [8.233692] Code: e59f011c e58dc000 eb05457e e5953004 (e5930240) [8.240026] __scsi_remove_device:962 9f1e8000 [ 8.240140] ---[ end trace 1ec4a0217c9f24f3 ]--- Signed-off-by: Chanho Min --- drivers/scsi/scsi_lib.c |4 1 files changed, 4 insertions(+), 0 deletions(-) di

Re: [PATCH] fix NULL-pointer dereference on scsi_run_queue

2012-08-02 Thread Chanho Min
On Thu, Aug 2, 2012 at 5:57 PM, James Bottomley wrote: > On Thu, 2012-08-02 at 17:41 +0900, Chanho Min wrote: >> This patch is to fix a oops from a torn down device. When >> scsi_run_queue process starved queues, scsi_request_fn can race with >> scsi_remove_device.

Re: [PATCH] fix NULL-pointer dereference on scsi_run_queue

2012-08-02 Thread Chanho Min
st_queue to NULL, Isn't it necessary to ensure that __blk_run_queue don't release device? Thanks a lot! Chanho Min -- 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.

Re: [PATCH] fix NULL-pointer dereference on scsi_run_queue

2012-08-07 Thread Chanho Min
On Tue, Aug 7, 2012 at 2:56 AM, Bart Van Assche wrote: > Indeed. How about the patch below ? Scsi devices are removed from > starved_list after blk_cleanup_queue() and before put_device(). That > guarantees that inside scsi_run_queue() get_device() under host lock > will succeed. Thanks, IMHO, it'

Re: [PATCH] fix NULL-pointer dereference on scsi_run_queue

2012-08-07 Thread Chanho Min
> I'm afraid that without the second half of that patch the following race > is still possible: > - sdev reference count drops to zero while scsi_run_queue() is in > progress and while that sdev is on the starved_list of its SCSI host; > scsi_device_dev_release_usercontext() call is scheduled b

[PATCH][SCSI] remove the queue unlock in scsi_requset_fn

2012-08-09 Thread Chanho Min
so it is outdated. Signed-off-by: Chanho Min Reviewed-by: Bart Van Assche --- drivers/scsi/scsi_lib.c |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c index ffd7773..cb2185a 100644 --- a/drivers/scsi/scsi_lib.c +++ b/driv

[PATCH RESEND] remove the queue unlock in scsi_requset_fn

2012-08-14 Thread Chanho Min
so it is outdated. Signed-off-by: Chanho Min Reviewed-by: Bart Van Assche --- drivers/scsi/scsi_lib.c |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c index ffd7773..cb2185a 100644 --- a/drivers/scsi/scsi_lib.c +++ b/driv

Re: [PATCH RESEND] remove the queue unlock in scsi_requset_fn

2012-08-15 Thread Chanho Min
> functions will occur in line. I also don't see why the sdev reference > couldn't drop to zero here. scsi_request_fn is called under the lock of request_queue->queue_lock. If we drop the sdev reference to zero here, scsi_device_dev_release_usercontext is invoked and make request_queue to NULL. Wh

[PATCH v2] ARM: PL011: Add support for Rx DMA buffer polling

2013-01-22 Thread Chanho Min
taken by polling. Signed-off-by: Chanho Min --- drivers/tty/serial/amba-pl011.c | 160 ++- include/linux/amba/serial.h |2 + 2 files changed, 145 insertions(+), 17 deletions(-) diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011

Re: [PATCH v2] ARM: PL011: Add support for Rx DMA buffer polling

2013-01-22 Thread Chanho Min
On Tue, Jan 22, 2013 at 10:18 PM, Linus Walleij wrote: >> - If poll timer is activated, We use consistent DMA mappings to avoid from >> the frequent cache operation of the timer function. sg->coherency is used >> to check if buffer is coherent. > > Hm. We can begin like this but maybe we shoul

Re: [PATCH] ARM: PL011: Add support for Rx DMA buffer polling

2013-01-13 Thread Chanho Min
On Mon, Jan 14, 2013 at 3:46 PM, Linus Walleij wrote: > On Mon, Jan 14, 2013 at 1:26 AM, Russell King - ARM Linux >> What you describe above is exactly the problem I see on the Versatile >> platform with it's PL080 and PL011. I made the comment that this setup >> can't work properly as it stands.

Re: [PATCH] ARM: PL011: Add support for Rx DMA buffer polling

2013-01-14 Thread Chanho Min
>Looking back at the patch, do you know if we can get rid of >some of the #ifdefs and have this like a runtime switch set in >struct amba_pl011_data or Device Tree? Yes, I know. I'll come back with v2 soon. Thanks, Chanho -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" i

[PATCH] ipconfig : Fix null reference to the freed dev_addr

2016-06-20 Thread Chanho Min
== To fix this, I suggested patch that checks if device is available before the DHCP packet is sended. Signed-off-by: Chanho Min --- net/ipv4/ipconfig.c |4 1 file changed, 4 insertions(+) diff --git a/net/ipv4/ipconfig.c b/net/ipv4/ipconfig.c index 0bc7412..5b29a32 100644

[PATCH] ARM:mm: fix kmap_atomic_to_page

2015-10-06 Thread Chanho Min
Since kmap_atomic returns the pkmap address without a new mapping to fixmap for the page that is already mapped by kmap, It should be considered for the pkmap address in kmap_atomic_to_page. Signed-off-by: Chanho Min --- arch/arm/mm/highmem.c | 11 --- 1 file changed, 8 insertions

[PATCH] ALSA: pcm: Fix starvation on down_write_nonblock()

2018-11-23 Thread Chanho Min
another approach. Signed-off-by: Chanho Min --- sound/core/pcm_native.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/core/pcm_native.c b/sound/core/pcm_native.c index 66c90f4..88d4aab 100644 --- a/sound/core/pcm_native.c +++ b/sound/core/pcm_native.c @@ -96,7 +96,7

[PATCH] ALSA: pcm: Fix starvation on down_write_nonblock()

2018-11-25 Thread Chanho Min
tick-based schedule()/wake_up_q(). Suggested-by: Wonmin Jung Signed-off-by: Chanho Min --- sound/core/pcm_native.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/sound/core/pcm_native.c b/sound/core/pcm_native.c index 66c90f4..bdca0e1 100644 --- a/sound/core/pcm_nati

RE: [PATCH] ALSA: pcm: Fix starvation on down_write_nonblock()

2018-11-27 Thread Chanho Min
> On Mon, 26 Nov 2018 06:36:37 +0100, > Chanho Min wrote: > > > > Commit 67ec1072b053 ("ALSA: pcm: Fix rwsem deadlock for non-atomic PCM > > stream") fixes deadlock for non-atomic PCM stream. But, This patch > causes antother stuck. > > If writer is R

RE: [PATCH] ALSA: pcm: Fix starvation on down_write_nonblock()

2018-11-27 Thread Chanho Min
> > > > Hrm, converting unconditionally with msleep() looks too drastic. > > Yes, it looks drastic. But, IMHO, I can't say busy-spin is not non-drastic. Fix typo in this comment: I can't say busy-spin is not drastic. Thanks Chanho

RE: [PATCH] ALSA: pcm: Fix starvation on down_write_nonblock()

2018-11-28 Thread Chanho Min
> > > On Mon, 26 Nov 2018 06:36:37 +0100, > > > Chanho Min wrote: > > > > > > > > Commit 67ec1072b053 ("ALSA: pcm: Fix rwsem deadlock for non-atomic > > > > PCM > > > > stream") fixes deadlock for non-atomic PCM stream.

RE: [PATCH] ALSA: pcm: Fix starvation on down_write_nonblock()

2018-11-29 Thread Chanho Min
> Chanho Min wrote: > > > > > > > On Mon, 26 Nov 2018 06:36:37 +0100, > > > > > Chanho Min wrote: > > > > > > > > > > > > Commit 67ec1072b053 ("ALSA: pcm: Fix rwsem deadlock for non- > atomic > > >

RE: [PATCH] exec: make de_thread() freezable

2018-11-11 Thread Chanho Min
> Thanks, but please note another schedule() in "if > (!thread_group_leader(tsk))" > branch, we probably want to change it too? > > Oleg. Sounds right, The thread group leader might be frozen as well. I'll prepare v2.

[PATCH v2] exec: make de_thread() freezable

2018-11-11 Thread Chanho Min
de_thread() freezable. It looks safe and works fine. Changes in v2: - changes for the same reason in "if (!thread_group_leader(tsk))" branch. (reported by Oleg) Suggested-by: Oleg Nesterov Signed-off-by: Chanho Min --- fs/exec.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletion

RE: [PATCH v2] exec: make de_thread() freezable

2018-11-14 Thread Chanho Min
> > > It's been some time since I have looked into this code so bear with me. > > > One thing is not really clear to me. Why does it help to exclude this > > > particular task from the freezer > > > > we don't exclude it, > > > > > when it is not sleeping in the freezer. > > > > Yes, it is not slee

RE: [PATCH] Revert "exec: make de_thread() freezable (was: Re: Linux 4.20-rc4)

2018-12-06 Thread Chanho Min
> From: Oleg Nesterov [mailto:o...@redhat.com] > Sent: Wednesday, December 05, 2018 11:36 PM > To: Ingo Molnar > Cc: Linus Torvalds; Linux List Kernel Mailing; Rafael J. Wysocki; Chanho Min; > Thomas Gleixner; Peter Zijlstra; Pavel Machek; Michal Hocko > Subject: Re: [PATCH]

RE: [PATCH] Revert "exec: make de_thread() freezable (was: Re: Linux 4.20-rc4)

2018-12-06 Thread Chanho Min
> > > > I am sorry for the reverting this patch. It's also my fault that > > I didn't check lockdep. But, We decided to keep this patch in our product. > > Freeze fail is a real problem we've had for the last two years, > > whereas lockdep's notice is not a real problem. > > We hope this issue will

RE: [PATCH] freezer: fix freeze timeout on exec

2018-11-08 Thread Chanho Min
> > > > To fix this, I suggest a patch by emboding the mentioned solution. > > First, revive and rework cancel_freezing_and_thaw() function whitch > > stops the task from sleeping in refrigirator reliably. And, The task > > to be killed does not allow to freeze. > > Can't we simply change de_threa

RE: [PATCH] freezer: fix freeze timeout on exec

2018-11-08 Thread Chanho Min
> > > > Can't we simply change de_thread() to use freezable_schedule() ? > > > > Oleg. > > We need to change freezable_schedule_timeout() instead. > freezable_schedule also can't be frozen if sub-threads can't stop > schedule(). > Furthermore, I'm not sure if it is safe to freeze it at de_thread()

[PATCH] exec: make de_thread() freezable

2018-11-09 Thread Chanho Min
+0x9c/0x240 [] load_script+0x20c/0x228 [] search_binary_handler+0x9c/0x240 [] do_execveat_common.isra.14+0x4f8/0x6e8 [] compat_SyS_execve+0x38/0x48 [] el0_svc_naked+0x24/0x28 To fix this, make de_thread() freezable. It looks safe and works fine. Suggested-by: Oleg Nesterov Signed-off-by: Chanho

[PATCH] exec: make prepare_bprm_creds static

2018-12-09 Thread Chanho Min
prepare_bprm_creds is not used outside exec.c, so there's no reason for it to have external linkage. Signed-off-by: Chanho Min --- fs/exec.c | 2 +- include/linux/binfmts.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/fs/exec.c b/fs/exec.c index fc

[PATCH] freezer: fix freeze timeout on exec

2018-11-08 Thread Chanho Min
mentioned solution. First, revive and rework cancel_freezing_and_thaw() function whitch stops the task from sleeping in refrigirator reliably. And, The task to be killed does not allow to freeze. Reference: http://lkml.iu.edu/hypermail//linux/kernel/0702.2/1300.html Signed-off-by: Chanho Min --- inc

[PATCH RESEND] mmc:sdhci: handle busy-end interrupt during command

2014-03-14 Thread Chanho Min
with the bellow warning. "mmc0: Got command interrupt 0x0001 even though no command operation was in progress." Can anyone ACK/NACK of this patch? Any comment will be appreciated. Signed-off-by: Hankyung Yu Signed-off-by: Chanho Min Tested-by: Youssef TRIKI --- drivers/mmc/ho

[PATCH RESEND] mmc:sdhci: handle busy-end interrupt during command

2014-02-26 Thread Chanho Min
with the bellow warning. "mmc0: Got command interrupt 0x0001 even though no command operation was in progress." Can anyone ACK/NACK of this patch? Any comment will be appreciated. Signed-off-by: Hankyung Yu Signed-off-by: Chanho Min --- drivers/mmc/host/sdhci

[PATCH] Squashfs: add asynchronous read support

2013-12-15 Thread Chanho Min
) copied, 0.942413 seconds, 59.4MB/s Signed-off-by: Chanho Min --- fs/squashfs/Kconfig |9 ++ fs/squashfs/block.c | 262 + fs/squashfs/file_direct.c |8 +- fs/squashfs/page_actor.c |3 +- fs/squashfs/page_actor.h |3 +- fs

[PATCH v2] ARM: timer-sp: ensure interrupt is cleared at sp804_of_init

2014-09-17 Thread Chanho Min
clockevent is registered. Changes since v1: - Move to sp804_of_init - Clear TIMER2 interrupt - Update commit log Signed-off-by: Chanho Min --- arch/arm/common/timer-sp.c |4 1 file changed, 4 insertions(+) diff --git a/arch/arm/common/timer-sp.c b/arch/arm/common/timer-sp.c index fd6bff0

[PATCH] ARM: timer-sp: ensure interrupt is cleared at sp804_clockevents_init

2014-09-16 Thread Chanho Min
. Signed-off-by: Chanho Min --- arch/arm/common/timer-sp.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/common/timer-sp.c b/arch/arm/common/timer-sp.c index fd6bff0..b658873 100644 --- a/arch/arm/common/timer-sp.c +++ b/arch/arm/common/timer-sp.c @@ -205,6 +205,8 @@ void __init

[PATCH] arm64:init: Move of_clk_init to time_init

2014-04-14 Thread Chanho Min
Clock providers should be initialized before clocksource_of_init. If not, Clock source initialization can be fail to get the clock. Signed-off-by: Chanho Min --- arch/arm64/kernel/setup.c |1 - arch/arm64/kernel/time.c |3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff

[PATCH] arm64:kconfig: make default for CONFIG_COMPAT

2014-04-14 Thread Chanho Min
'make savedefconfig' doesn't generate defconfig properly due to missing COMPAT default. So Add default and set to yes. Signed-off-by: Chanho Min --- arch/arm64/Kconfig |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 4907b85.

[PATCH] arm64:kconfig: Add default line for CONFIG_COMPAT

2014-04-14 Thread Chanho Min
Correct minimal config is not generated without default line. 'default n' should be added to set COMPAT to 'n'. Otherwise, Enabling COMPAT is not reflected to minial config. Signed-off-by: Chanho Min --- arch/arm64/Kconfig |1 + 1 file changed, 1 insertion(+) dif

[PATCH] arm: dma-mapping: fix potential build error under !CMA

2014-06-01 Thread Chanho Min
27;: arch/arm/mm/dma-mapping.c:361:2: error: implicit declaration of function 'dev_get_cma_area' [-Werror=implicit-function-declaration] Signed-off-by: Chanho Min --- arch/arm/include/asm/dma-contiguous.h |2 +- include/asm-generic/dma-contiguous.h | 13 +++-- 2 file

[PATCH] mmc:sdhci: handle busy-end interrupt during command

2014-02-02 Thread Chanho Min
with the bellow warning. "mmc0: Got command interrupt 0x0001 even though no command operation was in progress." Signed-off-by: Hankyung Yu Signed-off-by: Chanho Min --- drivers/mmc/host/sdhci.c | 17 +++-- include/linux/mmc/sdhci.h |1 + 2 files changed, 16

[PATCH RESEND] mmc:sdhci: handle busy-end interrupt during command

2014-02-05 Thread Chanho Min
with the bellow warning. "mmc0: Got command interrupt 0x0001 even though no command operation was in progress." Signed-off-by: Hankyung Yu Signed-off-by: Chanho Min --- drivers/mmc/host/sdhci.c | 17 +++-- include/linux/mmc/sdhci.h |1 + 2 files changed, 16

Re : Re: [PATCH] Squashfs: add asynchronous read support

2013-12-17 Thread Chanho Min
> I did test it on x86 with USB stick and ARM with eMMC on my Nexus 4. > In experiment, I couldn't see much gain like you both system and even it > was regressed at bs=32k test, maybe workqueue allocation/schedule of work > per I/O. > Your test is rather special or what I am missing? Can you speci

Re: Re: Re : Re: [PATCH] Squashfs: add asynchronous read support

2013-12-20 Thread Chanho Min
> Please don't break thread. > You should reply to my mail instead of your original post. Sorry, It seems to be my mailer issue. I'm trying to fix it. > It's a result which isn't what I want to know. > What I wnat to know is why upper layer issues more I/O per second. > For example, you read 32K

Re : Re: Re: Re : Re: [PATCH] Squashfs: add asynchronous read support

2013-12-22 Thread Chanho Min
> read_pages > for(page_idx ...) { > if (!add_to_page_cache_lru)) { <-- 1) > mapping->a_ops->readpage(filp, page) > squashfs_readpage > for (i ...) { 2) Here, 31 pages are inserted into page cache > grab_cahe_page_nowait <--/ > add_to

[PATCH] mmc:sdhci: handle busy-end interrupt during command

2014-08-20 Thread Chanho Min
than CMD23. Also, similar patch is submitted by: Gwendal Grignou Signed-off-by: Hankyung Yu Signed-off-by: Chanho Min Tested-by: Youssef TRIKI --- drivers/mmc/host/sdhci.c | 17 +++-- include/linux/mmc/sdhci.h |1 + 2 files changed, 16 insertions(+), 2 deletions(-) di

[PATCH v2] mmc:sdhci: handle busy-end interrupt during command

2014-08-29 Thread Chanho Min
than CMD23. Also, similar patch is submitted by: Gwendal Grignou Changes since v1: Fixed conflict with the next of git.linaro.org/people/ulf.hansson/mmc.git and Tested if issue is fixed again. Signed-off-by: Hankyung Yu Signed-off-by: Chanho Min Tested-by: Youssef TRIKI --- drivers/mmc/ho

[PATCH] mmc:core: fix hs400 timing selection

2014-10-21 Thread Chanho Min
27;s UHS timing mode should be set to DDR50 after the bus width is set to DDR 8bit. Signed-off-by: Hankyung Yu Signed-off-by: Chanho Min --- drivers/mmc/core/mmc.c | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/drivers/mmc/core/mmc.c b/drivers/mmc/core/mmc

[PATCH] arm64: defconfig: Enable Cadence MACB/GEM support

2016-05-08 Thread Chanho Min
This patch enables the cadence MACB/GEM support that is needed by lg1312 SoC. Signed-off-by: Chanho Min --- arch/arm64/configs/defconfig |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 14dbe27..ed11cb6 100644 --- a/arch

[RESEND PATCH] arm64: defconfig: Enable Cadence MACB/GEM support

2016-05-18 Thread Chanho Min
This patch enables the cadence MACB/GEM support that is needed by lg1312 SoC. Signed-off-by: Chanho Min --- arch/arm64/configs/defconfig |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 14dbe27..ed11cb6 100644 --- a/arch

[PATCH] ARM: cacheflush: disallow pending signals during cacheflush

2014-11-12 Thread Chanho Min
4423d6a. Signed-off-by: Chanho Min --- arch/arm/kernel/traps.c | 19 --- 1 file changed, 19 deletions(-) diff --git a/arch/arm/kernel/traps.c b/arch/arm/kernel/traps.c index abd2fc0..275e086 100644 --- a/arch/arm/kernel/traps.c +++ b/arch/arm/kernel/traps.c @@ -521,25 +52

[PATCH] mm: add parameter to disable faultaround

2014-11-24 Thread Chanho Min
parameter "nofaultaround" for situations where users want to disable faultaround. Signed-off-by: Chanho Min --- mm/memory.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/mm/memory.c b/mm/memory.c index 4879b42..c36a96f 100644 --- a/mm/memory.c +++ b/m

RE: [PATCH] tty: amba-pl011: use sg_table instead of scatterlist

2016-03-08 Thread Chanho Min
> > @@ -344,17 +344,23 @@ static int pl011_sgbuf_init(struct dma_chan *chan, > struct pl011_sgbuf *sg, > > enum dma_data_direction dir) > > { > > dma_addr_t dma_addr; > > + int ret; > > > > sg->buf = dma_alloc_coherent(chan->device->dev, > > PL011_DMA_BUFFER_SIZE, &dma_ad

RE: [PATCH 3/4] arm64: dts: Add dts files for LG Electronics's lg1312 SoC

2016-03-09 Thread Chanho Min
> Hi, > > On Mon, Mar 07, 2016 at 01:09:59PM +0900, Chanho Min wrote: > > Add initial dtsi file to support lg1312 SoC which based on Cortex-A53. > > Also add dts file to support lg1312 reference board which based on > > lg1312 SoC. > > > > Signed-off-by: Ch

[PATCH v2 0/4] ARM64:SoC add a new platform, LG Electronics's lg1k

2016-03-10 Thread Chanho Min
This is an initial series for supporting LG Electronics's lg1k SoCs, based on ARM Cortex-A53, mainly used for digital TVs. Chanho Min (4): arm64: add Kconfig entry for LG1K SoC family arm64: defconfig: enable ARCH_LG1K arm64: dts: Add dts files for LG Electronics's lg1312 SoC M

[PATCH v2 4/4] MAINTAINERS: add myself as ARM/LG1K maintainer

2016-03-10 Thread Chanho Min
Signed-off-by: Chanho Min --- Changes for v2: - None --- MAINTAINERS |6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 4f55edf..20ca61a 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1245,6 +1245,12 @@ L: linux-kernel@vger.kernel.org S

[PATCH v2 2/4] arm64: defconfig: enable ARCH_LG1K

2016-03-10 Thread Chanho Min
Enable building LG1K support in the defconfig. Signed-off-by: Chanho Min --- Changes for v2: - None --- arch/arm64/configs/defconfig |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 86581f7..14dbe27 100644 --- a

[PATCH v2 3/4] arm64: dts: Add dts files for LG Electronics's lg1312 SoC

2016-03-10 Thread Chanho Min
Add initial dtsi file to support lg1312 SoC which based on Cortex-A53. Also add dts file to support lg1312 reference board which based on lg1312 SoC. Signed-off-by: Chanho Min --- Changes for v2: - remove self-defined macro. - change root node's #size-cells

[PATCH v2 1/4] arm64: add Kconfig entry for LG1K SoC family

2016-03-10 Thread Chanho Min
This patch introduces ARCH_LG1K to enable LG Electronics's LG1K SoC family in Kconfig. Signed-off-by: Chanho Min --- Changes for v2: - None --- arch/arm64/Kconfig.platforms |4 1 file changed, 4 insertions(+) diff --git a/arch/arm64/Kconfig.platforms b/arch/

[RESEND PATCH v2 3/4] arm64: dts: Add dts files for LG Electronics's lg1312 SoC

2016-04-10 Thread Chanho Min
Add initial dtsi file to support lg1312 SoC which based on Cortex-A53. Also add dts file to support lg1312 reference board which based on lg1312 SoC. Signed-off-by: Chanho Min --- Changes for v2: - remove self-defined macro. - change root node's #size-cells

[RESEND PATCH v2 1/4] arm64: add Kconfig entry for LG1K SoC family

2016-04-10 Thread Chanho Min
This patch introduces ARCH_LG1K to enable LG Electronics's LG1K SoC family in Kconfig. Signed-off-by: Chanho Min --- Changes for v2: - None --- arch/arm64/Kconfig.platforms |4 1 file changed, 4 insertions(+) diff --git a/arch/arm64/Kconfig.platforms b/arch/

[RESEND PATCH v2 0/4] ARM64:SoC add a new platform, LG Electronics's lg1k

2016-04-10 Thread Chanho Min
This is an initial series for supporting LG Electronics's lg1k SoCs, based on ARM Cortex-A53, mainly used for digital TVs. Chanho Min (4): arm64: add Kconfig entry for LG1K SoC family arm64: defconfig: enable ARCH_LG1K arm64: dts: Add dts files for LG Electronics's lg1312 SoC M

[RESEND PATCH v2 4/4] MAINTAINERS: add myself as ARM/LG1K maintainer

2016-04-10 Thread Chanho Min
Signed-off-by: Chanho Min --- Changes for v2: - None --- MAINTAINERS |6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 4f55edf..20ca61a 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1245,6 +1245,12 @@ L: linux-kernel@vger.kernel.org S

[RESEND PATCH v2 2/4] arm64: defconfig: enable ARCH_LG1K

2016-04-10 Thread Chanho Min
Enable building LG1K support in the defconfig. Signed-off-by: Chanho Min --- Changes for v2: - None --- arch/arm64/configs/defconfig |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 86581f7..14dbe27 100644 --- a

[PATCH v3 4/4] MAINTAINERS: add myself as ARM/LG1K maintainer

2016-04-11 Thread Chanho Min
Signed-off-by: Chanho Min --- Changes for v2: - None Changes for v3: - None --- MAINTAINERS |6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 4f55edf..20ca61a 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1245,6 +1245,12 @@ L

[PATCH v3 2/4] arm64: defconfig: enable ARCH_LG1K

2016-04-11 Thread Chanho Min
Enable building LG1K support in the defconfig. Signed-off-by: Chanho Min --- Changes for v2: - None Changes for v3: - None --- arch/arm64/configs/defconfig |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index

[PATCH v3 1/4] arm64: add Kconfig entry for LG1K SoC family

2016-04-11 Thread Chanho Min
This patch introduces ARCH_LG1K to enable LG Electronics's LG1K SoC family in Kconfig. Signed-off-by: Chanho Min --- Changes for v2: - None Changes for v3: - None --- arch/arm64/Kconfig.platforms |4 1 file changed, 4 insertions(+) diff --git a/arch/

[PATCH v3 3/4] arm64: dts: Add dts files for LG Electronics's lg1312 SoC

2016-04-11 Thread Chanho Min
Add initial dtsi file to support lg1312 SoC which based on Cortex-A53. Also add dts file to support lg1312 reference board which based on lg1312 SoC. Signed-off-by: Chanho Min --- Changes for v2: - remove self-defined macro. - change root node's #size-cells

[PATCH v3 0/4] ARM64:SoC add a new platform, LG Electronics's lg1k

2016-04-11 Thread Chanho Min
This is an initial series for supporting LG Electronics's lg1k SoCs, based on ARM Cortex-A53, mainly used for digital TVs. Chanho Min (4): arm64: add Kconfig entry for LG1K SoC family arm64: defconfig: enable ARCH_LG1K arm64: dts: Add dts files for LG Electronics's lg1312 SoC M

[PATCH] mm/highmem: simplify is_highmem()

2016-03-29 Thread Chanho Min
The is_highmem() is can be simplified by use of is_highmem_idx(). This patch removes redundant code and will make it easier to maintain if the zone policy is changed or a new zone is added. Signed-off-by: Chanho Min --- include/linux/mmzone.h |5 + 1 file changed, 1 insertion(+), 4

[PATCH RESEND] ipconfig : Fix null reference to the freed dev_addr

2016-06-22 Thread Chanho Min
== To fix this, I suggested patch that checks if device is available before the DHCP packet is sended. Signed-off-by: Chanho Min --- net/ipv4/ipconfig.c |4 1 file changed, 4 insertions(+) diff --git a/net/ipv4/ipconfig.c b/net/ipv4/ipconfig.c index 0bc7412..5b29a32 100644

[PATCH 2/2] arm64: defconfig: Enable Cadence MACB/GEM support

2016-05-31 Thread Chanho Min
This patch enables the cadence MACB/GEM support that is needed by lg1k SoCs. Signed-off-by: Chanho Min --- arch/arm64/configs/defconfig |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index fd2d74d..4edbbac 100644 --- a/arch

[PATCH 1/2] arm64: dts: Add dts files for LG Electronics's lg1313 SoC

2016-05-31 Thread Chanho Min
Add dtsi file to support lg1313 SoC which based on Cortex-A53. Also add dts file to support lg1312 reference board which based on lg1313 SoC. Signed-off-by: Chanho Min --- arch/arm64/boot/dts/lg/Makefile |1 + arch/arm64/boot/dts/lg/lg1313-ref.dts | 36 arch/arm64/boot/dts/lg

RE: [PATCH] arm64: dts: drop "arm,amba-bus" in favor of "simple-bus" part 2

2016-05-30 Thread Chanho Min
ot/dts/lg/lg1312.dtsi > +++ b/arch/arm64/boot/dts/lg/lg1312.dtsi > @@ -125,7 +125,7 @@ > #size-cells = <1>; > #interrupts-cells = <3>; > > - compatible = "arm,amba-bus"; > + compatible = "simple-bus"; &

RE: [PATCH v2 2/6] arm64: dts: lg1312: DT fix s/#interrupts-cells/#interrupt-cells/

2016-10-23 Thread Chanho Min
> > Signed-off-by: Geert Uytterhoeven > Acked-by: Rob Herring > --- > v2: > - Add Acked-by, > - Rebased. > --- Acked-by: Chanho Min

RE: [PATCH v2 3/6] arm64: dts: lg1313: DT fix s/#interrupts-cells/#interrupt-cells/

2016-10-23 Thread Chanho Min
> > Signed-off-by: Geert Uytterhoeven > --- > v2: > - New. > --- Acked-by: Chanho Min

  1   2   >