Re: [PATCH 2/5] power: max17040_battery: Use dev_pm_ops

2013-03-12 Thread Minkyu Kang
On 10/03/13 22:34, Lars-Peter Clausen wrote: Use dev_pm_ops instead of the deprecated legacy suspend/resume callbacks. Cc: Minkyu Kang mk7.k...@samsung.com Signed-off-by: Lars-Peter Clausen l...@metafoo.de --- drivers/power/max17040_battery.c | 21 - 1 file changed, 12

Re: [PATCH] sched: wakeup buddy

2013-03-12 Thread Michael Wang
On 03/11/2013 05:40 PM, Ingo Molnar wrote: * Michael Wang wang...@linux.vnet.ibm.com wrote: Hi, Ingo On 03/11/2013 04:21 PM, Ingo Molnar wrote: [snip] I have actually written the prctl() approach before, for instrumentation purposes, and it does wonders to system analysis. The idea

Re: workqueue panic in 3.4 kernel

2013-03-12 Thread Lei Wen
On Tue, Mar 12, 2013 at 1:40 PM, Tejun Heo t...@kernel.org wrote: On Tue, Mar 12, 2013 at 01:34:56PM +0800, Lei Wen wrote: Memory areas aren't always zero on allocation. Shouldn't work structure be allocated with kzalloc? It's not required to. work_struct can also be on stack. It's init

Re: [PATCH 2/2] cpufreq: cpufreq-cpu0: provide compatibility string for DT matchup

2013-03-12 Thread Santosh Shilimkar
On Tuesday 12 March 2013 04:35 AM, Nishanth Menon wrote: commit 5553f9e (cpufreq: instantiate cpufreq-cpu0 as a platform_driver) now forces platform device to be registered for allowing cpufreq-cpu0 to be used by SoCs. example: drivers/cpufreq/highbank-cpufreq.c However, for SoCs that wish

[GIT][KEYS] fix race with concurrent install_user_keyrings()

2013-03-12 Thread James Morris
Please apply. The following changes since commit 7c6baa304b841673d3a55ea4fcf9a5cbf7a1674b: Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip (2013-03-11 07:54:29 -0700) are available in the git repository at:

[git pull] drm nouveau fixes

2013-03-12 Thread Dave Airlie
Hi Linus, this is just nouveau fixes from Ben, one fixes a nasty oops that some Fedora people have been seeing, so I'd like to get it out of the way. Dave. The following changes since commit f6161aa153581da4a3867a2d1a7caf4be19b6ec9: Linux 3.9-rc2 (2013-03-10 16:54:19 -0700) are available

Re: workqueue panic in 3.4 kernel

2013-03-12 Thread Tejun Heo
On Tue, Mar 12, 2013 at 02:01:16PM +0800, Lei Wen wrote: I see... How about only check those workqueue structure not on stack? For current onstack usage is rare, and should be easier to check with. No, kzalloc is not required. The memory area can come from any source. If you're interested in

Re: torrent hash failures since 3.9.0-rc1

2013-03-12 Thread Markus Trippelsdorf
On 2013.03.11 at 23:30 -0400, Theodore Ts'o wrote: On Tue, Mar 12, 2013 at 11:00:58AM +0800, Zheng Liu wrote: Thanks for reporting this problem. My deepest apologies. As Ted suggested, could you please try to use ext4 git tree? I want to make sure whether this bug has been fixed by

Re: linux-next: manual merge of the akpm tree with the arm-soc tree

2013-03-12 Thread Andrew Lunn
On Tue, Mar 12, 2013 at 02:47:14PM +1100, Stephen Rothwell wrote: Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in drivers/rtc/rtc-mv.c between commit 89c58c198b25 (rtc: rtc-mv: Add support for clk to avoid lockups) from the arm-soc tree and commit rtc: rtc-mv: use

Re: torrent hash failures since 3.9.0-rc1

2013-03-12 Thread Zheng Liu
On Tue, Mar 12, 2013 at 07:16:24AM +0100, Markus Trippelsdorf wrote: On 2013.03.11 at 23:30 -0400, Theodore Ts'o wrote: On Tue, Mar 12, 2013 at 11:00:58AM +0800, Zheng Liu wrote: Thanks for reporting this problem. My deepest apologies. As Ted suggested, could you please try to

[BUG] potential deadlock led by cpu_hotplug lock (memcg involved)

2013-03-12 Thread Li Zefan
Seems a new bug in 3.9 kernel? [ 207.271924] == [ 207.271932] [ INFO: possible circular locking dependency detected ] [ 207.271942] 3.9.0-rc1-0.7-default+ #34 Not tainted [ 207.271948] ---

Re: workqueue panic in 3.4 kernel

2013-03-12 Thread Lei Wen
On Tue, Mar 12, 2013 at 2:13 PM, Tejun Heo t...@kernel.org wrote: On Tue, Mar 12, 2013 at 02:01:16PM +0800, Lei Wen wrote: I see... How about only check those workqueue structure not on stack? For current onstack usage is rare, and should be easier to check with. No, kzalloc is not required.

Re: [PATCH 11/12] rwsem: wake all readers when first waiter is a reader

2013-03-12 Thread Michel Lespinasse
Hi Dave, On Mon, Mar 11, 2013 at 7:36 PM, Dave Chinner da...@fromorbit.com wrote: On Sun, Mar 10, 2013 at 10:17:42PM -0700, Michel Lespinasse wrote: - since all readers are woken at once, you might see burst of direct IO operations followed by bursts of truncate operations, instead of having

