[RESEND][PATCH] ARM: mm: Free memblock from free_initrd_mem()

2021-01-26 Thread Seung-Woo Kim
Even after free_initrd_mem(), memblock for initrd remains. Free memblock for initrd from free_initrd_mem() line generic function. Reported-by: Jaehoon Chung Signed-off-by: Seung-Woo Kim --- arch/arm/mm/init.c |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/arch

[PATCH] ARM: mm: Free memblock from free_initrd_mem()

2021-01-07 Thread Seung-Woo Kim
Even after free_initrd_mem(), memblock for initrd remains. Free memblock for initrd from free_initrd_mem(). Reported-by: Jaehoon Chung Signed-off-by: Seung-Woo Kim --- arch/arm/mm/init.c |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/arch/arm/mm/init.c b/arch

Re: Linux 3.18.111

2018-08-12 Thread Seung-Woo Kim
On 2018년 08월 10일 19:11, Greg Kroah-Hartman wrote: > On Fri, Aug 10, 2018 at 03:43:02PM +0900, Seung-Woo Kim wrote: >> On 2018년 08월 08일 19:06, Seung-Woo Kim wrote: >>> On 2018년 07월 05일 09:52, Al Viro wrote: >>>> On Mon, Jul 02, 2018 at 10:01:25PM -0700, Linus Torva

Re: Linux 3.18.111

2018-08-12 Thread Seung-Woo Kim
On 2018년 08월 10일 19:11, Greg Kroah-Hartman wrote: > On Fri, Aug 10, 2018 at 03:43:02PM +0900, Seung-Woo Kim wrote: >> On 2018년 08월 08일 19:06, Seung-Woo Kim wrote: >>> On 2018년 07월 05일 09:52, Al Viro wrote: >>>> On Mon, Jul 02, 2018 at 10:01:25PM -0700, Linus Torva

Re: Linux 3.18.111

2018-08-10 Thread Seung-Woo Kim
On 2018년 08월 08일 19:06, Seung-Woo Kim wrote: > On 2018년 07월 05일 09:52, Al Viro wrote: >> On Mon, Jul 02, 2018 at 10:01:25PM -0700, Linus Torvalds wrote: >>> On Mon, Jul 2, 2018 at 9:43 PM Seung-Woo Kim wrote: >>>> >>>> I think the commit it

Re: Linux 3.18.111

2018-08-10 Thread Seung-Woo Kim
On 2018년 08월 08일 19:06, Seung-Woo Kim wrote: > On 2018년 07월 05일 09:52, Al Viro wrote: >> On Mon, Jul 02, 2018 at 10:01:25PM -0700, Linus Torvalds wrote: >>> On Mon, Jul 2, 2018 at 9:43 PM Seung-Woo Kim wrote: >>>> >>>> I think the commit it

[PATCH 3.18.y 5/5] switch ->setxattr() to passing dentry and inode separately

2018-08-09 Thread Seung-Woo Kim
r() had been done in commit ce23e64. Unlike ->getxattr() (which is used by both selinux and smack instances of ->d_instantiate()) ->setxattr() is used only by smack one and unfortunately it got missed back then. Reported-by: Seung-Woo Kim Tested-by: Casey Schaufler Signed-off-by:

[PATCH 3.18.y 5/5] switch ->setxattr() to passing dentry and inode separately

2018-08-09 Thread Seung-Woo Kim
r() had been done in commit ce23e64. Unlike ->getxattr() (which is used by both selinux and smack instances of ->d_instantiate()) ->setxattr() is used only by smack one and unfortunately it got missed back then. Reported-by: Seung-Woo Kim Tested-by: Casey Schaufler Signed-off-by:

[PATCH 3.18.y 2/5] ->getxattr(): pass dentry and inode as separate arguments

2018-08-09 Thread Seung-Woo Kim
From: Al Viro commit ce23e640133484eebc20ca7b7668388213e11327 upstream. Signed-off-by: Al Viro [sw0312.kim: backport to 3.18] Signed-off-by: Seung-Woo Kim --- Documentation/filesystems/porting |6 + .../staging/lustre/lustre/llite/llite_internal.h |4

[PATCH 3.18.y 2/5] ->getxattr(): pass dentry and inode as separate arguments

2018-08-09 Thread Seung-Woo Kim
From: Al Viro commit ce23e640133484eebc20ca7b7668388213e11327 upstream. Signed-off-by: Al Viro [sw0312.kim: backport to 3.18] Signed-off-by: Seung-Woo Kim --- Documentation/filesystems/porting |6 + .../staging/lustre/lustre/llite/llite_internal.h |4

[PATCH 3.18.y 1/5] xattr_handler: pass dentry and inode as separate arguments of ->get()

2018-08-09 Thread Seung-Woo Kim
From: Al Viro commit b296821a7c42fa58baa17513b2b7b30ae66f3336 upstream. ... and do not assume they are already attached to each other Signed-off-by: Al Viro [sw0312.kim: backport to 3.18 including ext3] Signed-off-by: Seung-Woo Kim --- fs/9p/acl.c |7 --- fs/9p

[PATCH 3.18.y 4/5] switch xattr_handler->set() to passing dentry and inode separately

2018-08-09 Thread Seung-Woo Kim
From: Al Viro preparation for similar switch in ->setxattr() (see the next commit for rationale). Signed-off-by: Al Viro [sw0312.kim: backport to 3.18 including ext3] Signed-off-by: Seung-Woo Kim --- fs/9p/acl.c |7 +++ fs/9p/xattr_security.c |5 +++--

[PATCH 3.18.y 3/5] security_d_instantiate(): move to the point prior to attaching dentry to inode

