Re: Bisected post-3.9 regression: Resume takes 5 times as much time as with v3.9

2013-05-13 Thread Joerg Roedel
On Sun, May 12, 2013 at 06:35:18PM -0700, Paul E. McKenney wrote: On Sun, May 12, 2013 at 11:34:30PM +0200, Joerg Roedel wrote: With CONFIG_RCU_NO_HZ=n (and no revert) the system boots fine, no boot delay. I also enabled some RCU debugging options (with CONFIG_RCU_NO_HZ=y), but didn't see

[PATCH] hwmon: fix error return code in abituguru_probe()

2013-05-13 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn Fix to return a negative error code from the error handling case instead of 0, as done elsewhere in this function. Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn --- drivers/hwmon/abituguru.c | 16 ++-- 1 file changed, 10

Re: [PATCH] x86: Reduce duplicated code in the x86_64 context switch path.

2013-05-13 Thread H. Peter Anvin
This is a net addition in code, and send to only make it harder to understand what is happening. As such I don't think this is a good idea. Joe Damato ice...@gmail.com wrote: Signed-off-by: Joe Damato ice...@gmail.com --- arch/x86/include/asm/switch_to.h | 30 ++

Re: [PATCH 17/18] cpufreq: powerpc: move cpufreq driver to drivers/cpufreq

2013-05-13 Thread Viresh Kumar
On 22 April 2013 12:19, Viresh Kumar viresh.ku...@linaro.org wrote: On 9 April 2013 14:05, Viresh Kumar viresh.ku...@linaro.org wrote: On 5 April 2013 12:16, Viresh Kumar viresh.ku...@linaro.org wrote: On 4 April 2013 18:24, Viresh Kumar viresh.ku...@linaro.org wrote: This patch moves cpufreq

[PATCH] staging: slicoss: fix error return code in slic_entry_probe()

2013-05-13 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn Fix to return a negative error code from the error handling case instead of 0, as done elsewhere in this function. Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn --- drivers/staging/slicoss/slicoss.c | 18 +++--- 1 file

Re: [PATCH 07/18] cpufreq: s3c24xx: move cpufreq driver to drivers/cpufreq

2013-05-13 Thread Viresh Kumar
On 23 April 2013 20:55, Kukjin Kim kgene@samsung.com wrote: On 04/05/13 20:36, Rafael J. Wysocki wrote: On Friday, April 05, 2013 12:36:34 PM Viresh Kumar wrote: On 5 April 2013 12:18, Kukjin Kimkgene@samsung.com wrote: Basically, this moving looks good to me, but should be

Re: [RFC 04/42] drivers/dma: don't check resource with devm_ioremap_resource

2013-05-13 Thread Wolfram Sang
devm_ioremap_resource does sanity checks on the given resource. No need to duplicate this in the driver. diff --git a/drivers/dma/tegra20-apb-dma.c b/drivers/dma/tegra20-apb-dma.c res = platform_get_resource(pdev, IORESOURCE_MEM, 0); - if

Re: EXT4 panic at jbd2_journal_put_journal_head() in 3.9+

2013-05-13 Thread Tony Luck
The 3.10-rc1 with ae4647fb765467 reverted is still running OK. At 3 hours now (only marginally longer that the 2.5 hours that one of the bad runs during the bisect managed). So I'm about 30% sure that we have a winner at the moment. I'll leave it running and check again in the morning. This

[PATCH 2/3] perf hists: Move locking to its call-sites

2013-05-13 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com It's a preparation patch to eliminate unneeded locking in the perf report path. Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/builtin-report.c | 26 ++ tools/perf/builtin-top.c| 3 +++ tools/perf/util/hist.c

[PATCH 1/3] perf top: Get rid of *_threaded() functions

2013-05-13 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com Those _threaded() functions are needed to make hist tree handling thread-safe, but AFAICS the only thing it does is forcing it to use the intermediate 'collapsed' tree. It can be acheived by setting sort__need_collapse to 1 in cmd_top() so no need to keep

[PATCH 3/3] perf report: Don't be bothered with locking when adding hist entries

2013-05-13 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com The perf report is single-threaded, so no need to grab a lock. Although the fast path of pthread_mutex_[un]lock() is very fast, there's ~3% gain by eliminating it when we have huge sample data. $ perf record -a -F 10 -o perf.data.bench -- perf bench

why we need a msleep(5) in ehci_bus_suspend/resume

2013-05-13 Thread linux fddl
Hi, From the ehci-hub.c, I find that ehci_bus_suspend/resume have some code like this: if (time_before(jiffies, ehci-netx_statechange)) msleep(5); ... ehci-next_statechange = jiffies + msec_to_jiffies(10); and if (time_before(jiffies, ehci-netx_statechange)) msleep(5); ...

Re: [PATCH V4 3/3] pwm: pxa: add device tree support

2013-05-13 Thread Eric Miao
On Mon, May 13, 2013 at 1:04 PM, Chao Xie xiechao.m...@gmail.com wrote: + const struct of_device_id *of_id = + of_match_device(pxa_pwm_of_match, pdev-dev); + unsigned int npwm; + + if (!of_id) + return -ENODEV; + + npwm =

RE: [PATCH] spi/omap2: Let device core handle pinctrl

