Re: [PATCH] ARM: dts: am43x-epos-evm: Add Missing cpsw-phy-sel for am43x-epos-evm

2014-06-05 Thread Nishanth Menon
On 06/06/2014 01:53 AM, Nishanth Menon wrote: > On 06/06/2014 01:17 AM, George Cherian wrote: >> AM437x EPOS evm use external clock for RMII interface. >> Enable the same in DT. >> >> Signed-off-by: George Cherian >> Reported-by: Nishanth Menon >> --- >> arch/arm/boot/dts/am43x-epos-evm.dts | 4

Re: [PATCH 07/13] kexec: Implementation of new syscall kexec_file_load

2014-06-05 Thread WANG Chao
On 06/03/14 at 09:06am, Vivek Goyal wrote: > Previous patch provided the interface definition and this patch prvides > implementation of new syscall. > > Previously segment list was prepared in user space. Now user space just > passes kernel fd, initrd fd and command line and kernel will create a

Re: [PATCH 1/3] mfd: UCB1x00: enable modular build

2014-06-05 Thread Lee Jones
> The UCB1200 / UCB1300 driver uses the MCP_SA11X0 driver, which > can be a loadable module, but this results in a link error > when UCB1200 itself is built-in: > > drivers/built-in.o: In function `ucb1x00_io_set_dir': > :(.text+0x4a364): undefined reference to `mcp_reg_write' > drivers/built-in.o

Re: [PATCH 3/3] mfd: STw481x: allow modular build

2014-06-05 Thread Lee Jones
On Thu, 05 Jun 2014, Arnd Bergmann wrote: > This driver depends on I2C, which may be a loadable module. > While you'd probably want both to be built-in in practice, > allowing a modular build avoids possible randconfig link > errors. > > Signed-off-by: Arnd Bergmann > --- > drivers/mfd/Kconfig

Re: [PATCH 2/3] mfd: davinci voicecodec need regmap_mmio

2014-06-05 Thread Lee Jones
On Thu, 05 Jun 2014, Arnd Bergmann wrote: > Without REGMAP_MMIO, building that driver results in a link error: > > drivers/built-in.o: In function `davinci_vc_probe': > :(.init.text+0x3c1c): undefined reference to `devm_regmap_init_mmio_clk' > > This adds a Kconfig 'select' statement as the usua

Re: [PATCH] ARM: dts: am43x-epos-evm: Add Missing cpsw-phy-sel for am43x-epos-evm

2014-06-05 Thread Nishanth Menon
On 06/06/2014 01:17 AM, George Cherian wrote: > AM437x EPOS evm use external clock for RMII interface. > Enable the same in DT. > > Signed-off-by: George Cherian > Reported-by: Nishanth Menon > --- > arch/arm/boot/dts/am43x-epos-evm.dts | 4 > 1 file changed, 4 insertions(+) > > diff --g

Re: [PATCH] sched: remove rq's runnable load average

2014-06-05 Thread Yuyang Du
On Thu, Jun 05, 2014 at 10:32:31AM +0200, Vincent Guittot wrote: > Hi Yuyang, > > I have started to use it in this patchset https://lkml.org/lkml/2014/5/23/458 > Hi Vincent and PeterZ, I saw your patchset: https://lkml.org/lkml/2014/5/23/458. But don't take it wrong, I did not intentionally atte

Re: [PATCH-next] mfd: ab8500: fix dt irq mapping

2014-06-05 Thread Lee Jones
On Thu, 05 Jun 2014, Kevin Hilman wrote: > On Tue, Jun 3, 2014 at 4:21 AM, Linus Walleij > wrote: > > On Mon, Jun 2, 2014 at 6:27 PM, Grygorii Strashko > > wrote: > > > >> The AD8500 defines itself as interrupt-controller in DT, > >> but it doesn't assign DT node to IRQ domain when creates it. >

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

2014-06-05 Thread Stephen Rothwell
Hi all, After merging the net-next tree, today's linux-next build (powerpc allyesconfig) failed like this: drivers/net/ethernet/amd/xgbe/xgbe-dev.c:119:25: fatal error: asm/cputype.h: No such file or directory #include ^ Caused by commit c5aa9e3b8156 ("amd-xgbe: Init

Re: linux-next: build failure after merge of the drm-intel-fixes tree

2014-06-05 Thread Daniel Vetter
k 3.17 and gather patches on top of the all the work readied before the merge window. > I have used the drm-intel-fixes tree from next-20140605 for today. I think you should drop drm-intel-fixes until 3.16 is out and the merge window properly public, otherwise this mess will repeat. -Daniel -- D

Re: [PATCH 4/9] usb: phy: add the Berlin USB PHY driver

2014-06-05 Thread Vivek Gautam
+ Kishon. Hi, On Thu, Jun 5, 2014 at 9:18 PM, Antoine Ténart wrote: > Add the driver driving the Marvell Berlin USB PHY. This allows to > initialize the PHY and to use it from the USB driver later. Just out of curiosity, going forward we would like to have phy drivers based on generic phy fram

Re: [RFT PATCH -next v3] [BUGFIX] kprobes: Fix "Failed to find blacklist" error on ia64 and ppc64

2014-06-05 Thread Masami Hiramatsu
Ping? I guess this should go to 3.16 branch, shouldn't it? (2014/05/30 12:18), Masami Hiramatsu wrote: > On ia64 and ppc64, the function pointer does not point the > entry address of the function, but the address of function > discriptor (which contains the entry address and misc > data.) Since t

Re: [PATCH 06/13] kexec: New syscall kexec_file_load() declaration

