Re: 3.8-rc5 xfs corruption

2013-01-31 Thread CAI Qian
- Original Message - From: Dave Chinner da...@fromorbit.com To: CAI Qian caiq...@redhat.com Cc: x...@oss.sgi.com, linux-...@vger.kernel.org, linux-kernel linux-kernel@vger.kernel.org Sent: Thursday, January 31, 2013 12:07:48 PM Subject: Re: 3.8-rc5 xfs corruption On Wed, Jan

Re: [PATCH 4/4] pinctrl/abx500: destroy mutex if returning early due to error

2013-01-31 Thread Lee Jones
On Wed, 30 Jan 2013, Stephen Warren wrote: On 01/30/2013 12:40 PM, Linus Walleij wrote: From: Lee Jones lee.jo...@linaro.org Current failure path neglects to mutex_destroy() before returning an error due to an invalid parameter or an error received from gpiochip_add(). This patch aims

Re: [PATCH 04/05] input: RMI4 F01 device control

2013-01-31 Thread Dmitry Torokhov
Hi Chris, On Fri, Jan 18, 2013 at 05:12:44PM -0800, Christopher Heiny wrote: In addition to the changes described in 0/0 of this patchset, this patch includes device serialization updated to conform to the latest RMI4 specification. I was looking at the various aspects of the RMI4 patchset,

Re: [PATCH 1/1] dma: pl330: Convert to devm_ioremap_resource()

2013-01-31 Thread Sachin Kamat
On 31 January 2013 12:58, Thierry Reding thierry.red...@avionic-design.de wrote: On Thu, Jan 31, 2013 at 12:37:04PM +0530, Sachin Kamat wrote: Use the newly introduced devm_ioremap_resource() instead of devm_request_and_ioremap() which provides more consistent error handling. Signed-off-by:

Re: [PATCH 1/1] dma: pl330: Convert to devm_ioremap_resource()

2013-01-31 Thread Thierry Reding
On Thu, Jan 31, 2013 at 12:37:04PM +0530, Sachin Kamat wrote: Use the newly introduced devm_ioremap_resource() instead of devm_request_and_ioremap() which provides more consistent error handling. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Cc: Vinod Koul vinod.k...@intel.com Cc:

Re: [PATCH 1/1] dma: pl330: Convert to devm_ioremap_resource()

2013-01-31 Thread Thierry Reding
On Thu, Jan 31, 2013 at 01:39:59PM +0530, Sachin Kamat wrote: On 31 January 2013 12:58, Thierry Reding thierry.red...@avionic-design.de wrote: On Thu, Jan 31, 2013 at 12:37:04PM +0530, Sachin Kamat wrote: Use the newly introduced devm_ioremap_resource() instead of

Re: Uhhuh. NMI received for unknown reason 2c on CPU 0.

2013-01-31 Thread Jiri Slaby
On 01/31/2013 08:09 AM, Borislav Petkov wrote: On Thu, Jan 31, 2013 at 01:54:56AM +0100, Rafael J. Wysocki wrote: On Thursday, January 31, 2013 12:47:40 AM Jiri Slaby wrote: On 01/31/2013 12:12 AM, Jiri Slaby wrote: I think I will start with commenting parts of `power' script to see exactly

[PATCH] cpufreq: governors: implement generic policy_is_shared

2013-01-31 Thread Fabio Baltieri
Implement a generic helper function policy_is_shared() to replace the current dbs_sw_coordinated_cpus() at cpufreq level, so that it can be used by code other than cpufreq governors. Suggested-by: Viresh Kumar viresh.ku...@linaro.org Signed-off-by: Fabio Baltieri fabio.balti...@linaro.org ---

Re: [PATCH v6 00/15] memory-hotplug: hot-remove physical memory

2013-01-31 Thread Simon Jeons
Hi Tang, On Thu, 2013-01-31 at 15:10 +0800, Tang Chen wrote: On 01/31/2013 02:19 PM, Simon Jeons wrote: Hi Tang, On Thu, 2013-01-31 at 11:31 +0800, Tang Chen wrote: Hi Simon, Please see below. :) On 01/31/2013 09:22 AM, Simon Jeons wrote: Sorry, I still confuse. :( update

Re: BUG: circular locking dependency detected

2013-01-31 Thread Daniel Vetter
On Thu, Jan 31, 2013 at 6:40 AM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Thu, Jan 31, 2013 at 11:26:53AM +1100, Linus Torvalds wrote: On Thu, Jan 31, 2013 at 11:13 AM, Russell King r...@arm.linux.org.uk wrote: Which may or may not be a good thing depending how you look at it;

Re: [PATCH V3] drm_crtc: check if fb_create return NULL

2013-01-31 Thread Daniel Vetter
On Thu, Jan 31, 2013 at 1:55 AM, Su, Xuemin xuemin...@intel.com wrote: -Original Message- From: Jani Nikula [mailto:jani.nik...@linux.intel.com] Sent: Thursday, January 24, 2013 5:05 PM To: Su, Xuemin Cc: airl...@linux.ie; dri-de...@lists.freedesktop.org;

Re: [RFC 2/2] sched/fair: prefer a CPU in the lowest idle state

2013-01-31 Thread Michael Wang
On 01/31/2013 03:40 PM, Namhyung Kim wrote: On Thu, 31 Jan 2013 15:30:02 +0800, Michael Wang wrote: On 01/31/2013 02:58 PM, Namhyung Kim wrote: But AFAIK the number of states in cpuidle is usually less than 10 so maybe we can change the weight then, but there's no promise... And I just got

Re: Uhhuh. NMI received for unknown reason 2c on CPU 0.

2013-01-31 Thread Jiri Slaby
On 01/31/2013 08:09 AM, Borislav Petkov wrote: On Thu, Jan 31, 2013 at 01:54:56AM +0100, Rafael J. Wysocki wrote: On Thursday, January 31, 2013 12:47:40 AM Jiri Slaby wrote: On 01/31/2013 12:12 AM, Jiri Slaby wrote: I think I will start with commenting parts of `power' script to see exactly