2013-05-13 Thread Hebbar, Gururaja
On Fri, May 10, 2013 at 15:26:29, Mark Brown wrote: On Tue, May 07, 2013 at 10:47:31AM +, Hebbar, Gururaja wrote: On Tue, May 07, 2013 at 14:25:35, Mark Brown wrote: There's also been some discussion about factoring out the suspend/resume code since it's going to get equally

[PATCH] rtc: rtc-vr41xx: fix error return code in rtc_probe()

2013-05-13 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn Fix to return -EBUSY in the platform irq get error handling case instead of 0, as done elsewhere in this function. Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn --- drivers/rtc/rtc-vr41xx.c | 4 +++- 1 file changed, 3 insertions(+), 1

RE: [PATCH V1 3/8] scsi: ufs: wrap the i/o access operations

2013-05-13 Thread Dolev Raviv
On Sunday, May 12, 2013, Dolev Raviv wrote: Author should be identified here. (From: author...) Except last patch of series(8/8), all of patches are not from you. Simplify operations with hiding mmio_base. Signed-off-by: Seungwon Jeon tgih@samsung.com Signed-off-by: Dolev Raviv

Re: [linux-pm] [PATCH] cpuidle: don't wakeup processor when set a longer latency

2013-05-13 Thread Lianwei Wang
Thank you. Patch is updated. From 2d0b4afb5461847dcdf08a87b02015d061b12e85 Mon Sep 17 00:00:00 2001 From: Lianwei Wang lianwei.w...@gmail.com Date: Fri, 26 Apr 2013 10:59:24 +0800 Subject: [PATCH] cpuidle: wakeup processor on a smaller latency Checking the PM-Qos latency and cpu idle sleep

[PATCH] mtd: fsmc_nand: fix error return code in fsmc_nand_probe()

2013-05-13 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn Fix to return -ENODEV in the dma channel request error handling case instead of 0, as done elsewhere in this function. Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn --- drivers/mtd/nand/fsmc_nand.c | 1 + 1 file changed, 1 insertion(+)

Re: [PATCH V2 2/3] Documentation: virtio: Add emergency write (emerg_wr) config register in virtio console.

2013-05-13 Thread Pranavkumar Sawargaonkar
Hi Rusty, On 13 May 2013 08:22, Rusty Russell ru...@rustcorp.com.au wrote: Pranavkumar Sawargaonkar pranavku...@linaro.org writes: Signed-off-by: Pranavkumar Sawargaonkar pranavku...@linaro.org Signed-off-by: Anup Patel anup.pa...@linaro.org --- Documentation/virtual/virtio-spec.txt |8

Re: [PATCH v2] regmap: debugfs: Fix start_reg calculation (v2)

2013-05-13 Thread Srinivas KANDAGATLA
Hi Mark, On 12/05/13 15:59, Mark Brown wrote: On Wed, May 08, 2013 at 11:20:09AM +0100, Srinivas KANDAGATLA wrote: From: Srinivas Kandagatla srinivas.kandaga...@st.com If we dump syscon regmap registers via debugfs you will notice that the dump contains lot of values. Sorry, can

Re: [RFC] device-tree.git automatic sync from linux.git

2013-05-13 Thread Michal Simek
Hi Ian, On 04/24/2013 12:48 PM, Ian Campbell wrote: Hi, First off apologies for the large CC list -- I think this catches the arch list for all the arches with device tree source in the tree. Various folks have expressed an interest in eventually splitting the device tree bindings out

Re: [PATCH 3/8] mtd: use generic helper to set max_discard_sectors

2013-05-13 Thread Artem Bityutskiy
On Sat, 2013-04-13 at 22:38 +0900, Namjae Jeon wrote: From: Namjae Jeon namjae.j...@samsung.com It is better to use blk_queue_max_discard_sectors helper function to set max_discard_sectors as it checks max_discard_sectors upper limit UINT_MAX 9 similar issue was reported for mmc in below

Re: [PATCH] f2fs: Remove BUG_ON in dec_valid_node_count

2013-05-13 Thread Haicheng Li
On Sun, May 12, 2013 at 10:46:27PM -0500, Chris Fries wrote: From: Chris Fries c.fr...@motorola.com Panic loops while running LTP fsstress has been able to get a disk into two different panic loops from dec_valid_node_count. f2fs.h:714 BUG_ON(sbi-total_valid_node_count count); This is

Re: [PATCH 3/8] mtd: use generic helper to set max_discard_sectors

2013-05-13 Thread Namjae Jeon
2013/5/13, Artem Bityutskiy dedeki...@gmail.com: On Sat, 2013-04-13 at 22:38 +0900, Namjae Jeon wrote: From: Namjae Jeon namjae.j...@samsung.com It is better to use blk_queue_max_discard_sectors helper function to set max_discard_sectors as it checks max_discard_sectors upper limit UINT_MAX

Re: [PATCH] mtd: devices: added the 16mb winbond device

2013-05-13 Thread Artem Bityutskiy
On Tue, 2013-04-16 at 14:01 +0530, girishks2...@gmail.com wrote: From: Girish K S ks.g...@samsung.com added a 16mb winbond devce to the device list erase size = 64k and number of blocks = 256 Signed-off-by: Girish K S ks.g...@samsung.com Pushed to l2-mtd.git, but please, remember to use

[PATCH v2] x86: Reduce duplicated code in the x86_64 context switch path.