2018-08-09 Thread Seung-Woo Kim
From: Al Viro commit b96809173e94ea2fa8c19c2e40e8545a1821bf57 upstream. Signed-off-by: Al Viro [sw0312.kim: backport to 3.18] Signed-off-by: Seung-Woo Kim --- fs/dcache.c | 18 +++--- 1 files changed, 7 insertions(+), 11 deletions(-) diff --git a/fs/dcache.c b/fs/dcache.c

[PATCH 3.18.y 1/5] xattr_handler: pass dentry and inode as separate arguments of ->get()

2018-08-09 Thread Seung-Woo Kim
From: Al Viro commit b296821a7c42fa58baa17513b2b7b30ae66f3336 upstream. ... and do not assume they are already attached to each other Signed-off-by: Al Viro [sw0312.kim: backport to 3.18 including ext3] Signed-off-by: Seung-Woo Kim --- fs/9p/acl.c |7 --- fs/9p

[PATCH 3.18.y 4/5] switch xattr_handler->set() to passing dentry and inode separately

2018-08-09 Thread Seung-Woo Kim
From: Al Viro preparation for similar switch in ->setxattr() (see the next commit for rationale). Signed-off-by: Al Viro [sw0312.kim: backport to 3.18 including ext3] Signed-off-by: Seung-Woo Kim --- fs/9p/acl.c |7 +++ fs/9p/xattr_security.c |5 +++--

[PATCH 3.18.y 3/5] security_d_instantiate(): move to the point prior to attaching dentry to inode

2018-08-09 Thread Seung-Woo Kim
From: Al Viro commit b96809173e94ea2fa8c19c2e40e8545a1821bf57 upstream. Signed-off-by: Al Viro [sw0312.kim: backport to 3.18] Signed-off-by: Seung-Woo Kim --- fs/dcache.c | 18 +++--- 1 files changed, 7 insertions(+), 11 deletions(-) diff --git a/fs/dcache.c b/fs/dcache.c

Re: Linux 3.18.111

2018-08-08 Thread Seung-Woo Kim
On 2018년 07월 05일 09:52, Al Viro wrote: > On Mon, Jul 02, 2018 at 10:01:25PM -0700, Linus Torvalds wrote: >> On Mon, Jul 2, 2018 at 9:43 PM Seung-Woo Kim wrote: >>> >>> I think the commit itself is required. Simple, but not reliable, >>> workaround fix is

Re: Linux 3.18.111

2018-08-08 Thread Seung-Woo Kim
On 2018년 07월 05일 09:52, Al Viro wrote: > On Mon, Jul 02, 2018 at 10:01:25PM -0700, Linus Torvalds wrote: >> On Mon, Jul 2, 2018 at 9:43 PM Seung-Woo Kim wrote: >>> >>> I think the commit itself is required. Simple, but not reliable, >>> workaround fix is

Re: Linux 3.18.111

2018-07-02 Thread Seung-Woo Kim
On 2018년 07월 03일 13:36, Greg KH wrote: > On Tue, Jul 03, 2018 at 12:24:59PM +0900, Seung-Woo Kim wrote: >> Hello, >> >> On 2018년 05월 30일 16:32, Greg KH wrote: >>> I'm announcing the release of the 3.18.111 kernel. >>> >>> All users of the 3.18

Re: Linux 3.18.111

2018-07-02 Thread Seung-Woo Kim
On 2018년 07월 03일 13:36, Greg KH wrote: > On Tue, Jul 03, 2018 at 12:24:59PM +0900, Seung-Woo Kim wrote: >> Hello, >> >> On 2018년 05월 30일 16:32, Greg KH wrote: >>> I'm announcing the release of the 3.18.111 kernel. >>> >>> All users of the 3.18

Re: Linux 3.18.111

2018-07-02 Thread Seung-Woo Kim
also calls inode->i_op_getxattr() from selinux_d_instantiate(), so maybe there is also same issue. Best Regards, - Seung-Woo Kim -- Seung-Woo Kim Samsung Research --

Re: Linux 3.18.111

2018-07-02 Thread Seung-Woo Kim
also calls inode->i_op_getxattr() from selinux_d_instantiate(), so maybe there is also same issue. Best Regards, - Seung-Woo Kim -- Seung-Woo Kim Samsung Research --

Re: Linux 3.18.102

2018-03-27 Thread Seung-Woo Kim
On 2018년 03월 27일 16:05, Greg KH wrote: > On Tue, Mar 27, 2018 at 10:40:33AM +0900, Seung-Woo Kim wrote: >> Hello, >> >> Until 3.18.102, it looks like following patch series for v4l2 seems missed. >> >> 273caa2 media: v4l2-compat-ioctl32.c: make ctrl_is_pointer

Re: Linux 3.18.102

2018-03-27 Thread Seung-Woo Kim
On 2018년 03월 27일 16:05, Greg KH wrote: > On Tue, Mar 27, 2018 at 10:40:33AM +0900, Seung-Woo Kim wrote: >> Hello, >> >> Until 3.18.102, it looks like following patch series for v4l2 seems missed. >> >> 273caa2 media: v4l2-compat-ioctl32.c: make ctrl_is_pointer

Re: Linux 3.18.102

2018-03-26 Thread Seung-Woo Kim
: don't copy back the result for -ENOTTY Any plan to apply the series? Best Regards, - Seung-Woo Kim On 2018년 03월 25일 17:59, Greg KH wrote: > I'm announcing the release of the 3.18.102 kernel. > > All users of the 3.18 kernel series must upgrade. > > The updated 3.18.y git tr

Re: Linux 3.18.102

