regulator: query on regulator re-entrance

2013-04-04 Thread Nishanth Menon
Hi Liam, Mark, TI platforms typically use Adaptive Voltage Scaling technique to determine an optimal voltage on top of the traditional DVFS strategy to optimize power. Depending on the SoC, we use AVS class 0, 1, 1.5, 2, 3. In general, the AVS strategy is pretty much like a regulator which then

Re: [PATCH] ARM: arch_timer: Silence debug preempt warnings

2013-04-04 Thread Stephen Boyd
On 4/2/2013 1:31 PM, Stephen Boyd wrote: Hot-plugging with CONFIG_DEBUG_PREEMPT=y on a device with arm architected timers causes a slew of using smp_processor_id() in preemptible warnings: BUG: using smp_processor_id() in preemptible [] code: sh/111 caller is

Re: [PATCH 0/2] cpufreq/regulator: Handle regulators that defer probe with device tree bindings

2013-04-04 Thread Viresh Kumar
On 5 April 2013 09:51, Nishanth Menon n...@ti.com wrote: Currently get_regulator returns -EPROBE_DEFER in the case of regulator supply which have no device tree node or even if regulator which are depicted in device tree node is defering it's registration for valid reasons. This makes it

Re: [PATCH] cpufreq/intel_pstate: Set timer timeout correctly

2013-04-04 Thread Viresh Kumar
On Thu, Apr 4, 2013 at 11:05 PM, dirk.brande...@gmail.com wrote: From: Dirk Brandewie dirk.brande...@gmail.com The current calculation of the delay time is wrong and a cut and paste error from a previous experimental driver. This can result in the timeout being set to jiffies + 1 which

Re: [PATCH 3/5] SOUND: hda_generic, fix uninitialized variable

2013-04-04 Thread Takashi Iwai
At Thu, 4 Apr 2013 22:32:10 +0200, Jiri Slaby wrote: changed is not initialized in path_power_down_sync, but it is expected to be false in case no change happened in the loop. So set it to false. Signed-off-by: Jiri Slaby jsl...@suse.cz Cc: Jaroslav Kysela pe...@perex.cz Cc: Takashi

[PATCH] clk: add helper to set flags for clk-provider

2013-04-04 Thread Sebastian Hesselbarth
Clock providers are not allowed to mess with struct clk internals directly but using helpers provided by clk-provider.h. This patch adds a helper to allow to set flags of a clock after registration. This is useful, if clock flags change during runtime, e.g. ability to set parent clock after mux

[PATCH v5] clk: add si5351 i2c common clock driver

2013-04-04 Thread Sebastian Hesselbarth
This patch adds a common clock driver for Silicon Labs Si5351a/b/c i2c programmable clock generators. Currently, the driver supports DT kernels only and VXCO feature of si5351b is not implemented. DT bindings selectively allow to overwrite stored Si5351 configuration which is very helpful for

Re: [PATCH] cpufreq/intel_pstate: Set timer timeout correctly

2013-04-04 Thread Adam Williamson
On 04/04/13 10:19 PM, Viresh Kumar wrote: On Thu, Apr 4, 2013 at 11:05 PM, dirk.brande...@gmail.com wrote: From: Dirk Brandewie dirk.brande...@gmail.com The current calculation of the delay time is wrong and a cut and paste error from a previous experimental driver. This can result in the

Re: [PATCH] lib80211: make lib80211 can be enabled independently

2013-04-04 Thread Wang YanQing
On Fri, Apr 05, 2013 at 10:51:30AM +1100, Julian Calaby wrote: Just as a bit of explanation for Johannes' NACK: 1. The only reason lib80211 still exists is because a couple of in-tree drivers still use it. If this weren't the case, the code would have been removed a long time ago as it's

linux-next: build warning after merge of the wireless-next tree