2013-05-13 Thread Joe Damato
Signed-off-by: Joe Damato ice...@gmail.com --- arch/x86/include/asm/switch_to.h | 25 + arch/x86/kernel/process_64.c | 29 ++--- 2 files changed, 27 insertions(+), 27 deletions(-) diff --git a/arch/x86/include/asm/switch_to.h

[3.10-rc1] tick: NULL pointer dereference at tick_handle_oneshot_broadcast

2013-05-13 Thread Tetsuo Handa
I\'m hitting below bug on bootup. [1.215727] Switching to clocksource hpet [1.217475] BUG: unable to handle kernel NULL pointer dereference at 0018 [1.218467] IP: [810ac77c] tick_handle_oneshot_broadcast+0xdc/0x280 [1.218488] PGD 0 [1.218509] Oops:

Re: Re: EXT4 panic at jbd2_journal_put_journal_head() in 3.9+

2013-05-13 Thread EUNBONG SONG
Hi, I have some problem to boot with 3.10-rc1. So i will test with e0fd9affeb64088eff407dfc98bbd3a5c17ea479. The commit message is as follow. commit e0fd9affeb64088eff407dfc98bbd3a5c17ea479 Merge: 3d15b79 ea9627c Author: Linus Torvalds torva...@linux-foundation.org Date: Wed May 8 15:29:48

Re: [PATCH] x86: Reduce duplicated code in the x86_64 context switch path.

2013-05-13 Thread Joe Damato
On Sun, May 12, 2013 at 11:03 PM, H. Peter Anvin h...@zytor.com wrote: This is a net addition in code, and send to only make it harder to understand what is happening. As such I don't think this is a good idea. OK, I tweaked it slightly to break even on lines of code sent a v2. I do think it

Re: [PATCH 01/11] time: add *_to_jiffies_min helpers to guarantee a minimum duration

2013-05-13 Thread Jean Delvare
Hi Imre, On Fri, 10 May 2013 15:13:19 +0300, Imre Deak wrote: The *_to_jiffies(x) macros return a jiffy value, which if used as a delta to wait for a specific amount of time, may result in a wait-time that is less than x. Are you sure? I have always considered that *_to_jiffies(x) macros

Re: Build regressions/improvements in v3.10-rc1 (s390)

2013-05-13 Thread Heiko Carstens
On Sun, May 12, 2013 at 10:50:45PM +0200, Geert Uytterhoeven wrote: On Sun, 12 May 2013, Geert Uytterhoeven wrote: However, the full list of errors isn't that unmanageable, so I'm following up with a digested list... drivers/net/ethernet/sfc/efx.c:646:3: error: call to

Re: [PATCH] irqdomain: document the simple domain first_irq

2013-05-13 Thread Linus Walleij
On Thu, Feb 28, 2013 at 10:07 AM, Linus Walleij linus.wall...@stericsson.com wrote: From: Linus Walleij linus.wall...@linaro.org The first_irq needs to be zero to get a linear domain and that comes with special semantics. We want to simplify this going forward but some documentation never

Re: [PATCH] xen: reuse the same pirq allocated when driver load first time

2013-05-13 Thread Zhenzhong Duan
On 2013-05-11 02:53, Konrad Rzeszutek Wilk wrote: On Wed, May 08, 2013 at 04:18:24PM +0800, Zhenzhong Duan wrote: When driver load and unload in a loop, pirq will exhaust finally. Try to use the same pirq which was already mapped and binded at first time So what happens if I unload and reload

[patch v3 0/3 -mm] Soft limit rework

2013-05-13 Thread Michal Hocko
Hi, This is the third version of the patchset. The first version has been posted here: http://permalink.gmane.org/gmane.linux.kernel.mm/97973 (lkml wasn't CCed at the time so I cannot find it in lwn.net archives). There were no major objections. The second version has been posted here

Re: [linux-pm] [PATCH] cpuidle: don't wakeup processor when set a longer latency

2013-05-13 Thread Lianwei Wang
smp_call_function_single may not good for quad or more cores because it just send one interrupt one time and wait there... Update the patch to wakeup the cpus at the same time by calling smp_call_function_many. diff --git a/drivers/cpuidle/cpuidle.c b/drivers/cpuidle/cpuidle.c index

[patch v3 -mm 1/3] memcg: integrate soft reclaim tighter with zone shrinking code

2013-05-13 Thread Michal Hocko
Memcg soft reclaim has been traditionally triggered from the global reclaim paths before calling shrink_zone. mem_cgroup_soft_limit_reclaim then picked up a group which exceeds the soft limit the most and reclaimed it with 0 priority to reclaim at least SWAP_CLUSTER_MAX pages. The infrastructure

[PATCH 1/2 v2] acpi: video: add function to support unregister backlight interface

2013-05-13 Thread Lee, Chun-Yi
There have some situation we unregister whole acpi/video driver by downstream driver just want to remove backlight control interface of acpi/video. It caues we lost other functions of acpi/video, e.g. transfer acpi event to input event. So, this patch add a new function,

[PATCH 2/2 v2] acer-wmi: add Acer Aspire 5750G to video vendor list but keep acpi video driver

2013-05-13 Thread Lee, Chun-Yi
After Andrzej's testing, we found the acpi backlight methods broken on Acer Aspire 5750G but the i915 backlight control works when we set to vendor mode. And, we still want to keep the acpi/video driver for transfer acpi event to key event but not unregister whole acpi/video driver. This patch