2018-03-26 Thread Seung-Woo Kim
: don't copy back the result for -ENOTTY Any plan to apply the series? Best Regards, - Seung-Woo Kim On 2018년 03월 25일 17:59, Greg KH wrote: > I'm announcing the release of the 3.18.102 kernel. > > All users of the 3.18 kernel series must upgrade. > > The updated 3.18.y git tr

[PATCH] arm: ubsan: select ARCH_HAS_UBSAN_SANITIZE_ALL

2017-10-23 Thread Seung-Woo Kim
Select ARCH_HAS_UBSAN_SANITIZE_ALL from arm confiuration to enable UBSAN on arm. Signed-off-by: Seung-Woo Kim <sw0312@samsung.com> --- arch/arm/Kconfig |1 + arch/arm/boot/compressed/Makefile |2 ++ arch/arm/vdso/Makefile|2 ++ 3 files chan

[PATCH] arm: ubsan: select ARCH_HAS_UBSAN_SANITIZE_ALL

2017-10-23 Thread Seung-Woo Kim
Select ARCH_HAS_UBSAN_SANITIZE_ALL from arm confiuration to enable UBSAN on arm. Signed-off-by: Seung-Woo Kim --- arch/arm/Kconfig |1 + arch/arm/boot/compressed/Makefile |2 ++ arch/arm/vdso/Makefile|2 ++ 3 files changed, 5 insertions(+), 0 deletions

[RESEND][PATCH] Kbuild: fix file name in comment about extra gcc checks

2017-03-09 Thread Seung-Woo Kim
Extra gcc checks like W=1 were moved to scripts/Makefile.exrawarn, so the file name in comment needs to be fixed. Signed-off-by: Seung-Woo Kim <sw0312@samsung.com> --- Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Makefile b/Makefile index 1

[RESEND][PATCH] Kbuild: fix file name in comment about extra gcc checks

2017-03-09 Thread Seung-Woo Kim
Extra gcc checks like W=1 were moved to scripts/Makefile.exrawarn, so the file name in comment needs to be fixed. Signed-off-by: Seung-Woo Kim --- Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Makefile b/Makefile index 165cf97..faa9d26 100644 --- a/Makefile

[PATCH] Kbuild: fix file name in comment about extra gcc checks

2017-01-25 Thread Seung-Woo Kim
Extra gcc checks like W=1 were moved to scripts/Makefile.exrawarn, so the file name in comment needs to be fixed. Signed-off-by: Seung-Woo Kim <sw0312@samsung.com> --- Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Makefile b/Makefile index 0

[PATCH] Kbuild: fix file name in comment about extra gcc checks

2017-01-25 Thread Seung-Woo Kim
Extra gcc checks like W=1 were moved to scripts/Makefile.exrawarn, so the file name in comment needs to be fixed. Signed-off-by: Seung-Woo Kim --- Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Makefile b/Makefile index 0988400..dbaada3 100644 --- a/Makefile

[PATCH] Smack: ignore private inode for file functions

2016-12-12 Thread Seung-Woo Kim
. Reference: https://lkml.org/lkml/2015/4/17/16 Signed-off-by: Seung-Woo Kim <sw0312@samsung.com> --- security/smack/smack_lsm.c | 12 1 file changed, 12 insertions(+) diff --git a/security/smack/smack_lsm.c b/security/smack/smack_lsm.c index 1cb0602..e7f0bbe

[PATCH] Smack: ignore private inode for file functions

2016-12-12 Thread Seung-Woo Kim
. Reference: https://lkml.org/lkml/2015/4/17/16 Signed-off-by: Seung-Woo Kim --- security/smack/smack_lsm.c | 12 1 file changed, 12 insertions(+) diff --git a/security/smack/smack_lsm.c b/security/smack/smack_lsm.c index 1cb0602..e7f0bbe 100644 --- a/security/smack/smack_lsm.c

Re: [PATCH v2] arm64: dts: exynos: Add flash led dt node for TM2 board

2016-11-30 Thread Seung-Woo Kim
heck on my side about the issue, and if I find, then I will send next version. Regards, - Seung-Woo Kim > > It is strange situation. Unfortunately, I don't know the cause. > I think that we better to check this issue for more time. > > Best Regards, > Chanwoo Choi > > On 2

Re: [PATCH v2] arm64: dts: exynos: Add flash led dt node for TM2 board

2016-11-30 Thread Seung-Woo Kim
heck on my side about the issue, and if I find, then I will send next version. Regards, - Seung-Woo Kim > > It is strange situation. Unfortunately, I don't know the cause. > I think that we better to check this issue for more time. > > Best Regards, > Chanwoo Choi > > On 2

[PATCH v2] arm64: dts: exynos: Add flash led dt node for TM2 board

2016-11-29 Thread Seung-Woo Kim
From: Ingi Kim <ingi2@samsung.com> This patch adds Kinetic ktd2692 flash led device node for TM2 board. Signed-off-by: Ingi Kim <ingi2@samsung.com> Signed-off-by: Seung-Woo Kim <sw0312@samsung.com> --- Change from v1: - gpio active value is set with defined macr

[PATCH v2] arm64: dts: exynos: Add flash led dt node for TM2 board

2016-11-29 Thread Seung-Woo Kim
From: Ingi Kim This patch adds Kinetic ktd2692 flash led device node for TM2 board. Signed-off-by: Ingi Kim Signed-off-by: Seung-Woo Kim --- Change from v1: - gpio active value is set with defined macro instead of value. --- arch/arm64/boot/dts/exynos/exynos5433-tm2.dts | 13

[PATCH] arm64: dts: exynos: Add flash led dt node for TM2 board