Re: [PATCH] cpufreq: governors: implement generic policy_is_shared

2013-01-31 Thread Viresh Kumar
On 31 January 2013 13:44, Fabio Baltieri fabio.balti...@linaro.org wrote: Implement a generic helper function policy_is_shared() to replace the current dbs_sw_coordinated_cpus() at cpufreq level, so that it can be used by code other than cpufreq governors. Suggested-by: Viresh Kumar

Re: [PATCH drm-intel] drm/i915: gen6_gmch_remove can be static

2013-01-31 Thread Daniel Vetter
On Thu, Jan 31, 2013 at 11:32:50AM +0800, Changlong Xie wrote: Signed_off_by: Changlong Xie changlongx@intel.com Reported-by: Fengguang Wu fengguang...@intel.com Queued for -next, thanks for the patch. Note that checkpatch complained about the _ instead of - in your sob line, fixed up while

Re: [PATCH v7 2/4] cpufreq: ondemand: call dbs_check_cpu only when necessary

2013-01-31 Thread Fabio Baltieri
Hello Viresh, On Wed, Jan 30, 2013 at 10:41:08PM +0530, Viresh Kumar wrote: On 30 January 2013 22:16, Fabio Baltieri fabio.balti...@linaro.org wrote: Isn't that how it works now? The current cpu ktime is not checked against its own, but against the leader cpu (dbs_info_local-cdbs.cpu),

Re: [PATCH 5/5] drm/exynos: don't include plat/gpio-cfg.h

2013-01-31 Thread Rahul Sharma
Hi Arnd Bergmann, It looks good to me. My patch caused this issue. Thanks for the fix. regards, Rahul Sharma. On Fri, Jan 25, 2013 at 8:58 PM, Arnd Bergmann a...@arndb.de wrote: Patch 9eb3e9e6f3 drm/exynos: add support for ARCH_MULTIPLATFORM allowed building the exynos hdmi driver on

Re: [PATCH v7 2/4] cpufreq: ondemand: call dbs_check_cpu only when necessary

2013-01-31 Thread Viresh Kumar
On 31 January 2013 14:09, Fabio Baltieri fabio.balti...@linaro.org wrote: Ok, now I see the problem: cdbs-cpu is initialized only on the leader cpu and this is working by coincidence on my system, while cdbs-time_stamp is initialized only on the leader cpu, and that should be correct even when

Re: [PATCH 1/2] ACPI / scan: Fix acpi_bus_get_device() check in acpi_match_device()

2013-01-31 Thread Mika Westerberg
On Wed, Jan 30, 2013 at 11:03:07PM +0100, Rafael J. Wysocki wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com Since acpi_bus_get_device() returns int and not acpi_status, change acpi_match_device() so that it doesn't apply ACPI_FAILURE() to the return value of acpi_bus_get_device().

Re: [PATCH 2/2] ACPI / scan: Clean up acpi_bus_get_parent()

2013-01-31 Thread Mika Westerberg
On Wed, Jan 30, 2013 at 11:04:03PM +0100, Rafael J. Wysocki wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com Make acpi_bus_get_parent() more straightforward and remove an unnecessary local variable ret from it. Signed-off-by: Rafael J. Wysocki rafael.j.wyso...@intel.com

Re: [RFC 2/2] sched/fair: prefer a CPU in the lowest idle state

2013-01-31 Thread Michael Wang
On 01/31/2013 04:24 PM, Michael Wang wrote: On 01/31/2013 03:40 PM, Namhyung Kim wrote: On Thu, 31 Jan 2013 15:30:02 +0800, Michael Wang wrote: On 01/31/2013 02:58 PM, Namhyung Kim wrote: But AFAIK the number of states in cpuidle is usually less than 10 so maybe we can change the weight then,

Re: [PATCH v6 00/15] memory-hotplug: hot-remove physical memory

2013-01-31 Thread Simon Jeons
Hi Tang, On Thu, 2013-01-31 at 15:10 +0800, Tang Chen wrote: 1. IIUC, there is a button on machine which supports hot-remove memory, then what's the difference between press button and echo to /sys? 2. Since kernel memory is linear mapping(I mean direct mapping part), why can't put kernel direct

Re: [PATCH] cpufreq: governors: implement generic policy_is_shared

2013-01-31 Thread Fabio Baltieri
On Thu, Jan 31, 2013 at 02:01:27PM +0530, Viresh Kumar wrote: On 31 January 2013 13:44, Fabio Baltieri fabio.balti...@linaro.org wrote: Implement a generic helper function policy_is_shared() to replace the current dbs_sw_coordinated_cpus() at cpufreq level, so that it can be used by code

Re: [RFC 2/2] sched/fair: prefer a CPU in the lowest idle state

2013-01-31 Thread Michael Wang
On 01/31/2013 04:45 PM, Michael Wang wrote: On 01/31/2013 04:24 PM, Michael Wang wrote: On 01/31/2013 03:40 PM, Namhyung Kim wrote: On Thu, 31 Jan 2013 15:30:02 +0800, Michael Wang wrote: On 01/31/2013 02:58 PM, Namhyung Kim wrote: But AFAIK the number of states in cpuidle is usually less