2013-04-04 Thread Stephen Rothwell
Hi John, After merging the wireless-next tree, today's linux-next build (powerpc allyesconfig) produced these warnings: In file included from drivers/net/wireless/rtlwifi/rtl8188ee/dm.c:38:0: drivers/net/wireless/rtlwifi/rtl8188ee/trx.h:553:6: warning: __LITTLE_ENDIAN is not defined [-Wundef]

Re: Ricoh DMAR bug returns? (WAS Re: [PATCH v4] Quirk for buggy dma source tags with Intel IOMMU.)

2013-04-04 Thread Pat Erley
On 04/05/2013 12:44 AM, Andrew Cooks wrote: On Tue, Apr 2, 2013 at 11:47 PM, Pat Erley pat-l...@erley.org wrote: On 04/02/2013 10:50 AM, Andrew Cooks wrote: On 2 Apr 2013 15:37, Pat Erley pat-l...@erley.org mailto:pat-l...@erley.org wrote: On 03/07/2013 09:35 PM, Andrew Cooks wrote:

Re: [RFC][PATCH 2/7] memcg: don't use mem_cgroup_get() when creating a kmemcg cache

2013-04-04 Thread Kamezawa Hiroyuki
(2013/04/03 18:12), Li Zefan wrote: Use css_get()/css_put() instead of mem_cgroup_get()/mem_cgroup_put(). Signed-off-by: Li Zefan lize...@huawei.com --- mm/memcontrol.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mm/memcontrol.c b/mm/memcontrol.c

Re: [PATCH v4] gpio: mcp23s08: convert driver to DT

2013-04-04 Thread Lars Poeschel
On Thursday 04 April 2013 15:44:08 Linus Walleij wrote: On Thu, Apr 4, 2013 at 12:02 PM, Lars Poeschel la...@wh2.tu-dresden.de wrote: From: Lars Poeschel poesc...@lemonage.de This converts the mcp23s08 driver to be able to be used with device tree. There is a spi-present-mask device

Re: [RFC][PATCH 4/7] memcg: use css_get/put for swap memcg

2013-04-04 Thread Kamezawa Hiroyuki
(2013/04/03 18:12), Li Zefan wrote: Use css_get/put instead of mem_cgroup_get/put. Signed-off-by: Li Zefan lize...@huawei.com --- mm/memcontrol.c | 26 -- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/mm/memcontrol.c b/mm/memcontrol.c index

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

2013-04-04 Thread Stephen Rothwell
Hi Michal, On Fri, 5 Apr 2013 07:52:34 +0200 Michal Simek mon...@monstr.eu wrote: 2013/4/5 Stephen Rothwell s...@canb.auug.org.au BTW, that xilinx tree commit has no Signed-off-by for the committer ... Interesting that you can't see Rob's Signed-off-by line. Rob was the author, you were

linux-next: Tree for Apr 5

2013-04-04 Thread Stephen Rothwell
Hi all, Changes since 20130404: The ext4 tree lost its build failure. The wireless-next tree still had its build failure for which I applied a supplied patch. The vhost tree gained conflicts against the kvm tree. The arm-soc tree gained a conflict against the xilinx tree. The imx-mxs tree

Re: [RFC][PATCH 5/7] cgroup: make sure parent won't be destroyed before its children