2014-06-05 Thread WANG Chao
On 06/05/14 at 11:22am, Vivek Goyal wrote: > On Thu, Jun 05, 2014 at 11:16:39AM -0400, Vivek Goyal wrote: > > On Thu, Jun 05, 2014 at 05:56:03PM +0800, WANG Chao wrote: > > > > [..] > > > > diff --git a/kernel/kexec.c b/kernel/kexec.c > > > > index c435c5f..a3044e6 100644 > > > > --- a/kernel/kexe

Re: [PATCH ftrace/core] tracing: Remove return value in event_trace_self_tests() when top_trace_array() returns NULL

2014-06-05 Thread Yoshihiro YUNOMAE
Hi Steven, Thank you for applying my patches. I received build warning report from kbuild test bot, so I fixed it. Would you apply this patch? Thank you, Yoshihiro YUNOMAE (2014/06/06 15:28), Yoshihiro YUNOMAE wrote: Remove return value in event_trace_self_tests() when top_trace_array() return

Re: [PATCH 1/2] powerpc/powernv: include asm/smp.h to handle UP config

2014-06-05 Thread Geert Uytterhoeven
On Fri, Jun 6, 2014 at 7:33 AM, Anshuman Khandual wrote: > On 06/05/2014 08:51 PM, Shreyas B. Prabhu wrote: >> Build throws following errors when CONFIG_SMP=n >> arch/powerpc/platforms/powernv/setup.c: In function >> ‘pnv_kexec_wait_secondaries_down’: >> arch/powerpc/platforms/powernv/setup.c:179

[PATCH ftrace/core] tracing: Remove return value in event_trace_self_tests() when top_trace_array() returns NULL

2014-06-05 Thread Yoshihiro YUNOMAE
Remove return value in event_trace_self_tests() when top_trace_array() returns NULL because event_trace_self_tests() is void type. Signed-off-by: Yoshihiro YUNOMAE Cc: Steven Rostedt Cc: Ingo Molnar Cc: linux-kernel@vger.kernel.org --- kernel/trace/trace_events.c |2 +- 1 file changed, 1 i

Re: [PATCH 0/9] Serial ATA support for NVIDIA Tegra124