2016-11-29 Thread Seung-Woo Kim
From: Ingi Kim <ingi2@samsung.com> This patch adds Kinetic ktd2692 flash led device node for TM2 board. Signed-off-by: Ingi Kim <ingi2@samsung.com> Signed-off-by: Seung-Woo Kim <sw0312@samsung.com> --- arch/arm64/boot/dts/exynos/exynos5433-tm2.dts | 13

[PATCH] arm64: dts: exynos: Add flash led dt node for TM2 board

2016-11-29 Thread Seung-Woo Kim
From: Ingi Kim This patch adds Kinetic ktd2692 flash led device node for TM2 board. Signed-off-by: Ingi Kim Signed-off-by: Seung-Woo Kim --- arch/arm64/boot/dts/exynos/exynos5433-tm2.dts | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/arch/arm64/boot/dts

UBSAN: Undefined behaviour in ./arch/arm/include/asm/bitops.h

2016-09-23 Thread Seung-Woo Kim
x120/0xe84) [] (get_signal) from [] (do_signal+0x37c/0x550) [] (do_signal) from [] (do_work_pending+0xd0/0x134) [] (do_work_pending) from [] (slow_work_pending+0xc/0x20) Regards, - Seung-Woo Kim -- Seung-Woo Kim Samsung

UBSAN: Undefined behaviour in ./arch/arm/include/asm/bitops.h

2016-09-23 Thread Seung-Woo Kim
x120/0xe84) [] (get_signal) from [] (do_signal+0x37c/0x550) [] (do_signal) from [] (do_work_pending+0xd0/0x134) [] (do_work_pending) from [] (slow_work_pending+0xc/0x20) Regards, - Seung-Woo Kim -- Seung-Woo Kim Samsung

[PATCH] arm: ubsan: select ARCH_HAS_UBSAN_SANITIZE_ALL

2016-09-21 Thread Seung-Woo Kim
To enable UBSAN on arm, this patch enables ARCH_HAS_UBSAN_SANITIZE_ALL from arm confiuration. Basic kernel bootup test is passed on arm with CONFIG_UBSAN_SANITIZE_ALL enabled. Signed-off-by: Seung-Woo Kim <sw0312@samsung.com> --- This is resend of the patch I already sent, [1], witho

[PATCH] arm: ubsan: select ARCH_HAS_UBSAN_SANITIZE_ALL

2016-09-21 Thread Seung-Woo Kim
To enable UBSAN on arm, this patch enables ARCH_HAS_UBSAN_SANITIZE_ALL from arm confiuration. Basic kernel bootup test is passed on arm with CONFIG_UBSAN_SANITIZE_ALL enabled. Signed-off-by: Seung-Woo Kim --- This is resend of the patch I already sent, [1], without RFC tag. [1] https

[PATCH v2] pwm: samsung: fix to use lowest div for large enough modulation bits

2016-08-16 Thread Seung-Woo Kim
igned-off-by: Seung-Woo Kim <sw0312@samsung.com> --- Changes from v1 * Remove too complex condition, instead, just checking simple variant->bits as Krzysztof's suggestion * Add comment from Tomasz The UBSAN warning from ARM is reported with the patch in following link: https://patchwor

[PATCH v2] pwm: samsung: fix to use lowest div for large enough modulation bits

2016-08-16 Thread Seung-Woo Kim
120) [] (__ubsan_handle_shift_out_of_bounds) from [] (pwm_samsung_config+0x508/0x6a4) [] (pwm_samsung_config) from [] (pwm_apply_state+0x174/0x40c) [] (pwm_apply_state) from [] (pwm_fan_probe+0xc8/0x488) [] (pwm_fan_probe) from [] (platform_drv_probe+0x70/0x150) [...] Cc: Tomasz Figa Signed-off-by: Seung-Woo

Re: [PATCH] pwm: samsung: fix to use lowest div for large enough modulation bits

2016-08-16 Thread Seung-Woo Kim
Hello Krzysztof, On 2016년 08월 16일 18:10, Krzysztof Kozlowski wrote: > On 08/16/2016 11:00 AM, Tomasz Figa wrote: >> 2016-08-16 17:25 GMT+09:00 Seung-Woo Kim <sw0312@samsung.com>: >>> Hi Krzysztof, >>> >>> On 2016년 08월 16일 16:37, Krzysztof Kozlowski

Re: [PATCH] pwm: samsung: fix to use lowest div for large enough modulation bits

2016-08-16 Thread Seung-Woo Kim
Hello Krzysztof, On 2016년 08월 16일 18:10, Krzysztof Kozlowski wrote: > On 08/16/2016 11:00 AM, Tomasz Figa wrote: >> 2016-08-16 17:25 GMT+09:00 Seung-Woo Kim : >>> Hi Krzysztof, >>> >>> On 2016년 08월 16일 16:37, Krzysztof Kozlowski wrote: >>>> On 08/02

Re: [PATCH] pwm: samsung: fix to use lowest div for large enough modulation bits

2016-08-16 Thread Seung-Woo Kim
Hi Krzysztof, On 2016년 08월 16일 16:37, Krzysztof Kozlowski wrote: > On 08/02/2016 12:16 PM, Seung-Woo Kim wrote: >> >From pwm_samsung_calc_tin(), there is routine to find the lowest >> divider possible to generate lower frequency than requested one. >> But it is alw

Re: [PATCH] pwm: samsung: fix to use lowest div for large enough modulation bits

2016-08-16 Thread Seung-Woo Kim
Hi Krzysztof, On 2016년 08월 16일 16:37, Krzysztof Kozlowski wrote: > On 08/02/2016 12:16 PM, Seung-Woo Kim wrote: >> >From pwm_samsung_calc_tin(), there is routine to find the lowest >> divider possible to generate lower frequency than requested one. >> But it is alw