2013-04-04 Thread Kamezawa Hiroyuki
(2013/04/03 18:13), Li Zefan wrote: Suppose we rmdir a cgroup and there're still css refs, this cgroup won't be freed. Then we rmdir the parent cgroup, and the parent is freed due to css ref draining to 0. Now it would be a disaster if the child cgroup tries to access its parent. Make sure

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 > --- > 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.

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

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 > > 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 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 --- drivers/block/drbd/drbd_main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/block/drbd/drbd_main.c

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

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

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 > > Signed-off-by: Oskar Andero > --- > kernel/kprobes.c | 18

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 wrote: > On Wed, 2013-04-03 at 15:00 +0530, Viresh Kumar wrote: >> On 31 March 2013 09:33, Viresh Kumar wrote: >> > Benjamin/Paul/Olof, >> > >> > Any comments on this? >> >> Ping!! > > I'm on vacation until end of April. No objection to the patch

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

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 wrote: > On 3 April 2013 16:00, Benjamin Herrenschmidt > wrote: >> On Wed, 2013-04-03 at 15:00 +0530, Viresh Kumar wrote: >>> On 31 March 2013 09:33, Viresh Kumar wrote: > >>> > Benjamin/Paul/Olof, >>> > >>> > Any comments on this? >>> >>> Ping!!

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 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 kernel image. > > -

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

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

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; > +

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

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 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 device tree > > Also

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 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 ehci-s5p driver > ARM:

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

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

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 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 > calculation). I suspect it

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 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 dropped the akpm

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

2013-04-04 Thread Hong Zhiguo
Signed-off-by: Hong Zhiguo --- 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 wrote: > On Thu, 4 Apr 2013 17:26:48 +1100 Stephen Rothwell > 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:

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

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 > 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, as a whole. :-(

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 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 keep the

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

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, >

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 > wrote: > > On Tue, Apr 2, 2013 at 3:21 PM, Lee Jones wrote: > > > >> When the thermal DT node was inserted a new PRCMU node was created; > >> however, one already exists in the Snowball DTS file. Here

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

[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 --- arch/arm/boot/dts/ccu8540.dts | 36 1 file changed, 36 insertions(+) create mode 100644

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? >>

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 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 >> wrote: >> > Question: Do you still need this patch for 3.10? >> >> Felipe's 'next' is closed for 3.10, so

[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 [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 >> --- >>

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

2013-04-04 Thread Nicholas A. Bellinger
From: Nicholas Bellinger 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 connection/session shutdown.

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

2013-04-04 Thread Nicholas A. Bellinger
From: Nicholas Bellinger 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, iscsit_tpg_add_network_portal() will

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

2013-04-04 Thread Nicholas A. Bellinger
From: Nicholas Bellinger 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 iscsit_build_datain_pdu() for DATAIN

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

2013-04-04 Thread Nicholas A. Bellinger
From: Nicholas Bellinger 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 updated

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

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

2013-04-04 Thread Nicholas A. Bellinger
From: Nicholas Bellinger 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 areas common to

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

2013-04-04 Thread Nicholas A. Bellinger
From: Nicholas Bellinger 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 external

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

2013-04-04 Thread Nicholas A. Bellinger
From: Nicholas Bellinger 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 iscsi_login_zero_tsih_s2(), and

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

2013-04-04 Thread Nicholas A. Bellinger
From: Nicholas Bellinger 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() - Convert login

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

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

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

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

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

2013-04-04 Thread Rusty Russell
Rusty Russell 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). > > strace shows: >

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

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

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 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 result >>

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

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) > > +{ > >

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

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

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 > 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 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 built in

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

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

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 wrote: > On 04/03/2013 07:22 AM, Stephane Eranian wrote: >> >> On Wed, Apr 3, 2013 at 4:14 PM, David Ahern wrote: >>> >>> On 4/3/13 8:00 AM, Stephane Eranian wrote: > > Why not have perf convert its > perf_clock timestamps into monotonic or

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

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

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

[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 " 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 could be changed.

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 " The soft-reset control register is located in the XMU controller space. Map this controller space before writing to the soft-reset controller register. Signed-off-by:

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 wrote: > This patch moves cpufreq driver of ARM based integrator platform to > drivers/cpufreq. > > Cc: Russell King > Signed-off-by: Viresh Kumar > --- > arch/arm/Kconfig | 11 > --- >

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 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. >> > >

[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 Acked-by: Frederic Weisbecker --- This patch fixes 3.8 -> 3.9

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

<    3   4   5   6   7   8   9   10   11   12   >