Re: [patch v7 15/21] sched: pull all tasks from source group

2013-04-04 Thread Namhyung Kim
Hi Alex, On Thu, 4 Apr 2013 10:00:56 +0800, Alex Shi wrote: In power balance, we hope some sched groups are fully empty to save CPU power of them. So, we want to move any tasks from them. Signed-off-by: Alex Shi alex@intel.com --- kernel/sched/fair.c | 7 +-- 1 file changed, 5

linux-next: manual merge of the akpm tree with the vfs tree

2013-04-04 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in sound/core/info.c between commit d1ffe1db6641 (snd_info_register: switch to proc_create_data/proc_mkdir_mode) from the vfs tree and commit sound: convert snd_info_register() to use proc_create_data() from the akpm tree. It

linux-next: manual merge of the akpm tree with the vfs tree

2013-04-04 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got conflicts in mm/filemap.c, fs/xfs/xfs_file.c, fs/splice.c, fs/ocfs2/file.c, fs/ntfs/file.c, fs/fuse/file.c, fs/cifs/file.c and fs/btrfs/file.c between commit 36bd5dc0c4e2 (lift sb_start_write/sb_end_write out of -aio_write()) from the vfs

RE: [PATCH v2] usb: Document clocks in samsung,exynos4210-ehci/ohci bindings

2013-04-04 Thread Kukjin Kim
Jingoo Han wrote: On Friday, March 15, 2013 8:01 AM, Doug Anderson wrote: The exynox4210-ehci and exynos4210-ohci nodes need a clock specified using the common clock framework. Document it. Signed-off-by: Doug Anderson diand...@chromium.org It looks good. Acked-by: Jingoo Han

[PATCH -next] drbd: fix error return code in drbd_init()

2013-04-04 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn Fix to return a negative error code from the error handling case instead of 0, as returned elsewhere in this function. Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn --- drivers/block/drbd/drbd_main.c | 2 ++ 1 file changed, 2

Re: [PATCH 2/4] kprobes: split blacklist into common and arch

2013-04-04 Thread Masami Hiramatsu
(2013/04/03 17:28), oskar.and...@sonymobile.com wrote: Some blackpoints are only valid for specific architectures. To let each architecture specify its own blackpoints the list has been split in two lists: common and arch. The common list is kept in kernel/kprobes.c and the arch list is kept

linux-next: manual merge of the akpm tree with the vfs tree

2013-04-04 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in fs/coredump.c between commit d9fe6ea81efe (lift sb_start_write() out of -write()) from the vfs tree and commit coredump: sanitize the setting of signal-group_exit_code from the akpm tree. I fixed it up (see below) and can

Re: [PATCH 4/4] kprobes: replace printk with pr_-functions

2013-04-04 Thread Masami Hiramatsu
(2013/04/03 17:28), oskar.and...@sonymobile.com wrote: Instead of using printk use pr_info/pr_err/pr_warn. This was detected by the checkpatch.pl script. Thank you for cleaning this up ! :) Acked-by: Masami Hiramatsu masami.hiramatsu...@hitachi.com Signed-off-by: Oskar Andero

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

2013-04-04 Thread Viresh Kumar
On 3 April 2013 16:00, Benjamin Herrenschmidt b...@kernel.crashing.org wrote: On Wed, 2013-04-03 at 15:00 +0530, Viresh Kumar wrote: On 31 March 2013 09:33, Viresh Kumar viresh.ku...@linaro.org wrote: Benjamin/Paul/Olof, Any comments on this? Ping!! I'm on vacation until end of April.

linux-next: manual merge of the akpm tree with the vfs tree

2013-04-04 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in fs/proc/generic.c between several commits from the vfs tree and commit procfs: improve scaling in proc from the akpm tree. I just dropped the akpm tree patch (and the following procfs-improve-scaling-in-proc-v5) as the

Re: linux-next: manual merge of the usb-gadget tree with the usb tree

2013-04-04 Thread Thierry Reding
On Thu, Apr 04, 2013 at 03:18:45PM +1100, Stephen Rothwell wrote: Hi Felipe, Today's linux-next merge of the usb-gadget tree got a conflict in drivers/usb/host/ehci-tegra.c between commit 369a9a9d2af7 (usb: host: ehci-tegra: Fix oops in error cleanup) from the usb tree and commit

Re: [PATCH v2] wait while adding MMC host to ensure root mounts