Re: [PATCH] cpufreq: governors: implement generic policy_is_shared

2013-01-31 Thread Viresh Kumar
On Thu, Jan 31, 2013 at 2:25 PM, Fabio Baltieri fabio.balti...@linaro.org wrote: On Thu, Jan 31, 2013 at 02:01:27PM +0530, Viresh Kumar wrote: On 31 January 2013 13:44, Fabio Baltieri fabio.balti...@linaro.org wrote: Implement a generic helper function policy_is_shared() to replace the

Re: [PATCH v7 2/4] cpufreq: ondemand: call dbs_check_cpu only when necessary

2013-01-31 Thread Fabio Baltieri
On Thu, Jan 31, 2013 at 02:12:29PM +0530, Viresh Kumar wrote: On 31 January 2013 14:09, Fabio Baltieri fabio.balti...@linaro.org wrote: Ok, now I see the problem: cdbs-cpu is initialized only on the leader cpu and this is working by coincidence on my system, while cdbs-time_stamp is

Re: Bug#695182: [RFC] Reproducible OOM with just a few sleeps

2013-01-31 Thread paul . szabo
Dear Ben, Thanks for the repeated explanations. PAE was a stop-gap ... ... [PAE] completely untenable. Is this a good time to withdraw PAE, to tell the world that it does not work? Maybe you should have had such comments in the code. Seems that amd64 now works somewhat: on Debian the

[PATCH] perf script: Add a python script to statistic direct io behavior

2013-01-31 Thread chenggang . qin
From: chenggang@gmail.com This patch depends on a prev patch: https://lkml.org/lkml/2013/1/29/47 If the engineers want to analyze the direct io behavior of some applications without source code, perf tools with some appropriate tracepoints events in the VFS subsystem are excellent choice.

Re: [PATCH] x86, tsc: downgrade message for fast calibration failure

2013-01-31 Thread Paul Bolle
On Wed, 2012-09-26 at 12:09 +0200, Paul Bolle wrote: When fast calibration of the TSC fails an error is printed: tsc: Fast TSC calibration failed This message was printed at default level (ie, as a warning) before commit c767a54ba0657e52e6edaa97cbe0b0a8bf1c1655 (x86/debug: Add

Re: [PATCH v7 2/4] cpufreq: ondemand: call dbs_check_cpu only when necessary

2013-01-31 Thread Viresh Kumar
On 31 January 2013 14:36, Fabio Baltieri fabio.balti...@linaro.org wrote: Current code uses -cpu to track policy-cpu and get the timestamp, I can modify it to point to the current cpu and use it in timer_init *and* add a new field just to track leader_cpu but I don't see the benefits. Am I

RE: [PATCH V3] suspend: enable freeze timeout configuration through sys

2013-01-31 Thread Li, Fei
-Original Message- From: Yasuaki Ishimatsu [mailto:isimatu.yasu...@jp.fujitsu.com] Sent: Thursday, January 31, 2013 3:30 PM To: Li, Fei Cc: r...@sisk.pl; a...@linux-foundation.org; linux-kernel@vger.kernel.org; linux...@vger.kernel.org; Liu, Chuansheng Subject: Re: [PATCH V3]

Re: BUG: circular locking dependency detected

2013-01-31 Thread Greg Kroah-Hartman
On Thu, Jan 31, 2013 at 09:21:16AM +0100, Daniel Vetter wrote: On Thu, Jan 31, 2013 at 6:40 AM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Thu, Jan 31, 2013 at 11:26:53AM +1100, Linus Torvalds wrote: On Thu, Jan 31, 2013 at 11:13 AM, Russell King r...@arm.linux.org.uk wrote:

Re: [GIT PULL 00/21] perf/core improvements and fixes

2013-01-31 Thread Ingo Molnar
* Arnaldo Carvalho de Melo a...@infradead.org wrote: Hi Ingo, Please consider pulling. Namhyung, Jiri, the 'group report' patches are at acme/perf/group, will send a pull req later if it survives further testing. - Arnaldo The following changes since commit

[PATCH 2/3] sysctl: put get/get_uts() into CONFIG_PROC_SYSCTL code block

2013-01-31 Thread Yuanhan Liu
put get/get_uts() into CONFIG_PROC_SYSCTL code block as they are used only when CONFIG_PROC_SYSCTL is enabled. Signed-off-by: Yuanhan Liu yuanhan@linux.intel.com --- kernel/utsname_sysctl.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/kernel/utsname_sysctl.c

[PATCH 3/3] nsproxy: remove duplicate task_cred_xxx for user_ns

2013-01-31 Thread Yuanhan Liu
We can use user_ns, which is also assigned from task_cred_xxx(tsk, user_ns), at the beginning of copy_namespaces(). Cc: Serge Hallyn serge.hal...@canonical.com Signed-off-by: Yuanhan Liu yuanhan@linux.intel.com --- kernel/nsproxy.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)

[PATCH 1/3] namespaces: utsname: fix wrong comment about clone_uts_ns()

2013-01-31 Thread Yuanhan Liu
Fix the wrong comment about the return value of clone_uts_ns() Cc: Serge Hallyn serge.hal...@canonical.com Signed-off-by: Yuanhan Liu yuanhan@linux.intel.com --- kernel/utsname.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/kernel/utsname.c b/kernel/utsname.c

Re: [RFC] arm: use built-in byte swap function

2013-01-31 Thread Russell King - ARM Linux
On Wed, Jan 30, 2013 at 08:09:00PM -0600, Kim Phillips wrote: The savings come mostly from device-tree related code, and some from drivers. You forget that IP networking is all big endian, so these will be using the byte swapping too (search it for htons/ntohs/htonl/ntohl). v2: - at91 and