Re: [PATCH v9 3/9] ARM: edma: add AM33XX support to the private EDMA API

2013-03-12 Thread Sekhar Nori
On 3/6/2013 9:45 PM, Matt Porter wrote: Adds support for parsing the TI EDMA DT data into the required EDMA private API platform data. Enables runtime PM support to initialize the EDMA hwmod. Adds AM33XX EDMA crossbar event mux support. Enables build on OMAP. Signed-off-by: Matt Porter

Re: [PATCH] aic7xxx: use kzalloc instead of kmalloc + memset

2013-03-12 Thread Silviu Popescu
On Sun, Mar 10, 2013 at 2:26 PM, Silviu-Mihai Popescu silviupopescu1...@gmail.com wrote: This replaces a call to kmalloc() followed by memset() with just one call to kzalloc(). This was found using make coccicheck. Signed-off-by: Silviu-Mihai Popescu silviupopescu1...@gmail.com ---

Re: torrent hash failures since 3.9.0-rc1

2013-03-12 Thread Markus Trippelsdorf
On 2013.03.12 at 14:44 +0800, Zheng Liu wrote: On Tue, Mar 12, 2013 at 07:16:24AM +0100, Markus Trippelsdorf wrote: On 2013.03.11 at 23:30 -0400, Theodore Ts'o wrote: On Tue, Mar 12, 2013 at 11:00:58AM +0800, Zheng Liu wrote: Thanks for reporting this problem. My deepest apologies.

Re: [PATCH] aic7xxx: fix coccicheck warnings

2013-03-12 Thread Silviu Popescu
On Sun, Mar 10, 2013 at 10:04 PM, Silviu-Mihai Popescu silviupopescu1...@gmail.com wrote: This replaces a call to kmalloc() followed by memset() with just one call to kzalloc(). Signed-off-by: Silviu-Mihai Popescu silviupopescu1...@gmail.com --- drivers/scsi/aic7xxx/aic79xx_osm.c |3 +--

[PATCH 0/8] cgroup: a bunch of cleanups

2013-03-12 Thread Li Zefan
Hi Tejun, If you're busy with other stuff, just take your time to go through those patches. 0001-cgroup-remove-cgroup_is_descentant.patch 0002-cgroup-remove-unused-variables-in-cgroup_destroy_loc.patch 0003-cgroup-hold-cgroup_mutex-before-calling-css_offline.patch

[PATCH 1/8] cgroup: remove cgroup_is_descentant()

2013-03-12 Thread Li Zefan
It was used by ns cgroup, and ns cgroup was removed long ago. Signed-off-by: Li Zefan lize...@huawei.com --- include/linux/cgroup.h | 3 --- kernel/cgroup.c| 28 2 files changed, 31 deletions(-) diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h

[PATCH 2/8] cgroup: remove unused variables in cgroup_destroy_locked()

