Re: [PATCH v11 06/16] qspinlock: prolong the stay in the pending bit path

2014-06-12 Thread Peter Zijlstra
On Wed, Jun 11, 2014 at 05:22:28PM -0400, Long, Wai Man wrote: @@ -233,11 +233,25 @@ void queue_spin_lock_slowpath(struct qspinlock *lock, u32 val) */ for (;;) { /* -* If we observe any contention; queue. +* If we observe that the queue is not

[PATCH] ACPI/Battery: Retry to get Battery information if failed during probing

2014-06-12 Thread Lan Tianyu
Some machines'(E,G Lenovo Z480) ECs are not stable during boot up and causes battery driver fails to be probed due to failure of getting battery information from EC sometimes. After several retries, the operation will work. This patch is to retry to get battery information 5 times if the first try

Re: [PATCH v2 04/10] DMA, CMA: support alignment constraint on cma region

2014-06-12 Thread Joonsoo Kim
On Thu, Jun 12, 2014 at 02:52:20PM +0900, Minchan Kim wrote: On Thu, Jun 12, 2014 at 12:21:41PM +0900, Joonsoo Kim wrote: ppc kvm's cma area management needs alignment constraint on cma region. So support it to prepare generalization of cma area management functionality. Additionally,

Re: [net/ipvs] BUG: unable to handle kernel NULL pointer dereference at 00000004

2014-06-12 Thread Julian Anastasov
Hello, On Thu, 12 Jun 2014, Simon Horman wrote: Thanks, Julian, should I take this one? I'm assuming this problem has been present for quite a number of releases. I'll post new version with extended comments. Regards -- Julian Anastasov j...@ssi.bg -- To unsubscribe from

Re: recvmmsg/sendmmsg result types inconsistent, integer overflows?

2014-06-12 Thread Michael Kerrisk (man-pages)
Rich, On Wed, Jun 11, 2014 at 5:15 PM, Rich Felker dal...@libc.org wrote: On Tue, Jun 10, 2014 at 10:50:08PM -0700, Eric Dumazet wrote: On Wed, 2014-06-11 at 07:24 +0200, Mike Galbraith wrote: (CCs network wizard hangout) On Wed, 2014-06-11 at 00:12 -0400, Rich Felker wrote: While

Re: [PATCH v2 05/10] DMA, CMA: support arbitrary bitmap granularity

2014-06-12 Thread Minchan Kim
On Thu, Jun 12, 2014 at 12:21:42PM +0900, Joonsoo Kim wrote: ppc kvm's cma region management requires arbitrary bitmap granularity, since they want to reserve very large memory and manage this region with bitmap that one bit for several pages to reduce management overheads. So support

Re: [PATCH ftrace/core 2/2] ftrace, kprobes: Support IPMODIFY flag to find IP modify conflict

2014-06-12 Thread Masami Hiramatsu
(2014/06/12 14:38), Namhyung Kim wrote: Hi Masami, On Thu, 12 Jun 2014 12:29:09 +0900, Masami Hiramatsu wrote: (2014/06/11 16:41), Namhyung Kim wrote: Hi Masami, On Wed, 11 Jun 2014 10:28:01 +0900, Masami Hiramatsu wrote: (2014/06/10 22:53), Namhyung Kim wrote: Hi Masami, 2014-06-10

Re: [PATCH] x86: Find correct 64 bit ramdisk address for microcode early update

2014-06-12 Thread Yinghai Lu
On Wed, Jun 11, 2014 at 10:34 AM, Yinghai Lu ying...@kernel.org wrote: On Wed, Jun 11, 2014 at 10:32 AM, H. Peter Anvin h...@zytor.com wrote: It is not about loading over 4G, it is that some kinds of code (in particular accessing global variables) from the early microcode loading code doesn't

[PATCH v3] mfd: max77686: handle IRQs using regmap

2014-06-12 Thread Robert Baldyga
This patch modifies mfd driver to use regmap for handling interrupts. It allows to simplify irq handling process. This modifications needed to make small changes in function drivers, which use interrupts. Signed-off-by: Robert Baldyga r.bald...@samsung.com Reviewed-by: Krzysztof Kozlowski

Re: [PATCH 1/1] ata: Check and set 64-bit DMA mask for platform AHCI driver

2014-06-12 Thread Suravee Suthikulpanit
On 06/11/2014 04:41 AM, Bartlomiej Zolnierkiewicz wrote: On Fri, May 23, 2014 at 12:35:10PM -0500,suravee.suthikulpa...@amd.com wrote: From: Suravee Suthikulpanitsuravee.suthikulpa...@amd.com The current platform AHCI drier does not set the dma_mask correctly for 64-bit DMA capable AHCI

Re: [PATCH 2/2] fs: proc/stat: use usual seq_file ops rather than single_open

2014-06-12 Thread Ian Kent
On Wed, 2014-06-11 at 15:29 -0700, David Rientjes wrote: On Wed, 11 Jun 2014, Heiko Carstens wrote: Alternatively we could also change the seqfile code to fall back to vmalloc allocations. That would probably fix all single_open usages where large contiguous memory areas are needed and

[PATCH 1/5] cgroup: fix broken css_has_online_children()

2014-06-12 Thread Li Zefan
After running: # mount -t cgroup cpu xxx /cgroup mkdir /cgroup/sub \ rmdir /cgroup/sub umount /cgroup I found the cgroup root still existed: # cat /proc/cgroups #subsys_namehierarchy num_cgroups enabled cpuset 0 1 1 cpu 1 1 1 ... It

[PATCH 2/5] percpu-ref: introduce percpu_ref_alive()

2014-06-12 Thread Li Zefan
This is used to check if the percpu_ref has been killed. Signed-off-by: Li Zefan lize...@huawei.com --- include/linux/percpu-refcount.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a/include/linux/percpu-refcount.h b/include/linux/percpu-refcount.h index dba35c4..1d5f2b3 100644

[PATCH 3/5] cgroup: fix mount failure in a corner case

2014-06-12 Thread Li Zefan
# cat test.sh #! /bin/bash mount -t cgroup -o cpu xxx /cgroup umount /cgroup mount -t cgroup -o cpu,cpuacct xxx /cgroup umount /cgroup # ./test.sh mount: xxx already mounted or /cgroup busy mount: according to mtab, xxx is already mounted on /cgroup It's because the

[PATCH 4/5] kernfs: introduce kernfs_pin_sb() and kernfs_drop_sb()

2014-06-12 Thread Li Zefan
kernfs_pin_sb() tries to get a refcnt of the superblock, while kernfs_drop_sb() drops this refcnt. This will be used by cgroupfs. Signed-off-by: Li Zefan lize...@huawei.com --- fs/kernfs/mount.c | 45 + include/linux/kernfs.h | 3 +++ 2 files

[PATCH 5/5] cgroup: fix a race between cgroup_mount() and cgroup_kill_sb()

2014-06-12 Thread Li Zefan
We've converted cgroup to kernfs so cgroup won't be intertwined with vfs objects and locking, but there are dark areas. Run two instances of this script concurrently: for ((; ;)) { mount -t cgroup -o cpuacct xxx /cgroup umount /cgroup } After a while, I saw two mount

Re: [PATCH 1/1] ata: Check and set 64-bit DMA mask for platform AHCI driver

2014-06-12 Thread Suravee Suthikulpanit
On 06/11/2014 04:30 AM, Bartlomiej Zolnierkiewicz wrote: Hi, On Tuesday, June 10, 2014 04:54:01 PM David Milburn wrote: On 05/23/2014 12:35 PM, suravee.suthikulpa...@amd.com wrote: From: Suravee Suthikulpanit suravee.suthikulpa...@amd.com The current platform AHCI drier does not set the

RE: [PATCH] ALSA: compress: Fix the mismatch size of struc between share lib(32bit) and kernel(64bit)

2014-06-12 Thread Wang, Xiaoming
Dear Takashi -Original Message- From: Koul, Vinod Sent: Monday, June 09, 2014 11:36 PM To: Takashi Iwai Cc: Wang, Xiaoming; Kp, Jeeja; dhowe...@redhat.com; a...@arndb.de; t...@linutronix.de; mtk.manpa...@gmail.com; paul...@linux.vnet.ibm.com; da...@redhat.com;

Re: [PATCH v2 05/10] DMA, CMA: support arbitrary bitmap granularity

2014-06-12 Thread Joonsoo Kim
On Thu, Jun 12, 2014 at 03:06:10PM +0900, Minchan Kim wrote: On Thu, Jun 12, 2014 at 12:21:42PM +0900, Joonsoo Kim wrote: ppc kvm's cma region management requires arbitrary bitmap granularity, since they want to reserve very large memory and manage this region with bitmap that one bit for

Re: [PATCH] powerpc, kexec: Fix Processor X is stuck issue during kexec from ST mode

2014-06-12 Thread Joel Stanley
Hi Srivatsa, On Sat, Jun 7, 2014 at 7:16 AM, Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com wrote: And with the following hunk added (which I had forgotten earlier), it worked just fine on powernv :-) How are the patches coming along? I just hung a machine here while attempting to kexec.

Re: [GIT PULL] MMC updates for 3.16-rc1

2014-06-12 Thread Ulf Hansson
On 12 June 2014 07:25, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: Hi Linus, On Wed, 11 Jun 2014, Linus Torvalds wrote: On Tue, Jun 10, 2014 at 2:50 PM, Linus Torvalds torva...@linux-foundation.org wrote: Also, that new drivers/mmc/host/usdhi6rol0.c driver is one f*cking noisy

Re: [PATCH v2 05/10] DMA, CMA: support arbitrary bitmap granularity

2014-06-12 Thread Minchan Kim
On Thu, Jun 12, 2014 at 03:43:55PM +0900, Joonsoo Kim wrote: On Thu, Jun 12, 2014 at 03:06:10PM +0900, Minchan Kim wrote: On Thu, Jun 12, 2014 at 12:21:42PM +0900, Joonsoo Kim wrote: ppc kvm's cma region management requires arbitrary bitmap granularity, since they want to reserve very

Re: [PATCH] perf/x86/intel: ignore CondChgd bit to avoid false NMI handling

2014-06-12 Thread HATAYAMA Daisuke
From: Peter Zijlstra pet...@infradead.org Subject: Re: [PATCH] perf/x86/intel: ignore CondChgd bit to avoid false NMI handling Date: Wed, 11 Jun 2014 10:54:48 +0200 On Wed, Jun 11, 2014 at 04:30:28PM +0900, HATAYAMA Daisuke wrote: Currently, a NMI handler for NMI watchdog may falsely handle

Re: [PATCH -mm v2 8/8] slab: make dead memcg caches discard free slabs immediately

2014-06-12 Thread Joonsoo Kim
On Thu, Jun 12, 2014 at 01:24:34AM +0400, Vladimir Davydov wrote: On Tue, Jun 10, 2014 at 07:18:34PM +0400, Vladimir Davydov wrote: On Tue, Jun 10, 2014 at 09:26:19AM -0500, Christoph Lameter wrote: On Tue, 10 Jun 2014, Vladimir Davydov wrote: Frankly, I incline to shrinking dead

Re: [PATCH] Input: evdev - Fix incorrect kfree of err_free_client after vzalloc

2014-06-12 Thread David Rientjes
On Thu, 12 Jun 2014, Yongtaek Lee wrote: This bug was introduced by commit 92eb77d (Input: evdev - fall back to vmalloc for client event buffer). vzalloc is used to alloc memory as fallback in case of failure of kzalloc. But err_free_client was not considered on below case. 1. kzalloc fail

Re: [patch 12/13] net: mac80211: Remove silly timespec dance

2014-06-12 Thread Johannes Berg
On Wed, 2014-06-11 at 23:59 +, Thomas Gleixner wrote: + msrmnt = ktime_to_ms(net_timedelta(skb_arv)); This is probably more of a question about net_timedelta(), but is ktime_get_real() really appropriate for duration measurements? Isn't that non-monotonic? johannes -- To unsubscribe

Re: [PATCH 2/2] fs: proc/stat: use usual seq_file ops rather than single_open

2014-06-12 Thread David Rientjes
On Thu, 12 Jun 2014, Ian Kent wrote: diff --git a/fs/seq_file.c b/fs/seq_file.c index 1d641bb108d2..fca78a04c0d1 100644 --- a/fs/seq_file.c +++ b/fs/seq_file.c @@ -8,8 +8,10 @@ #include linux/fs.h #include linux/export.h #include linux/seq_file.h +#include

Re: [patch 04/13] net: mac80211: Use ktime_get_ts()

2014-06-12 Thread Johannes Berg
On Wed, 2014-06-11 at 23:59 +, Thomas Gleixner wrote: do_posix_clock_monotonic_gettime() is a leftover from the initial posix timer implementation which maps to ktime_get_ts(). I didn't even know we *had* such code, heh. I've applied it to my tree - note that some code moved into

btrf stuck in iowait with latest git

2014-06-12 Thread Branimir Maksimovic
Last night I have pulled and installed latest kernel and immediateley noticed that git pull on btrfs file system is stuck. Io wait was high without noticing that there is something to wait for. Also noticed that btrfs_transactio process was stuck with 'D'. Tryed sync and that also got stuck. I

Re: [PATCH -mm v2 5/8] slub: make slab_free non-preemptable

2014-06-12 Thread Joonsoo Kim
On Fri, Jun 06, 2014 at 05:22:42PM +0400, Vladimir Davydov wrote: Since per memcg cache destruction is scheduled when the last slab is freed, to avoid use-after-free in kmem_cache_free we should either rearrange code in kmem_cache_free so that it won't dereference the cache ptr after freeing

RE: [PATCH] cpufreq: intel_pstate: Fix rounding of core_pct

2014-06-12 Thread Doug Smythies
On 2014.06.11 14:45 Rafael J. Wysocki wrote: On Wed, Jun 11, 2014 at 11:40 PM, Doug Smythies dsmyth...@telus.net wrote: Myself, I consider the issue of excessive deferred timer times to be a much higher priority (see my on-list e-mail from Monday). Correct me if I am wrong. Even without

Re: [PATCH] ACPI/Battery: Retry to get Battery information if failed during probing

2014-06-12 Thread David Rientjes
On Thu, 12 Jun 2014, Lan Tianyu wrote: Some machines'(E,G Lenovo Z480) ECs are not stable during boot up and causes battery driver fails to be probed due to failure of getting battery information from EC sometimes. After several retries, the operation will work. This patch is to retry to get

Re: Re: [PATCH ftrace/core 2/2] ftrace, kprobes: Support IPMODIFY flag to find IP modify conflict

2014-06-12 Thread Masami Hiramatsu
(2014/06/12 14:54), Namhyung Kim wrote: On Thu, 12 Jun 2014 12:29:09 +0900, Masami Hiramatsu wrote: NO, ftrace_lookup_ip() returns NULL if the hash is empty, so adding !ftrace_hash_empty() is meaningless :) Actually, here I intended to have 3 meanings for the new/old_hash arguments, - If it

Re: [PATCH] perf/x86/intel: ignore CondChgd bit to avoid false NMI handling

2014-06-12 Thread HATAYAMA Daisuke
From: Peter Zijlstra pet...@infradead.org Subject: Re: [PATCH] perf/x86/intel: ignore CondChgd bit to avoid false NMI handling Date: Wed, 11 Jun 2014 13:54:13 +0200 On Wed, Jun 11, 2014 at 10:54:48AM +0200, Peter Zijlstra wrote: I'm not sure about exact behavior of CondChgd bit, in particular

[PATCH 1/1] sony-laptop: fix doesn't work lid resume settings on Vaio Pro

2014-06-12 Thread mog422
Signed-off-by: mog422 ad...@mog422.net --- drivers/platform/x86/sony-laptop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/platform/x86/sony-laptop.c b/drivers/platform/x86/sony-laptop.c index 9c5a074..26ad9ff 100644 --- a/drivers/platform/x86/sony-laptop.c +++

Re: Proposal to realize hot-add *several sections one time*

2014-06-12 Thread David Rientjes
On Thu, 12 Jun 2014, Zhang Zhen wrote: % echo start_address_of_new_memory count_of_sections /sys/devices/system/memory/probe Then, [start_address_of_new_memory, start_address_of_new_memory + count_of_sections * memory_block_size] memory range is hot-added. If this proposal is

Re: [PATCH v2 05/10] DMA, CMA: support arbitrary bitmap granularity

2014-06-12 Thread Minchan Kim
On Thu, Jun 12, 2014 at 12:21:42PM +0900, Joonsoo Kim wrote: ppc kvm's cma region management requires arbitrary bitmap granularity, since they want to reserve very large memory and manage this region with bitmap that one bit for several pages to reduce management overheads. So support

Re: [PATCH v2 06/10] CMA: generalize CMA reserved area management functionality

2014-06-12 Thread Minchan Kim
On Thu, Jun 12, 2014 at 12:21:43PM +0900, Joonsoo Kim wrote: Currently, there are two users on CMA functionality, one is the DMA subsystem and the other is the kvm on powerpc. They have their own code to manage CMA reserved area even if they looks really similar. From my guess, it is caused by

[PATCH 0/2 linux-next] coding style clean up for lustre/osc/osc_dev.c

2014-06-12 Thread Honggang Li
Patches clean up coding style issue of the file: linux-next/drivers/staging/lustre/lustre/osc/osc_dev.c Honggang Li (2): lustre/osc/osc_dev.c remove space between sizeof and open parenthesis lustre/osc/osc_dev.c add a blank line after declarations drivers/staging/lustre/lustre/osc/osc_dev.c

[PATCH 2/2] lustre/osc/osc_dev.c add a blank line after declarations

2014-06-12 Thread Honggang Li
Signed-off-by: Honggang Li enjoymind...@gmail.com --- drivers/staging/lustre/lustre/osc/osc_dev.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/staging/lustre/lustre/osc/osc_dev.c b/drivers/staging/lustre/lustre/osc/osc_dev.c index 5249e66..048a5a5 100644 ---

[PATCH 1/2] lustre/osc/osc_dev.c remove space between sizeof and open parenthesis

2014-06-12 Thread Honggang Li
Signed-off-by: Honggang Li enjoymind...@gmail.com --- drivers/staging/lustre/lustre/osc/osc_dev.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/lustre/lustre/osc/osc_dev.c b/drivers/staging/lustre/lustre/osc/osc_dev.c index a7c1ec0..5249e66

Re: [PATCH v2 08/10] mm, cma: clean-up cma allocation error path

2014-06-12 Thread Minchan Kim
On Thu, Jun 12, 2014 at 12:21:45PM +0900, Joonsoo Kim wrote: We can remove one call sites for clear_cma_bitmap() if we first call it before checking error number. Signed-off-by: Joonsoo Kim iamjoonsoo@lge.com Acked-by: Minchan Kim minc...@kernel.org -- Kind regards, Minchan Kim -- To

Re: [Intel-gfx] 3.15-rc5 freeze after wakeup

2014-06-12 Thread Daniel Vetter
On Tue, Jun 10, 2014 at 10:13:33PM +0200, Belisko Marek wrote: Hi, any update on this issue? It's still present in 3.15 release. Thanks. Sorry, your mail was somehow lost in moderation, hence no reply. The WARNING backtrace is a problem, but really shouldn't cause a hard system hang. I think

Re: [GIT PULL] MMC updates for 3.16-rc1

2014-06-12 Thread Lee Jones
On Tue, 10 Jun 2014, Linus Torvalds wrote: On Tue, Jun 10, 2014 at 12:51 PM, Chris Ball ch...@printf.net wrote: These patches have been tested in linux-next, and there are three minor conflicts which I've resolved on my mmc-updates-for-3.16-rc1-merged branch. Your merged branch is

Re: [PATCH v2 09/10] mm, cma: move output param to the end of param list

2014-06-12 Thread Minchan Kim
On Thu, Jun 12, 2014 at 12:21:46PM +0900, Joonsoo Kim wrote: Conventionally, we put output param to the end of param list. cma_declare_contiguous() doesn't look like that, so change it. If you says Conventionally, I'd like to suggest one more thing. Conventionally, we put 'base' ahead 'size'

Re: [PATCH] ACPI/Battery: Retry to get Battery information if failed during probing

2014-06-12 Thread Lan Tianyu
On 2014年06月12日 14:55, David Rientjes wrote: On Thu, 12 Jun 2014, Lan Tianyu wrote: Some machines'(E,G Lenovo Z480) ECs are not stable during boot up and causes battery driver fails to be probed due to failure of getting battery information from EC sometimes. After several retries, the

Re: [PATCH] RFT: pinctrl: spear: switch plgpio to irqchip helpers

2014-06-12 Thread Linus Walleij
On Tue, Jun 3, 2014 at 6:29 AM, Viresh Kumar viresh.ku...@linaro.org wrote: On Thu, May 29, 2014 at 2:55 PM, Linus Walleij linus.wall...@linaro.org wrote: This switches the SPEAr PLGPIO driver over to using the irqchip helpers. As part of this effort, also get rid of the strange irq_base

Re: [PATCH v2 05/10] DMA, CMA: support arbitrary bitmap granularity

2014-06-12 Thread Zhang Yanfei
On 06/12/2014 03:08 PM, Minchan Kim wrote: On Thu, Jun 12, 2014 at 12:21:42PM +0900, Joonsoo Kim wrote: ppc kvm's cma region management requires arbitrary bitmap granularity, since they want to reserve very large memory and manage this region with bitmap that one bit for several pages to

Re: [PATCH] RFT: pinctrl: spear: switch plgpio to irqchip helpers

2014-06-12 Thread Viresh Kumar
On 12 June 2014 12:53, Linus Walleij linus.wall...@linaro.org wrote: Hum? If the maintainers can't maintain the thing, then maybe the machine should just be deleted? It still has some users :) I will just apply this patch then. Sure. -- To unsubscribe from this list: send the line

Re: [PATCH v2 2/4] pinctrl: Add NVIDIA Tegra XUSB pad controller support

2014-06-12 Thread Thierry Reding
On Wed, Jun 11, 2014 at 01:23:59PM -0700, Andrew Bresticker wrote: On Tue, Jun 10, 2014 at 4:11 AM, Thierry Reding thierry.red...@gmail.com wrote: [...] +static int tegra_xusb_padctl_pinconf_group_set(struct pinctrl_dev *pinctrl, + unsigned int

Re: [PATCH] ACPI/Battery: Retry to get Battery information if failed during probing

2014-06-12 Thread David Rientjes
On Thu, 12 Jun 2014, Lan Tianyu wrote: Some machines'(E,G Lenovo Z480) ECs are not stable during boot up and causes battery driver fails to be probed due to failure of getting battery information from EC sometimes. After several retries, the operation will work. This patch is to retry to

Re: [PATCH 2/2] fs: proc/stat: use usual seq_file ops rather than single_open

2014-06-12 Thread Heiko Carstens
On Wed, Jun 11, 2014 at 11:52:31PM -0700, David Rientjes wrote: On Thu, 12 Jun 2014, Ian Kent wrote: +static void seq_alloc(struct seq_file *m) +{ + m-size = PAGE_SIZE; + m-buf = kmalloc(m-size, GFP_KERNEL | __GFP_NOWARN); + if (!m-buf) +

Re: [PATCH 1/3] clk: exynos-audss: Keep the parent of mout_audss always enabled

2014-06-12 Thread Tushar Behera
On Wed, Jun 11, 2014 at 10:20 PM, Mike Turquette mturque...@linaro.org wrote: Quoting Tushar Behera (2014-06-10 22:32:17) When the output clock of AUDSS mux is disabled, we are getting kernel oops while doing a clk_get() on other clocks provided by AUDSS. Though user manual doesn't specify

Re: [stable-3.10.y] possible unsafe locking warning

2014-06-12 Thread Gu Zheng
Hi Johannes, Sorry for late. The patch works well with stable kernel-3.10.y, the warning is gone. Thank you and Tejun very much.:) Regards, Gu On 06/05/2014 09:24 PM, Johannes Weiner wrote: Hi, [cc'ing Andrew and linux-mm for patch review and inclusion] On Thu, Jun 05, 2014 at 01:44:38PM

Re: [PATCH 1/3] clk: exynos-audss: Keep the parent of mout_audss always enabled

2014-06-12 Thread Tushar Behera
On Wed, Jun 11, 2014 at 10:58 PM, Tomasz Figa tomasz.f...@gmail.com wrote: Hi Tushar, On 11.06.2014 07:32, Tushar Behera wrote: When the output clock of AUDSS mux is disabled, we are getting kernel oops while doing a clk_get() on other clocks provided by AUDSS. Though user manual doesn't

Re: [PATCH] perf/x86/intel: ignore CondChgd bit to avoid false NMI handling

2014-06-12 Thread Peter Zijlstra
On Thu, Jun 12, 2014 at 04:00:11PM +0900, HATAYAMA Daisuke wrote: Also, I checked cpuid on the system with Neharlem processor where I have never seen CondChg bit is set. [root@localhost ~]# ./cpuid -r CPU 0: 0x 0x00: eax=0x000b ebx=0x756e6547 ecx=0x6c65746e edx=0x49656e69

Re: [PATCH v2 05/10] DMA, CMA: support arbitrary bitmap granularity

2014-06-12 Thread Joonsoo Kim
On Thu, Jun 12, 2014 at 04:08:11PM +0900, Minchan Kim wrote: On Thu, Jun 12, 2014 at 12:21:42PM +0900, Joonsoo Kim wrote: ppc kvm's cma region management requires arbitrary bitmap granularity, since they want to reserve very large memory and manage this region with bitmap that one bit for

Re: [PATCH v2 06/10] CMA: generalize CMA reserved area management functionality

2014-06-12 Thread Joonsoo Kim
On Thu, Jun 12, 2014 at 04:13:11PM +0900, Minchan Kim wrote: On Thu, Jun 12, 2014 at 12:21:43PM +0900, Joonsoo Kim wrote: Currently, there are two users on CMA functionality, one is the DMA subsystem and the other is the kvm on powerpc. They have their own code to manage CMA reserved area

Re: [PATCH v2 09/10] mm, cma: move output param to the end of param list

2014-06-12 Thread Joonsoo Kim
On Thu, Jun 12, 2014 at 04:19:31PM +0900, Minchan Kim wrote: On Thu, Jun 12, 2014 at 12:21:46PM +0900, Joonsoo Kim wrote: Conventionally, we put output param to the end of param list. cma_declare_contiguous() doesn't look like that, so change it. If you says Conventionally, I'd like to

Re: kmemleak: Unable to handle kernel paging request

2014-06-12 Thread Denis Kirjanov
On 6/12/14, Catalin Marinas catalin.mari...@arm.com wrote: On 11 Jun 2014, at 21:04, Denis Kirjanov k...@linux-powerpc.org wrote: On 6/11/14, Catalin Marinas catalin.mari...@arm.com wrote: On Wed, Jun 11, 2014 at 04:13:07PM +0400, Denis Kirjanov wrote: I got a trace while running

Re: [PATCH v2 10/10] mm, cma: use spinlock instead of mutex

2014-06-12 Thread Minchan Kim
On Thu, Jun 12, 2014 at 12:21:47PM +0900, Joonsoo Kim wrote: Currently, we should take the mutex for manipulating bitmap. This job may be really simple and short so we don't need to sleep if contended. So I change it to spinlock. I'm not sure it would be good always. Maybe you remember we

Re: [PATCH 1/3] clk: exynos-audss: Keep the parent of mout_audss always enabled

2014-06-12 Thread Tushar Behera
On Wed, Jun 11, 2014 at 10:20 PM, Kevin Hilman khil...@linaro.org wrote: Tushar Behera tusha...@samsung.com writes: When the output clock of AUDSS mux is disabled, we are getting kernel oops while doing a clk_get() on other clocks provided by AUDSS. Though user manual doesn't specify this

Re: [PATCH 06/22] staging: rtl8188eu: Instead of intf_hdl pass adapter in read write functions

2014-06-12 Thread Dan Carpenter
On Wed, Jun 11, 2014 at 10:51:25PM +0530, navin patidar wrote: diff --git a/drivers/staging/rtl8188eu/core/rtw_io.c b/drivers/staging/rtl8188eu/core/rtw_io.c index a0a31e6..85306bf 100644 --- a/drivers/staging/rtl8188eu/core/rtw_io.c +++ b/drivers/staging/rtl8188eu/core/rtw_io.c @@ -57,10

RE: [PATCH] clocksource: arch_arm_timer: Fix timecounter initialization

2014-06-12 Thread li.xi...@freescale.com
drivers/clocksource/arm_arch_timer.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/clocksource/arm_arch_timer.c b/drivers/clocksource/arm_arch_timer.c index 5163ec1..6c3cfd8 100644 --- a/drivers/clocksource/arm_arch_timer.c +++

Re: [PATCH v2 RESEND 2/2] mem-hotplug: Introduce MMOP_OFFLINE to replace the hard coding -1.

2014-06-12 Thread Tang Chen
Hi all, Would you please help to review these two patches ? Thanks. On 06/06/2014 01:33 PM, Tang Chen wrote: In store_mem_state(), we have: .. 334 else if (!strncmp(buf, offline, min_t(int, count, 7))) 335 online_type = -1; .. 355 case -1: 356

Re: [PATCH v3 1/1] pinctrl: baytrail: Warn if direct IRQ GPIO set to output

2014-06-12 Thread Linus Walleij
On Wed, Jun 4, 2014 at 12:25 AM, eric.er...@linux.intel.com wrote: From: Eric Ernst eric.er...@linux.intel.com For Baytrail, you should never set a GPIO set to direct_irq to output mode. When direct_irq_en is set for a GPIO, it is tied directly to an APIC internally, and making the pad

Re: [PATCH v2 10/10] mm, cma: use spinlock instead of mutex

2014-06-12 Thread Joonsoo Kim
On Thu, Jun 12, 2014 at 04:40:29PM +0900, Minchan Kim wrote: On Thu, Jun 12, 2014 at 12:21:47PM +0900, Joonsoo Kim wrote: Currently, we should take the mutex for manipulating bitmap. This job may be really simple and short so we don't need to sleep if contended. So I change it to spinlock.

Re: [PATCH] i2c: Make I2C ID tables non-mandatory for DT'ed and/or ACPI'ed devices

2014-06-12 Thread Linus Walleij
On Wed, Jun 4, 2014 at 8:09 AM, Michael Lawnick ml.lawn...@gmx.de wrote: Am 03.06.2014 13:18, schrieb Linus Walleij: On Mon, Jun 2, 2014 at 4:29 PM, Michael Lawnick ml.lawn...@gmx.de wrote: Am 02.06.2014 14:16, schrieb Linus Walleij: Is this really so useful on embedded systems? I was

RE: genirq: Provide !SMP stub for irq_set_affinity_notifier()

2014-06-12 Thread Eyal Perry
Hello Greg, The commit I refer is now in the net-next tree, see there these two: 9e311e7 net/mlx4_en: Use affinity hint da91309 cpumask: Utility function to set n'th cpu - local cpu first As of other issues both were accepted and later reverted, but are now back and will be pushed by Dave

Re: Disable bus's drivers_autoprobe before rootfs has mounted

2014-06-12 Thread Peter Chen
On Wed, Jun 11, 2014 at 03:27:13PM -0400, Alan Stern wrote: On Wed, 11 Jun 2014, Greg KH wrote: We can't break existing systems, so I don't understand the issue here. Just don't configure your kernel for a system you don't have / want, right? From what I read code, we can't

Re: [PATCH v2] sctp: Fix sk_ack_backlog wrap-around problem

2014-06-12 Thread Daniel Borkmann
On 06/12/2014 04:53 AM, Xufeng Zhang wrote: Consider the scenario: For a TCP-style socket, while processing the COOKIE_ECHO chunk in sctp_sf_do_5_1D_ce(), after it has passed a series of sanity check, a new association would be created in sctp_unpack_cookie(), but afterwards, some processing

Re: [PATCH v2] powerpc: Avoid circular dependency with zImage.%

2014-06-12 Thread Michal Marek
Dne 12.6.2014 04:07, Mike Qiu napsal(a): This v2 patch is good, Tested-by: Mike Qiu qiud...@linux.vnet.ibm.com Thanks. In kbuild.git it goes. Michal -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo

Re: [PATCH v2 01/10] DMA, CMA: clean-up log message

2014-06-12 Thread Zhang Yanfei
On 06/12/2014 11:21 AM, Joonsoo Kim wrote: We don't need explicit 'CMA:' prefix, since we already define prefix 'cma:' in pr_fmt. So remove it. And, some logs print function name and others doesn't. This looks bad to me, so I unify log format to print function name consistently. Lastly, I

Re: [PATCH] ACPI/Battery: Retry to get Battery information if failed during probing

2014-06-12 Thread Lan Tianyu
On 2014年06月12日 15:26, David Rientjes wrote: On Thu, 12 Jun 2014, Lan Tianyu wrote: Some machines'(E,G Lenovo Z480) ECs are not stable during boot up and causes battery driver fails to be probed due to failure of getting battery information from EC sometimes. After several retries, the

Re: [PATCH v11 14/16] pvqspinlock: Add qspinlock para-virtualization support

2014-06-12 Thread Peter Zijlstra
On Fri, May 30, 2014 at 11:44:00AM -0400, Waiman Long wrote: @@ -19,13 +19,46 @@ extern struct static_key virt_unfairlocks_enabled; * that the clearing the lock bit is done ASAP without artificial delay * due to compiler optimization. */ +#ifdef CONFIG_PARAVIRT_SPINLOCKS +static

[GIT PULL] MFD changes due for v3.16 (mk2)

2014-06-12 Thread Lee Jones
Hi Linus, I missed collecting these patches due to a branch/tag naming ambiguity. Completely my own fault, as I mindlessly named a branch and tag identically. Sorry for the fuss. The following changes since commit 455c6fdbd219161bd09b1165f11699d6d73de11c: Linux 3.14 (2014-03-30 20:40:15

Re: [PATCH 2/2] gpio: of: Allow -gpio suffix for property names

2014-06-12 Thread Linus Walleij
On Tue, Jun 3, 2014 at 1:14 AM, Tony Lindgren t...@atomide.com wrote: Looks like something like below fixes the issue. Regards, Tony 8 --- From: Tony Lindgren t...@atomide.com Date: Mon, 2 Jun 2014 16:13:46 -0700 Subject: [PATCH] gpio: of: Fix handling for deferred

Re: [PATCH] powerpc, kexec: Fix Processor X is stuck issue during kexec from ST mode

2014-06-12 Thread Srivatsa S. Bhat
Hi Joel, On 06/12/2014 12:09 PM, Joel Stanley wrote: Hi Srivatsa, On Sat, Jun 7, 2014 at 7:16 AM, Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com wrote: And with the following hunk added (which I had forgotten earlier), it worked just fine on powernv :-) How are the patches coming

[PATCH] phy: Fix typo in drivers/phy/phy-exynos5250-sata.c module which fixes the build

2014-06-12 Thread Guillaume Gardet
Hi, please find in attachment a patch which fixes a typo in drivers/phy/phy-exynos5250-sata.c module license. It fixes the following build error: FATAL: modpost: GPL-incompatible module phy-exynos5250-sata.ko uses GPL-only symbol 'platform_driver_unregister' Please keep me in CC since I am

Re: [PATCH 2/2] fs: proc/stat: use usual seq_file ops rather than single_open

2014-06-12 Thread Heiko Carstens
On Thu, Jun 12, 2014 at 09:27:41AM +0200, Heiko Carstens wrote: On Wed, Jun 11, 2014 at 11:52:31PM -0700, David Rientjes wrote: On Thu, 12 Jun 2014, Ian Kent wrote: +static void seq_alloc(struct seq_file *m) +{ + m-size = PAGE_SIZE; + m-buf = kmalloc(m-size,

Re: [patch 12/13] net: mac80211: Remove silly timespec dance

2014-06-12 Thread Thomas Gleixner
On Thu, 12 Jun 2014, Johannes Berg wrote: On Wed, 2014-06-11 at 23:59 +, Thomas Gleixner wrote: + msrmnt = ktime_to_ms(net_timedelta(skb_arv)); This is probably more of a question about net_timedelta(), but is ktime_get_real() really appropriate for duration measurements? Isn't

Re: [PATCH v2 02/10] DMA, CMA: fix possible memory leak

2014-06-12 Thread Zhang Yanfei
On 06/12/2014 02:02 PM, Joonsoo Kim wrote: On Thu, Jun 12, 2014 at 02:25:43PM +0900, Minchan Kim wrote: On Thu, Jun 12, 2014 at 12:21:39PM +0900, Joonsoo Kim wrote: We should free memory for bitmap when we find zone mis-match, otherwise this memory will leak. Then, -stable stuff? I don't

Re: [RFC PATCH 09/10] mm, compaction: try to capture the just-created high-order freepage

2014-06-12 Thread Vlastimil Babka
On 06/12/2014 04:20 AM, Minchan Kim wrote: On Wed, Jun 11, 2014 at 04:56:49PM +0200, Vlastimil Babka wrote: On 06/09/2014 11:26 AM, Vlastimil Babka wrote: Compaction uses watermark checking to determine if it succeeded in creating a high-order free page. My testing has shown that this is quite

Re: console: lockup on boot

2014-06-12 Thread Jan Kara
On Wed 11-06-14 23:07:04, Sasha Levin wrote: On 06/11/2014 05:31 PM, Jan Kara wrote: On Wed 11-06-14 22:34:36, Jan Kara wrote: On Wed 11-06-14 10:55:55, Sasha Levin wrote: On 06/10/2014 11:59 AM, Peter Hurley wrote: On 06/06/2014 03:05 PM, Sasha Levin wrote: On 05/30/2014 10:07

Re: [PATCH v2 05/10] DMA, CMA: support arbitrary bitmap granularity

2014-06-12 Thread Zhang Yanfei
On 06/12/2014 11:21 AM, Joonsoo Kim wrote: ppc kvm's cma region management requires arbitrary bitmap granularity, since they want to reserve very large memory and manage this region with bitmap that one bit for several pages to reduce management overheads. So support arbitrary bitmap

Re: Disable bus's drivers_autoprobe before rootfs has mounted

2014-06-12 Thread Peter Chen
On Wed, Jun 11, 2014 at 02:36:27PM -0500, Felipe Balbi wrote: On Wed, Jun 11, 2014 at 11:29:57AM +0800, Peter Chen wrote: On Tue, Jun 10, 2014 at 11:35:07PM -0500, Felipe Balbi wrote: Hi, On Tue, Jun 10, 2014 at 09:10:00PM -0700, Greg KH wrote: Let's take USB peripheral as an

[GIT PULL] Backlight changes due for v3.16

2014-06-12 Thread Lee Jones
Hi Linus, The following changes since commit d1db0eea852497762cab43b905b879dfcd3b8987: Linux 3.15-rc3 (2014-04-27 19:29:27 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/lee/backlight.git tags/backlight-for-linus-3.16 for you to fetch changes

Re: [PATCH v2 06/10] CMA: generalize CMA reserved area management functionality

2014-06-12 Thread Zhang Yanfei
On 06/12/2014 11:21 AM, Joonsoo Kim wrote: Currently, there are two users on CMA functionality, one is the DMA subsystem and the other is the kvm on powerpc. They have their own code to manage CMA reserved area even if they looks really similar. From my guess, it is caused by some needs on

Re: [PATCH v2 08/10] mm, cma: clean-up cma allocation error path

2014-06-12 Thread Zhang Yanfei
On 06/12/2014 11:21 AM, Joonsoo Kim wrote: We can remove one call sites for clear_cma_bitmap() if we first call it before checking error number. Signed-off-by: Joonsoo Kim iamjoonsoo@lge.com Reviewed-by: Zhang Yanfei zhangyan...@cn.fujitsu.com diff --git a/mm/cma.c b/mm/cma.c index

Re: [PATCH] HID: rmi: Protect PM-only functions by #ifdef CONFIG_PM

2014-06-12 Thread Jiri Kosina
On Wed, 11 Jun 2014, Geert Uytterhoeven wrote: If CONFIG_PM=n: drivers/hid/hid-rmi.c:432: warning: ‘rmi_post_reset’ defined but not used drivers/hid/hid-rmi.c:437: warning: ‘rmi_post_resume’ defined but not used Signed-off-by: Geert Uytterhoeven ge...@linux-m68k.org ---

[patch V2] wireless: mwifiex: Use the proper interfaces

2014-06-12 Thread Thomas Gleixner
Why is converting time formats so desired if there are proper interfaces for this? Signed-off-by: Thomas Gleixner t...@linutronix.de Acked-by: Bing Zhao bz...@marvell.com Cc: John W. Linville linvi...@tuxdriver.com Cc: linux-wirel...@vger.kernel.org --- drivers/net/wireless/mwifiex/cfg80211.c |

Re: [PATCH] x86,build: Fix make -jN modules_install install

2014-06-12 Thread Michal Marek
Dne 11.6.2014 21:41, Andy Lutomirski napsal(a): Every few months, I forget why I type: $ sudo make -j12 modules_install sudo make -j12 install instead of just: $ sudo make -j12 modules_install install I try the latter, it appears to work, and then my machine won't boot because

Re: [PATCH v2 0/5] APEI: Make APEI architecture independent.

2014-06-12 Thread Tomasz Nowicki
Hi, I would like to kindly remind and request for comments on this patches. Regards, Tomasz On 28.05.2014 09:39, Tomasz Nowicki wrote: APEI is currently implemented so that it depends on x86 hardware. The primary dependency is that GHES uses the x86 NMI for hardware error notification and MCE

net_timedelta() affected by settimeofday() (was: [patch 12/13] net: mac80211: Remove silly timespec dance)

2014-06-12 Thread Johannes Berg
+netdev, Stephen On Thu, 2014-06-12 at 10:19 +0200, Thomas Gleixner wrote: On Thu, 12 Jun 2014, Johannes Berg wrote: On Wed, 2014-06-11 at 23:59 +, Thomas Gleixner wrote: + msrmnt = ktime_to_ms(net_timedelta(skb_arv)); This is probably more of a question about net_timedelta(),

Re: [PATCH] phy: Fix typo in drivers/phy/phy-exynos5250-sata.c module which fixes the build

2014-06-12 Thread Sachin Kamat
Hi Guillaume, On Thu, Jun 12, 2014 at 1:48 PM, Guillaume Gardet guillaume.gar...@free.fr wrote: Hi, please find in attachment a patch which fixes a typo in drivers/phy/phy-exynos5250-sata.c module license. It fixes the following build error: FATAL: modpost: GPL-incompatible module

Re: [PATCH] Input: st-keyscan - Protect PM-only functions by #ifdef CONFIG_PM_SLEEP

2014-06-12 Thread Gabriel Fernandez
Thanks Geert Acked-by : Gabriel Fernandez gabriel.fernan...@linaro.org Best Regards On 06/11/2014 09:04 PM, Geert Uytterhoeven wrote: If CONFIG_PM_SLEEP=n: drivers/input/keyboard/st-keyscan.c:219: warning: ‘keyscan_suspend’ defined but not used drivers/input/keyboard/st-keyscan.c:236:

[PATCH] ALSA: compress: Cancel the optimization of compiler and fix the size of struct for all platform.

2014-06-12 Thread Wang, Xiaoming
Cancel the optimization of compiler for struct snd_compr_avail which size will be 0x1c in 32bit kernel while 0x20 in 64bit kernel under the optimizer. That will make compaction between 32bit and 64bit. So add packed to fix the size of struct snd_compr_avail to 0x1c for all platform.

Re: [patch V2] wireless: mwifiex: Use the proper interfaces

2014-06-12 Thread Johannes Berg
On Thu, 2014-06-12 at 10:31 +0200, Thomas Gleixner wrote: + u32 queue_delay = ktime_to_ms(net_timedelta(skb-tstamp)); FWIW, I think the same as patch 12 applies here. net_timedelta() doesn't really seem to be a good way to calculate time deltas. And yes - I've seen situations where this

Re: net_timedelta() affected by settimeofday() (was: [patch 12/13] net: mac80211: Remove silly timespec dance)

2014-06-12 Thread Johannes Berg
On Thu, 2014-06-12 at 10:35 +0200, Johannes Berg wrote: +netdev, Stephen Well, stupid me. Fixing that netdev address. On Thu, 2014-06-12 at 10:19 +0200, Thomas Gleixner wrote: On Thu, 12 Jun 2014, Johannes Berg wrote: On Wed, 2014-06-11 at 23:59 +, Thomas Gleixner wrote: +

Re: [PATCH v2] Fix get ERESTARTSYS with m32 in x86_64 when debug by GDB

2014-06-12 Thread Hui Zhu
Ping. Thanks, Hui On Mon, May 5, 2014 at 8:00 PM, Hui Zhu h...@codesourcery.com wrote: cat gdb.base/interrupt.c #include errno.h #include stdio.h #include unistd.h #include stdlib.h #ifdef SIGNALS #include signal.h static void sigint_handler (int signo) { } #endif int main () {

  1   2   3   4   5   6   7   8   9   10   >