Re: [Linaro-mm-sig] [PATCH 4/7] fence: dma-buf cross-device synchronization (v11)

2013-01-31 Thread Inki Dae
Hi, below is my opinion. +struct fence; +struct fence_ops; +struct fence_cb; + +/** + * struct fence - software synchronization primitive + * @refcount: refcount for this fence + * @ops: fence_ops associated with this fence + * @cb_list: list of all callbacks to call + * @lock:

[PATCH RFC] davinci: poll for sleep completion in resume routine.

2013-01-31 Thread Vishwanathrao Badarkhe, Manish
As per OMAP-L138 TRM, Software must poll for SLEEPCOMPLETE bit until it is set to 1 before clearing SLEEPENABLE bit in DEEPSLEEP register in resume routine. Modifications are as per datasheet: http://www.ti.com/lit/ug/spruh77a/spruh77a.pdf See sections 10.10.2.2 and 11.5.21 for more detailed

[PATCH RFC] davinci: poll for sleep completion in resume routine.

2013-01-31 Thread Vishwanathrao Badarkhe, Manish
As per OMAP-L138 TRM, Software must poll for SLEEPCOMPLETE bit until it is set to 1 before clearing SLEEPENABLE bit in DEEPSLEEP register in resume routine. Modifications are as per datasheet: http://www.ti.com/lit/ug/spruh77a/spruh77a.pdf See sections 10.10.2.2 and 11.5.21 for more detailed

RE: [PATCH 4/4] iommu: Add domain window handling functions

2013-01-31 Thread Sethi Varun-B16395
-Original Message- From: Joerg Roedel [mailto:j...@8bytes.org] Sent: Thursday, January 31, 2013 3:14 AM To: Sethi Varun-B16395 Cc: io...@lists.linux-foundation.org; linux-kernel@vger.kernel.org; Joerg Roedel Subject: [PATCH 4/4] iommu: Add domain window handling functions Add

Re: [PATCH] CMAC support for CryptoAPI, fixed patch issues, indent, and testmgr build issues

2013-01-31 Thread Jussi Kivilinna
Quoting Steffen Klassert steffen.klass...@secunet.com: On Thu, Jan 24, 2013 at 01:25:46PM +0200, Jussi Kivilinna wrote: Maybe it would be cleaner to not mess with pfkeyv2.h at all, but instead mark algorithms that do not support pfkey with flag. See patch below. As nobody seems to

RE: [PATCH v2 0/3] Add device tree support for NAND flash in am335x-evm

2013-01-31 Thread Philip, Avinash
Benoit, On Thu, Jan 24, 2013 at 13:32:26, Philip, Avinash wrote: This patch series adds device tree support for NAND flash in am335x-evm. Also ELM node is populated in device tree and been used for BCH error correction in NAND flash part. Also this patch series ensures RBL ecc layout

Re: BUG: circular locking dependency detected

2013-01-31 Thread Daniel Vetter
On Thu, Jan 31, 2013 at 10:21 AM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: Can you please also pick up the (currently) three locking fixups around fbcon? Just so that we don't repeat the same fun where people complain about lockdep splats, but the fixes are stuck somewhere. And I

Re: [PATCH] rwsem-spinlock: let rwsem write lock stealable

2013-01-31 Thread Ingo Molnar
* Yuanhan Liu yuanhan@linux.intel.com wrote: We(Linux Kernel Performance project) found a regression introduced by commit 5a50508, which just convert all mutex lock to rwsem write lock. The semantics is same, but the results is quite huge in some cases. After investigation, we found the

[PATCH 1/1] depmod: pass -P $CONFIG_SYMBOL_PREFIX

2013-01-31 Thread James Hogan
On architectures which have symbol prefixes, depmod emits lots of false warnings like this: WARNING: $module.ko needs unknown symbol $symbol This is because depmod isn't being passed the -P symbol_prefix arguments to specify the symbol prefix to ignore. This option is included since the 3.13

Re: [PATCH v6 00/15] memory-hotplug: hot-remove physical memory

2013-01-31 Thread Tang Chen
Hi Simon, On 01/31/2013 04:48 PM, Simon Jeons wrote: Hi Tang, On Thu, 2013-01-31 at 15:10 +0800, Tang Chen wrote: 1. IIUC, there is a button on machine which supports hot-remove memory, then what's the difference between press button and echo to /sys? No important difference, I think. Since

[PATCH v2] cpufreq: governors: implement generic policy_is_shared

2013-01-31 Thread Fabio Baltieri
Implement a generic helper function policy_is_shared() to replace the current dbs_sw_coordinated_cpus() at cpufreq level, so that it can be used by code other than cpufreq governors. Suggested-by: Viresh Kumar viresh.ku...@linaro.org Signed-off-by: Fabio Baltieri fabio.balti...@linaro.org ---

Re: [PATCH 1/4] firmware: Refactoring for splitting user-mode helper code

2013-01-31 Thread Ming Lei
On Wed, Jan 30, 2013 at 6:35 PM, Takashi Iwai ti...@suse.de wrote: Since 3.7 kernel, the firmware loader can read the firmware files directly, and the traditional user-mode helper is invoked only as a fallback. This seems working pretty well, and the next step would be to reduce the redundant

Re: [PATCH] x86, numa: Use __pa_nodebug instead

2013-01-31 Thread Borislav Petkov
On Mon, Jan 28, 2013 at 11:16:24AM -0800, Dave Hansen wrote: On 01/26/2013 04:18 PM, Borislav Petkov wrote: From: Borislav Petkov b...@suse.de ... and fix the following warning: arch/x86/mm/numa.c: In function ‘setup_node_data’: arch/x86/mm/numa.c:222:3: warning: passing argument 1

Re: [PATCH RFC] davinci: poll for sleep completion in resume routine.

2013-01-31 Thread Sekhar Nori
On 1/31/2013 2:56 PM, Vishwanathrao Badarkhe, Manish wrote: As per OMAP-L138 TRM, Software must poll for SLEEPCOMPLETE bit until it is set to 1 before clearing SLEEPENABLE bit in DEEPSLEEP register in resume routine. Modifications are as per datasheet:

Re: [PATCH V3] suspend: enable freeze timeout configuration through sys

2013-01-31 Thread anish singh
On Thu, Jan 31, 2013 at 2:43 PM, Li, Fei fei...@intel.com wrote: -Original Message- From: Yasuaki Ishimatsu [mailto:isimatu.yasu...@jp.fujitsu.com] Sent: Thursday, January 31, 2013 3:30 PM To: Li, Fei Cc: r...@sisk.pl; a...@linux-foundation.org; linux-kernel@vger.kernel.org;

Re: [PATCH v2] cpufreq: governors: implement generic policy_is_shared

2013-01-31 Thread Viresh Kumar
On 31 January 2013 15:14, Fabio Baltieri fabio.balti...@linaro.org wrote: Implement a generic helper function policy_is_shared() to replace the current dbs_sw_coordinated_cpus() at cpufreq level, so that it can be used by code other than cpufreq governors. Suggested-by: Viresh Kumar

Re: [Linaro-mm-sig] [PATCH 4/7] fence: dma-buf cross-device synchronization (v11)

2013-01-31 Thread Maarten Lankhorst
Op 31-01-13 10:32, Inki Dae schreef: Hi, below is my opinion. +struct fence; +struct fence_ops; +struct fence_cb; + +/** + * struct fence - software synchronization primitive + * @refcount: refcount for this fence + * @ops: fence_ops associated with this fence + * @cb_list: list of

Re: [Linaro-mm-sig] [PATCH 4/7] fence: dma-buf cross-device synchronization (v11)

2013-01-31 Thread Daniel Vetter
On Thu, Jan 31, 2013 at 06:32:15PM +0900, Inki Dae wrote: Hi, below is my opinion. +struct fence; +struct fence_ops; +struct fence_cb; + +/** + * struct fence - software synchronization primitive + * @refcount: refcount for this fence + * @ops: fence_ops associated with this

Re: [PATCH 1/4] firmware: Refactoring for splitting user-mode helper code

2013-01-31 Thread Takashi Iwai
At Thu, 31 Jan 2013 17:48:34 +0800, Ming Lei wrote: (snip) +/* called from request_firmware() and request_firmware_work_func() */ +static int +_request_firmware(const struct firmware **firmware_p, const char *name, + struct device *device, bool uevent, bool nowait) +{

Re: [PATCH V2] regulator: add device tree support for s5m8767

2013-01-31 Thread Rahul Sharma
On Thu, Jan 31, 2013 at 3:10 AM, Amit Daniel Kachhap amit.dan...@samsung.com wrote: This device tree support is added for PMIC block of S5m8767 multi function driver. The usage detail is added in the device tree documentation section. This change is tested on exynos5250 based arndale platform

[PATCH 2/2] ARM: mxs: dts: Add rotary encoder to the CFA-10049

2013-01-31 Thread Maxime Ripard
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- arch/arm/boot/dts/imx28-cfa10049.dts |9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/imx28-cfa10049.dts b/arch/arm/boot/dts/imx28-cfa10049.dts index 5db3789..a0d3e9f 100644 ---

[PATCH 1/2] ARM: mxs: dts: Add gpio-keys for the rotary to the CFA-10049

2013-01-31 Thread Maxime Ripard
Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- arch/arm/boot/dts/imx28-cfa10049.dts | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/imx28-cfa10049.dts b/arch/arm/boot/dts/imx28-cfa10049.dts index cabc33a..5db3789 100644 ---

Re: [RESEND PATCH 4/4] GPU/i915: Fix acpi_bus_get_device() check in drivers/gpu/drm/i915/intel_opregion.c

2013-01-31 Thread Daniel Vetter
On Thu, Jan 31, 2013 at 12:27:26PM +0900, Yasuaki Ishimatsu wrote: I forgot to change subject. So I resend a patch. --- acpi_bus_get_device() returns int not acpi_status. The patch change not to apply ACPI_FAILURE() to the return value of acpi_bus_get_device(). Signed-off-by: Yasuaki

Re: [PATCH] rwsem-spinlock: let rwsem write lock stealable

2013-01-31 Thread Yuanhan Liu
On Thu, Jan 31, 2013 at 10:39:31AM +0100, Ingo Molnar wrote: * Yuanhan Liu yuanhan@linux.intel.com wrote: We(Linux Kernel Performance project) found a regression introduced by commit 5a50508, which just convert all mutex lock to rwsem write lock. The semantics is same, but the

RE: [PATCH RFC] davinci: poll for sleep completion in resume routine.

2013-01-31 Thread Vishwanathrao Badarkhe, Manish
Hi Sekhar On Thu, Jan 31, 2013 at 15:21:42, Nori, Sekhar wrote: On 1/31/2013 2:56 PM, Vishwanathrao Badarkhe, Manish wrote: As per OMAP-L138 TRM, Software must poll for SLEEPCOMPLETE bit until it is set to 1 before clearing SLEEPENABLE bit in DEEPSLEEP register in resume routine.

Re: [PATCH 8/8] cputime: Safely read cputime of full dynticks CPUs

2013-01-31 Thread Frederic Weisbecker
2013/1/31 Sedat Dilek sedat.di...@gmail.com: On Thu, Jan 31, 2013 at 1:38 AM, Frederic Weisbecker fweis...@gmail.com wrote: 2013/1/28 Sedat Dilek sedat.di...@gmail.com: On Mon, Jan 28, 2013 at 8:04 PM, Frederic Weisbecker fweis...@gmail.com wrote: While remotely reading the cputime of a

[PATCH] spi: spi-gpio: fix compilation warning on 64 bits systems

2013-01-31 Thread Maxime Ripard
SPI_GPIO_NO_MOSI and SPI_GPIO_NO_MISO flags are type casted to unsigned long, yet, they are to be stored in an unsigned int field in the spi_gpio_platform_data structure. This leads to the following warning during compilation on 64 bits systems: warning: large integer implicitly truncated to

[PATCH 0/4] firmware: Make user-mode helper optional (v5)

2013-01-31 Thread Takashi Iwai
Hi, this is a series of revised patches for making the user-mode helper call in the firmware loader optional. Hopefully all things settled down now. v4-v5: fix invalid call of usermodehelper_unlock() thanks, Takashi -- To unsubscribe from this list: send the line unsubscribe linux-kernel in

[PATCH 4/4] firmware: Ignore abort check when no user-helper is used

2013-01-31 Thread Takashi Iwai
FW_STATUS_ABORT can be set only during the user-helper invocation, thus we can ignore the check when CONFIG_HW_LOADER_USER_HELPER is disabled. Acked-by: Ming Lei ming@canonical.com Signed-off-by: Takashi Iwai ti...@suse.de --- drivers/base/firmware_class.c | 11 +-- 1 file changed, 9

[PATCH 1/4] firmware: Refactoring for splitting user-mode helper code

2013-01-31 Thread Takashi Iwai
Since 3.7 kernel, the firmware loader can read the firmware files directly, and the traditional user-mode helper is invoked only as a fallback. This seems working pretty well, and the next step would be to reduce the redundant user-mode helper stuff in future. This patch is a preparation for

[PATCH 2/4] firmware: Make user-mode helper optional

2013-01-31 Thread Takashi Iwai
This patch adds a new kconfig, CONFIG_FW_LOADER_USER_HELPER, and guards the user-helper codes in firmware_class.c with ifdefs. Yeah, yeah, there are lots of ifdefs in this patch. The further clean-up with code shuffling follows in the next. Acked-by: Ming Lei ming@canonical.com

[PATCH 3/4] firmware: Reduce ifdef CONFIG_FW_LOADER_USER_HELPER

2013-01-31 Thread Takashi Iwai
By shuffling the code, reduce a few ifdefs in firmware_class.c. Also, firmware_buf fmt field is changed to is_pages_buf boolean for simplification. Acked-by: Ming Lei ming@canonical.com Signed-off-by: Takashi Iwai ti...@suse.de --- drivers/base/firmware_class.c | 313

Re: [PATCH] spi: spi-gpio: fix compilation warning on 64 bits systems

2013-01-31 Thread Mark Brown
On Thu, Jan 31, 2013 at 11:12:56AM +0100, Maxime Ripard wrote: SPI_GPIO_NO_MOSI and SPI_GPIO_NO_MISO flags are type casted to unsigned long, yet, they are to be stored in an unsigned int field in the spi_gpio_platform_data structure. Applied, thanks. signature.asc Description: Digital

Re: [PATCH 8/8] cputime: Safely read cputime of full dynticks CPUs

2013-01-31 Thread Sedat Dilek
On Thu, Jan 31, 2013 at 11:12 AM, Frederic Weisbecker fweis...@gmail.com wrote: 2013/1/31 Sedat Dilek sedat.di...@gmail.com: On Thu, Jan 31, 2013 at 1:38 AM, Frederic Weisbecker fweis...@gmail.com wrote: 2013/1/28 Sedat Dilek sedat.di...@gmail.com: On Mon, Jan 28, 2013 at 8:04 PM, Frederic

Re: [PATCH v9 00/20] OMAP USB Host cleanup

2013-01-31 Thread Roger Quadros
Hi Samuel, Could you please pull this if it looks OK? Thanks :). cheers, -roger On 01/23/2013 12:37 PM, Roger Quadros wrote: Hi Samuel, I think this series is in a pretty good shape to pull now :). I've added Reviewed-by and Acked-by tags. You can please pull from below. NOTE: the first

