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
> >
> > 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
> 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]
> 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
> > >
> > > 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.
> >
> > 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
> 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
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
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
> > > 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
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
> 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.
+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
> >
> > 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()
> >
> > 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
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
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-
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
>
> Signed-off-by: Geert Uytterhoeven
> ---
> v2:
> - New.
> ---
Acked-by: Chanho Min
>
> Signed-off-by: Geert Uytterhoeven
> Acked-by: Rob Herring
> ---
> v2:
> - Add Acked-by,
> - Rebased.
> ---
Acked-by: 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
==
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
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
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
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";
&
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
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
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
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
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
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/
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
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
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
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/
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
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
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
> 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
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/
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
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
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
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
> 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
> > @@ -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
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
>
> 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
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
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
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
---
arch/arm64/boot/dts/Makefile |1 +
arch/arm64/boot/dts/lg/Makefile |5 +
arch/arm64/boot/dts
This patch introduces ARCH_LG1K to enable LG Electronics's LG1K SoC
family in Kconfig.
Signed-off-by: Chanho Min
---
arch/arm64/Kconfig.platforms |4
1 file changed, 4 insertions(+)
diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
index 21074f6..b002bba 1
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
This patch introduces ARCH_LG1K to enable LG Electronics's LG1K SoC
family in Kconfig.
The dts and defconfig will be submitted soon in another series.
Signed-off-by: Chanho Min
---
arch/arm64/Kconfig.platforms |4
1 file changed, 4 insertions(+)
diff --git a/arch/
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
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
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
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
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
.
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
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
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
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
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
'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.
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
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
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
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
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
> 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
> 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
> 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
) 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
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
/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
.
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
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:
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
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
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
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
>> 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: 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:
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
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
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
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
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
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
| 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.
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
> 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
> 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
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
>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
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
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
>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
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.
1 - 100 of 111 matches
Mail list logo