[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 fc281b7

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

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

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
> 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] 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] 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] 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-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-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-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-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

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

[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

[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

[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-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

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

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

[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

[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] 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.

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] 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 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

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

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

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

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

[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] 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 v2] mmc: core: add driver strength selection when selecting hs400es

2017-09-25 Thread Chanho Min
The driver strength selection is missed and required when selecting hs400es. So, It is added here. v2: add stable tag. Fixes: 81ac2af65793ecf ("mmc: core: implement enhanced strobe support") Cc: sta...@vger.kernel.org Signed-off-by: Hankyung Yu <hankyung...@lge.com> Signed-of

[PATCH v2] mmc: core: add driver strength selection when selecting hs400es

2017-09-25 Thread Chanho Min
The driver strength selection is missed and required when selecting hs400es. So, It is added here. v2: add stable tag. Fixes: 81ac2af65793ecf ("mmc: core: implement enhanced strobe support") Cc: sta...@vger.kernel.org Signed-off-by: Hankyung Yu Signed-off-by: Chanho Min Reviewed-

[PATCH] mmc: core: add driver strength selection when selecting hs400es

2017-09-25 Thread Chanho Min
From: "hankyung.yu" <hankyung...@lge.com> The drive strength setting is missed and required when selecting hs400es. So, It is added here. Signed-off-by: Hankyung Yu <hankyung...@lge.com> Signed-off-by: Chanho Min <chanho@lge.com> ---

[PATCH] mmc: core: add driver strength selection when selecting hs400es

2017-09-25 Thread Chanho Min
From: "hankyung.yu" The drive strength setting is missed and required when selecting hs400es. So, It is added here. Signed-off-by: Hankyung Yu Signed-off-by: Chanho Min --- drivers/mmc/core/mmc.c | 36 +++- 1 file changed, 19 insertions(+), 17

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 <geert+rene...@glider.be> > --- > v2: > - New. > --- Acked-by: Chanho Min <chanho@lge.com>

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

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 <geert+rene...@glider.be> > Acked-by: Rob Herring <r...@kernel.org> > --- > v2: > - Add Acked-by, > - Rebased. > --- Acked-by: Chanho Min <chanho@lge.com>

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

[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 <chanho@lge.com> --- net/ipv4/ipconfig.c |4 1 file changed, 4 insertions(+) diff --git a/net/ipv4/ipconfig.c b/net/ipv4/ipconfig.c index 0

[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] 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 <chanho@lge.com> --- net/ipv4/ipconfig.c |4 1 file changed, 4 insertions(+) diff --git a/net/ipv4/ipconfig.c b/net/ipv4/ipconfig.c index 0

[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 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 <chanho@lge.com> --- arch/arm64/configs/defconfig |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index fd2d74d..4

[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 <chanho@lge.com> --- arch/arm64/boot/dts/lg/Makefile |1 + arch/arm64/boot/dts/lg/lg1313-ref.dts | 36

[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
2..fbafa24 100644 > --- a/arch/arm64/boot/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"; > + com

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"; >

[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 <chanho@lge.com> --- arch/arm64/configs/defconfig |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 14dbe27..e

[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] 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 <chanho@lge.com> --- arch/arm64/configs/defconfig |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 14dbe27..e

[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

[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 MAINTAINERS

[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 MAINTAINERS

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

2016-04-11 Thread Chanho Min
Signed-off-by: Chanho Min <chanho@lge.com> --- 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 @@ -

[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 <chanho@lge.com> --- 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

[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 <chanho@lge.com> --- Changes for v2: - None Changes for v3: - None --- arch/arm64/Kconfig.platforms |4 1 file changed, 4 insertions(+) diff --git

[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 <chanho@lge.com> --- Changes for v2: - remove self-defined macro. - change root node's #size

[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/arm64

[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 to &l

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

2016-04-10 Thread Chanho Min
Signed-off-by: Chanho Min <chanho@lge.com> --- 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-

[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 <chanho@lge.com> --- 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 8

[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

[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 <chanho@lge.com> --- Changes for v2: - None --- arch/arm64/Kconfig.platforms |4 1 file changed, 4 insertions(+) diff --git a/arch/arm64/Kconfig.platforms

[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 MAINTAINERS

[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/arm64

[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 MAINTAINERS

[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 <chanho@lge.com> --- Changes for v2: - remove self-defined macro. - change root node's #size

[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 to &l

[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 <chanho@lge.com> --- include/linux/mmzone.h |5 + 1 file chan

[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

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

2016-03-20 Thread Chanho Min
> Subject: [PATCH v2 0/4] ARM64:SoC add a new platform, LG Electronics's lg1k > > 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

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

2016-03-20 Thread Chanho Min
> Subject: [PATCH v2 0/4] ARM64:SoC add a new platform, LG Electronics's lg1k > > 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

[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 <chanho@lge.com> --- Changes for v2: - None --- arch/arm64/Kconfig.platforms |4 1 file changed, 4 insertions(+) diff --git a/arch/arm64/Kconfig.platforms

[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/arm64

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

2016-03-10 Thread Chanho Min
Signed-off-by: Chanho Min <chanho@lge.com> --- 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-

[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 <chanho@lge.com> --- 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 8

[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 <chanho@lge.com> --- Changes for v2: - remove self-defined macro. - change root node's #size

[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

[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 to &l

[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 MAINTAINERS

[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 MAINTAINERS

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:

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:

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, _addr,

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, _addr,

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

2016-03-07 Thread Chanho Min
lementaion are allowed to returned remapped memory. So I use sg_table instead of scatterlist and change to dma_get_sgtable() implementaion. Reported-by: Wang, Annie <annie.w...@amd.com> Signed-off-by: Chanho Min <chanho@lge.com> --- drivers/tty/seri

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

2016-03-07 Thread Chanho Min
lementaion are allowed to returned remapped memory. So I use sg_table instead of scatterlist and change to dma_get_sgtable() implementaion. Reported-by: Wang, Annie Signed-off-by: Chanho Min --- drivers/tty/serial/amba-pl011.c | 33 - 1 file changed, 20 inserti

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

2016-03-06 Thread Chanho Min
> > The patches look ok in principle, but the timing is unfortunate: we are at - > rc7 now, just before the merge window, and we need to give this a little extra > time for review, so I think we should merge this for 4.7, not 4.6. It's ok for me. Chanho

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

2016-03-06 Thread Chanho Min
> > The patches look ok in principle, but the timing is unfortunate: we are at - > rc7 now, just before the merge window, and we need to give this a little extra > time for review, so I think we should merge this for 4.7, not 4.6. It's ok for me. Chanho

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

2016-03-06 Thread Chanho Min
Enable building LG1K support in the defconfig. Signed-off-by: Chanho Min <chanho@lge.com> --- 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/arch/arm64/c

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

2016-03-06 Thread Chanho Min
Enable building LG1K support in the defconfig. 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 86581f7..14dbe27 100644 --- a/arch/arm64/configs/defconfig +++ b

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

2016-03-06 Thread Chanho Min
Signed-off-by: Chanho Min <chanho@lge.com> --- 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: Main

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

2016-03-06 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 <chanho@lge.com> --- arch/arm64/boot/dts/Makefile |1 + arch/arm64/boot/dts/lg/Makefile

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

2016-03-06 Thread Chanho Min
Signed-off-by: Chanho Min --- 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: Maintained F: drivers

  1   2   3   >