[PATCH 1/3] video: exynos_mipi_dsi: Convert to devm_ioremap_resource()

2013-01-31 Thread Sachin Kamat
Use the newly introduced devm_ioremap_resource() instead of devm_request_and_ioremap() which provides more consistent error handling. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Cc: Donghwa Lee dh09@samsung.com Cc: Florian Tobias Schandinat florianschandi...@gmx.de Cc:

[PATCH 2/3] Input: tegra-kbc- Convert to devm_ioremap_resource()

2013-01-31 Thread Sachin Kamat
Use the newly introduced devm_ioremap_resource() instead of devm_request_and_ioremap() which provides more consistent error handling. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Cc: Dmitry Torokhov dmitry.torok...@gmail.com Cc: linux-in...@vger.kernel.org --- Compile tested with

[PATCH 3/3] serial: tegra: Convert to devm_ioremap_resource()

2013-01-31 Thread Sachin Kamat
Use the newly introduced devm_ioremap_resource() instead of devm_request_and_ioremap() which provides more consistent error handling. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Cc: Laxman Dewangan ldewan...@nvidia.com Cc: linux-ser...@vger.kernel.org --- Compile tested with linux-next

Re: MIPS atomic_set_mask and atomic_clear_mask

2013-01-31 Thread Ralf Baechle
On Thu, Jan 31, 2013 at 11:43:21AM +0800, yili0...@gmail.com wrote: Hello, everybody: Does MIPS need the functions atomic_set_mask and atomic_clear_mask? Or how can I implement these functions. No, it doesn't need them. a quick grep would have shown that all users are either other