2014-06-05 Thread Mikko Perttunen
The only compile-time dependencies here should be that: - patch 8 of 9 which contains the actual driver depends on patch 6 of 9 (though only when building as a module) and the efuse series - patch 2 of 9 refers to the DT node called "padctl", so it requires the xusb series. (in the submitted xus

Re: [PATCH 06/20] arch,avr32: Fold atomic_ops

2014-06-05 Thread Hans-Christian Egtvedt
Around Sat 31 May 2014 16:14:45 +0200 or thereabout, Peter Zijlstra wrote: > On Tue, May 13, 2014 at 10:40:32PM +0200, Hans-Christian Egtvedt wrote: >> Probably found the reason why we want to use sub with the signed 21-bit >> limit, it uses one less register than the add instruction that can add u

[PATCH] ARM: dts: am43x-epos-evm: Add Missing cpsw-phy-sel for am43x-epos-evm

2014-06-05 Thread George Cherian
AM437x EPOS evm use external clock for RMII interface. Enable the same in DT. Signed-off-by: George Cherian Reported-by: Nishanth Menon --- arch/arm/boot/dts/am43x-epos-evm.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/am43x-epos-evm.dts b/arch/arm/boot/dts/am4

Re: [Regression] commit 8a4aeec8d(libata/ahci: accommodate tag ordered controllers)

2014-06-05 Thread Ming Lei
On Fri, Jun 6, 2014 at 10:57 AM, Dan Williams wrote: > On Fri, 2014-06-06 at 09:47 +0800, Ming Lei wrote: >> Hi Tejun, >> >> On Thu, Jun 5, 2014 at 9:41 PM, Tejun Heo wrote: >> > Hello, >> > >> > (cc'ing ahci_xgene folks) >> > >> > On Thu, Jun 05, 2014 at 09:24:04PM +0800, Ming Lei wrote: >> >> O

Re: [PATCH] SCHED: remove proliferation of wait_on_bit action functions.

2014-06-05 Thread Ingo Molnar
* NeilBrown wrote: > On Thu, 5 Jun 2014 14:45:09 +0200 Ingo Molnar wrote: > > > > > * NeilBrown wrote: > > > > > On Thu, 22 May 2014 11:05:02 +0200 Ingo Molnar wrote: > > > > > > > > > > > * NeilBrown wrote: > > > > > > > > > [[ get_maintainer.pl suggested 61 email address for this pat

Re: [PATCH 2/2] powerpc/powernv : Disable subcore for UP configs

2014-06-05 Thread Anshuman Khandual
On 06/05/2014 08:54 PM, Shreyas B. Prabhu wrote: > Build throws following errors when CONFIG_SMP=n > arch/powerpc/platforms/powernv/subcore.c: In function ‘cpu_update_split_mode’: > arch/powerpc/platforms/powernv/subcore.c:274:15: error: ‘setup_max_cpus’ > undeclared (first use in this function) >

Re: net: netlink executing RO memory

2014-06-05 Thread Sasha Levin
On 06/05/2014 04:21 PM, Sasha Levin wrote: > Hi all, > > While fuzzing with trinity inside a KVM tools guest running the latest -next > kernel I've stumbled on the following spew: > > [ 306.065161] kernel tried to execute NX-protected page - exploit attempt? > (uid: 0) > [ 306.067295] BUG: una

Re: [RFC PATCH 00/13][V3] kexec: A new system call to allow in kernel loading

2014-06-05 Thread Michael Kerrisk (man-pages)
On 06/05/2014 04:04 PM, Vivek Goyal wrote: > On Wed, Jun 04, 2014 at 09:39:10PM +0200, Michael Kerrisk wrote: >> Vivek, >> >> As per Documentation/SubmitChecklist , please CC linux-api@ on patces >> that change the ABI/API. See >> https://www.kernel.org/doc/man-pages/linux-api-ml.html. > > Hi Mich

Re: [PATCH 1/1] rtmutex: Handle when top lock owner changes

2014-06-05 Thread Thomas Gleixner
On Fri, 6 Jun 2014, Thomas Gleixner wrote: > On Thu, 5 Jun 2014, Steven Rostedt wrote: > > On Wed, 4 Jun 2014 17:32:37 +0200 (CEST) > > Thomas Gleixner wrote: > > + /* > > +* When we dropped the spinlocks, if the owner of the lock we > > +* are currently processing changed since we chain

Re: [patch 1/2] rtmutex: Handle deadlock detection smarter

2014-06-05 Thread Thomas Gleixner
On Thu, 5 Jun 2014, Steven Rostedt wrote: > On Thu, 05 Jun 2014 15:28:32 - > Thomas Gleixner wrote: > > > > @@ -1112,7 +1134,8 @@ int rt_mutex_start_proxy_lock(struct rt_ > > return 1; > > } > > > > - ret = task_blocks_on_rt_mutex(lock, waiter, task, detect_deadlock); >

[PATCH v3] ARM: fix debug prints relevant to PCI devices

2014-06-05 Thread Vidya Sagar
As per PCIe spec, fast back-to-back transactions feature is not applicable to PCIe devices. Hence, do not print that fast back-to-back trasactions are disabled when there is a PCIe device found on the bus Signed-off-by: Vidya Sagar --- v3: * removed KERN_INFO from pr_info() which was not removed

Re: [patch 1/2] rtmutex: Handle deadlock detection smarter

2014-06-05 Thread Thomas Gleixner
On Thu, 5 Jun 2014, Steven Rostedt wrote: > On Thu, 05 Jun 2014 15:28:32 - > Thomas Gleixner wrote: > > > Index: tip/kernel/locking/rtmutex.h > > === > > --- tip.orig/kernel/locking/rtmutex.h > > +++ tip/kernel/locking/rtmutex.h

Re: [PATCH 1/1] rtmutex: Handle when top lock owner changes

2014-06-05 Thread Thomas Gleixner
On Thu, 5 Jun 2014, Steven Rostedt wrote: > On Wed, 4 Jun 2014 17:32:37 +0200 (CEST) > Thomas Gleixner wrote: > + /* > + * When we dropped the spinlocks, if the owner of the lock we > + * are currently processing changed since we chain walked > + * to that lock, we are done with

Re: [PATCH 1/2] powerpc/powernv: include asm/smp.h to handle UP config

2014-06-05 Thread Anshuman Khandual
On 06/05/2014 08:51 PM, Shreyas B. Prabhu wrote: > Build throws following errors when CONFIG_SMP=n > arch/powerpc/platforms/powernv/setup.c: In function > ‘pnv_kexec_wait_secondaries_down’: > arch/powerpc/platforms/powernv/setup.c:179:4: error: implicit declaration of > function ‘get_hard_smp_pro

Re: [PATCH 1/1] Staging:tidspbridge Fix minor checkpatch.pl warning

2014-06-05 Thread Joe Perches
On Fri, 2014-06-06 at 10:24 +0530, Adithya wrote: > From: Adithya K > > Fixed checkpatch "WARNING: Missing a blank line after declarations" [] > diff --git a/drivers/staging/tidspbridge/gen/gh.c > b/drivers/staging/tidspbridge/gen/gh.c [] > @@ -28,6 +28,7 @@ struct gh_node { > struct gh_t_hash_

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

2014-06-05 Thread Tang Chen
In store_mem_state(), we have: .. 334 else if (!strncmp(buf, "offline", min_t(int, count, 7))) 335 online_type = -1; .. 355 case -1: 356 ret = device_offline(&mem->dev); 357 break; .. Here, "offline" is hard coded as

RE: [PATCH v2] ARM: fix debug prints relevant to PCI devices

2014-06-05 Thread Vidya Sagar
oops... I missed it somehow. I'll post a new patch. > -Original Message- > From: Joe Perches [mailto:j...@perches.com] > Sent: Friday, June 06, 2014 9:53 AM > To: Vidya Sagar > Cc: li...@arm.linux.org.uk; bhelg...@google.com; > wangyij...@huawei.com; thierry.red...@gmail.com; > ja...@laked

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

2014-06-05 Thread Hu Tao
On Fri, Jun 06, 2014 at 11:58:54AM +0800, Tang Chen wrote: > In store_mem_state(), we have: > .. > 334 else if (!strncmp(buf, "offline", min_t(int, count, 7))) > 335 online_type = -1; > .. > 355 case -1: > 356 ret = device_offline(&mem->de

[PATCH 1/1] Staging:tidspbridge Fix minor checkpatch.pl warning

2014-06-05 Thread Adithya
From: Adithya K Fixed checkpatch "WARNING: Missing a blank line after declarations" Signed-off-by: Adithya Krishnamurthy --- drivers/staging/tidspbridge/core/chnl_sm.c |1 + drivers/staging/tidspbridge/core/io_sm.c |1 + drivers/staging/tidspbridge/core/tiomap3430.c|

Re: [PATCH] Documentation, intel_pstate: Add a description of the intel_pstate internal governors [v3]

2014-06-05 Thread Viresh Kumar
On 5 June 2014 22:51, Prarit Bhargava wrote: > The current documentation is incomplete wrt the intel_pstate internal > governors. The confusion comes from the general use internal governors > which also use the names performance and powersave. This patch > differentiates between the two sets of

Re: [PATCH 3.4 000/214] 3.4.92-stable review

2014-06-05 Thread Guenter Roeck
On Thu, Jun 05, 2014 at 04:19:24PM -0700, Greg Kroah-Hartman wrote: > On Wed, Jun 04, 2014 at 09:16:03PM -0700, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 3.4.92 release. > > There are 214 patches in this series, all will be posted as a response > > to this o

Re: Change in security maintainer for a few weeks

2014-06-05 Thread Serge Hallyn
Quoting Greg KH (gre...@linuxfoundation.org): > On Thu, Jun 05, 2014 at 06:39:09PM -0400, Paul Moore wrote: > > On Thursday, June 05, 2014 11:59:11 PM Jiri Kosina wrote: > > > On Thu, 5 Jun 2014, Greg KH wrote: > > > > James has had to step back from doing kernel work for a few weeks, so > > > > I'

[PATCH] cpufreq: tegra: update comment for clarity

2014-06-05 Thread Viresh Kumar
Tegra's driver got updated a bit (00917dd cpufreq: Tegra: implement intermediate frequency callbacks) and implements new 'intermediate freq' infrastructure of core. Above commit updated comments about when to call clk_prepare_enable(pll_x_clk) and Doug wasn't satisfied with those comments and said

Re: [PATCH V5 2/2] cpufreq: Tegra: implement intermediate frequency callbacks

2014-06-05 Thread Viresh Kumar
On 6 June 2014 01:21, Doug Anderson wrote: > The "Though when target-freq is intermediate freq, we don't need to > take this reference." makes me think that this function is actually > called when target-freq is intermediate freq. I don't think it is, > right? Yes, it isn't called for that combi

Re: [RFC PATCH 06/16] arm: topology: Define TC2 sched energy and provide it to scheduler

2014-06-05 Thread Yuyang Du
On Thu, Jun 05, 2014 at 08:03:15AM -0700, Dirk Brandewie wrote: > > You can request a P state per core but the package does coordination at > a package level for the P state that will be used based on all requests. > This is due to the fact that most SKUs have a single VR and PLL. So > the highest

Re: [GIT PULL] UniCore32 update for v3.15-rc8

2014-06-05 Thread Guenter Roeck
On Thu, Jun 05, 2014 at 01:30:32PM +0800, guanxuetao wrote: > Hi Linus, > > This is unicore32 pull request for v3.15-rc8. > > This pull request includes bugfixes to make unicore32 successfully build > under defconfig, > and some changes for allmodconfig (though not finished). > > Please pull ta

Re: [PATCH V5 1/2] cpufreq: add support for intermediate (stable) frequencies

2014-06-05 Thread Viresh Kumar
On 6 June 2014 01:21, Doug Anderson wrote: > LGTM. Thanks for doing this! :) Thanks and yours welcome :) > Reviewed-by: Doug Anderson Thanks a lot. Its pushed by Rafael now :) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vge

Re: [PATCH v2] ARM: fix debug prints relevant to PCI devices

2014-06-05 Thread Joe Perches
On Fri, 2014-06-06 at 00:17 +0530, Vidya Sagar wrote: > * replaced printk with pr_info [] > diff --git a/arch/arm/kernel/bios32.c b/arch/arm/kernel/bios32.c [] > @@ -354,9 +357,11 @@ void pcibios_fixup_bus(struct pci_bus *bus) > > /* >* Report what we did for this bus > + * (on

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

2014-06-05 Thread Alexei Starovoitov
On Thu, Jun 5, 2014 at 9:06 PM, Stephen Rothwell wrote: > Hi all, > > After merging the net-next tree, today's linux-next build (powerpc > ppc64_defconfig) failed like this: > > net/core/filter.c: In function 'convert_bpf_extensions': > net/core/filter.c:696:17: error: 'A_REG' undeclared (first us

Re: [PATCH ftrace/core 3/3] trace: Fix memory leak when new instance creation failed

2014-06-05 Thread Steven Rostedt
On Fri, 06 Jun 2014 07:35:22 +0900 Yoshihiro YUNOMAE wrote: > Current new_instance_create() implements just two fail paths for four > allocation operations. So, it can induce memory leak if new instance > creation failed. This patch fixes it by defining all fail paths and > freeing allocated memo

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

2014-06-05 Thread Stephen Rothwell
Hi all, After merging the net-next tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: net/core/filter.c: In function 'convert_bpf_extensions': net/core/filter.c:696:17: error: 'A_REG' undeclared (first use in this function) insn->a_reg = A_REG; ^ Cause

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

2014-06-05 Thread Tang Chen
In store_mem_state(), we have: .. 334 else if (!strncmp(buf, "offline", min_t(int, count, 7))) 335 online_type = -1; .. 355 case -1: 356 ret = device_offline(&mem->dev); 357 break; .. Here, "offline" is hard coded as

[PATCH v2 1/2] mem-hotplug: Avoid illegal state prefixed with legal state when changing state of memory_block.

2014-06-05 Thread Tang Chen
We use the following command to online a memory_block: echo online|online_kernel|online_movable > /sys/devices/system/memory/memoryXXX/state But, if we do the following: echo online_fhsjkghfkd > /sys/devices/system/memory/memoryXXX/state the block will also be onlined. This is because the fol

[PATCH v2 0/2] Fix for memory online/offline.

2014-06-05 Thread Tang Chen
These two patches does some fixes in memory online/offline process. Tang Chen (2): mem-hotplug: Avoid illegal state prefixed with legal state when changing state of memory_block. mem-hotplug: Introduce MMOP_OFFLINE to replace the hard coding -1. drivers/base/memory.c | 24 ++

Re: [PATCH ftrace/core 3/3] trace: Fix memory leak when new instance creation failed

2014-06-05 Thread Steven Rostedt
On Fri, 06 Jun 2014 07:35:22 +0900 Yoshihiro YUNOMAE wrote: > Current new_instance_create() implements just two fail paths for four > allocation operations. So, it can induce memory leak if new instance > creation failed. This patch fixes it by defining all fail paths and > freeing allocated memo

linux-next: manual merge of the net-next tree with the net tree

2014-06-05 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in net/core/filter.c between commit 0dcceabb0c1b ("net: filter: fix SKF_AD_PKTTYPE extension on big-endian") from the net tree and commit 9739eef13c92 ("net: filter: make BPF conversion more readable") from the net-next tree. I

Re: [PATCH-next] mfd: ab8500: fix dt irq mapping

2014-06-05 Thread Kevin Hilman
On Tue, Jun 3, 2014 at 4:21 AM, Linus Walleij wrote: > On Mon, Jun 2, 2014 at 6:27 PM, Grygorii Strashko > wrote: > >> The AD8500 defines itself as interrupt-controller in DT, >> but it doesn't assign DT node to IRQ domain when creates it. >> As result, of_irq_xx() helpers don't work because they

Re: [PATCH ftrace/core 1/3] trace/event: Return error if ftrace_trace_arrays is empty list

2014-06-05 Thread Steven Rostedt
On Fri, 06 Jun 2014 07:35:17 +0900 Yoshihiro YUNOMAE wrote: > ftrace_trace_arrays links global_trace.list. However, global_trace is not > added > to ftrace_trace_arrays if trace_alloc_buffers() failed. As the result, > ftrace_trace_arrays becomes empty list. If ftrace_trace_arrays is empty list,

linux-next: manual merge of the net-next tree with the net tree

2014-06-05 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in drivers/net/xen-netback/netback.c between commit 59ae9fc67007 ("xen-netback: Fix handling of skbs requiring too many slots") from the net tree and commit e9ce7cb6b107 ("xen-netback: Factor queue-specific data into queue struct

Re: Change in security maintainer for a few weeks

2014-06-05 Thread Mimi Zohar
On Thu, 2014-06-05 at 22:52 +0300, Dmitry Kasatkin wrote: > On 5 June 2014 21:30, Greg KH wrote: > > Hi all, > > > > James has had to step back from doing kernel work for a few weeks, so > > I've offered to step up and handle the security patches to get shuttled > > to Linus for merging for a whi

[PATCH v4 2/2]: powerpc/perf: Adjust callchain based on DWARF debug info

2014-06-05 Thread Sukadev Bhattiprolu
Replace the arch_skip_callchain_idx() stub in Powerpc with code that checks the DWARF debug information and identifies the callchain entry to skip. Callgraph before the patch: 14.67% 2234 sprintft libc-2.18.so [.] __random | --- __random

[PATCH v4 1/2]: Allow architectures to skip a callchain entry

2014-06-05 Thread Sukadev Bhattiprolu
The kernel code in Powerpc conservatively saves excess information in the callchain. While most entries are often needed, under some specific conditions, some of the entries are redundant and cause duplicate arcs in the call-graph. Eg: the value in the link register (LR) is needed only when it ho

Re: [PATCH 1/1] rtmutex: Handle when top lock owner changes

2014-06-05 Thread Steven Rostedt
On Wed, 4 Jun 2014 17:32:37 +0200 (CEST) Thomas Gleixner wrote: > On Tue, 3 Jun 2014, Steven Rostedt wrote: > > On Fri, 23 May 2014 09:30:10 -0500 > > "Brad Mouring" wrote: > > > /* Deadlock detection */ > > > if (lock == orig_lock || rt_mutex_owner(lock) == top_task) { > > > + /* >

Re: [RFC PATCH 1/1] remove redundant compare, cmpxchg already does it

2014-06-05 Thread Pranith Kumar
On Thu, Jun 5, 2014 at 3:22 AM, Peter Zijlstra wrote: > On Wed, Jun 04, 2014 at 04:56:50PM -0400, Andev wrote: >> On Wed, Jun 4, 2014 at 4:38 PM, Pranith Kumar wrote: >> > remove a redundant comparision >> > >> > Signed-off-by: Pranith Kumar >> > --- >> > kernel/locking/rwsem-xadd.c | 3 +-- >>

RE: autosleep suspend too frquent problem

2014-06-05 Thread Wang, Yalin
Hi Pavel, This is kernel log from a Android phone: <6>[ 7262.353794] PM: suspend exit 2014-05-07 21:19:17.438320072 UTC <6>[ 7262.353820] PM: suspend entry 2014-05-07 21:19:17.438348353 UTC <6>[ 7264.822367] PM: suspend exit 2014-05-07 21:19:19.906892259 UTC <6>[ 7264.822391] PM: suspend entry

Re: [patch 1/2] rtmutex: Handle deadlock detection smarter

2014-06-05 Thread Steven Rostedt
On Thu, 05 Jun 2014 15:28:32 - Thomas Gleixner wrote: > Index: tip/kernel/locking/rtmutex.h > === > --- tip.orig/kernel/locking/rtmutex.h > +++ tip/kernel/locking/rtmutex.h > @@ -21,6 +21,10 @@ > #define debug_rt_mutex_unlock(l)

Re: [Regression] commit 8a4aeec8d(libata/ahci: accommodate tag ordered controllers)

2014-06-05 Thread Dan Williams
On Fri, 2014-06-06 at 09:47 +0800, Ming Lei wrote: > Hi Tejun, > > On Thu, Jun 5, 2014 at 9:41 PM, Tejun Heo wrote: > > Hello, > > > > (cc'ing ahci_xgene folks) > > > > On Thu, Jun 05, 2014 at 09:24:04PM +0800, Ming Lei wrote: > >> On Thu, Jun 5, 2014 at 9:12 PM, Dan Williams > >> wrote: > >> >

RE: [PATCH 1/1] [SCSI] Fix a bug in deriving the FLUSH_TIMEOUT from the basic I/O timeout

2014-06-05 Thread KY Srinivasan
> -Original Message- > From: Mike Christie [mailto:micha...@cs.wisc.edu] > Sent: Thursday, June 5, 2014 6:33 PM > To: KY Srinivasan > Cc: James Bottomley; linux-kernel@vger.kernel.org; a...@canonical.com; > de...@linuxdriverproject.org; h...@infradead.org; linux- > s...@vger.kernel.org; o

Re: blk-mq: bitmap tag: performance degradation?

2014-06-05 Thread Jens Axboe
On 2014-06-05 20:35, Ming Lei wrote: On Fri, Jun 6, 2014 at 9:55 AM, Jens Axboe wrote: On 2014-06-05 17:33, Ming Lei wrote: On Fri, Jun 6, 2014 at 1:17 AM, Jens Axboe wrote: On 06/05/2014 08:16 AM, Ming Lei wrote: On Thu, Jun 5, 2014 at 10:03 PM, Jens Axboe wrote: On 2014-06-05 08:01,

Re: blk-mq: bitmap tag: performance degradation?

2014-06-05 Thread Ming Lei
On Fri, Jun 6, 2014 at 9:55 AM, Jens Axboe wrote: > On 2014-06-05 17:33, Ming Lei wrote: >> >> On Fri, Jun 6, 2014 at 1:17 AM, Jens Axboe wrote: >>> >>> On 06/05/2014 08:16 AM, Ming Lei wrote: On Thu, Jun 5, 2014 at 10:03 PM, Jens Axboe wrote: > > On 2014-06-05 08:01, Alexander

Re: [PATCH 07/13] kexec: Implementation of new syscall kexec_file_load

2014-06-05 Thread Borislav Petkov
On Thu, Jun 05, 2014 at 04:17:32PM -0400, Vivek Goyal wrote: > I think everything is already available in "struct kimage *image". So > I don't have to pass all these separately. I think I will remove all > these extra parameters and expect arch function to retrieve all that > from "struct kimage *i

Re: [PATCH v4] hwmon: add support for Sensirion SHTC1 sensor

2014-06-05 Thread Guenter Roeck
On Thu, Jun 05, 2014 at 03:24:19PM -0700, Tomas Pop wrote: > From: Tomas Pop > > Add support for Sensirion SHTC1 and compatible temperature and humidity > sensors. > > Signed-off-by: Tomas Pop Applied to hwmon-next. Thanks for your patience! Guenter -- To unsubscribe from this list: send th

Re: blk-mq: bitmap tag: performance degradation?

2014-06-05 Thread Ming Lei
On Fri, Jun 6, 2014 at 9:55 AM, Jens Axboe wrote: > On 2014-06-05 17:33, Ming Lei wrote: >> >> On Fri, Jun 6, 2014 at 1:17 AM, Jens Axboe wrote: >>> >>> On 06/05/2014 08:16 AM, Ming Lei wrote: On Thu, Jun 5, 2014 at 10:03 PM, Jens Axboe wrote: > > On 2014-06-05 08:01, Alexander

linux-next: build failure after merge of the drm-intel-fixes tree

2014-06-05 Thread Stephen Rothwell
y only contain stuff that depend on Linus' trees ... but here it include all of yesterday's drm tree as well. I have used the drm-intel-fixes tree from next-20140605 for today. -- Cheers, Stephen Rothwells...@canb.auug.org.au signature.asc Description: PGP signature

[PATCH v3] perf: fix kernel panic when parsing user space CS saved in pt_regs

2014-06-05 Thread Liu ShuoX
From: Zhang Yanmin ChangeLog V3: Keep rsp pointing to pt_regs before sysexit. ChangeLog V2: Before sysexit, perf NMI might arrive. There is still a race. Here we change rsp to keep it pointing to pt_regs->orig_ax. In addition, after sti, befor

Re: blk-mq: bitmap tag: performance degradation?

2014-06-05 Thread Jens Axboe
On 2014-06-05 17:33, Ming Lei wrote: On Fri, Jun 6, 2014 at 1:17 AM, Jens Axboe wrote: On 06/05/2014 08:16 AM, Ming Lei wrote: On Thu, Jun 5, 2014 at 10:03 PM, Jens Axboe wrote: On 2014-06-05 08:01, Alexander Gordeev wrote: On Wed, Jun 04, 2014 at 08:18:42AM -0600, Jens Axboe wrote: A nu

Re: ima_mmap_file returning 0 to userspace as mmap result.

2014-06-05 Thread Dave Jones
On Thu, Jun 05, 2014 at 09:49:29PM -0400, Mimi Zohar wrote: > > > > > There's no mention of this return value in the man page, so I dug > > > > > into the kernel code, and it appears that we do.. > > > > > > > > > > sys_mmap > > > > > vm_mmap_pgoff > > > > > security_mmap_file

Re: ima_mmap_file returning 0 to userspace as mmap result.

2014-06-05 Thread Mimi Zohar
On Thu, 2014-06-05 at 12:20 -0400, Dave Jones wrote: > On Thu, Jun 05, 2014 at 11:56:58AM -0400, Dave Jones wrote: > > On Thu, Jun 05, 2014 at 06:40:36AM +0200, Michael Kerrisk (man-pages) > wrote: > > > On 06/05/2014 01:31 AM, Dave Jones wrote: > > > > I just noticed that trinity was freaki

Re: [Regression] commit 8a4aeec8d(libata/ahci: accommodate tag ordered controllers)

2014-06-05 Thread Ming Lei
Hi Tejun, On Thu, Jun 5, 2014 at 9:41 PM, Tejun Heo wrote: > Hello, > > (cc'ing ahci_xgene folks) > > On Thu, Jun 05, 2014 at 09:24:04PM +0800, Ming Lei wrote: >> On Thu, Jun 5, 2014 at 9:12 PM, Dan Williams >> wrote: >> > On Thu, Jun 5, 2014 at 1:53 AM, Ming Lei wrote: >> >> Hi Dan and Tejun,

Re: [PATCH] ip_tunnel: fix possible rtable leak

2014-06-05 Thread David Miller
From: Dmitry Popov Date: Fri, 6 Jun 2014 04:34:37 +0400 > ip_rt_put(rt) is always called in "error" branches above, but was missed in > skb_cow_head branch. As rt is not yet bound to skb here we have to release it > by > hand. > > Signed-off-by: Dmitry Popov Applied, thanks. -- To unsubscrib

Re: [PATCH 1/1] [SCSI] Fix a bug in deriving the FLUSH_TIMEOUT from the basic I/O timeout

2014-06-05 Thread Mike Christie
On 06/04/2014 12:15 PM, KY Srinivasan wrote: > > >> -Original Message- >> From: James Bottomley [mailto:jbottom...@parallels.com] >> Sent: Wednesday, June 4, 2014 10:02 AM >> To: KY Srinivasan >> Cc: linux-kernel@vger.kernel.org; a...@canonical.com; >> de...@linuxdriverproject.org; h...@i

Re: [PATCH] checkpatch: warn when patch exceeds a maximum message size

2014-06-05 Thread Joe Perches
On Thu, 2014-06-05 at 17:00 -0700, Bruce Allan wrote: > the maximum message size (100,000 characters) allowed by Majordomo at > vger.kernel.org since that is where most Linux email lists are served. I believe this is incorrect and the patch is unnecessary. It'd maybe more interesting if the email

Re: [patch 1/2] rtmutex: Handle deadlock detection smarter

2014-06-05 Thread Steven Rostedt
On Thu, 05 Jun 2014 15:28:32 - Thomas Gleixner wrote: > @@ -1112,7 +1134,8 @@ int rt_mutex_start_proxy_lock(struct rt_ > return 1; > } > > - ret = task_blocks_on_rt_mutex(lock, waiter, task, detect_deadlock); > + /* We enforce deadlock detection for futexes */ >

[PATCH v3] iio: dac: mcp4902/mcp4912/mcp4922 dac driver

2014-06-05 Thread Michael Welling
This patch provides an iio device driver for the Microchip MCP49x2 series DACs. Signed-off-by: Michael Welling --- drivers/iio/dac/Kconfig | 10 +++ drivers/iio/dac/Makefile |1 + drivers/iio/dac/mcp49x2.c | 212 + 3 files changed, 223 insert

Re: [PATCH 1/1] use documented cmpxchg api

2014-06-05 Thread Pranith Kumar
On 06/05/2014 08:34 PM, Peter Hurley wrote: > On 06/05/2014 06:19 PM, Pranith Kumar wrote: >> use the documented atomic_cmpxchg instead of __cmpxchg64 >> >> This kills the last user of said API in drivers code. >> >> >> Signed-off-by: Pranith Kumar >> --- >> drivers/iommu/intel-iommu.c |2 +-

Re: [PATCH ftrace/core 2/3] trace/kprobes: Avoid self tests if tracing is disabled on boot up

2014-06-05 Thread Masami Hiramatsu
(2014/06/06 7:35), Yoshihiro YUNOMAE wrote: > If tracing is disabled on boot up, the kernel should not execute self tests. > In this patch, the kernel checks whether tracing is disabled or not > before executing self tests. Looks good to me, thanks! :) Acked-by: Masami Hiramatsu > > Signed-off

Re: [PATCH v3] clk: exynos5420: Remove aclk66_peric from the clock tree description

2014-06-05 Thread Doug Anderson
Mike, On Thu, Jun 5, 2014 at 5:03 PM, Mike Turquette wrote: > Quoting Doug Anderson (2014-06-05 13:35:14) >> The "aclk66_peric" clock is a gate clock with a whole bunch of gates >> underneath it. This big gate isn't very useful to include in our >> clock tree. If any of the children need to be

[PATCH] ip_tunnel: fix possible rtable leak

2014-06-05 Thread Dmitry Popov
ip_rt_put(rt) is always called in "error" branches above, but was missed in skb_cow_head branch. As rt is not yet bound to skb here we have to release it by hand. Signed-off-by: Dmitry Popov --- net/ipv4/ip_tunnel.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/ipv4/ip_tunnel.c b/net

Re: [PATCH 1/1] use documented cmpxchg api

2014-06-05 Thread Peter Hurley
On 06/05/2014 06:19 PM, Pranith Kumar wrote: use the documented atomic_cmpxchg instead of __cmpxchg64 This kills the last user of said API in drivers code. Signed-off-by: Pranith Kumar --- drivers/iommu/intel-iommu.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dr

Re: [PATCH] SCHED: remove proliferation of wait_on_bit action functions.

2014-06-05 Thread NeilBrown
On Thu, 5 Jun 2014 14:45:09 +0200 Ingo Molnar wrote: > > * NeilBrown wrote: > > > On Thu, 22 May 2014 11:05:02 +0200 Ingo Molnar wrote: > > > > > > > > * NeilBrown wrote: > > > > > > > [[ get_maintainer.pl suggested 61 email address for this patch. > > > >I've trimmed that list somewh

Re: [PATCH 0/3] Prepare for in-kernel VFIO DMA operations acceleration

2014-06-05 Thread Alexey Kardashevskiy
On 06/05/2014 09:57 PM, Alexander Graf wrote: > > On 05.06.14 09:25, Alexey Kardashevskiy wrote: >> This reserves 2 capability numbers. >> >> This implements an extended version of KVM_CREATE_SPAPR_TCE_64 ioctl. >> >> Please advise how to proceed with these patches as I suspect that >> first two s

Re: [PATCH v3] clk: exynos5420: Remove aclk66_peric from the clock tree description

2014-06-05 Thread Mike Turquette
Quoting Doug Anderson (2014-06-05 13:35:14) > The "aclk66_peric" clock is a gate clock with a whole bunch of gates > underneath it. This big gate isn't very useful to include in our > clock tree. If any of the children need to be turned on then the big > gate will need to be on anyway. ...and th

[PATCH] checkpatch: warn when patch exceeds a maximum message size

2014-06-05 Thread Bruce Allan
Patch submissions which exceed a maximum message size imposed by email list servers can be silently blocked. Warn when a patch message exceeds the maximum message size (100,000 characters) allowed by Majordomo at vger.kernel.org since that is where most Linux email lists are served. Also provide a

Re: [PATCH] pci/msi: fix memory leak in free_msi_irqs()

2014-06-05 Thread Greg Kroah-Hartman
On Wed, Jun 04, 2014 at 03:49:50PM -0700, Alexei Starovoitov wrote: > free_msi_irqs() is leaking memory, since > list_for_each_entry(entry, &dev->msi_list, list) {...} > is never executed, because dev->msi_list is made empty by > the loop just above this one. > > Fix it by relying on zero terminat

[PATCH kvm-unit-tests1/2] x86: emulator: additional smsw test-case

2014-06-05 Thread Nadav Amit
An additional test case for the emulator was added to test smsw which is trapped by the emulator. The other existing test-cases occur in the guest (at least on VMX), since the values are read directly from the CR0 read shadow. Signed-off-by: Nadav Amit --- x86/emulator.c | 10 -- 1 file

[PATCH kvm-unit-tests 0/2] x86: Additional smsw tests

2014-06-05 Thread Nadav Amit
This patch set adds two tests for smsw. The first one is intended to add coverage of smsw. It covers the case smsw is executed with memory operand in a page which is write-protected by the hypervisor. Note that the existing smsw tests are not supposed to be trapped by the hypervisor. This test was

[PATCH kvm-unit-tests 2/2] x86: realmode: test smsw behavior with register operand

2014-06-05 Thread Nadav Amit
The smsw instruction has an undocumented behavior, in which the high-order 16-bits of CR0 are also saved in a 32-bit destination register. This is similar to the way smsw behaves in long-mode. However, it is hard to test the long-mode case, since we need to cause an "invalid guest state" in long-m

Re: blk-mq: bitmap tag: performance degradation?

2014-06-05 Thread Ming Lei
On Fri, Jun 6, 2014 at 1:17 AM, Jens Axboe wrote: > On 06/05/2014 08:16 AM, Ming Lei wrote: >> On Thu, Jun 5, 2014 at 10:03 PM, Jens Axboe wrote: >>> On 2014-06-05 08:01, Alexander Gordeev wrote: On Wed, Jun 04, 2014 at 08:18:42AM -0600, Jens Axboe wrote: > > A null_blk test is

Re: [PATCH 9/9] perf/x86: add syfs entry to disable HT bug workaround

2014-06-05 Thread Andi Kleen
> As Stephane pointed out, the sysfs entry is optional and the workaround > can be disabled only as root. > > It is not absolutely necessary and it's not important. > We will drop it in V2. I would prefer to keep it. It's fairly complex and it's always good to have a way to disable complex things

Re: [PATCH 3.10 000/103] 3.10.42-stable review

2014-06-05 Thread Greg Kroah-Hartman
On Wed, Jun 04, 2014 at 04:24:23PM -0700, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.10.42 release. > There are 103 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me kno

Re: [PATCH 3.14 000/228] 3.14.6-stable review

2014-06-05 Thread Greg Kroah-Hartman
On Wed, Jun 04, 2014 at 04:20:29PM -0700, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.14.6 release. > There are 228 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know

Re: [PATCH 3.4 000/214] 3.4.92-stable review

2014-06-05 Thread Greg Kroah-Hartman
On Wed, Jun 04, 2014 at 09:16:03PM -0700, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.4.92 release. > There are 214 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know

Re: [PATCH v1 1/1] Add kernel parameter for kernel version

2014-06-05 Thread Richard Weinberger
On Fri, Jun 6, 2014 at 12:56 AM, eric ernst wrote: > > On 14-06-05 03:29 PM, Randy Dunlap wrote: >> >> On 06/05/2014 03:15 PM, eric ernst wrote: >>> >>> On 14-06-05 03:16 PM, Andrew Morton wrote: On Thu, 5 Jun 2014 15:09:17 -0700 eric.er...@linux.intel.com wrote: > Create a ker

Re: [PATCH v2] firmware loader: allow disabling of udev as firmware loader

2014-06-05 Thread Ming Lei
On Thu, Jun 5, 2014 at 11:15 PM, Tom Gundersen wrote: > On Thu, Jun 5, 2014 at 4:54 PM, Ming Lei wrote: >>> Ubuntu currently enables the firmware loader in both the kernel and in >>> udev, so would not yet have a problem here at the moment. However, I >>> spoke with Martin Pitt and he told me tha

  1   2   3   4   5   6   7   8   >