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
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
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
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
txattr() 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
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
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
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 +++--
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
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
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
inux 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
--
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
a: v4l2-ioctl.c: 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
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
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
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
.
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
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
>
>
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
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
rom [] (get_signal+0x120/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
--
Seun
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
ds+0xd8/0x120)
[] (__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:
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
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
_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)
[...]
Signed-off-by: Seung-Woo Kim
---
The UBSAN warnin
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
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
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
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
GATE, but the config 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/drive
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
&
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
keep both clock 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..
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,
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
_initcall+0xa0/0x2c8
[] 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..
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&D Center
--
nvironment, following related configs 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
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:
>>
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&D Center
--
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
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
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
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 not be
afaiu, stride (and maybe 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_FOU
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
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
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.
> - extcon_dev_unregister(&info->edev);
> -err:
> return ret;
> }
>
> @@ -1445,7 +1441,6 @@ static int arizona_extcon_remove(struct platform_device
> *pdev)
> regmap_update_bits(arizona->regmap, ARIZONA_JACK_DETECT_ANALOGUE,
>
-by: Seung-Woo Kim
---
drivers/base/dma-buf.c | 31 +++
include/linux/dma-buf.h |4
2 files changed, 35 insertions(+), 0 deletions(-)
diff --git a/drivers/base/dma-buf.c b/drivers/base/dma-buf.c
index 08fe897..a1eaaf2 100644
--- a/drivers/base/dma-buf.c
used at reimport time if it is assigned
with drm gem object at first import.
This can also remove remapping dma address for the hardware having
its own iommu.
Signed-off-by: Seung-Woo Kim
---
drivers/gpu/drm/drm_prime.c| 19 ++-
drivers/gpu/drm/exynos
importer private data in dma-buf attachment can be used by importer to
reimport same dma-buf.
Seung-Woo Kim (2):
dma-buf: add importer private data to attachment
drm/prime: find gem object from the reimported dma-buf
drivers/base/dma-buf.c | 31
54 matches
Mail list logo