Re: [PATCH 1/1] depmod: pass -P $CONFIG_SYMBOL_PREFIX

2013-01-31 Thread Michal Marek
On 31.1.2013 10:41, James Hogan wrote: On architectures which have symbol prefixes, depmod emits lots of false warnings like this: WARNING: $module.ko needs unknown symbol $symbol This is because depmod isn't being passed the -P symbol_prefix arguments to specify the symbol prefix to

[tip:perf/core] perf tools: Stop using 'self' in strlist

2013-01-31 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: d8639f068a59c842882339173f58311a583c555f Gitweb: http://git.kernel.org/tip/d8639f068a59c842882339173f58311a583c555f Author: Arnaldo Carvalho de Melo a...@redhat.com AuthorDate: Thu, 24 Jan 2013 21:59:59 -0300 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Fri,

[tip:perf/core] tools lib traceevent: Handle dynamic array' s element size properly

2013-01-31 Thread tip-bot for Jiri Olsa
Commit-ID: e23c1a5578cf32ed3a7ac9dde59a2de0a52ff812 Gitweb: http://git.kernel.org/tip/e23c1a5578cf32ed3a7ac9dde59a2de0a52ff812 Author: Jiri Olsa jo...@redhat.com AuthorDate: Thu, 24 Jan 2013 21:46:43 +0100 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Fri, 25 Jan 2013