Re: [PATCH 04/11] hwmon/lm63,lm90: take msecs_to_jiffies_min into use

2013-05-13 Thread Jean Delvare
Hi Imre, On Fri, 10 May 2013 15:13:22 +0300, Imre Deak wrote: Use msecs_to_jiffies_min instead of open-coding the same. Signed-off-by: Imre Deak imre.d...@intel.com --- drivers/hwmon/lm63.c |2 +- drivers/hwmon/lm90.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-)

[patch v3 -mm 2/3] memcg: Get rid of soft-limit tree infrastructure

2013-05-13 Thread Michal Hocko
Now that the soft limit is integrated to the reclaim directly the whole soft-limit tree infrastructure is not needed anymore. Rip it out. Signed-off-by: Michal Hocko mho...@suse.cz --- mm/memcontrol.c | 224 +-- 1 file changed, 1 insertion(+),

[patch v3 -mm 3/3] vmscan, memcg: Do softlimit reclaim also for targeted reclaim

2013-05-13 Thread Michal Hocko
Soft reclaim has been done only for the global reclaim (both background and direct). Since memcg: integrate soft reclaim tighter with zone shrinking code there is no reason for this limitation anymore as the soft limit reclaim doesn't use any special code paths and it is a part of the zone

Re: [PATCH] mtd: Convert logging messages

2013-05-13 Thread Artem Bityutskiy
On Tue, 2013-04-23 at 12:51 -0400, Jörn Engel wrote: In that case: NAK. Because you personally dislike something isn't enough of a reason for me to take your patch nor enough of a reason for me to add a special exception to my standards for your preferences. Cuts both way, it seems. Hi

Re: [PATCH] mtd: Convert logging messages

2013-05-13 Thread Artem Bityutskiy
On Fri, 2013-04-19 at 10:59 -0700, Joe Perches wrote: Use a more current logging style. Convert homegrown ERROR/INFO macros to pr_level. Convert homegrown parse_err macros to pr_err and expand hidden flow control. Signed-off-by: Joe Perches j...@perches.com Pushed to l2-mtd.git, thanks!

Re: [PATCH] mtd: fsmc_nand: fix error return code in fsmc_nand_probe()

2013-05-13 Thread Viresh Kumar
On 13 May 2013 12:25, Wei Yongjun weiyj...@gmail.com wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn Fix to return -ENODEV in the dma channel request error handling case instead of 0, as done elsewhere in this function. Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn ---

Re: [PATCH V2 0/5] input: pxa27x-keypad: enhancement and device tree support

2013-05-13 Thread Chao Xie
hi, dmitry What is your idea about these patches? Do i need add someone else to review them? On Mon, May 6, 2013 at 11:04 AM, Chao Xie chao@marvell.com wrote: The patches include 2 parts 1. use matrix_keypad for matrix keyes support 2. add device tree support for pxa27x-keypad V2-V1: Do

Re: [RFC PATCH v3 0/5] powerpc: Support context tracking for Power pSeries

2013-05-13 Thread Li Zhong
On Mon, 2013-05-13 at 15:51 +1000, Benjamin Herrenschmidt wrote: On Mon, 2013-05-13 at 13:21 +0800, Li Zhong wrote: These patches try to support context tracking for Power arch, beginning with 64-bit pSeries. The codes are ported from that of the x86_64, and in each patch, I listed the

Re: Re: Re: [PATCH] UBI: fix memory leak when use fastmap

2013-05-13 Thread richard -rw- weinberger
On Fri, May 3, 2013 at 5:31 AM, wang.bo...@zte.com.cn wrote: richard -rw- weinberger richard.weinber...@gmail.com write 2013-05-03 03:21:33: On Thu, May 2, 2013 at 10:30 AM, wang.bo...@zte.com.cn wrote: Hi! On Tue, Apr 16, 2013 at 10:53 AM, wang.bo...@zte.com.cn wrote: Hello,

[PATCH 6/9] mm: vmscan: Have kswapd writeback pages based on dirty pages encountered, not priority

2013-05-13 Thread Mel Gorman
Currently kswapd queues dirty pages for writeback if scanning at an elevated priority but the priority kswapd scans at is not related to the number of unqueued dirty encountered. Since commit mm: vmscan: Flatten kswapd priority loop, the priority is related to the size of the LRU and the zone

[PATCH 9/9] mm: vmscan: Move logic from balance_pgdat() to kswapd_shrink_zone()

2013-05-13 Thread Mel Gorman
balance_pgdat() is very long and some of the logic can and should be internal to kswapd_shrink_zone(). Move it so the flow of balance_pgdat() is marginally easier to follow. Signed-off-by: Mel Gorman mgor...@suse.de Acked-by: Johannes Weiner han...@cmpxchg.org --- mm/vmscan.c | 110

[PATCH 8/9] mm: vmscan: Check if kswapd should writepage once per pgdat scan

2013-05-13 Thread Mel Gorman
Currently kswapd checks if it should start writepage as it shrinks each zone without taking into consideration if the zone is balanced or not. This is not wrong as such but it does not make much sense either. This patch checks once per pgdat scan if kswapd should be writing pages. Signed-off-by:

[PATCH 7/9] mm: vmscan: Block kswapd if it is encountering pages under writeback