[PATCH] pwm: samsung: fix to use lowest div for large enough modulation bits

2016-08-02 Thread Seung-Woo Kim
rom [] (pwm_samsung_config+0x508/0x6a4) [] (pwm_samsung_config) from [] (pwm_apply_state+0x174/0x40c) [] (pwm_apply_state) from [] (pwm_fan_probe+0xc8/0x488) [] (pwm_fan_probe) from [] (platform_drv_probe+0x70/0x150) [...] Signed-off-by: Seung-Woo Kim <sw0312@samsung.com> ---

[PATCH] pwm: samsung: fix to use lowest div for large enough modulation bits

2016-08-02 Thread Seung-Woo Kim
rom [] (pwm_samsung_config+0x508/0x6a4) [] (pwm_samsung_config) from [] (pwm_apply_state+0x174/0x40c) [] (pwm_apply_state) from [] (pwm_fan_probe+0xc8/0x488) [] (pwm_fan_probe) from [] (platform_drv_probe+0x70/0x150) [...] Signed-off-by: Seung-Woo Kim --- The UBSAN warning from

[PATCH] memory: samsung: exynos-srom: fix wrong count of registers

2016-07-05 Thread Seung-Woo Kim
This patch fixes wrong count of array for srom registers from probe function. Signed-off-by: Seung-Woo Kim <sw0312@samsung.com> --- drivers/memory/samsung/exynos-srom.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/memory/samsung/exynos-srom.c b/d

[PATCH] memory: samsung: exynos-srom: fix wrong count of registers

2016-07-05 Thread Seung-Woo Kim
This patch fixes wrong count of array for srom registers from probe function. Signed-off-by: Seung-Woo Kim --- drivers/memory/samsung/exynos-srom.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/memory/samsung/exynos-srom.c b/drivers/memory/samsung/exynos-srom.c

[RFC][PATCH] arm: ubsan: select ARCH_HAS_UBSAN_SANITIZE_ALL

2016-06-20 Thread Seung-Woo Kim
To enable UBSAN on arm, this patch enables ARCH_HAS_UBSAN_SANITIZE_ALL from arm confiuration. Basic kernel booting is tested on arm kernel enabled CONFIG_UBSAN_SANITIZE_ALL from Exynos5422 based Odroid-XU3 board. Signed-off-by: Seung-Woo Kim <sw0312@samsung.com> --- Because I teste

[RFC][PATCH] arm: ubsan: select ARCH_HAS_UBSAN_SANITIZE_ALL

2016-06-20 Thread Seung-Woo Kim
To enable UBSAN on arm, this patch enables ARCH_HAS_UBSAN_SANITIZE_ALL from arm confiuration. Basic kernel booting is tested on arm kernel enabled CONFIG_UBSAN_SANITIZE_ALL from Exynos5422 based Odroid-XU3 board. Signed-off-by: Seung-Woo Kim --- Because I tested only with specific soc board, so

RE: mmc: dw_mmc: warning with CONFIG_DMA_API_DEBUG

2016-06-20 Thread Seung-Woo Kim
Hello Shawn, > -Original Message- > From: Shawn Lin [mailto:shawn@rock-chips.com] > Sent: Tuesday, June 21, 2016 10:52 AM > To: Seung-Woo Kim; jh80.ch...@samsung.com; ulf.hans...@linaro.org; > linux-...@vger.kernel.org; linux- > ker...@vger.kernel.org > Cc: sha

RE: mmc: dw_mmc: warning with CONFIG_DMA_API_DEBUG

2016-06-20 Thread Seung-Woo Kim
Hello Shawn, > -Original Message- > From: Shawn Lin [mailto:shawn@rock-chips.com] > Sent: Tuesday, June 21, 2016 10:52 AM > To: Seung-Woo Kim; jh80.ch...@samsung.com; ulf.hans...@linaro.org; > linux-...@vger.kernel.org; linux- > ker...@vger.kernel.org > Cc: sha

mmc: dw_mmc: warning with CONFIG_DMA_API_DEBUG

2016-06-20 Thread Seung-Woo Kim
en; u32 temp; - host->using_dma = 0; - /* If we don't have a channel, we can't do DMA */ if (!host->use_dma) return -ENODEV; --- Best Regards, - Seung-Woo Kim

mmc: dw_mmc: warning with CONFIG_DMA_API_DEBUG

2016-06-20 Thread Seung-Woo Kim
en; u32 temp; - host->using_dma = 0; - /* If we don't have a channel, we can't do DMA */ if (!host->use_dma) return -ENODEV; --- Best Regards, - Seung-Woo Kim

[PATCH v3] mmc: dw_mmc: remove UBSAN warning in dw_mci_setup_bus()

2016-06-19 Thread Seung-Woo Kim
is already removed. So this patch just removes the shift. Signed-off-by: Seung-Woo Kim <sw0312@samsung.com> --- drivers/mmc/host/dw_mmc.c | 14 +- drivers/mmc/host/dw_mmc.h |4 2 files changed, 5 insertions(+), 13 deletions(-) diff --git a/drivers/mmc/host/dw_m

[PATCH v3] mmc: dw_mmc: remove UBSAN warning in dw_mci_setup_bus()

2016-06-19 Thread Seung-Woo Kim
is already removed. So this patch just removes the shift. Signed-off-by: Seung-Woo Kim --- drivers/mmc/host/dw_mmc.c | 14 +- drivers/mmc/host/dw_mmc.h |4 2 files changed, 5 insertions(+), 13 deletions(-) diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c