Re: [PATCH v6 00/15] memory-hotplug: hot-remove physical memory

2013-01-31 Thread Simon Jeons
Hi Tang, On Thu, 2013-01-31 at 17:44 +0800, Tang Chen wrote: Hi Simon, On 01/31/2013 04:48 PM, Simon Jeons wrote: Hi Tang, On Thu, 2013-01-31 at 15:10 +0800, Tang Chen wrote: 1. IIUC, there is a button on machine which supports hot-remove memory, then what's the difference between

[tip:perf/core] perf tools: Stop using 'self' in map.[ch]

2013-01-31 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 237a7e04a1a4461843a998fae78517dbbd08602e Gitweb: http://git.kernel.org/tip/237a7e04a1a4461843a998fae78517dbbd08602e Author: Arnaldo Carvalho de Melo a...@redhat.com AuthorDate: Thu, 24 Jan 2013 21:59:59 -0300 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Fri,

[PATCH] cpufreq: governors: fix misuse of cdbs.cpu

2013-01-31 Thread Fabio Baltieri
Fix governors code to set all cpu's cdbs-cpu to the the actual cpu id and use cur_policy-cpu istead of cdbs-cpu to track current governor's leader cpu. Reported-by: Viresh Kumar viresh.ku...@linaro.org Signed-off-by: Fabio Baltieri fabio.balti...@linaro.org ---

[tip:perf/core] perf tools: Use memdup in map__clone

2013-01-31 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 8e16017d497e9bb37c8c3c5ed1edb8d6adeebf3a Gitweb: http://git.kernel.org/tip/8e16017d497e9bb37c8c3c5ed1edb8d6adeebf3a Author: Arnaldo Carvalho de Melo a...@redhat.com AuthorDate: Thu, 24 Jan 2013 22:16:43 -0300 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Fri,

[tip:perf/core] perf header: Stop using die() calls when processing tracing data

2013-01-31 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 2caa48a24061b1f8e8dab43ea3292a608a15e3c9 Gitweb: http://git.kernel.org/tip/2caa48a24061b1f8e8dab43ea3292a608a15e3c9 Author: Arnaldo Carvalho de Melo a...@redhat.com AuthorDate: Thu, 24 Jan 2013 22:34:33 -0300 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Fri,

Re: [PATCH 1/3] video: exynos_mipi_dsi: Convert to devm_ioremap_resource()

2013-01-31 Thread Thierry Reding
On Thu, Jan 31, 2013 at 03:55:37PM +0530, Sachin Kamat wrote: Use the newly introduced devm_ioremap_resource() instead of devm_request_and_ioremap() which provides more consistent error handling. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Cc: Donghwa Lee dh09@samsung.com Cc:

[tip:perf/core] perf ui browser: Free browser-helpline() on ui_browser__hide()

2013-01-31 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 56ab7140325c835c8bb53cf3bca0cf7b6e967f15 Gitweb: http://git.kernel.org/tip/56ab7140325c835c8bb53cf3bca0cf7b6e967f15 Author: Arnaldo Carvalho de Melo a...@redhat.com AuthorDate: Thu, 24 Jan 2013 22:45:21 -0300 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Fri,

[tip:perf/core] perf tests: Call machine__exit in the vmlinux matches kallsyms test

2013-01-31 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: c0aab59f67ef47e52d151464c8dd16e7ae58d053 Gitweb: http://git.kernel.org/tip/c0aab59f67ef47e52d151464c8dd16e7ae58d053 Author: Arnaldo Carvalho de Melo a...@redhat.com AuthorDate: Thu, 24 Jan 2013 23:01:50 -0300 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Fri,

[PATCH 1/3] ARM: davinci: da850: override mmc DT node device name