2013-04-04 Thread Adrian Hunter
On 02/04/13 17:24, Sergey Yanovich wrote: On Tue, 2013-04-02 at 16:36 +0300, Adrian Hunter wrote: On my system it is significant: Before the patch: [1.625623] VFS: Mounted root (ext4 filesystem) readonly on device 179:2. After the patch: [1.935851] VFS: Mounted root (ext4

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

2013-04-04 Thread Amit Kucheria
On Thu, Apr 4, 2013 at 11:55 AM, Viresh Kumar viresh.ku...@linaro.org wrote: On 3 April 2013 16:00, Benjamin Herrenschmidt b...@kernel.crashing.org wrote: On Wed, 2013-04-03 at 15:00 +0530, Viresh Kumar wrote: On 31 March 2013 09:33, Viresh Kumar viresh.ku...@linaro.org wrote:

Re: [PATCH v1] ARM: keep __my_cpu_offset consistent with generic one

2013-04-04 Thread Ming Lei
Hi, On Thu, Apr 4, 2013 at 12:19 AM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: Still not convinced this is a proper fix. Look, the problem is this: - Initially, set the CPU percpu offset to zero. This means the boot CPU reads and writes to the percpu data section in the

RE: [PATCH v3 0/3] Platform support for EHRPWM ECAP devices in DAVINCI.

2013-04-04 Thread Philip, Avinash
On Thu, Apr 04, 2013 at 11:19:44, Nori, Sekhar wrote: On 4/4/2013 10:09 AM, Philip, Avinash wrote: On Tue, Apr 02, 2013 at 14:05:09, Nori, Sekhar wrote: On 3/25/2013 1:19 PM, Philip Avinash wrote: Add platform support for EHRPWM and ECAP by providing clock nodes and device tree nodes.

Re: [PATCHv9 0/9] Support Tegra 2D hardware

2013-04-04 Thread Terje Bergström
On 22.03.2013 16:54, Thierry Reding wrote: On Fri, Mar 22, 2013 at 04:34:00PM +0200, Terje Bergstrom wrote: This set of patches adds support for Tegra20 and Tegra30 host1x and 2D. It is based on linux-next-20130322 with RTC fixes applied. (...) For the series: Reviewed-by: Thierry Reding

Re: [PATCH 1/4] kprobes: delay blacklist symbol lookup until we actually need it

2013-04-04 Thread Masami Hiramatsu
(2013/04/03 17:28), oskar.and...@sonymobile.com wrote: +/* it can take some time ( 100ms ) to initialise the + * blacklist so we delay this until we actually need it + */ +static void init_kprobe_blacklist(void) +{ + int i; + unsigned long offset = 0, size = 0; + char

linux-next: build failure after merge of the akpm tree

2013-04-04 Thread Stephen Rothwell
Hi Andrew, After merging the akpm tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: fs/aio.c: In function 'aio_rw_vect_retry': fs/aio.c:1106:6: error: 'opcode' undeclared (first use in this function) Caused by commit 36bd5dc0c4e2 (lift sb_start_write/sb_end_write out of

Re: [PATCH v4 0/2] ARM: Exynos5250: Enabling samsung usb phy

2013-04-04 Thread Vivek Gautam
Hi Kukjin, On Fri, Mar 15, 2013 at 1:26 PM, Vivek Gautam gautam.vi...@samsung.com wrote: Based on 'for-next' of linux-samsung tree with following patches from Doug on top: usb: Document clocks in samsung, exynos4210-ehci/ohci bindings ARM: dts: add usb 2.0 clock references to exynos5250

Re: [PATCH v5 0/3] ARM: Exynos5250: Enabling dwc3-exynos driver

2013-04-04 Thread Vivek Gautam
Hi Kukjin, On Fri, Mar 15, 2013 at 1:32 PM, Vivek Gautam gautam.vi...@samsung.com wrote: This patch-set is in continuation with patch-series: [PATCH v4 0/4] Enable ehci, ohci and dwc3 devices on exynos5250 out of which follwowing patches have been picked up: ARM: Exynos5250: Enabling

Re: [PATCH v3 linux-next] cpufreq: ondemand: Calculate gradient of CPU load to early increase frequency

2013-04-04 Thread stratosk
Hi Viresh, I never use performance governor, but I want improved performance with ondemand. Why do you suspect significant increased power? With ondemand the CPU will go down to lowest freq as soon as the load will decreased. And the measurement shows that the CPU load will decrease faster

Re: [PATCH 2/3] resource: Add release_mem_region_adjustable()

2013-04-04 Thread Ram Pai
On Wed, Apr 03, 2013 at 01:55:05PM -0600, Toshi Kani wrote: On Wed, 2013-04-03 at 13:37 +0800, Ram Pai wrote: On Tue, Apr 02, 2013 at 10:17:29AM -0600, Toshi Kani wrote: + while ((res = *p)) { ...snip... + if (res-start start || res-end end) { This check looks

Re: [PATCH 4/5] sched: don't consider upper se in sched_slice()

2013-04-04 Thread Preeti U Murthy
Hi Joonsoo, On 04/04/2013 06:12 AM, Joonsoo Kim wrote: Hello, Preeti. So, how about extending a sched_period with rq-nr_running, instead of cfs_rq-nr_running? It is my quick thought and I think that we can ensure to run atleast once in this extending sched_period. Yeah this seems to be

Re: [PATCH v3 linux-next] cpufreq: ondemand: Calculate gradient of CPU load to early increase frequency

2013-04-04 Thread Viresh Kumar
On 4 April 2013 12:17, stratosk strat...@semaphore.gr wrote: Why do you suspect significant increased power? With ondemand the CPU will go down to lowest freq as soon as the load will decreased. And the measurement shows that the CPU load will decrease faster (because of faster

Re: [RFC PATCH 0/4] Support vranges on files

2013-04-04 Thread Minchan Kim
Hey John, First of all, I should confess I just glanced your code and poped several questions. If I miss something, please slap me. On Wed, Apr 03, 2013 at 04:52:19PM -0700, John Stultz wrote: This patchset is against Minchan's vrange work here: https://lkml.org/lkml/2013/3/12/105

Re: [PATCH v2 4/4] x86, kdump: Change crashkernel_high/low= to crashkernel=;high/low

2013-04-04 Thread HATAYAMA Daisuke
(2013/04/04 9:38), Yinghai Lu wrote: Index: linux-2.6/kernel/kexec.c === --- linux-2.6.orig/kernel/kexec.c +++ linux-2.6/kernel/kexec.c @@ -1360,7 +1360,7 @@ static int __init parse_crashkernel_simp if (*cur == '@')

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

2013-04-04 Thread Andrew Morton
On Thu, 4 Apr 2013 17:26:48 +1100 Stephen Rothwell s...@canb.auug.org.au wrote: Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in fs/proc/generic.c between several commits from the vfs tree and commit procfs: improve scaling in proc from the akpm tree. I just

[PATCH] lockdep: remove unneccesary assignment in loop and the viarable

2013-04-04 Thread Hong Zhiguo
Signed-off-by: Hong Zhiguo honk...@gmail.com --- kernel/lockdep.c |6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/kernel/lockdep.c b/kernel/lockdep.c index 259db20..0f26597 100644 --- a/kernel/lockdep.c +++ b/kernel/lockdep.c @@ -2000,7 +2000,7 @@ static inline int

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

2013-04-04 Thread Andrew Morton
On Wed, 3 Apr 2013 23:56:34 -0700 Andrew Morton a...@linux-foundation.org wrote: On Thu, 4 Apr 2013 17:26:48 +1100 Stephen Rothwell s...@canb.auug.org.au wrote: Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in fs/proc/generic.c between several commits from the

Re: [PATCH] memcg: fix memcg_cache_name() to use cgroup_name()

2013-04-04 Thread Michal Hocko
On Wed 03-04-13 14:33:34, Tejun Heo wrote: On Tue, Apr 02, 2013 at 10:26:48AM +0200, Michal Hocko wrote: Tejun, could you take this one please? Aye aye, applied to cgroup/for-3.10. Thanks! -- Michal Hocko SUSE Labs -- To unsubscribe from this list: send the line unsubscribe linux-kernel

Re: linux-next: manual merge of the usb-gadget tree with the usb tree

2013-04-04 Thread Felipe Balbi
On Thu, Apr 04, 2013 at 08:27:30AM +0200, Thierry Reding wrote: On Thu, Apr 04, 2013 at 03:18:45PM +1100, Stephen Rothwell wrote: Hi Felipe, Today's linux-next merge of the usb-gadget tree got a conflict in drivers/usb/host/ehci-tegra.c between commit 369a9a9d2af7 (usb: host:

Re: [PATCH v3 00/11] usb: dwc3/xhci/phy: Enable runtime power management

2013-04-04 Thread Felipe Balbi
On Thu, Apr 04, 2013 at 10:34:57AM +0530, Vivek Gautam wrote: Hi Sarah, On Wed, Apr 3, 2013 at 10:57 PM, Sarah Sharp sarah.a.sh...@linux.intel.com wrote: Question: Do you still need this patch for 3.10? Felipe's 'next' is closed for 3.10, so this series won't be making it to 3.10 now,

linux-next: build failure after merge of the final tree (wireless-next tree related)

2013-04-04 Thread Stephen Rothwell
Hi all, After merging the final tree, today's linux-next build (powerpc allyesconfig) failed like this: drivers/net/wireless/rtlwifi/rtl8188ee/built-in.o: In function `.rtl92c_phy_ap_calibrate': (.text+0x21d14): multiple definition of `.rtl92c_phy_ap_calibrate'

Re: [PATCH 3/7] dump_stack: consolidate dump_stack() implementations and unify their behaviors

2013-04-04 Thread Martin Schwidefsky
On Wed, 3 Apr 2013 12:14:53 -0700 Tejun Heo t...@kernel.org wrote: v2: CPU number added to the generic debug info as requested by s390 folks and dropped the s390 specific dump_stack(). This loses %ksp from the debug message which the maintainers think isn't important enough to

Re: [PATCH v8 10/14] ARM: tegra: Define Tegra114 CAR binding

2013-04-04 Thread Prashant Gaikwad
On Wednesday 03 April 2013 07:49 PM, Peter De Schrijver wrote: On Mon, Mar 25, 2013 at 12:15:47PM +0100, Prashant Gaikwad wrote: On Friday 22 March 2013 06:09 PM, Peter De Schrijver wrote: The device tree binding models Tegra114 CAR (Clock And Reset) as a single monolithic clock provider.

Re: [PATCH v5 1/6] drivers: phy: add generic PHY framework

2013-04-04 Thread Felipe Balbi
Hi, On Wed, Apr 03, 2013 at 05:54:11PM -0600, Stephen Warren wrote: struct phy { struct device *dev; struct module *owner; int (*init)(struct phy *phy); int (*exit)(struct phy *phy); int (*suspend)(struct phy *phy); int (*resume)(struct

Re: [PATCH v3 01/11] usb: phy: Add APIs for runtime power management

2013-04-04 Thread Felipe Balbi
Hi, On Wed, Apr 03, 2013 at 02:14:02PM -0400, Alan Stern wrote: Lets suppose DWC3 enables runtime_pm on USB 2 type phy, it will try to go into suspend state and thereby call runtime_suspend(), if any. And PHY will come to active state only when its consumer wakes it up, and this

Re: [PATCH 4/9] ARM: ux500: Move Snowball's thermal DT node into existing PRCMU one

2013-04-04 Thread Lee Jones
On Wed, 03 Apr 2013, Linus Walleij wrote: On Wed, Apr 3, 2013 at 10:38 PM, Linus Walleij linus.wall...@linaro.org wrote: On Tue, Apr 2, 2013 at 3:21 PM, Lee Jones lee.jo...@linaro.org wrote: When the thermal DT node was inserted a new PRCMU node was created; however, one already exists

Re: [PATCH v3 linux-next] cpufreq: ondemand: Calculate gradient of CPU load to early increase frequency

2013-04-04 Thread stratosk
I agree that we will have false alarms but this will not be a total waste of power since the load will be more than 50 (the default grad_up_threshold value). So, I don't think there will be *significant* increase in power. Though, I don't know a way to prove this with numbers. Thanks, Stratos

linux-next: Tree for Apr 4

2013-04-04 Thread Stephen Rothwell
Hi all, Changes since 20130403: The ext4 tree gained a build failure so I used the version from next-20130403. The nfsd tree lost its build failure. The vfs tree lost its build failure. The net-next tree gained a conflict against the wireless tree. The wireless-next tree lost its build

Re: GPS driver for Linux - kernel or user-space driver?

2013-04-04 Thread Mika Westerberg
(Adding Lv, he has been working on this). On Wed, Apr 03, 2013 at 06:44:51PM -0700, Marcel Holtmann wrote: Hi Greg, I've been approached by a developer at Sony who wants to publish an open source driver for a Sony GPS receiver module. What does the device look like? USB device?

[PATCH] ARM: ux500: Supply a DTS file for the u8540 platform

2013-04-04 Thread Lee Jones
This is a skeleton DTS file which only enables serial. Just using this simple file yields a terminal when booting u8540. Signed-off-by: Lee Jones lee.jo...@linaro.org --- arch/arm/boot/dts/ccu8540.dts | 36 1 file changed, 36 insertions(+) create mode

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

2013-04-04 Thread Jiri Slaby
On 03/01/2013 01:55 PM, Jiri Slaby wrote: On 01/31/2013 02:24 PM, Borislav Petkov wrote: On Thu, Jan 31, 2013 at 02:18:05PM +0100, Borislav Petkov wrote: And if I pass nmi_watchdog=0 to the image kernel, it should be gone I guess. How do you pass options the image kernel? Yep, passing

Re: [PATCH v3 00/11] usb: dwc3/xhci/phy: Enable runtime power management

2013-04-04 Thread Vivek Gautam
On Thu, Apr 4, 2013 at 12:40 PM, Felipe Balbi ba...@ti.com wrote: On Thu, Apr 04, 2013 at 10:34:57AM +0530, Vivek Gautam wrote: Hi Sarah, On Wed, Apr 3, 2013 at 10:57 PM, Sarah Sharp sarah.a.sh...@linux.intel.com wrote: Question: Do you still need this patch for 3.10? Felipe's 'next' is

[PATCH] ARM: ux500: Over-ride TCDM size when booting the DB8540 platform

2013-04-04 Thread Lee Jones
The PRCMU's Tightly Coupled Data Memory on the DB8540 platform is 8kB larger than it's predecessor's. We need to reflect that in its Device Tree. By re-specifying the address and size of the device we effectively over-ride the previous values with more accurate ones. Signed-off-by: Lee Jones

Re: [RFC][PATCH 1/2] ARM: OMAP4: clock: Add device tree support for AUXCLKs

2013-04-04 Thread Roger Quadros
Hi, On 04/04/2013 02:42 AM, Tony Lindgren wrote: Hi, * Roger Quadros rog...@ti.com [130319 07:31]: Register a device tree clock provider for AUX clocks on the OMAP4 SoC. Also provide the binding information. Signed-off-by: Roger Quadros rog...@ti.com ---

[RFC-v3 5/9] iscsi-target: Add per transport iscsi_cmd alloc/free

2013-04-04 Thread Nicholas A. Bellinger
From: Nicholas Bellinger n...@linux-iscsi.org This patch converts struct iscsi_cmd memory allocation + free to use -iscsit_alloc_cmd() iscsit_transport API caller, and export iscsit_allocate_cmd() symbols Also add iscsi_cmd-release_cmd() to be used seperately from iscsit_transport for

[RFC-v3 8/9] iscsi-target: Add iser network portal attribute

2013-04-04 Thread Nicholas A. Bellinger
From: Nicholas Bellinger n...@linux-iscsi.org This patch adds a new network portal attribute for iser, that lives under existing iscsi-target configfs layout at: /sys/kernel/config/target/iscsi/$TARGETNAME/$TPGT/np/$PORTAL/iser When lio_target_np_store_iser() is enabled,

[RFC-v3 7/9] iscsi-target: Refactor TX queue logic + export response PDU creation

2013-04-04 Thread Nicholas A. Bellinger
From: Nicholas Bellinger n...@linux-iscsi.org This patch refactors TX immediate + response queue handling to use the new iscsit_transport API callers, and exports the necessary traditional iscsi PDU response creation functions for iser-target to utilize. This includes: - Add

[RFC-v3 6/9] iscsi-target: Refactor RX PDU logic + export request PDU handling

2013-04-04 Thread Nicholas A. Bellinger
From: Nicholas Bellinger n...@linux-iscsi.org This patch refactors existing traditional iscsi RX side PDU handling to use iscsit_transport, and exports the necessary logic for external transport modules. This includes: - Refactor iscsit_handle_scsi_cmd() into PDU setup / processing - Add

Re: [RFC] perf: need to expose sched_clock to correlate user samples with kernel samples

2013-04-04 Thread Richard Cochran
On Wed, Apr 03, 2013 at 10:50:57AM -0700, John Stultz wrote: I get the reasoning around reusing the fd we already have, but is the possibility of a dynamic chardev pathname really a big concern? I have been following this thread, and, not knowing very much about perf, I would think that the

[RFC-v3 0/9] Add support for iSCSI Extensions for RDMA (ISER) target mode

2013-04-04 Thread Nicholas A. Bellinger
From: Nicholas Bellinger n...@linux-iscsi.org This series is the third RFC for iSCSI Extensions for RDMA (ISER) target mode support planned for an future v3.10 merge. This series refactors existing traditional iscsi-target mode logic in order for external ib_isert.ko module code to function with

[RFC-v3 2/9] iscsi-target: Add iscsit_transport API template

2013-04-04 Thread Nicholas A. Bellinger
From: Nicholas Bellinger n...@linux-iscsi.org Add basic struct iscsit_transport API template to allow iscsi-target for running with external transport modules using existing iscsi_target_core.h code. For all external modules, this calls try_module_get() and module_put() to obtain + release an

[RFC-v3 4/9] iscsi-target: Add iser-target parameter keys + setup during login

2013-04-04 Thread Nicholas A. Bellinger
From: Nicholas Bellinger n...@linux-iscsi.org This patch adds RDMAExtensions, InitiatorRecvDataSegmentLength and TargetRecvDataSegmentLength parameters keys necessary for iser-target login to occur. This includes setting the necessary parameters during login path code within

[RFC-v3 3/9] iscsi-target: Initial traditional TCP conversion to iscsit_transport

2013-04-04 Thread Nicholas A. Bellinger
From: Nicholas Bellinger n...@linux-iscsi.org This patch performs the initial conversion of existing traditional iscsi to use iscsit_transport API callers. This includes: - iscsi-np cleanups for iscsit_transport_type - Add iscsi-np transport calls w/ -iscsit_setup_up() and -iscsit_free_np() -

[RFC-v3 1/9] target: Add export of target_get_sess_cmd symbol

2013-04-04 Thread Nicholas A. Bellinger
From: Nicholas Bellinger n...@linux-iscsi.org Export target_get_sess_cmd() symbol so that it can be used by iscsi-target. Signed-off-by: Nicholas Bellinger n...@linux-iscsi.org --- drivers/target/target_core_transport.c |4 ++-- include/target/target_core_fabric.h|2 +- 2 files

Re: [PATCH v2] i2c-hid: fix length for set/get report in i2c hid

2013-04-04 Thread Jiri Kosina
On Wed, 3 Apr 2013, Huzefa Kankroliwala wrote: With the current i2c hid driver set/get report does not work as expected, for e.g sensor hub properties like power state, frequency etc is not set properly on the device as a result we do not get events. The problem is that i2c hid driver in

Re: [PATCH] HID: hid-sensor-hub: do not process feature reports in raw_event

2013-04-04 Thread Jiri Kosina
On Wed, 27 Mar 2013, Jiri Kosina wrote: I am looking at 3.9.rc1. The only place I see the raw_event callback is called from hid/hid_input_report(). hid_input_report is called with type HID_INPUT_REPORT in all cases, except hid_ctrl(), where it can be different depending on

Re: [PATCH v3.7+] HID: magicmouse: fix race between input_register() and probe()

2013-04-04 Thread Jiri Kosina
On Tue, 2 Apr 2013, Benjamin Tissoires wrote: Since kernel 3.7, it appears that the input registration occured before the end of magicmouse_setup_input(). This is shown by receiving a lot of EV_SYN SYN_REPORT 1 instead of normal EV_SYN SYN_REPORT 0. This value means that the output buffer is

Re: make[2]: execvp: /bin/bash: Argument list too long

2013-04-04 Thread Rusty Russell
Rusty Russell ru...@rustcorp.com.au writes: If this passes review, I'll split properly into three patches. Thanks, Rusty. Noone commented, so split into 3 and into modules-next it goes... Cheers, Rusty. modpost: handle huge numbers of modules. (FIXME: Split into multiple patches).

Re: [PATCH 1/2] Revert af_unix: dont send SCM_CREDENTIAL when dest socket is NULL

2013-04-04 Thread dingtianhong
On 2013/4/4 10:13, Eric W. Biederman wrote: This reverts commit 14134f6584212d585b310ce95428014b653dfaf6. The problem that the above patch was meant to address is that af_unix messages are not being coallesced because we are sending unnecesarry credentials. Not sending credentials in

Re: [PATCH v3.7+] HID: magicmouse: fix race between input_register() and probe()

2013-04-04 Thread Benjamin Tissoires
On 04/04/2013 09:51 AM, Jiri Kosina wrote: On Tue, 2 Apr 2013, Benjamin Tissoires wrote: Since kernel 3.7, it appears that the input registration occured before the end of magicmouse_setup_input(). This is shown by receiving a lot of EV_SYN SYN_REPORT 1 instead of normal EV_SYN SYN_REPORT 0.

Re: [PATCH v2] i2c-hid: fix length for set/get report in i2c hid

2013-04-04 Thread Benjamin Tissoires
On Thu, Apr 4, 2013 at 9:47 AM, Jiri Kosina jkos...@suse.cz wrote: On Wed, 3 Apr 2013, Huzefa Kankroliwala wrote: With the current i2c hid driver set/get report does not work as expected, for e.g sensor hub properties like power state, frequency etc is not set properly on the device as a

Re: [PATCH 2/2] af_unix: If we don't care about credentials coallesce all messages

2013-04-04 Thread dingtianhong
On 2013/4/4 10:14, Eric W. Biederman wrote: It was reported that the following LSB test case failed https://lsbbugs.linuxfoundation.org/attachment.cgi?id=2144 because we were not coallescing unix stream messages when the application was expecting us to. The problem was that the first send

Re: [PATCH 1/4] kprobes: delay blacklist symbol lookup until we actually need it

2013-04-04 Thread Oskar Andero
On 08:44 Thu 04 Apr , Masami Hiramatsu wrote: (2013/04/03 17:28), oskar.and...@sonymobile.com wrote: +/* it can take some time ( 100ms ) to initialise the + * blacklist so we delay this until we actually need it + */ +static void init_kprobe_blacklist(void) +{ + int i; +

Re: [PATCH v2] i2c-hid: fix length for set/get report in i2c hid

2013-04-04 Thread Jiri Kosina
On Thu, 4 Apr 2013, Benjamin Tissoires wrote: With the current i2c hid driver set/get report does not work as expected, for e.g sensor hub properties like power state, frequency etc is not set properly on the device as a result we do not get events. The problem is that i2c hid driver in

Re: [PATCH 09/23] perf: make cfi unwind support based on CONFIG_LIBUNWIND

2013-04-04 Thread Paul Bolle
On Tue, 2013-04-02 at 09:20 -0600, David Ahern wrote: traditionally, perf has not required a kernel config to build it. The above grabs some symbols for a standalone perf config. I guess that's a question to be answered - should the kernel's config files should be used for perf (or a tools

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

2013-04-04 Thread Al Viro
On Wed, Apr 03, 2013 at 11:56:34PM -0700, Andrew Morton wrote: On Thu, 4 Apr 2013 17:26:48 +1100 Stephen Rothwell s...@canb.auug.org.au wrote: Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in fs/proc/generic.c between several commits from the vfs tree and commit

Re: [PATCH 1/2] deb-pkg: split debug symbols in their own package

2013-04-04 Thread Anisse Astier
Any comments ? Anisse On Fri, 22 Mar 2013 11:06:00 +0100, Anisse Astier ani...@astier.eu wrote : This can reduce almost 3 times the size of the linux-image package, while keeping the debug symbols available for this particular build, in their own package. This mimics the way kernels are

Re: [PATCH] mm, x86: Do not zero hugetlbfs pages at boot. -v2

2013-04-04 Thread Michal Hocko
On Wed 03-04-13 12:00:12, Robin Holt wrote: On Wed, Apr 03, 2013 at 04:02:47PM +0200, Michal Hocko wrote: On Tue 02-04-13 21:43:44, Robin Holt wrote: [...] diff --git a/mm/hugetlb.c b/mm/hugetlb.c index ca9a7c6..7683f6a 100644 --- a/mm/hugetlb.c +++ b/mm/hugetlb.c @@ -1185,7

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

2013-04-04 Thread Al Viro
On Thu, Apr 04, 2013 at 12:02:53AM -0700, Andrew Morton wrote: Well perhaps the vfs tree should start paying some attention to the rest of the world, particularly after -rc5. I can't even find this lift sb_start_write() out of -write(). Not on fsdevel, not on lkml. What the heck is it

Re: [PATCH v2 1/4] x86, kdump: Set crashkernel_low automatically

2013-04-04 Thread HATAYAMA Daisuke
(2013/04/04 9:38), Yinghai Lu wrote: Index: linux-2.6/lib/swiotlb.c === --- linux-2.6.orig/lib/swiotlb.c +++ linux-2.6/lib/swiotlb.c @@ -105,9 +105,9 @@ setup_io_tlb_npages(char *str) if (!strcmp(str, force))

Re: [RFC] perf: need to expose sched_clock to correlate user samples with kernel samples

2013-04-04 Thread Stephane Eranian
On Wed, Apr 3, 2013 at 7:57 PM, John Stultz john.stu...@linaro.org wrote: On 04/03/2013 07:22 AM, Stephane Eranian wrote: On Wed, Apr 3, 2013 at 4:14 PM, David Ahern dsah...@gmail.com wrote: On 4/3/13 8:00 AM, Stephane Eranian wrote: Why not have perf convert its perf_clock timestamps into

Re: [PATCH] mm, x86: Do not zero hugetlbfs pages at boot. -v2

2013-04-04 Thread Michal Hocko
On Wed 03-04-13 12:21:32, Robin Holt wrote: On Wed, Apr 03, 2013 at 04:00:49PM +0200, Michal Hocko wrote: On Tue 02-04-13 21:43:44, Robin Holt wrote: [...] diff --git a/mm/bootmem.c b/mm/bootmem.c index 2b0bcb0..b2e4027 100644 --- a/mm/bootmem.c +++ b/mm/bootmem.c @@ -705,12

Re: [RFC PATCH] Use target compiler for user binaries in samples/

2013-04-04 Thread Jiri Kosina
On Sun, 31 Mar 2013, Sam Ravnborg wrote: The user-space binaries build in samples/ uses the installed headers for the kernel. Therefore it is wrong that they use the host compiler to build the samples. Following is an attempt to create some infrastructure for building user-space binaries

Re: [PATCH v9 00/14] Tegra114 clockframework

2013-04-04 Thread Peter De Schrijver
On Thu, Apr 04, 2013 at 01:23:05AM +0200, Stephen Warren wrote: On 04/03/2013 12:27 PM, Stephen Warren wrote: On 04/03/2013 11:52 AM, Stephen Warren wrote: On 04/03/2013 08:40 AM, Peter De Schrijver wrote: This is the nineth version of the Tegra114 clockframework. It is based on the

[PATCH 3.8-stable] cpufreq: exynos: Get booting freq value in exynos_cpufreq_init

2013-04-04 Thread Jonghwan Choi
This patch looks like it should be in the 3.8-stable tree, should we apply it? -- From: Jonghwan Choi jhbird.c...@samsung.com Boot_freq is for saving booting freq. But exynos_cpufreq_cpu_init is called in hotplug. If boot_freq is existed in exynos_cpufreq_cpu_init, boot_freq

Re: [RFC] Add implicit barriers to irqsave/restore class of functions

2013-04-04 Thread Christian Ruppert
Hi Vineet, Just a short message to inform you that the test campaign on our RFC patch has run through successfully and we consider the patch stable enough for release to our customers. The main reason the barriers were added in this particular place is because other architectures do the same. I

[PATCH 3.8-stable] ARM: EXYNOS: Fix crash on soft reset on EXYNOS5440

2013-04-04 Thread Jonghwan Choi
This patch looks like it should be in the 3.8-stable tree, should we apply it? -- From: Thomas Abraham thomas...@samsung.com The soft-reset control register is located in the XMU controller space. Map this controller space before writing to the soft-reset controller register.

Re: [PATCH 5/9] cpufreq: integrator: move cpufreq driver to drivers/cpufreq

2013-04-04 Thread Viresh Kumar
Hi Linus, On 25 March 2013 15:41, Viresh Kumar viresh.ku...@linaro.org wrote: This patch moves cpufreq driver of ARM based integrator platform to drivers/cpufreq. Cc: Russell King li...@arm.linux.org.uk Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- arch/arm/Kconfig

Re: [PATCH v3 01/11] usb: phy: Add APIs for runtime power management

2013-04-04 Thread Vivek Gautam
Hi, On Thu, Apr 4, 2013 at 12:48 PM, Felipe Balbi ba...@ti.com wrote: Hi, On Wed, Apr 03, 2013 at 02:14:02PM -0400, Alan Stern wrote: Lets suppose DWC3 enables runtime_pm on USB 2 type phy, it will try to go into suspend state and thereby call runtime_suspend(), if any. And PHY

[PATCH 3.9 repost] cputime: Fix accounting on multi-threaded processes

2013-04-04 Thread Stanislaw Gruszka
Recent commit 6fac4829 cputime: Use accessors to read task cputime stats introduced a bug, that make we account many times cputime of the first thread, instead of cputimes of all threads. Signed-off-by: Stanislaw Gruszka sgrus...@redhat.com Acked-by: Frederic Weisbecker fweis...@gmail.com ---

Re: [PATCH v5 1/6] drivers: phy: add generic PHY framework

2013-04-04 Thread Kishon Vijay Abraham I
Hi, On Wednesday 03 April 2013 09:17 PM, Felipe Balbi wrote: Hi, On Wed, Apr 03, 2013 at 08:02:52PM +0530, Kishon Vijay Abraham I wrote: + ret = -EINVAL; + goto err0; + } + + if (!phy_class) + phy_core_init(); why don't you setup the

[PATCH] clk: tegra: Fix cdev1 and cdev2 IDs

2013-04-04 Thread Prashant Gaikwad
Correct IDs for cdev1 and cdev2 are 94 and 93 respectively. Signed-off-by: Prashant Gaikwad pgaik...@nvidia.com --- Stephen, tested this patch on Ventana and Cardhu, please verify if I am not missing any platform which uses cdev1/cdev2. --- .../bindings/clock/nvidia,tegra20-car.txt |

[PATCH] clk: tegra: Add missing cdev1 and cdev2 clocks

2013-04-04 Thread Prashant Gaikwad
Register cdev1 and cdev2 peripheral clocks. Signed-off-by: Prashant Gaikwad pgaik...@nvidia.com --- drivers/clk/tegra/clk-tegra30.c | 18 ++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/drivers/clk/tegra/clk-tegra30.c b/drivers/clk/tegra/clk-tegra30.c index

[PATCH] clk: tegra: Use common of_clk_init() function

2013-04-04 Thread Prashant Gaikwad
Use common of_clk_init() function for clocks initialization. Signed-off-by: Prashant Gaikwad pgaik...@nvidia.com --- Stephen, if T114 clock series is not going to make in 3.10 then I would like Mike to take this patch. If T114 clock series makes it then I have to rebase this patch on top of it.

[GIT] HID

2013-04-04 Thread Jiri Kosina
Linus, please pull from git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-linus to receive - Workaround for device ID conflict between Masterkit MA901 usb radio device and Atmel V-USB devices, to avoid regressions from older kernels, by Alexey Klimov - fix for possible

[PATCH 5/6] mm/hugetlb: remove redundant hugetlb_prefault

2013-04-04 Thread Wanpeng Li
hugetlb_prefault is not used by any users. This patch remove redundant hugetlb_prefault. Signed-off-by: Wanpeng Li liw...@linux.vnet.ibm.com --- include/linux/hugetlb.h |2 -- 1 file changed, 2 deletions(-) diff --git a/include/linux/hugetlb.h b/include/linux/hugetlb.h index

[PATCH 4/6] mm/hugetlb: use already exist huge_page_order() instead of h-order

2013-04-04 Thread Wanpeng Li
Use already exist interface huge_page_order() instead of h-order to get huge page order. Signed-off-by: Wanpeng Li liw...@linux.vnet.ibm.com --- mm/hugetlb.c | 36 +++- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/mm/hugetlb.c b/mm/hugetlb.c

[PATCH -tip 0/4] do not make cputime scaling in kernel

2013-04-04 Thread Stanislaw Gruszka
This patch series removes cputime scaling from kernel. It can be easily done in user space using floating point if we provide sum_exec_runtime, what patches 2/4 and 3/4 do. I have procps patch which utilize that: http://people.redhat.com/sgruszka/procps-use-sum_exec_runtime.patch I will post it,

[PATCH -tip 3/4] sched,proc: add csum_sched_runtime to /proc/PID/stat

2013-04-04 Thread Stanislaw Gruszka
Account precise CPU time used by finished children and export that value via procfs. Signed-off-by: Stanislaw Gruszka sgrus...@redhat.com --- Documentation/filesystems/proc.txt |1 + fs/proc/array.c|3 +++ include/linux/sched.h | 11 +++

[PATCH -tip 1/4] cputime: change parameter of thread_group_cputime_adjusted

2013-04-04 Thread Stanislaw Gruszka
This is preparation for further changes in cputime code. Signed-off-by: Stanislaw Gruszka sgrus...@redhat.com --- fs/proc/array.c|5 - include/linux/sched.h |2 +- kernel/exit.c |8 kernel/sched/cputime.c | 18 ++ kernel/sys.c

[PATCH -tip 2/4] procfs: add sum_exec_runtime to /proc/PID/stat

2013-04-04 Thread Stanislaw Gruszka
Allow user-space (i.e. top) to read precise CPU time usage of the process. Signed-off-by: Stanislaw Gruszka sgrus...@redhat.com --- Documentation/filesystems/proc.txt |1 + fs/proc/array.c|5 + 2 files changed, 6 insertions(+), 0 deletions(-) diff --git

[PATCH -tip 4/4] cputime: remove scaling

2013-04-04 Thread Stanislaw Gruszka
Scaling cputime cause problems, bunch of them was fixed, but still is possible to hit multiplication overflow issue, which make {u,s}time values incorrect. This problem has no good solution in kernel. This patch remove scaling code and export raw values of {u,t}ime . Procps programs can use newly

[PATCH 3/6] mm/hugetlb: enable gigantic hugetlb page pools shrinking

2013-04-04 Thread Wanpeng Li
Enable gigantic hugetlb page pools shrinking. Signed-off-by: Wanpeng Li liw...@linux.vnet.ibm.com --- mm/hugetlb.c |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/mm/hugetlb.c b/mm/hugetlb.c index eeaf6f2..328f140 100644 --- a/mm/hugetlb.c +++ b/mm/hugetlb.c @@

[PATCH 2/6] mm/hugetlb: update_and_free_page gigantic pages awareness

2013-04-04 Thread Wanpeng Li
order = MAX_ORDER pages can't be freed to buddy system directly, this patch destroy the gigantic hugetlb page to normal order-0 pages and free them one by one. Signed-off-by: Wanpeng Li liw...@linux.vnet.ibm.com --- mm/hugetlb.c| 39 +-- mm/internal.h

[PATCH 6/6] mm/hugetlb: use already exist interface huge_page_shift

2013-04-04 Thread Wanpeng Li
Use already exist interface huge_page_shift instead of h-order + PAGE_SHIFT. Signed-off-by: Wanpeng Li liw...@linux.vnet.ibm.com --- mm/hugetlb.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/hugetlb.c b/mm/hugetlb.c index 0cae950..750ed8a 100644 --- a/mm/hugetlb.c

[PATCH 1/6] mm/hugetlb: introduce new sysctl knob which control gigantic page pools shrinking

2013-04-04 Thread Wanpeng Li
This patch introduces new sysctl knob to support gigantic hugetlb page pools shrinking. The default value is 0 since gigantic page pools aren't permitted shrinked by default, administrator can echo 1 to knob to enable gigantic page pools shrinking after they confirm they won't use them any more.

[PATCH 0/6] mm/hugetlb: gigantic hugetlb page pools shrink supporting

2013-04-04 Thread Wanpeng Li
order = MAX_ORDER pages are only allocated at boot stage using the bootmem allocator with the hugepages=xxx option. These pages are never free after boot by default since it would be a one-way street(= MAX_ORDER pages cannot be allocated later), but if administrator confirm not to use these

Message filtered: Zztmaxzyj wseakwp

2013-04-04 Thread Mail Delivery Subsystem
This is an informative message sent by Kerio MailServer 6.4.0 at mail.greshma.com. Your mail message did not pass through the server content filter: From: linux-kernel@vger.kernel.org To: haiwa...@public.bta.net.cn Subject: Zztmaxzyj wseakwp Date: Thu, 4 Apr 2013 14:43:36 +0530

  1   2   3   4   5   6   7   8   9   10   >