RE: [PATCH v2] mmc: dw_mmc: remove UBSAN warning in dw_mci_setup_bus()

2016-06-19 Thread Seung-Woo Kim
Hi, > -Original Message- > From: Seung-Woo Kim [mailto:sw0312@samsung.com] > Sent: Monday, June 20, 2016 12:30 PM > To: 'Jaehoon Chung'; ulf.hans...@linaro.org; linux-...@vger.kernel.org; > linux-kernel@vger.kernel.org > Cc: sw0312@samsung.com > Subjec

RE: [PATCH v2] mmc: dw_mmc: remove UBSAN warning in dw_mci_setup_bus()

2016-06-19 Thread Seung-Woo Kim
Hi, > -Original Message- > From: Seung-Woo Kim [mailto:sw0312@samsung.com] > Sent: Monday, June 20, 2016 12:30 PM > To: 'Jaehoon Chung'; ulf.hans...@linaro.org; linux-...@vger.kernel.org; > linux-kernel@vger.kernel.org > Cc: sw0312@samsung.com > Subjec

RE: [PATCH v2] mmc: dw_mmc: remove UBSAN warning in dw_mci_setup_bus()

2016-06-19 Thread Seung-Woo Kim
Hello Jaehoon, > -Original Message- > From: Jaehoon Chung [mailto:jh80.ch...@samsung.com] > Sent: Monday, June 20, 2016 11:34 AM > To: Seung-Woo Kim; ulf.hans...@linaro.org; linux-...@vger.kernel.org; > linux-kernel@vger.kernel.org > Subject: Re: [PATCH v2] mmc: dw

RE: [PATCH v2] mmc: dw_mmc: remove UBSAN warning in dw_mci_setup_bus()

2016-06-19 Thread Seung-Woo Kim
Hello Jaehoon, > -Original Message- > From: Jaehoon Chung [mailto:jh80.ch...@samsung.com] > Sent: Monday, June 20, 2016 11:34 AM > To: Seung-Woo Kim; ulf.hans...@linaro.org; linux-...@vger.kernel.org; > linux-kernel@vger.kernel.org > Subject: Re: [PATCH v2] mmc: dw

[PATCH v2] mmc: dw_mmc: remove UBSAN warning in dw_mci_setup_bus()

2016-06-16 Thread Seung-Woo Kim
and divider instead of shift. Signed-off-by: Seung-Woo Kim <sw0312@samsung.com> --- drivers/mmc/host/dw_mmc.c |8 +--- drivers/mmc/host/dw_mmc.h |8 +--- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c

[PATCH v2] mmc: dw_mmc: remove UBSAN warning in dw_mci_setup_bus()

2016-06-16 Thread Seung-Woo Kim
and divider instead of shift. Signed-off-by: Seung-Woo Kim --- drivers/mmc/host/dw_mmc.c |8 +--- drivers/mmc/host/dw_mmc.h |8 +--- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c index 2cc6123..d05c8cc 100644

Re: [PATCH] mmc: dw_mmc: remove UBSAN warning in dw_mci_setup_bus()

2016-06-16 Thread Seung-Woo Kim
Hello Jaehoon, On 2016년 06월 17일 10:30, Jaehoon Chung wrote: > Hi Seung-Woo, > > On 06/10/2016 10:29 AM, Seung-Woo Kim wrote: >> Hi Jaehoon, >> >> On 2016년 06월 09일 21:38, Jaehoon Chung wrote: >>> Hi Seung-Woo, >>> >>> On 06/08/2016 01:07 PM,

Re: [PATCH] mmc: dw_mmc: remove UBSAN warning in dw_mci_setup_bus()

2016-06-16 Thread Seung-Woo Kim
Hello Jaehoon, On 2016년 06월 17일 10:30, Jaehoon Chung wrote: > Hi Seung-Woo, > > On 06/10/2016 10:29 AM, Seung-Woo Kim wrote: >> Hi Jaehoon, >> >> On 2016년 06월 09일 21:38, Jaehoon Chung wrote: >>> Hi Seung-Woo, >>> >>> On 06/08/2016 01:07 PM,

Re: [PATCH] mmc: dw_mmc: remove UBSAN warning in dw_mci_setup_bus()

2016-06-09 Thread Seung-Woo Kim
Hi Jaehoon, On 2016년 06월 09일 21:38, Jaehoon Chung wrote: > Hi Seung-Woo, > > On 06/08/2016 01:07 PM, Seung-Woo Kim wrote: >> This patch removes following UBSAN warnings in dw_mci_setup_bus(). >> The warnings are caused because of shift with more than 31 on 32 >> bit va

Re: [PATCH] mmc: dw_mmc: remove UBSAN warning in dw_mci_setup_bus()

2016-06-09 Thread Seung-Woo Kim
Hi Jaehoon, On 2016년 06월 09일 21:38, Jaehoon Chung wrote: > Hi Seung-Woo, > > On 06/08/2016 01:07 PM, Seung-Woo Kim wrote: >> This patch removes following UBSAN warnings in dw_mci_setup_bus(). >> The warnings are caused because of shift with more than 31 on 32 >> bit va

[PATCH] mmc: dw_mmc: remove UBSAN warning in dw_mci_setup_bus()

2016-06-07 Thread Seung-Woo Kim
[] kernel_init_freeable+0x52c/0x5dc [] kernel_init+0x1c/0xf8 [] ret_from_fork+0x10/0x40 Signed-off-by: Seung-Woo Kim <sw0312@samsung.com> --- drivers/mmc/host/dw_mmc.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c

[PATCH] mmc: dw_mmc: remove UBSAN warning in dw_mci_setup_bus()