2013-01-31 Thread Manjunathappa, Prakash
Populate OF_DEV_AUXDATA with desired device name expected by davinci_mmc driver. Without this clk_get of davinci_mmc DT driver fails. Signed-off-by: Manjunathappa, Prakash prakash...@ti.com Cc: linux-...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux-kernel@vger.kernel.org Cc:

[PATCH 3/3] ARM: davinci: da850: add mmc DT entries

2013-01-31 Thread Manjunathappa, Prakash
Add DT entry for MMC. Also add entry for pinmux information. Tested on da850-evm without card detect and EDMA support as DT support for GPIO and EDMA are yet come. Signed-off-by: Manjunathappa, Prakash prakash...@ti.com Cc: linux-...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Cc:

Re: [PATCH] rwsem-spinlock: let rwsem write lock stealable

2013-01-31 Thread Ingo Molnar
* Yuanhan Liu yuanhan@linux.intel.com wrote: output with this patch: --- cpu 00: 0 0 ... 1 1 2 1 1 1 2 1 1 1 1 3 cpu 01: 0 0 ... 1 1 1 1 1 1 2 1 1 1 1 3 cpu 02: 0 0 ... 2 2 3 2

[PATCH 2/3] mmc: davinci_mmc: add DT support

2013-01-31 Thread Manjunathappa, Prakash
Adds device tree support for davinci_mmc. Also add binding documentation. Tested with non-dma PIO mode and without GPIO card_detect/write_protect option because of dependencies on EDMA and GPIO modules DT support. Signed-off-by: Manjunathappa, Prakash prakash...@ti.com Cc:

Re: [PATCH] cpufreq: governors: fix misuse of cdbs.cpu

2013-01-31 Thread Viresh Kumar
On 31 January 2013 16:09, Fabio Baltieri fabio.balti...@linaro.org wrote: Fix governors code to set all cpu's cdbs-cpu to the the actual cpu id and use cur_policy-cpu istead of cdbs-cpu to track current governor's leader cpu. Reported-by: Viresh Kumar viresh.ku...@linaro.org Signed-off-by:

[tip:perf/core] perf tests: Fix leaks on PERF_RECORD_* test

2013-01-31 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: ec13abc37f71c89189350dce491189fb5b659184 Gitweb: http://git.kernel.org/tip/ec13abc37f71c89189350dce491189fb5b659184 Author: Arnaldo Carvalho de Melo a...@redhat.com AuthorDate: Fri, 25 Jan 2013 13:10:00 -0300 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Wed,

Re: [PATCH 1/1] depmod: pass -P $CONFIG_SYMBOL_PREFIX

2013-01-31 Thread James Hogan
Hi Michal, On 31/01/13 10:37, Michal Marek wrote: On 31.1.2013 10:41, James Hogan wrote: On architectures which have symbol prefixes, depmod emits lots of false warnings like this: WARNING: $module.ko needs unknown symbol $symbol This is because depmod isn't being passed the -P

[tip:perf/core] tools: Correct typo in tools Makefile

2013-01-31 Thread tip-bot for Borislav Petkov
Commit-ID: 7e010562e01aff929126f671ff9e730e22dbdb1b Gitweb: http://git.kernel.org/tip/7e010562e01aff929126f671ff9e730e22dbdb1b Author: Borislav Petkov b...@suse.de AuthorDate: Tue, 29 Jan 2013 11:48:11 +0100 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Wed, 30 Jan 2013

[tip:perf/core] perf tools: Make numa benchmark optional

2013-01-31 Thread tip-bot for Peter Hurley
Commit-ID: 79d824e31692d165f6c7d92bf4d1af0b9d969d76 Gitweb: http://git.kernel.org/tip/79d824e31692d165f6c7d92bf4d1af0b9d969d76 Author: Peter Hurley pe...@hurleysoftware.com AuthorDate: Sun, 27 Jan 2013 20:51:22 -0500 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Wed, 30

[tip:perf/core] perf evsel: Add prev_raw_count field

2013-01-31 Thread tip-bot for Stephane Eranian
Commit-ID: c7a79c47c683de6979a3e1a96dc723b0606c07ca Gitweb: http://git.kernel.org/tip/c7a79c47c683de6979a3e1a96dc723b0606c07ca Author: Stephane Eranian eran...@google.com AuthorDate: Tue, 29 Jan 2013 12:47:43 +0100 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Wed, 30

[PATCH] Staging: comedi: made range.c checkpatch.pl compliant

2013-01-31 Thread Sebastiaan de Haan
Change made to range.c to make it checkpatch.pl compliant Signed-off-by: Sebastiaan de Haan sebasti...@sebastiaandehaan.nl --- drivers/staging/comedi/range.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/comedi/range.c b/drivers/staging/comedi/range.c

[tip:perf/core] perf stat: Add interval printing

2013-01-31 Thread tip-bot for Stephane Eranian
Commit-ID: 13370a9b5bb88f7aa90e5be68972d95096b20a6d Gitweb: http://git.kernel.org/tip/13370a9b5bb88f7aa90e5be68972d95096b20a6d Author: Stephane Eranian eran...@google.com AuthorDate: Tue, 29 Jan 2013 12:47:44 +0100 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Wed, 30

[tip:perf/core] perf evsel: Fix memory leaks on evsel-counts

2013-01-31 Thread tip-bot for Namhyung Kim
Commit-ID: 43f8e76e6b96eb1327cff62ac1cc733a51f31068 Gitweb: http://git.kernel.org/tip/43f8e76e6b96eb1327cff62ac1cc733a51f31068 Author: Namhyung Kim namhyung@lge.com AuthorDate: Fri, 25 Jan 2013 10:44:44 +0900 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Wed, 30 Jan

  1   2   3   4   5   6   7   8   9   10   >