2013-05-13 Thread Mel Gorman
Historically, kswapd used to congestion_wait() at higher priorities if it was not making forward progress. This made no sense as the failure to make progress could be completely independent of IO. It was later replaced by wait_iff_congested() and removed entirely by commit 258401a6 (mm: don't wait

[PATCH 4/9] mm: vmscan: Decide whether to compact the pgdat based on reclaim progress

2013-05-13 Thread Mel Gorman
In the past, kswapd makes a decision on whether to compact memory after the pgdat was considered balanced. This more or less worked but it is late to make such a decision and does not fit well now that kswapd makes a decision whether to exit the zone scanning loop depending on reclaim progress.

[PATCH 5/9] mm: vmscan: Do not allow kswapd to scan at maximum priority

2013-05-13 Thread Mel Gorman
Page reclaim at priority 0 will scan the entire LRU as priority 0 is considered to be a near OOM condition. Kswapd can reach priority 0 quite easily if it is encountering a large number of pages it cannot reclaim such as pages under writeback. When this happens, kswapd reclaims very aggressively

[PATCH 0/9] Reduce system disruption due to kswapd V4

2013-05-13 Thread Mel Gorman
This series does not fix all the current known problems with reclaim but it addresses one important swapping bug when there is background IO. Changelog since V3 o Drop the slab shrink changes in light of Glaubers series and discussions highlighted that there were a number of potential

[PATCH 3/9] mm: vmscan: Flatten kswapd priority loop

2013-05-13 Thread Mel Gorman
kswapd stops raising the scanning priority when at least SWAP_CLUSTER_MAX pages have been reclaimed or the pgdat is considered balanced. It then rechecks if it needs to restart at DEF_PRIORITY and whether high-order reclaim needs to be reset. This is not wrong per-se but it is confusing to follow

[PATCH 2/9] mm: vmscan: Obey proportional scanning requirements for kswapd

2013-05-13 Thread Mel Gorman
Simplistically, the anon and file LRU lists are scanned proportionally depending on the value of vm.swappiness although there are other factors taken into account by get_scan_count(). The patch mm: vmscan: Limit the number of pages kswapd reclaims limits the number of pages kswapd reclaims but it

[PATCH 1/9] mm: vmscan: Limit the number of pages kswapd reclaims at each priority

2013-05-13 Thread Mel Gorman
The number of pages kswapd can reclaim is bound by the number of pages it scans which is related to the size of the zone and the scanning priority. In many cases the priority remains low because it's reset every SWAP_CLUSTER_MAX reclaimed pages but in the event kswapd scans a large number of pages

Re: [PATCH 01/11] time: add *_to_jiffies_min helpers to guarantee a minimum duration

2013-05-13 Thread Jean Delvare
BTW... On Fri, 10 May 2013 15:13:19 +0300, Imre Deak wrote: +#define __define_time_to_jiffies_min(tname, ttype) \ +static inline unsigned long \ +tname ## _to_jiffies_min(const ttype m) \ +{

Re: Build regressions/improvements in v3.10-rc1 (um)

2013-05-13 Thread Geert Uytterhoeven
On Sun, May 12, 2013 at 11:17 PM, richard -rw- weinberger richard.weinber...@gmail.com wrote: On Sun, May 12, 2013 at 10:47 PM, Geert Uytterhoeven ge...@linux-m68k.org wrote: On Sun, 12 May 2013, Geert Uytterhoeven wrote: However, the full list of errors isn't that unmanageable, so I'm

[PATCH 0/2] clk: vt8500: updates for 3.11

2013-05-13 Thread Tony Prisk
Hi Mike, Two updates for the arch-vt8500 clock code: #1: Add support for the WM8850 PLL. #2: Remove a second divisor check in vt8500_dclk_set_rate() which causes the divisor to be round-down too low. Regards Tony Prisk Tony Prisk (2): clk: vt8500: Add support for clocks on the WM8850 SoCs

[PATCH 1/2] clk: vt8500: Add support for clocks on the WM8850 SoCs

2013-05-13 Thread Tony Prisk
The WM8850 has a different PLL clock to the previous versions. This patch adds support for the WM8850-style PLL clocks. Signed-off-by: Tony Prisk li...@prisktech.co.nz --- Documentation/devicetree/bindings/clock/vt8500.txt |2 + drivers/clk/clk-vt8500.c | 71

[PATCH 2/2] clk: vt8500: Remove unnecessary divisor adjustment in vtwm_dclk_set_rate()

2013-05-13 Thread Tony Prisk
The divisor adjustment code to ensure that a divisor is not rounded down, thereby giving a rate higher than requested, is unnecessary and in some instances results in the actual rate being much lower than requested due to rounding errors. The test is already performed in vtwm_dclk_round_rate(),

usb: why we need a msleep(5) in ehci_bus_suspend/resume

2013-05-13 Thread linux fddl
Hi, From the ehci-hub.c, I find that ehci_bus_suspend/resume have some code like this: if (time_before(jiffies, ehci-netx_statechange)) msleep(5); ... ehci-next_statechange = jiffies + msec_to_jiffies(10); and if (time_before(jiffies, ehci-netx_statechange)) msleep(5); ...

Re: [PATCH] staging: vme: fix error return code in vme_user_probe()

2013-05-13 Thread Martyn Welch
On 13/05/13 07:05, Wei Yongjun wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn Fix to return -ENOMEM in the resource alloc error handling case instead of 0, as done elsewhere in this function. Hi Wei, Thanks for your patch. As this is resource allocation rather than memory

Re: Re: EXT4 panic at jbd2_journal_put_journal_head() in 3.9+

2013-05-13 Thread Zheng Liu
On Sun, May 12, 2013 at 07:04:45PM -0700, Tony Luck wrote: On Sat, May 11, 2013 at 12:52 AM, Dmitry Monakhov dmonak...@openvz.org wrote:. What was page_size and fsblock size? CONFIG_IA64_PAGE_SIZE_64KB=y fsblock size is whatever is the default for SLES11SP2 on ia64 - which tool will

Re: [PATCH V5 1/5] workqueues: Introduce new flag WQ_POWER_EFFICIENT for power oriented workqueues

2013-05-13 Thread Viresh Kumar
On 27 April 2013 00:41, Tejun Heo t...@kernel.org wrote: It's already too late for the upcoming merge window, but things generally look good to me and I'll apply the patchset once wq/for-3.11 opens. One nitpick tho. On Thu, Apr 25, 2013 at 09:13:44AM +0530, Viresh Kumar wrote: +

Re: [PATCH RFC] clk: Introduce userspace clock driver

2013-05-13 Thread Peter De Schrijver
For debugging purposes, being able to change parents would be nice too. This is difficult and I don't have a good solution for it, hence it's missing. A clock consumer like a device driver or this driver, just knows about it's input clock, but not about the topology further up.

[PATCH] sched: Add nr_running_cpu() to get current of running threads of each core

2013-05-13 Thread Chanwoo Choi
This patch add nr_running_cpu() function to get current number of running threads of each core. Signed-off-by: Chanwoo Choi cw00.c...@samsung.com --- include/linux/sched.h | 1 + kernel/sched/core.c | 8 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git

[PATCH] bcache: drop select CLOSURES

2013-05-13 Thread Paul Bolle
The Kconfig entry for BCACHE selects CLOSURES. But there's no Kconfig symbol CLOSURES. That symbol was used in development versions of bcache, but was removed when the closures code was no longer provided as a kernel library. It can safely be dropped. Signed-off-by: Paul Bolle pebo...@tiscali.nl

Re: Build regressions/improvements in v3.10-rc1

2013-05-13 Thread Geert Uytterhoeven
Hi Randy, On Mon, May 13, 2013 at 12:13 AM, Randy Dunlap rdun...@infradead.org wrote: On 05/12/13 12:30, Geert Uytterhoeven wrote: *** WARNINGS *** 163 regressions: + mm/slab_common.c: warning: format '%zu' expects argument of type 'size_t', but argument 3 has type 'unsigned int'

Re: [Query] Performance degradation with memory compaction (on QC chip-set)

2013-05-13 Thread Mel Gorman
On Sun, May 12, 2013 at 08:00:26PM -0700, PINTU KUMAR wrote: Dear Mel Gorman, I have one question about memory compaction. Kernel version: kernel-3.4 (ARM) Chipset: Qual-Comm MSM8930 dual-core. We wanted to enable CONFIG_COMPACTION for our product with kernel-3.4. But QC commented that,

[PATCH 1/2] perf report: Add --percent-limit option

2013-05-13 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com The --percent-limit option is for not showing small overheaded entries in the output. Maybe we want to set a certain default value like 0.1. Cc: Andi Kleen a...@firstfloor.org Signed-off-by: Namhyung Kim namhy...@kernel.org ---

[PATCH 2/2] perf top: Add --percent-limit option

2013-05-13 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com The --percent-limit option is for not showing small overheaded entries in the output. Cc: Andi Kleen a...@firstfloor.org Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/Documentation/perf-top.txt | 4 tools/perf/builtin-top.c

[PATCH] usb: phy: remove CONFIG_USB_OTG_UTILS once more

2013-05-13 Thread Paul Bolle
The Kconfig symbol USB_OTG_UTILS was removed in the v3.10 merge window, in commit fd89149875 (usb: phy: remove CONFIG_USB_OTG_UTILS). But that symbol popped up again in a few places. Remove it there too. Signed-off-by: Paul Bolle pebo...@tiscali.nl --- Untested. drivers/staging/dwc2/Kconfig | 1

Re: [RFC PATCH v3 2/5] powerpc: Exception hooks for context tracking subsystem

2013-05-13 Thread Li Zhong
On Mon, 2013-05-13 at 15:57 +1000, Benjamin Herrenschmidt wrote: On Mon, 2013-05-13 at 13:21 +0800, Li Zhong wrote: int recover = 0; + enum ctx_state prev_state; + + prev_state = exception_enter(); Please make it nicer: enum ctx_state prev_state = exception_enter();

Re: [PATCH] staging: vme: fix error return code in vme_user_probe()

2013-05-13 Thread Dan Carpenter
On Mon, May 13, 2013 at 09:16:00AM +0100, Martyn Welch wrote: On 13/05/13 07:05, Wei Yongjun wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn Fix to return -ENOMEM in the resource alloc error handling case instead of 0, as done elsewhere in this function. Hi Wei, Thanks

[PATCH] ARM: sunxi: select ARCH_REQUIRE_GPIOLIB

2013-05-13 Thread Maxime Ripard
CONFIG_SUNXI currently doesn't enable a gpiolib, which causes build problems when building a kernel with only the sunxi platform enabled. Select ARCH_REQUIRE_GPIOLIB to solve this. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- arch/arm/mach-sunxi/Kconfig | 1 + 1 file

Re: [PATCH 12/14] perf ftrace: Use pager for displaying result

2013-05-13 Thread Namhyung Kim
Hi Jiri, On Fri, 10 May 2013 11:04:05 +0200, Jiri Olsa wrote: On Wed, May 08, 2013 at 02:49:10PM +0900, Namhyung Kim wrote: yep, that did it.. seems I'm getting the ftrace output all the time, with: Hmm.. this was just a debug patch. So can you get the ftrace output without this patch too?

RE: [PATCH v2 1/2] i2c: i2c-bfin-twi: don`t free peripheral before it init successful

2013-05-13 Thread Zhang, Sonic
Hi Libo, -Original Message- From: Libo Chen [mailto:clbchenlibo.c...@huawei.com] Sent: Friday, May 10, 2013 9:02 AM To: Zhang, Sonic Cc: Libo Chen; w...@the-dreams.de; uclinux-dist-de...@blackfin.uclinux.org; linux-kernel@vger.kernel.org; linux-...@vger.kernel.org; lize...@huawei.com

Re: [PATCH 1/2] perf report: Add --percent-limit option

2013-05-13 Thread Pekka Enberg
On Mon, May 13, 2013 at 11:41 AM, Namhyung Kim namhy...@kernel.org wrote: From: Namhyung Kim namhyung@lge.com The --percent-limit option is for not showing small overheaded entries in the output. Maybe we want to set a certain default value like 0.1. Cc: Andi Kleen a...@firstfloor.org

Re: [PATCH 2/2] perf top: Add --percent-limit option

2013-05-13 Thread Pekka Enberg
On Mon, May 13, 2013 at 11:41 AM, Namhyung Kim namhy...@kernel.org wrote: From: Namhyung Kim namhyung@lge.com The --percent-limit option is for not showing small overheaded entries in the output. Cc: Andi Kleen a...@firstfloor.org Signed-off-by: Namhyung Kim namhy...@kernel.org

[PATCH] fs/fat: Use fat_msg() to replace printk() in __fat_fs_error()

2013-05-13 Thread Gu Zheng
From 87141ec058aad35ac55bc7c3fc2eb378566a5a6a Mon Sep 17 00:00:00 2001 From: Gu Zheng guz.f...@cn.fujitsu.com Date: Mon, 13 May 2013 17:48:19 +0900 Subject: [PATCH] fs/fat: Use fat_msg() to replace printk() in __fat_fs_error() Signed-off-by: Gu Zheng guz.f...@cn.fujitsu.com --- fs/fat/misc.c |

Re: [RFC PATCH v3 0/5] powerpc: Support context tracking for Power pSeries

2013-05-13 Thread Benjamin Herrenschmidt
On Mon, 2013-05-13 at 16:03 +0800, Li Zhong wrote: To my understanding, it is used to enable RCU user extended quiescent state, so RCU on that cpu doesn't need scheduler ticks. And together with some other code(already in 3.10), we are able to remove the ticks in some cases (e.g. only 1 task

Re: [PATCH] sched: Add nr_running_cpu() to get current of running threads of each core

2013-05-13 Thread Peter Zijlstra
On Mon, May 13, 2013 at 05:33:12PM +0900, Chanwoo Choi wrote: This patch add nr_running_cpu() function to get current number of running threads of each core. Uhm, not without a very good reason. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message

[PATCH v3 -tip x86/apic 0/2] PCI/MSI: Allocate as many multiple-MSIs as requested

2013-05-13 Thread Alexander Gordeev
This series is against tip's x86/apic branch. Allow conserving interrupt resources when PCI devices in multiple-MSI mode send a number of MSIs which is not a power-of-two. This update will prevent wasting of any resources associated with unused MSIs in general (i.e. IRQ descriptors) and x86

[PATCH v3 -tip x86/apic 1/2] PCI/MSI: Allocate as many multiple-MSIs as requested

2013-05-13 Thread Alexander Gordeev
When multiple MSIs are enabled with pci_enable_msi_block(), the requested number of interrupts 'nvec' is rounded up to the nearest power-of-two value. The result is then used for setting up the number of MSI messages in the PCI device and allocation of interrupt resources in the operating system

[PATCH v3 -tip x86/apic 2/2] x86/MSI: Conserve interrupt resources when using multiple-MSIs

2013-05-13 Thread Alexander Gordeev
Current multiple-MSI implementation does not take into account actual number of requested MSIs and always rounds that number to a closest power-of-two value. Yet, a number of MSIs a PCI device could send (and therefore a number of messages a device driver could request) may be a lesser

Re: [RFC PATCH v3 2/5] powerpc: Exception hooks for context tracking subsystem

2013-05-13 Thread Benjamin Herrenschmidt
On Mon, 2013-05-13 at 16:44 +0800, Li Zhong wrote: Yes, the above and hash_page() are two C functions for a same exception. And the exception hooks enable RCU usage in those C codes. But for asm codes, I think we could assume that there would be no RCU usage there, so we don't need wrap them

Re: [linux-pm] [PATCH] cpuidle: don't wakeup processor when set a longer latency

2013-05-13 Thread Srivatsa S. Bhat
On 05/13/2013 12:22 PM, Lianwei Wang wrote: Thank you. Patch is updated. From 2d0b4afb5461847dcdf08a87b02015d061b12e85 Mon Sep 17 00:00:00 2001 From: Lianwei Wang lianwei.w...@gmail.com Date: Fri, 26 Apr 2013 10:59:24 +0800 Subject: [PATCH] cpuidle: wakeup processor on a smaller latency

Re: [PATCH V2 1/2] mm: hotplug: implement non-movable version of get_user_pages() called get_user_pages_non_movable()

2013-05-13 Thread Tang Chen
Hi Mel, On 02/06/2013 05:56 PM, Mel Gorman wrote: There is the possibility that callbacks could be introduced for migrate_unpin() and migrate_pin() that takes a list of PFN pairs (old,new). The unpin callback should release the old PFNs and barrier against any operations until the

Re: [3.10-rc1] tick: NULL pointer dereference at tick_handle_oneshot_broadcast

2013-05-13 Thread Thomas Gleixner
On Mon, 13 May 2013, Tetsuo Handa wrote: I\'m hitting below bug on bootup. I don\'t know why but bisection reached commit b352bc1c \tick: Convert broadcast cpu bitmaps to cpumask_var_t\. Because I used alloc_cpumask_var instead of zalloc_cpumask_var :( Fix is queued and will hit linus tree

Re: [PATCH V2 1/2] mm: hotplug: implement non-movable version of get_user_pages() called get_user_pages_non_movable()

2013-05-13 Thread Mel Gorman
On Mon, May 13, 2013 at 05:11:43PM +0800, Tang Chen wrote: Hi Mel, On 02/06/2013 05:56 PM, Mel Gorman wrote: There is the possibility that callbacks could be introduced for migrate_unpin() and migrate_pin() that takes a list of PFN pairs (old,new). The unpin callback should release the

Re: [PATCH V2 Resend 4/4] timer: Migrate running timer

2013-05-13 Thread Viresh Kumar
On 24 April 2013 16:52, Viresh Kumar viresh.ku...@linaro.org wrote: On 9 April 2013 20:22, Viresh Kumar viresh.ku...@linaro.org wrote: [Steven replied to a personal Ping!!, including everybody again] On 9 April 2013 19:25, Steven Rostedt rost...@goodmis.org wrote: On Tue, 2013-04-09 at 14:05

Re: [PATCH v6, part3 14/16] mm: concentrate modification of totalram_pages into the mm core

2013-05-13 Thread David Howells
Jiang Liu liu...@gmail.com wrote: Concentrate code to modify totalram_pages into the mm core, so the arch memory initialized code doesn't need to take care of it. With these changes applied, only following functions from mm core modify global variable totalram_pages: free_bootmem_late(),

Re: Full dynticks needs evtdesc set before marking cpu online.

2013-05-13 Thread Thomas Gleixner
On Wed, 8 May 2013, Robin Holt wrote: Thomas, We are seeing failures booting medium sized machines which I think is a change in expectations that dyntick put on x86's start_secondary. During boot of cpus, we see an occassional panic in tick_do_broadcast at

Re: linux-next: Tree for May 8 (dlm)

2013-05-13 Thread Steven Whitehouse
Hi, On Thu, 2013-05-09 at 10:08 -0700, Randy Dunlap wrote: On 05/09/13 09:50, David Teigland wrote: On Thu, May 09, 2013 at 09:47:45AM +1000, Stephen Rothwell wrote: [Just forwarding to David ...] On Wed, 08 May 2013 11:04:45 -0700 Randy Dunlap rdun...@infradead.org wrote: on

Re: [RFC PATCH v3 0/5] powerpc: Support context tracking for Power pSeries

2013-05-13 Thread Li Zhong
On Mon, 2013-05-13 at 18:59 +1000, Benjamin Herrenschmidt wrote: On Mon, 2013-05-13 at 16:03 +0800, Li Zhong wrote: To my understanding, it is used to enable RCU user extended quiescent state, so RCU on that cpu doesn't need scheduler ticks. And together with some other code(already in

[PATCH] cpufreq: rename references to CPU_FREQ_SA11x0

2013-05-13 Thread Paul Bolle
The Kconfig symbols CPU_FREQ_SA1100 and CPU_FREQ_SA1110 were renamed in commit 59a2e613d0 (cpufreq: sa11x0: move cpufreq driver to drivers/cpufreq). Rename the last references to those symbols too. Signed-off-by: Paul Bolle pebo...@tiscali.nl --- Untested. drivers/cpufreq/Kconfig | 2 +- 1 file

Re: irq fun, reloaded

2013-05-13 Thread Thomas Gleixner
Boris, On Sun, 12 May 2013, Borislav Petkov wrote: Hi Thomas, you're gonna love this: definitely! This is 3.10-rc1 with acpi_osi=Linux on the command line. If I get bored, I could try to update the BIOS but who knows what else could break... Well, I don't think it will be worse than it

Re: [PATCH] fs/fat: Use fat_msg() to replace printk() in __fat_fs_error()

2013-05-13 Thread OGAWA Hirofumi
Gu Zheng guz.f...@cn.fujitsu.com writes: From 87141ec058aad35ac55bc7c3fc2eb378566a5a6a Mon Sep 17 00:00:00 2001 From: Gu Zheng guz.f...@cn.fujitsu.com Date: Mon, 13 May 2013 17:48:19 +0900 Subject: [PATCH] fs/fat: Use fat_msg() to replace printk() in __fat_fs_error() -

  1   2   3   4   5   6   7   8   9   10   >