2013-03-12 Thread Li Zefan
Signed-off-by: Li Zefan lize...@huawei.com --- kernel/cgroup.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/kernel/cgroup.c b/kernel/cgroup.c index 02b02ca..71bc33d 100644 --- a/kernel/cgroup.c +++ b/kernel/cgroup.c @@ -4347,10 +4347,8 @@ static int cgroup_destroy_locked(struct cgroup

[PATCH 3/8] cgroup: hold cgroup_mutex before calling css_offline()

2013-03-12 Thread Li Zefan
cpuset no longer nests cgroup_mutex inside cpu_hotplug lock, so we don't have to release cgroup_mutex before calling css_offline(). Signed-off-by: Li Zefan lize...@huawei.com --- Documentation/cgroups/cgroups.txt | 1 + kernel/cgroup.c | 11 +-- 2 files changed, 2

[PATCH 4/8] cgroup: don't bother to resize pid array

2013-03-12 Thread Li Zefan
When we open cgroup.procs, we'll allocate an buffer and store all tasks' tgid in it, and then duplicate entries will be stripped. If that results in a much smaller pid list, we'll re-allocate a smaller buffer. But we've already sucessfully allocated memory and reading the procs file is a short

Re: [PATCH 1/6] platform-drivers: msm: add single-wire serial bus interface (SSBI) driver

2013-03-12 Thread David Brown
Greg Kroah-Hartman gre...@linuxfoundation.org writes: +static int ssbi_wait_mask(struct msm_ssbi *ssbi, u32 set_mask, u32 clr_mask) +{ +u32 timeout = SSBI_TIMEOUT_US; +u32 val; + +while (timeout--) { +val = ssbi_readl(ssbi, SSBI2_STATUS); +if (((val

[PATCH 5/8] cgroup: remove useless code in cgroup_write_event_control()

2013-03-12 Thread Li Zefan
eventfd_poll() never returns POLLHUP. Signed-off-by: Li Zefan lize...@huawei.com --- kernel/cgroup.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/kernel/cgroup.c b/kernel/cgroup.c index 58ae040..3206137 100644 --- a/kernel/cgroup.c +++ b/kernel/cgroup.c @@ -3938,12 +3938,6 @@ static

Re: [PATCH 0/8] cgroup: a bunch of cleanups

2013-03-12 Thread Li Zefan
[PATCH 6/8] cgroup: remove unneeded includes from cgroup.h Signed-off-by: Li Zefan lize...@huawei.com --- include/linux/cgroup.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h index 7e818a3..1f75a59 100644 ---

[PATCH 7/8] cgroup: fix an almost harmless off-by-one bug

2013-03-12 Thread Li Zefan
The 3rd parameter of flex_array_prealloc() is the number of elements, not the index of the last element. The effect of the bug is, when opening cgroup.procs, a flex array will be allocated and all elements of the array is allocated with GFP_KERNEL flag, but the last one is GFP_ATOMIC, , and if we

[PATCH 8/8] cgroup: consolidate cgroup_attach_task() and cgroup_attach_proc()

2013-03-12 Thread Li Zefan
These two functions share most of the code. Signed-off-by: Li Zefan lize...@huawei.com --- include/linux/cgroup.h | 3 +- kernel/cgroup.c| 153 ++--- kernel/cpuset.c| 2 +- 3 files changed, 45 insertions(+), 113 deletions(-) diff

Re: [PATCH v9 5/9] dmaengine: edma: Add TI EDMA device tree binding

2013-03-12 Thread Sekhar Nori
On 3/6/2013 9:45 PM, Matt Porter wrote: The binding definition is based on the generic DMA controller binding. Signed-off-by: Matt Porter mpor...@ti.com Okay the bindings the documented after they are used leading to some confusion. This patch should be moved up the series. As I noted in my

[PATCH 6/8] cgroup: remove unneeded includes from cgroup.h

2013-03-12 Thread Li Zefan
Signed-off-by: Li Zefan lize...@huawei.com --- include/linux/cgroup.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h index 7e818a3..1f75a59 100644 --- a/include/linux/cgroup.h +++ b/include/linux/cgroup.h @@ -9,11 +9,8 @@

Re: torrent hash failures since 3.9.0-rc1

2013-03-12 Thread Zheng Liu
On Tue, Mar 12, 2013 at 07:48:10AM +0100, Markus Trippelsdorf wrote: On 2013.03.12 at 14:44 +0800, Zheng Liu wrote: On Tue, Mar 12, 2013 at 07:16:24AM +0100, Markus Trippelsdorf wrote: On 2013.03.11 at 23:30 -0400, Theodore Ts'o wrote: On Tue, Mar 12, 2013 at 11:00:58AM +0800, Zheng Liu

Re: [PATCH] [media] soc_camera: remove two outdated selects

2013-03-12 Thread Guennadi Liakhovetski
Hi Paul On Mon, 11 Mar 2013, Paul Bolle wrote: Release v2.6.30 removed the MT9M001_PCA9536_SWITCH and MT9V022_PCA9536_SWITCH Kconfig symbols, in commits 36034dc325ecab63c8cfb992fbf9a1a8e94738a2 (V4L/DVB (11032): mt9m001: allow setting of bus width from board code) and

Re: [PATCH v2] s390: use kcalloc instead of kmalloc and memset

2013-03-12 Thread Heiko Carstens
On Mon, Mar 11, 2013 at 06:22:10PM +0200, Stelian Nirlu wrote: Signed-off-by: Stelian Nirlu stelianni...@gmail.com --- arch/s390/net/bpf_jit_comp.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/s390/net/bpf_jit_comp.c b/arch/s390/net/bpf_jit_comp.c index

For review: pid_namespaces(7) man page (draft 2)

2013-03-12 Thread Michael Kerrisk (man-pages)
Eric et al., [CCing Li because of reboot(2) changes] I have (I think) addressed all previous comments in the current draft of the pid_namespaces(7) page. This is a final sanity check before I call this page complete (modulo any future kernel changes). The attached page aims to provide a fairly

Re: Documenting reboot(2) changes for PID namespace in 3.9

2013-03-12 Thread Eric W. Biederman
Michael Kerrisk (man-pages) mtk.manpa...@gmail.com writes: Li, Regarding your commit 923c7538236564c46ee80c253a416705321f13e3 , I plan to apply the following patch to the reboot(2) manual page. Does it look okay to you? You have documented the behavior as of 3.4. The change in 3.9 is to

Re: [PATCH 10/18] driver: s390: block: remove cast for kzalloc return value

2013-03-12 Thread Heiko Carstens
On Tue, Mar 12, 2013 at 01:18:47PM +0800, Zhang Yanfei wrote: remove cast for kzalloc return value. [...] diff --git a/drivers/s390/block/dasd_devmap.c b/drivers/s390/block/dasd_devmap.c index c196827..a71bb8a 100644 --- a/drivers/s390/block/dasd_devmap.c +++

Re: [PATCH 11/18] driver: s390: net: remove cast for kzalloc return value

2013-03-12 Thread Heiko Carstens
On Tue, Mar 12, 2013 at 01:22:40PM +0800, Zhang Yanfei wrote: remove cast for kzalloc return value. Signed-off-by: Zhang Yanfei zhangyan...@cn.fujitsu.com drivers/s390/net/qeth_core_main.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[PATCH v2] pci: convert to devm_ioremap_resource()

2013-03-12 Thread Silviu-Mihai Popescu
Convert all uses of devm_request_and_ioremap() to the newly introduced devm_ioremap_resource() which provides more consistent error handling. devm_ioremap_resource() provides its own error messages so all explicit error messages can be removed from the failure code paths. Signed-off-by:

Re: [PATCH] ALSA: asihpi - fix potential NULL pointer dereference

2013-03-12 Thread Takashi Iwai
At Tue, 12 Mar 2013 00:16:40 +0800, Wei Yongjun wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn The dereference should be moved below the NULL test. Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn Applied now. Thanks. Takashi --- sound/pci/asihpi/asihpi.c | 3 ++-

Re: [PATCH][RESEND] Add a USB audio quirk for the NuForce UDH-100 device.

2013-03-12 Thread Takashi Iwai
At Mon, 11 Mar 2013 20:15:34 +0100, Clemens Ladisch wrote: David Helstroom wrote: Interface 1 does not exist Please try the patch below. Since the patch seems working, I merge it now. thanks, Takashi Regards, Clemens

[RFC v7 02/11] add vrange basic data structure and functions

2013-03-12 Thread Minchan Kim
This patch adds vrange data structure(interval tree) and related functions. The vrange uses generic interval tree as main data structure because it handles address range so generic interval tree fits well for the purpose. The add_vrange/remove_vrange are core functions for system call will be

[RFC v7 11/11] add purged page information in vmstat

2013-03-12 Thread Minchan Kim
This patch adds vmstat information about discarded page in vrange so admin can see how many of volatile pages are discarded by VM and efficieny. it could be indicator for seeing vrange working well. PG_VRANGE_SCAN : the number of scanned pages for discarding PG_VRANGE_DISCARD: the number of

[RFC v7 08/11] add LRU handling for victim vrange

2013-03-12 Thread Minchan Kim
This patch adds LRU data structure for selecting victim vrange when memory pressure happens. Basically, VM will select old vrange but if user try to access purged page recenlty, the vrange includes the page will be activated because page fault means one of them which user process will be killed

[RFC v7 07/11] keep mm_struct to vrange when system call context

2013-03-12 Thread Minchan Kim
We need mm_struct for discarding vrange pages in kswapd context. It's a preparatoin for it. Signed-off-by: Minchan Kim minc...@kernel.org --- include/linux/vrange.h | 1 + mm/vrange.c| 20 +++- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git

[RFC v7 10/11] Purging vrange pages without swap

2013-03-12 Thread Minchan Kim
Now one of problem in vrange is VM reclaim anonymous pages if only there is a swap system. This patch adds new hook in kswapd where above scanning normal LRU pages. This patch discards all of pages of vmas in vrange without considering VRANGE_[FULL|PARTIAL]_MODE, which will be considered in

[RFC v7 01/11] vrange: enable generic interval tree

2013-03-12 Thread Minchan Kim
Anon vrange patch will use generic interval tree so let's enable it. Cc: Michel Lespinasse wal...@google.com Signed-off-by: Minchan Kim minc...@kernel.org --- lib/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Makefile b/lib/Makefile index d7946ff..17986fb

[RFC v7 09/11] Get rid of depenceny that all pages is from a zone in shrink_page_list

2013-03-12 Thread Minchan Kim
Now shrink_page_list expect all pages come from a same zone but it's too limited to use it. This patch removes the dependency and add may_discard in scan_control so next patch can use shrink_page_list with pages from multiple zonnes. Signed-off-by: Minchan Kim minc...@kernel.org --- mm/vmscan.c

[RFC v7 06/11] send SIGBUS when user try to access purged page

2013-03-12 Thread Minchan Kim
By vrange(2) semantic, user should see SIGBUG if he try to access purged page without vrange(...VRANGE_NOVOLATILE). This patch implements it. I reused PSE bit for quick prototype without enough considering so need time to see what's empty bit and I am surely missing many places to handle vrange

[RFC v7 05/11] Add purge operation

2013-03-12 Thread Minchan Kim
This patch adds discarding function part. Logic is following as. 1. Memory pressure happens 2. VM start to reclaim anonymous page if system has a swap device 3. Check the page is in volatile range. 4. If so, zap the page from the process's page table. (By sematic vrange(2), we should mark it

[RFC v7 00/11] Support vrange for anonymous page

2013-03-12 Thread Minchan Kim
First of all, let's define the term. From now on, I'd like to call it as vrange(a.k.a volatile range) for anonymous page. If you have a better name in mind, please suggest. This version is still *RFC* because it's just quick prototype so it doesn't support THP/HugeTLB/KSM and even couldn't build

[RFC v7 04/11] add proc/pid/vrange information

2013-03-12 Thread Minchan Kim
Add vrange per perocess information. It would help debugging. Signed-off-by: Minchan Kim minc...@kernel.org --- fs/proc/base.c | 1 + fs/proc/internal.h | 6 +++ fs/proc/task_mmu.c | 129 + mm/vrange.c| 2 +- 4 files changed,

[RFC v7 03/11] add new system call vrange(2)

2013-03-12 Thread Minchan Kim
This patch adds new system call sys_vrange. NAME vrange - give pin/unpin hint for kernel to help reclaim. SYNOPSIS int vrange(unsigned_long start, size_t length, int mode, int behavior); DESCRIPTOIN Applications can use vrange(2) to advise the kernel how it should

[PATCH] ethernet: amd: use PTR_RET instead of IS_ERR + PTR_ERR

2013-03-12 Thread Silviu-Mihai Popescu
This uses PTR_RET instead of IS_ERR and PTR_ERR in order to increase readability. Signed-off-by: Silviu-Mihai Popescu silviupopescu1...@gmail.com --- drivers/net/ethernet/amd/atarilance.c |4 +--- drivers/net/ethernet/amd/mvme147.c|4 +--- drivers/net/ethernet/amd/ni65.c |2

Re: [PATCH 1/2] cpufreq: cpufreq-cpu0: support for clock which are not in DT yet.

2013-03-12 Thread Shawn Guo
On Mon, Mar 11, 2013 at 06:05:29PM -0500, Nishanth Menon wrote: On certain SoCs like variants of OMAP, the clock conversion to DT is not complete. In short, the ability to: cpus { cpu@0 { clocks = cpuclk 0; }; }; is not possible. However, the clock node is registered. Allow

Re: [PATCH] sh: remove references to CPU_SUBTYPE_SH7764

2013-03-12 Thread Paul Mundt
On Mon, Mar 11, 2013 at 12:55:40PM +0100, Paul Bolle wrote: Since release v2.6.29 the tree has a few references to the Kconfig symbol CPU_SUBTYPE_SH7764 and the Kconfig macro CONFIG_CPU_SUBTYPE_SH7764. But the actual symbol CPU_SUBTYPE_SH7764 was never added to the tree. Perhaps no one noticed

Re: [PATCH 2/2] cpufreq: cpufreq-cpu0: provide compatibility string for DT matchup

2013-03-12 Thread Shawn Guo
Copied devicetree-discuss list. On Mon, Mar 11, 2013 at 06:05:30PM -0500, Nishanth Menon wrote: commit 5553f9e (cpufreq: instantiate cpufreq-cpu0 as a platform_driver) now forces platform device to be registered for allowing cpufreq-cpu0 to be used by SoCs. example:

[PATCH] mach_omap2: use PTR_RET instead of IS_ERR + PTR_ERR

2013-03-12 Thread Silviu-Mihai Popescu
This uses PTR_RET instead of IS_ERR and PTR_ERR in order to increase readability. Signed-off-by: Silviu-Mihai Popescu silviupopescu1...@gmail.com --- arch/arm/mach-omap2/devices.c |4 ++-- arch/arm/mach-omap2/fb.c |5 + arch/arm/mach-omap2/gpmc.c|2 +-

Re: [PATCH -tip ] [BUGFIX] kprobes: Move hash_64() into .text.kprobe section

2013-03-12 Thread Ingo Molnar
* Masami Hiramatsu masami.hiramatsu...@hitachi.com wrote: Beacuse hash_64() is called from the get_kprobe() inside int3 handler, kernel causes int3 recursion and crashes if kprobes user puts a probe on it. Usually hash_64() is inlined into caller function, but in some cases, it has

Re: [PATCH] omap: convert to devm_ioremap_resource()

2013-03-12 Thread Peter Ujfalusi
Hi, On 03/11/2013 04:58 PM, Silviu-Mihai Popescu wrote: Convert all uses of devm_request_and_ioremap() to the newly introduced devm_ioremap_resource() which provides more consistent error handling. devm_ioremap_resource() provides its own error messages so all explicit error messages can be

Re: [PATCH -tip ] [BUGFIX] kprobes: Move hash_64() into .text.kprobe section

2013-03-12 Thread Ingo Molnar
* Masami Hiramatsu masami.hiramatsu...@hitachi.com wrote: @@ -31,7 +32,7 @@ #error Wordsize not 32 or 64 #endif -static inline u64 hash_64(u64 val, unsigned int bits) +static __kprobes inline u64 hash_64(u64 val, unsigned int bits) { u64 hash = val; We should also, really,

Re: [PATCH] omap: convert to devm_ioremap_resource()

2013-03-12 Thread Silviu Popescu
On Tue, Mar 12, 2013 at 10:16 AM, Peter Ujfalusi peter.ujfal...@ti.com wrote: Hi, On 03/11/2013 04:58 PM, Silviu-Mihai Popescu wrote: Convert all uses of devm_request_and_ioremap() to the newly introduced devm_ioremap_resource() which provides more consistent error handling.

Re: [PATCH v3] fat: editions to support fat_fallocate

2013-03-12 Thread Namjae Jeon
2013/3/12, OGAWA Hirofumi hirof...@mail.parknet.co.jp: Namjae Jeon linkinj...@gmail.com writes: This choose -release(). BTW, we would also be able to do this only -evict_inode(), although I'm not thinking yet which one is better. If you had conclusion, it would be nice to explain it.

Re: [BUG] potential deadlock led by cpu_hotplug lock (memcg involved)

2013-03-12 Thread Hillf Danton
On Tue, Mar 12, 2013 at 2:36 PM, Li Zefan lize...@huawei.com wrote: Seems a new bug in 3.9 kernel? Bogus info, perhaps. [ 207.271924] == [ 207.271932] [ INFO: possible circular locking dependency detected ] [ 207.271942]

Re: [PATCH] omap: convert to devm_ioremap_resource()

2013-03-12 Thread Peter Ujfalusi
On 03/12/2013 09:24 AM, Silviu Popescu wrote: As far as I can tell from the mails that you have provided, those patches replace devm_request_mem_region(), followed by devm_ioremap() with devm_request_and_ioremap(). What this patch attempts to do is replace devm_request_and_ioremap() with the

Re: [PATCH] omap: convert to devm_ioremap_resource()

2013-03-12 Thread Peter Ujfalusi
On 03/11/2013 04:58 PM, Silviu-Mihai Popescu wrote: Convert all uses of devm_request_and_ioremap() to the newly introduced devm_ioremap_resource() which provides more consistent error handling. devm_ioremap_resource() provides its own error messages so all explicit error messages can be

Re: [PATCH] x86, kdump: Set crashkernel_low automatically

2013-03-12 Thread Ingo Molnar
* Vivek Goyal vgo...@redhat.com wrote: On Mon, Mar 11, 2013 at 01:50:21PM -0700, H. Peter Anvin wrote: On 03/11/2013 01:45 PM, Vivek Goyal wrote: - Now we use dracut generated initramfs and it has been growing in size. Now systemd has been pulled in too. And the solution to

Re: torrent hash failures since 3.9.0-rc1

2013-03-12 Thread Sander
Markus Trippelsdorf wrote (ao): On 2013.03.11 at 16:37 -0400, Theodore Ts'o wrote: We actually run fsx in a number of different configruations as part of our regression testing before we send Linus a pull request, and haven't found any issues. So unless it's a hardware problem, it seems

[PATCH v2] hwmon: ntc: Add DT with IIO support to NTC thermistor driver

2013-03-12 Thread Naveen Krishna Chatradhi
This patch adds DT support to NTC driver to parse the platform data. Also adds the support to work as an iio device. During the probe ntc driver gets the respective channels of ADC and uses iio_raw_read calls to get the ADC converted value. Signed-off-by: Naveen Krishna Chatradhi

Re: [PATCH] sched: wakeup buddy

2013-03-12 Thread Ingo Molnar
* Michael Wang wang...@linux.vnet.ibm.com wrote: On 03/11/2013 05:40 PM, Ingo Molnar wrote: * Michael Wang wang...@linux.vnet.ibm.com wrote: Hi, Ingo On 03/11/2013 04:21 PM, Ingo Molnar wrote: [snip] I have actually written the prctl() approach before, for instrumentation

[tip:x86/platform] x86/platform/intel/mrst: Remove cast for kmalloc() return value

2013-03-12 Thread tip-bot for Zhang Yanfei
Commit-ID: ad0304cfd90f46bfcae3a6cd2b69067741541730 Gitweb: http://git.kernel.org/tip/ad0304cfd90f46bfcae3a6cd2b69067741541730 Author: Zhang Yanfei zhangyan...@cn.fujitsu.com AuthorDate: Tue, 12 Mar 2013 12:58:02 +0800 Committer: Ingo Molnar mi...@kernel.org CommitDate: Tue, 12 Mar 2013

Re: [PATCH v2 2/3] drivers: android: binder: Fix code style

2013-03-12 Thread mirsal
On Mon, 2013-03-11 at 16:57 -0700, Arve Hjønnevåg wrote: On Mon, Mar 11, 2013 at 4:26 PM, Mirsal Ennaime mir...@mirsal.fr wrote: * Use tabs * Remove a few 80-columns checkpatch warnings * Separate code paths with empty lines for readability Signed-off-by: Mirsal Ennaime

Re: [GIT PULL] EDAC fixes for 3.8

2013-03-12 Thread Borislav Petkov
On Mon, Mar 11, 2013 at 09:28:48AM -0300, Mauro Carvalho Chehab wrote: @@ -740,7 +740,6 @@ struct mem_ctl_info { u32 fake_inject_ue; u16 fake_inject_count; #endif - __u8 csbased : 1, /* csrow-based memory controller */ __resv : 7; I don't know how you

[PATCH] Fix segfault in perf probe

2013-03-12 Thread Ananth N Mavinakayanahalli
From: Ananth N Mavinakayanahalli ana...@in.ibm.com Fix segfault in perf probe due to a bug introduced by commit d8639f068 (perf tools: Stop using 'self' in strlist). Signed-off-by: Ananth N Mavinakayanahalli ana...@in.ibm.com --- Index: linus/tools/perf/util/strlist.c

Re: [PATCH] fuse: Fix build after change to synchronize with library

2013-03-12 Thread Miklos Szeredi
On Mon, 2013-03-11 at 15:54 -0700, Arve Hjønnevåg wrote: __linux__ is not always defined so check __KERNEL__ as well. Signed-off-by: Arve Hjønnevåg a...@android.com --- include/uapi/linux/fuse.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/uapi/linux/fuse.h

Re: doing lots of disk writes causes oom killer to kill processes

2013-03-12 Thread Michal Suchanek
On 12 March 2013 03:15, Hillf Danton dhi...@gmail.com wrote: On 11 March 2013 13:15, Michal Suchanek hramr...@gmail.com wrote: On 8 February 2013 17:31, Michal Suchanek hramr...@gmail.com wrote: Hello, I am dealing with VM disk images and performing something like wiping free space to prepare

Re: [PATCH] mv643xx_eth: Fix a possible deadlock upon ifdown

2013-03-12 Thread Alexander Holler
Am 12.03.2013 03:49, schrieb Lennert Buytenhek: On Fri, Mar 01, 2013 at 06:30:13PM +0100, Alexander Holler wrote: From: Lubomir Rintel lubo.rin...@gooddata.com = [ INFO: inconsistent lock state ] 3.7.0-6.luboskovo.fc19.armv5tel.kirkwood #1 Tainted: GW

[PATCH] drivers: mmc: host: Use resource_size()

2013-03-12 Thread Alexandru Gheorghiu
Used resource_size function instead of explicit computation. Patch found using coccinelle. Signed-off-by: Alexandru Gheorghiu gheorghiuan...@gmail.com --- drivers/mmc/host/wmt-sdmmc.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/wmt-sdmmc.c

Re: [PATCH v3] fat: editions to support fat_fallocate

2013-03-12 Thread OGAWA Hirofumi
Namjae Jeon linkinj...@gmail.com writes: If so, probably, I didn't clear my opinion/suggestion, or misled you. Sorry about it. My opinion/suggestion is, it should be before umount(). I.e. fallocate() doesn't have any affect to FAT on clean state (clean umount). To clear my state, I don't

Re: [PATCH v3] drm/i915: bounds check execbuffer relocation count

2013-03-12 Thread Chris Wilson
On Mon, Mar 11, 2013 at 05:31:45PM -0700, Kees Cook wrote: It is possible to wrap the counter used to allocate the buffer for relocation copies. This could lead to heap writing overflows. CVE-2013-0913 v3: collapse test, improve comment v2: move check into validate_exec_list

[PATCH] tty: serial: fix typo SERIAL_S3C2412

2013-03-12 Thread Paul Bolle
The Kconfig symbol SERIAL_S3C2412 got removed in commit da121506eb03ee5daea55404709110b798bd61d9 (serial: samsung: merge probe() function from all SoC specific extensions). But it also added a last reference to that symbol. The commit and the tree make clear that CPU_S3C2412 should have been used

Re: [GIT PULL] EDAC fixes for 3.8

2013-03-12 Thread Borislav Petkov
Btw, the first one I changed to not divide by the channel_count, see below. Now I'll go and run them to check everything's fine. Thanks. From ef11e0b3e22d19f06474ced9365c69a0353f793a Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab mche...@redhat.com Date: Mon, 11 Mar 2013 09:07:46 -0300

Re: [PATCH] aic7xxx: fix coccicheck warnings

2013-03-12 Thread James Bottomley
On Tue, 2013-03-12 at 08:48 +0200, Silviu Popescu wrote: On Sun, Mar 10, 2013 at 10:04 PM, Silviu-Mihai Popescu silviupopescu1...@gmail.com wrote: This replaces a call to kmalloc() followed by memset() with just one call to kzalloc(). Signed-off-by: Silviu-Mihai Popescu

Re: [PATCH] x86: kvm: reset the bootstrap processor when it gets an INIT

2013-03-12 Thread Jan Kiszka
On 2013-03-11 20:30, Gleb Natapov wrote: On Mon, Mar 11, 2013 at 08:01:30PM +0100, Jan Kiszka wrote: On 2013-03-11 19:51, Gleb Natapov wrote: On Intel: CPU 1 CPU 2 in a guest mode send INIT send SIPI INIT vmexit

Re: [PATCH 5/6][v4]: perf: Create a sysfs entry for Power event format

2013-03-12 Thread Paul Mackerras
On Tue, Mar 05, 2013 at 09:48:26PM -0800, Sukadev Bhattiprolu wrote: Michael Ellerman [mich...@ellerman.id.au] wrote: | I suspect Arnaldo was either waiting for an ACK from Ben, or was | expecting Ben to take it? Arnaldo, here is an updated patch. If it is acked by Paul Mackerras, Michael

Re: [PATCH 12/18] driver: scsi: remove cast for kmalloc/kzalloc return value

2013-03-12 Thread James Bottomley
On Tue, 2013-03-12 at 13:25 +0800, Zhang Yanfei wrote: remove cast for kmalloc/kzalloc return value. I've got to ask why? Just because void * can be assigned to any pointer doesn't mean we should religiously eliminate all casts of void *. If the driver writer believes there's value making sure

Re: [PATCH] Fix common_audit_data type for smack_inode_unlink() and smack_inode_rmdir()

2013-03-12 Thread Igor Zhbanov
Hi Casey, Casey Schaufler wrote: On 3/11/2013 4:50 AM, Igor Zhbanov wrote: This patch fixes kernel Oops because of wrong common_audit_data type in smack_inode_unlink() and smack_inode_rmdir(). This patch does not apply to any tree I have. The lines:

Re: linux-next: build failure after merge of the final tree

2013-03-12 Thread Daniel Hellstrom
Hello, APBPS2 driver is missing linux/slab.h required on at least PowerPC. See patch below. How do you want me to proceed? Thanks, Daniel diff --git a/drivers/input/serio/apbps2.c b/drivers/input/serio/apbps2.c index 611aac0..858b0c9 100644 --- a/drivers/input/serio/apbps2.c +++

Re: [BUG] potential deadlock led by cpu_hotplug lock (memcg involved)

2013-03-12 Thread Li Zefan
On 2013/3/12 16:32, Hillf Danton wrote: On Tue, Mar 12, 2013 at 2:36 PM, Li Zefan lize...@huawei.com wrote: Seems a new bug in 3.9 kernel? Bogus info, perhaps. No matter it's a real bug or it's false positive, we need to make lockdep happy. -- To unsubscribe from this list: send the line

Re: [PATCH v3] fat: editions to support fat_fallocate

2013-03-12 Thread Namjae Jeon
2013/3/12, OGAWA Hirofumi hirof...@mail.parknet.co.jp: Namjae Jeon linkinj...@gmail.com writes: If so, probably, I didn't clear my opinion/suggestion, or misled you. Sorry about it. My opinion/suggestion is, it should be before umount(). I.e. fallocate() doesn't have any affect to FAT on

Re: [PATCH] sched: wakeup buddy

2013-03-12 Thread Michael Wang
On 03/12/2013 04:48 PM, Ingo Molnar wrote: [snip] Instrumentation/stats/profiling will also double check the correctness of this data: if developers/users start relying on the work metric as a substitute benchmark number, then app writers will have an additional incentive to make them

Re: [PATCH] ethernet: amd: use PTR_RET instead of IS_ERR + PTR_ERR

2013-03-12 Thread Geert Uytterhoeven
On Tue, Mar 12, 2013 at 8:48 AM, Silviu-Mihai Popescu silviupopescu1...@gmail.com wrote: This uses PTR_RET instead of IS_ERR and PTR_ERR in order to increase readability. Signed-off-by: Silviu-Mihai Popescu silviupopescu1...@gmail.com Acked-by: Geert Uytterhoeven ge...@linux-m68k.org

Re: rcu: fix hlist_bl_set_first_rcu annotation

2013-03-12 Thread Steven Whitehouse
Hi, On Sun, 2013-02-03 at 10:39 -0800, Paul E. McKenney wrote: On Wed, Jan 30, 2013 at 07:07:57PM +, Steven Whitehouse wrote: Abhi noticed that we were getting a complaint from the RCU subsystem about access of an RCU protected list under the write side bit lock. This patch adds

Re: linux-next: build failure after merge of the final tree (drm-intel tree related)

2013-03-12 Thread Sedat Dilek
On Tue, Mar 12, 2013 at 6:46 AM, Kees Cook keesc...@chromium.org wrote: On Mon, Mar 11, 2013 at 9:22 PM, Stephen Rothwell s...@canb.auug.org.au wrote: Hi all, After merging the final tree, today's linux-next build (i386 defconfig) failed like this: drivers/built-in.o: In function

Re: [PATCH] Fix segfault in perf probe

2013-03-12 Thread Srikar Dronamraju
* Ananth N Mavinakayanahalli ana...@in.ibm.com [2013-03-12 14:32:17]: From: Ananth N Mavinakayanahalli ana...@in.ibm.com Fix segfault in perf probe due to a bug introduced by commit d8639f068 (perf tools: Stop using 'self' in strlist). Signed-off-by: Ananth N Mavinakayanahalli

Re: [PATCH v2 3/3] drivers: android: binder: Remove excessive indentation

2013-03-12 Thread mirsal
On Mon, 2013-03-11 at 17:04 -0700, Joe Perches wrote: On Tue, 2013-03-12 at 00:26 +0100, Mirsal Ennaime wrote: Remove one level of indentation from the binder proc page release code by using slightly different control semantics. This is a cosmetic patch which removes checkpatch

[PATCH V4 0/4] cpufreq: exynos5440: support for cpufreq driver

2013-03-12 Thread Amit Daniel Kachhap
Submitting the V4 version of exynos5440 cpufreq driver. This patchset addresses all the coding and design concerns raised especially by Viresh. Changes in V4: * Added dev_err logs instead of pr_err. * Used the devm_ioremap_resource API. * Implemented several coding guidelines and minor error

[PATCH V4 1/4] cpufreq: exynos: Adding cpufreq driver for exynos5440

2013-03-12 Thread Amit Daniel Kachhap
This patch adds dvfs support for exynos5440 SOC. This soc has 4 cores and they scale at same frequency. The nature of exynos5440 clock controller is different from previous exynos controllers so not using the common exynos cpufreq framework. The major difference being interrupt notfication for

[PATCH V4 2/4] cpufreq: exynos: Remove error return even if no soc is found

2013-03-12 Thread Amit Daniel Kachhap
This patch helps to have single binary for exynos5440 and previous exynos soc's. This change is needed for adding exynos5440 cpufreq driver which does not uses exynos-cpufreq common file and adds it own driver. Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com ---

[PATCH V4 3/4] arm: exynos: Enable OPP library support for exynos5440

2013-03-12 Thread Amit Daniel Kachhap
The OPP library support is needed for exynos5440 cpu frequency dynamic scaling driver. Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- arch/arm/mach-exynos/Kconfig |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-exynos/Kconfig

[PATCH V4 4/4] dts: Add cpufreq controller node for Exynos5440 SoC

2013-03-12 Thread Amit Daniel Kachhap
Add cpufreq controller device node for Exynos5440 SoC for passing parameters like controller base address, interrupt and cpufreq table. This node is added outside cpu0 as this driver is now a platform driver and a new device structure is needed. Signed-off-by: Amit Daniel Kachhap

Re: [RFC PATCH 0/5] crash dump bitmap: scan memory pages in kernel to speedup kernel dump process

2013-03-12 Thread Jingbai Ma
On 03/11/2013 05:42 PM, Eric W. Biederman wrote: Jingbai Majingbai...@hp.com writes: On 03/08/2013 11:52 PM, Vivek Goyal wrote: On Thu, Mar 07, 2013 at 01:54:45PM -0800, Eric W. Biederman wrote: Vivek Goyalvgo...@redhat.com writes: On Thu, Mar 07, 2013 at 10:58:18PM +0800, Jingbai Ma

  1   2   3   4   5   6   7   8   9   >