2016-06-07 Thread Seung-Woo Kim
[] kernel_init_freeable+0x52c/0x5dc [] kernel_init+0x1c/0xf8 [] ret_from_fork+0x10/0x40 Signed-off-by: Seung-Woo Kim --- drivers/mmc/host/dw_mmc.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c index 2cc6123..dff045e 100644

Re: [BUG] Panic when systemd boot do mkdir on tmpfs mounted path with smack enabled environment

2016-05-29 Thread Seung-Woo Kim
aturday morning there? Let's hope somebody will be there >> today, weekend or not... >> > Al, I have verified that upstream has the problem and that > your vfs.git smack-fix branch works correctly. > It seems a bit late, but it works without reported panic for my environment too. Thanks, - Seung-Woo Kim -- Seung-Woo Kim Samsung Software R Center --

Re: [BUG] Panic when systemd boot do mkdir on tmpfs mounted path with smack enabled environment

2016-05-29 Thread Seung-Woo Kim
pe somebody will be there >> today, weekend or not... >> > Al, I have verified that upstream has the problem and that > your vfs.git smack-fix branch works correctly. > It seems a bit late, but it works without reported panic for my environment too. Thanks, - Seung-Woo Kim -- Seung-Woo Kim Samsung Software R Center --

[BUG] Panic when systemd boot do mkdir on tmpfs mounted path with smack enabled environment

2016-05-27 Thread Seung-Woo Kim
are enabled. CONFIG_SHMEM=y CONFIG_TMPFS=y CONFIG_TMPFS_POSIX_ACL=y CONFIG_TMPFS_XATTR=y CONFIG_SECURITY_SMACK=y CONFIG_DEFAULT_SECURITY_SMACK=y CONFIG_DEFAULT_SECURITY="smack" Best Regards, - Seung-Woo Kim

[BUG] Panic when systemd boot do mkdir on tmpfs mounted path with smack enabled environment

2016-05-27 Thread Seung-Woo Kim
are enabled. CONFIG_SHMEM=y CONFIG_TMPFS=y CONFIG_TMPFS_POSIX_ACL=y CONFIG_TMPFS_XATTR=y CONFIG_SECURITY_SMACK=y CONFIG_DEFAULT_SECURITY_SMACK=y CONFIG_DEFAULT_SECURITY="smack" Best Regards, - Seung-Woo Kim

Re: [PATCH 0/3] drm/exynos: Kconfig dependency fixes

2016-03-28 Thread Seung-Woo Kim
Hello Javier, On 2016년 03월 29일 11:41, Javier Martinez Canillas wrote: > Hello Seung-Woo, > > Thanks a lot for your feedback. > > On 03/28/2016 09:46 PM, Seung-Woo Kim wrote: >> Hi Javier, >> >> On 2016년 03월 29일 10:28, Javier Martinez Canillas wrote: >>

Re: [PATCH 0/3] drm/exynos: Kconfig dependency fixes

2016-03-28 Thread Seung-Woo Kim
Hello Javier, On 2016년 03월 29일 11:41, Javier Martinez Canillas wrote: > Hello Seung-Woo, > > Thanks a lot for your feedback. > > On 03/28/2016 09:46 PM, Seung-Woo Kim wrote: >> Hi Javier, >> >> On 2016년 03월 29일 10:28, Javier Martinez Canillas wrote: >>

Re: [PATCH 0/3] drm/exynos: Kconfig dependency fixes

2016-03-28 Thread Seung-Woo Kim
drm fimc and drm gsc. Best Regards, - Seung-Woo Kim > > drivers/gpu/drm/exynos/Kconfig | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > -- Seung-Woo Kim Samsung Software R Center --

Re: [PATCH 0/3] drm/exynos: Kconfig dependency fixes

2016-03-28 Thread Seung-Woo Kim
drm fimc and drm gsc. Best Regards, - Seung-Woo Kim > > drivers/gpu/drm/exynos/Kconfig | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > -- Seung-Woo Kim Samsung Software R Center --

Re: [RESEND PATCH] Smack: ignore private inode for smack_file_receive

2015-05-11 Thread Seung-Woo Kim
Ping? On 2015년 04월 17일 15:25, Seung-Woo Kim wrote: > The dmabuf fd can be shared between processes via unix domain > socket. The file of dmabuf fd is came from anon_inode. The inode > has no set and get xattr operations, so it can not be shared > between processes with smack. This

Re: [RESEND PATCH] Smack: ignore private inode for smack_file_receive

2015-05-11 Thread Seung-Woo Kim
Ping? On 2015년 04월 17일 15:25, Seung-Woo Kim wrote: The dmabuf fd can be shared between processes via unix domain socket. The file of dmabuf fd is came from anon_inode. The inode has no set and get xattr operations, so it can not be shared between processes with smack. This patch fixes just

[RESEND PATCH] Smack: ignore private inode for smack_file_receive

2015-04-17 Thread Seung-Woo Kim
for smack_file_receive. Signed-off-by: Seung-Woo Kim --- I think there was some issue sending my previous mail, so I resend patch again. --- security/smack/smack_lsm.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/security/smack/smack_lsm.c b/security/smack/smack_lsm.c index

[RESEND PATCH] Smack: ignore private inode for smack_file_receive

2015-04-17 Thread Seung-Woo Kim
for smack_file_receive. Signed-off-by: Seung-Woo Kim sw0312@samsung.com --- I think there was some issue sending my previous mail, so I resend patch again. --- security/smack/smack_lsm.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/security/smack/smack_lsm.c b/security/smack

Re: [RFC PATCH] Security: ignore private inode from security_file_receive

2015-04-16 Thread Seung-Woo Kim
Hello, On 2015년 04월 16일 22:48, Stephen Smalley wrote: > On 04/16/2015 09:40 AM, Seung-Woo Kim wrote: >> The dma-buf fd from anon_inode can be shared across processes, but >> there is no way to set security permission for the fd. So this >> patch fix just to igno

[RFC PATCH] Security: ignore private inode from security_file_receive

2015-04-16 Thread Seung-Woo Kim
The dma-buf fd from anon_inode can be shared across processes, but there is no way to set security permission for the fd. So this patch fix just to ignore private inode from security_file_receive. Signed-off-by: Seung-Woo Kim --- If security like smack is enabled, the dmabuf fd can

[RFC PATCH] Security: ignore private inode from security_file_receive

2015-04-16 Thread Seung-Woo Kim
The dma-buf fd from anon_inode can be shared across processes, but there is no way to set security permission for the fd. So this patch fix just to ignore private inode from security_file_receive. Signed-off-by: Seung-Woo Kim sw0312@samsung.com --- If security like smack is enabled

Re: [RFC PATCH] Security: ignore private inode from security_file_receive

2015-04-16 Thread Seung-Woo Kim
Hello, On 2015년 04월 16일 22:48, Stephen Smalley wrote: On 04/16/2015 09:40 AM, Seung-Woo Kim wrote: The dma-buf fd from anon_inode can be shared across processes, but there is no way to set security permission for the fd. So this patch fix just to ignore private inode from

Re: [PATCH v2 2/2] drm/msm/mdp4: Support NV12MT format in mdp4

2015-03-24 Thread Seung-Woo Kim
even width?) should be a multiple of the > block size (but height does not) > > BR, > -R > > >> -Daniel >> >> >>> +#define DRM_FORMAT_MOD_SAMSUNG_64_32_TILE fourcc_mod_code(SAMSUNG, 1) >>> + >>> #endif /* DRM_FOURCC_H */ >>> -

Re: [PATCH v2 2/2] drm/msm/mdp4: Support NV12MT format in mdp4

2015-03-24 Thread Seung-Woo Kim
, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch -- Seung-Woo Kim Samsung Software RD Center -- -- 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

[PATCH] regulator: core: Fix regualtor_ena_gpio_free not to access pin after freeing

2014-12-04 Thread Seung-Woo Kim
After freeing pin from regulator_ena_gpio_free, loop can access the pin. So this patch fixes not to access pin after freeing. Signed-off-by: Seung-Woo Kim --- drivers/regulator/core.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/regulator/core.c b/drivers

[PATCH] regulator: core: Fix regualtor_ena_gpio_free not to access pin after freeing

2014-12-04 Thread Seung-Woo Kim
After freeing pin from regulator_ena_gpio_free, loop can access the pin. So this patch fixes not to access pin after freeing. Signed-off-by: Seung-Woo Kim sw0312@samsung.com --- drivers/regulator/core.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers

Re: [PATCH 2/4] drm/exynos/mixer: use MXR_GRP_SXY_SY

2014-05-07 Thread Seung-Woo Kim
Hello Daniel, On 2014년 05월 07일 23:14, Daniel Kurtz wrote: > On Wed, May 7, 2014 at 1:14 PM, Seung-Woo Kim wrote: >> Hi Daniel, >> >> On 2014년 05월 05일 00:26, Daniel Kurtz wrote: >>> Mixer hardware supports offsetting dma from start of source buffer usin

Re: [PATCH 2/4] drm/exynos/mixer: use MXR_GRP_SXY_SY

2014-05-07 Thread Seung-Woo Kim
Hello Daniel, On 2014년 05월 07일 23:14, Daniel Kurtz wrote: On Wed, May 7, 2014 at 1:14 PM, Seung-Woo Kim sw0312@samsung.com wrote: Hi Daniel, On 2014년 05월 05일 00:26, Daniel Kurtz wrote: Mixer hardware supports offsetting dma from start of source buffer using the MXR_GRP_SXY register

Re: [PATCH 2/4] drm/exynos/mixer: use MXR_GRP_SXY_SY

2014-05-06 Thread Seung-Woo Kim
t = 0; > + dma_addr = win_data->dma_addr; Basically, you are right and source offset register can be used. But because of limitation of resolution for mixer up to 1920x1080, I considered modified soruce dma address to set one frame buffer, which is bigger than 1920x1080, on to both fimd and hdmi.

Re: [PATCH 2/4] drm/exynos/mixer: use MXR_GRP_SXY_SY

2014-05-06 Thread Seung-Woo Kim
for mixer up to 1920x1080, I considered modified soruce dma address to set one frame buffer, which is bigger than 1920x1080, on to both fimd and hdmi. Regards, - Seung-Woo Kim if (win_data-scan_flags DRM_MODE_FLAG_INTERLACE) ctx-interlace = true; -- Seung-Woo Kim Samsung

Re: [PATCH 8/8] extcon: arizona: Use devm_extcon_dev_register()

2014-04-16 Thread Seung-Woo Kim
return ret; > } > > @@ -1445,7 +1441,6 @@ static int arizona_extcon_remove(struct platform_device > *pdev) > regmap_update_bits(arizona->regmap, ARIZONA_JACK_DETECT_ANALOGUE, > ARIZONA_JD1_ENA, 0); > arizona_clk32k_disable(arizona); > - extcon

Re: [PATCH 8/8] extcon: arizona: Use devm_extcon_dev_register()

2014-04-16 Thread Seung-Woo Kim
); return 0; } -- Seung-Woo Kim Samsung Software RD Center -- -- 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

  1   2   >