Re: [PATCH v6] phy: omap-usb2: move omap_usb.h from linux/usb/ to linux/phy/

2014-03-07 Thread Felipe Balbi
On Fri, Mar 07, 2014 at 11:09:02PM +0530, Kishon Vijay Abraham I wrote: > On Friday 07 March 2014 10:20 PM, Felipe Balbi wrote: > >On Fri, Mar 07, 2014 at 10:18:08PM +0530, Kishon Vijay Abraham I wrote: > >>No functional change. Moved omap_usb.h from linux/usb/ to linux/phy/. > >>Also removed the u

Re: [PATCH v6] phy: omap-usb2: move omap_usb.h from linux/usb/ to linux/phy/

2014-03-07 Thread Kishon Vijay Abraham I
On Friday 07 March 2014 11:10 PM, Felipe Balbi wrote: On Fri, Mar 07, 2014 at 11:09:02PM +0530, Kishon Vijay Abraham I wrote: On Friday 07 March 2014 10:20 PM, Felipe Balbi wrote: On Fri, Mar 07, 2014 at 10:18:08PM +0530, Kishon Vijay Abraham I wrote: No functional change. Moved omap_usb.h fro

Re: [RFC][PATCH 0/5] arch: atomic rework

2014-03-07 Thread Torvald Riegel
On Wed, 2014-03-05 at 10:01 -0800, Paul E. McKenney wrote: > On Wed, Mar 05, 2014 at 05:26:36PM +0100, Torvald Riegel wrote: > > xagsmtp3.20140305162928.8...@uk1vsc.vnet.ibm.com > > X-Xagent-Gateway: uk1vsc.vnet.ibm.com (XAGSMTP3 at UK1VSC) > > > > On Tue, 2014-03-04 at 11:00 -0800, Paul E. McKenn

[PATCH] x86: Do not disable preemption in int3 on 32bit

2014-03-07 Thread Sebastian Andrzej Siewior
From: Steven Rostedt Preemption must be disabled before enabling interrupts in do_trap on x86_64 because the stack in use for int3 and debug is a per CPU stack set by th IST. But 32bit does not have an IST and the stack still belongs to the current task and there is no problem in scheduling out t

Re: [RFC V1 2/2] input: misc: da9063: OnKey driver

2014-03-07 Thread Dmitry Torokhov
Hi Steve, On Fri, Mar 07, 2014 at 12:37:45PM +, Opensource [Steve Twiss] wrote: > From: Opensource [Steve Twiss] > > Add the OnKey driver for DA9063. > > > Signed-off-by: Opensource [Steve Twiss] > --- > Checks performed with next-20140307/scripts/checkpa

Re: [PATCH] input: Use platform-provided devices as i8042 serio parents

2014-03-07 Thread Dmitry Torokhov
Hi Matthew, On Sun, Feb 23, 2014 at 12:03:16PM -0500, Matthew Garrett wrote: > i8042 devices exposed via platform firmware interfaces such as ACPI or > Device Tree may provide additional information of use to userspace. Right > now we don't associate the serio devices with the firmware device, and

Re: [PATCH] i2c: mv64xxx: Fix compilation breakage

2014-03-07 Thread Maxime Ripard
On Fri, Mar 07, 2014 at 06:29:49PM +0100, Wolfram Sang wrote: > > > > Another question is... why do we need to check pd->dev.of_node here? > > > If CONFIG_RESET_CONTROLLER is set, we always try to get the reset > > > controller node, so drv_data->rstc is either going to be a valid > > > pointer, o

[ANNOUNCE] 3.8.13.14-rt28

2014-03-07 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 3.8.13.14-rt28 stable release. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git branch: v3.8-rt Head SHA1: 4e356430b57e27543c552b19adf7cb0ce37197d3 Or to build 3.8.13.14-rt28 d

[git pull v2] device mapper fixes to include in 3.14-rc6

2014-03-07 Thread Mike Snitzer
Hi Linus, Seems you haven't pulled tags/dm-3.14-fixes-2 yet, but either way please pull tags/dm-3.14-fixes-3 Sorry for requesting that you pull another tag so quickly but a late breaking yet _very_ important bug fix for dm thin-provisioning and dm cache has landed based on a really helpful bug re

[ANNOUNCE] 3.4.82-rt101

2014-03-07 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 3.4.82-rt101 stable release. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git branch: v3.4-rt Head SHA1: 01a1d70707d15d64c4f013d78b520642e0c6d6bb Or to build 3.4.82-rt101 direc

[ANNOUNCE] 3.2.55-rt79

2014-03-07 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 3.2.55-rt79 stable release. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git branch: v3.2-rt Head SHA1: 1db3983893d2a70342a3af66a2ea1608dc068dfa Or to build 3.2.55-rt79 directl

Re: [PATCH] reset: Add optional resets and stubs

2014-03-07 Thread Maxime Ripard
Hi Philipp, On Fri, Mar 07, 2014 at 03:30:23PM +0100, Philipp Zabel wrote: > This patch adds device_reset_optional and (devm_)reset_control_get_optional > variants that drivers can use to indicate they can function without control > over the reset line. For those functions, stubs are added so the

Re: [PATCH] openvswitch: Orphan frags before sending to userspace via Netlink to avoid guest stall

2014-03-07 Thread Thomas Graf
On 03/07/2014 06:28 PM, Pravin Shelar wrote: Problem is mapping SKBTX_DEV_ZEROCOPY pages to userspace. skb_zerocopy is not doing that. Unless I missing something, Current netlink code can not handle skb-frags with zero copy. So we have to copy skb anyways and no need to orphan-frags here. If you

Re: [PATCH] openvswitch: Orphan frags before sending to userspace via Netlink to avoid guest stall

2014-03-07 Thread Thomas Graf
On 03/07/2014 06:19 PM, Pravin Shelar wrote: On Fri, Mar 7, 2014 at 7:58 AM, Thomas Graf wrote: On 03/07/2014 05:46 AM, Pravin Shelar wrote: But I found bug in datapath user-space queue code. I am not sure how this can work with skb fragments and MMAP-netlink socket. Here is what happens, OVS

Re: Tachometer speed returned rather than absolute fan speed?

2014-03-07 Thread Guenter Roeck
On Fri, Mar 07, 2014 at 03:47:08PM +, Laszlo Papp wrote: > On Fri, Mar 7, 2014 at 3:37 PM, Jean Delvare wrote: > >> > I'm quite confused. While I admit that the term "tachometer speed" is > >> > awkward, the max6650 driver is reporting fan speeds in RPM as every > >> > other hwmon driver. So I

Re: [PATCH 31/48] uv: Replace __get_cpu_var

2014-03-07 Thread Christoph Lameter
On Wed, 5 Mar 2014, Mike Travis wrote: > I haven't had much chance yet to look over your proposed changes but > FYI, the counters are strictly feedback to insure that there are not > unhandled NMI events from the perf subsystem. The exact count is > irrelevant. IOW, counts in the double or tripl

Re: [PATCH 4/4] x86: Fix order of warning messages when ftrace modifies code

2014-03-07 Thread Steven Rostedt
H. Peter, I just added this to my 3.16 queue. But can you give an Acked-by for it too. That way I don't forget to ask you later (3.16 is a ways away ;-) I'd add it to my 3.15 queue, but I'm trying not to make changes to it unless they are more significant. -- Steve On Mon, 17 Feb 2014 16:22:53

Re: [PATCH] tools/net/Makefile: Define PACKAGE to fix bfd build problems

2014-03-07 Thread David Miller
From: Markos Chandras Date: Fri, 7 Mar 2014 09:18:28 + > On 03/06/2014 05:54 PM, David Miller wrote: >> From: Markos Chandras >> Date: Thu, 6 Mar 2014 09:15:54 + >> >>> Fixes the following build problem with binutils-2.24 >>> >>> gcc -Wall -O2 -c -o bpf_jit_disasm.o bpf_jit_disasm.c >>

Re: [PATCH 4/4] x86: Fix order of warning messages when ftrace modifies code

2014-03-07 Thread Steven Rostedt
On Fri, 7 Mar 2014 09:43:29 +0100 Petr Mládek wrote: > This patch is nice to have but it is rather cosmetic. I do not mind > that much about it. Feel free to drop, accept, or just merge into > any other commit. > OK, I just added it to my 3.16 queue. -- Steve -- To unsubscribe from this list

proposed patch to ideapad-laptop module for Yoga 2 Pro

2014-03-07 Thread Peter F. Patel-Schneider
The Lenovo Ideapad Yoga laptops have a VPC2004 ACPI device, so the ideapad-laptop module loads for them. The module enables the Airplane Mode and Novo keys of the laptop. Most of the other features of this module are harmless for these laptops. However, the laptops do not have hardware RF kill

Re: [PATCH -mm] mm,numa,mprotect: always continue after finding a stable thp page

2014-03-07 Thread Mel Gorman
On Fri, Mar 07, 2014 at 03:09:23PM +, Mel Gorman wrote: > On Fri, Mar 07, 2014 at 02:06:50PM +, Mel Gorman wrote: > > On Thu, Mar 06, 2014 at 05:52:47PM -0500, Rik van Riel wrote: > > > On 03/06/2014 05:31 PM, Rik van Riel wrote: > > > >On Thu, 06 Mar 2014 16:12:28 -0500 > > > >Sasha Levin

Re: [PATCH v6] phy: omap-usb2: move omap_usb.h from linux/usb/ to linux/phy/

2014-03-07 Thread Felipe Balbi
On Fri, Mar 07, 2014 at 11:16:10PM +0530, Kishon Vijay Abraham I wrote: > On Friday 07 March 2014 11:10 PM, Felipe Balbi wrote: > >On Fri, Mar 07, 2014 at 11:09:02PM +0530, Kishon Vijay Abraham I wrote: > >>On Friday 07 March 2014 10:20 PM, Felipe Balbi wrote: > >>>On Fri, Mar 07, 2014 at 10:18:08P

Re: [PATCH v4 1/4] pci: APM X-Gene PCIe controller driver

2014-03-07 Thread Tanmay Inamdar
Thanks for reviewing and the comments. I will surely include them in next version. -Tanmay On Fri, Mar 7, 2014 at 12:37 AM, Jingoo Han wrote: > On Thursday, March 06, 2014 3:06 PM, Tanmay Inamdar wrote: >> > > Hi Tanmay Inamdar, > > I added some minor comments. :-) > >> This patch adds the Appli

Re: [RFC][PATCH 0/5] arch: atomic rework

2014-03-07 Thread Torvald Riegel
On Wed, 2014-03-05 at 10:15 -0800, Paul E. McKenney wrote: > On Wed, Mar 05, 2014 at 05:54:59PM +0100, Torvald Riegel wrote: > > On Tue, 2014-03-04 at 13:35 -0800, Paul E. McKenney wrote: > > > On Tue, Mar 04, 2014 at 11:00:32AM -0800, Paul E. McKenney wrote: > > > > On Mon, Mar 03, 2014 at 09:46:1

Re: [PATCH 5/5][RFC][CFT] resizable namespace.c hashes

2014-03-07 Thread Al Viro
On Fri, Mar 07, 2014 at 09:17:19AM -0800, Andi Kleen wrote: > Al Viro writes: > > > * switch allocation to alloc_large_system_hash() > > * make sizes overridable by boot parameters (mhash_entries=, > > mphash_entries=) > > * switch mountpoint_hashtable from list_head to hlist_head > > So how mu

Re: [PATCH] xtensa: enable sorting extable at build time

2014-03-07 Thread David Daney
On 03/07/2014 01:56 AM, Max Filippov wrote: On Tue, Feb 18, 2014 at 3:48 PM, Max Filippov wrote: Signed-off-by: Max Filippov --- arch/xtensa/Kconfig | 1 + scripts/sortextable.c | 5 + 2 files changed, 6 insertions(+) Ping? David, is this OK for scripts/sortextable.c? If you wish

Re: [PATCH] openvswitch: Orphan frags before sending to userspace via Netlink to avoid guest stall

2014-03-07 Thread Pravin Shelar
On Fri, Mar 7, 2014 at 9:59 AM, Thomas Graf wrote: > On 03/07/2014 06:28 PM, Pravin Shelar wrote: >> >> Problem is mapping SKBTX_DEV_ZEROCOPY pages to userspace. skb_zerocopy >> is not doing that. >> >> Unless I missing something, Current netlink code can not handle >> skb-frags with zero copy. So

Re: [PATCH] openvswitch: Orphan frags before sending to userspace via Netlink to avoid guest stall

2014-03-07 Thread Pravin Shelar
On Fri, Mar 7, 2014 at 10:05 AM, Thomas Graf wrote: > On 03/07/2014 06:19 PM, Pravin Shelar wrote: >> >> On Fri, Mar 7, 2014 at 7:58 AM, Thomas Graf wrote: >>> >>> On 03/07/2014 05:46 AM, Pravin Shelar wrote: But I found bug in datapath user-space queue code. I am not sure how

Re: [PATCH 10/11] kexec: Support for loading ELF x86_64 images

2014-03-07 Thread Borislav Petkov
On Fri, Mar 07, 2014 at 06:12:33PM +0100, Borislav Petkov wrote: > > > > +/* Fill in fields which are usually present in bzImage */ > > > > +static int init_linux_parameters(struct boot_params *params) > > > > +{ > > > > + /* > > > > +* FIXME: It is odd that the information which come

Suspending access to opened/active /dev/nodes during application runtime

2014-03-07 Thread Lukasz Pawelczyk
Problem: Has anyone thought about a mechanism to limit/remove an access to a device during an application runtime? Meaning we have an application that has an open file descriptor to some /dev/node and depending on *something* it gains or looses the access to it gracefully (with or without a notific

Re: [PATCH] xtensa: enable sorting extable at build time

2014-03-07 Thread Max Filippov
On Fri, Mar 7, 2014 at 10:39 PM, David Daney wrote: > On 03/07/2014 01:56 AM, Max Filippov wrote: >> >> On Tue, Feb 18, 2014 at 3:48 PM, Max Filippov wrote: >>> >>> Signed-off-by: Max Filippov >>> --- >>> arch/xtensa/Kconfig | 1 + >>> scripts/sortextable.c | 5 + >>> 2 files changed,

Re: [x86, vdso] BUG: unable to handle kernel paging request at d34bd000

2014-03-07 Thread Andy Lutomirski
On Thu, Mar 6, 2014 at 11:21 PM, Stefani Seibold wrote: > Hi Fengguang, > > i have build a kernel with the config, but my kvm is unable to start it. > I will try to find a way to test your kernek config. > > One thing is the crash point: > > The function sysenter_setup was modified by Andy, maybe

Re: [qemu64,+smep,+smap] WARNING: CPU: 1 PID: 0 at arch/x86/kernel/cpu/amd.c:220 init_amd()

2014-03-07 Thread H. Peter Anvin
On 03/06/2014 09:50 PM, Fengguang Wu wrote: >> >> Unfortunately these things are hard to fix in Qemu. > > OK. As an alternative, is it possible to pass one of the below CPUID flags in > the Qemu command line, so as to quiet the warning? > I don't see the AMD SMP CPUID flag in there. Boris, coul

Re: [RFC][PATCH 0/5] arch: atomic rework

2014-03-07 Thread Paul E. McKenney
On Fri, Mar 07, 2014 at 06:45:57PM +0100, Torvald Riegel wrote: > xagsmtp5.20140307174618.3...@vmsdvm6.vnet.ibm.com > X-Xagent-Gateway: vmsdvm6.vnet.ibm.com (XAGSMTP5 at VMSDVM6) > > On Wed, 2014-03-05 at 10:01 -0800, Paul E. McKenney wrote: > > On Wed, Mar 05, 2014 at 05:26:36PM +0100, Torvald Ri

Re: [PATCH 6/6] documentation: bindings: document PMIC8921/8058 RTC

2014-03-07 Thread Josh Cartwright
On Wed, Mar 05, 2014 at 05:31:27PM -0800, Stephen Boyd wrote: > On 03/05/14 16:00, Josh Cartwright wrote: > > On Wed, Mar 05, 2014 at 12:58:55PM -0800, Stephen Boyd wrote: > >> On 03/05/14 11:29, Josh Cartwright wrote: > >>> diff --git a/Documentation/devicetree/bindings/rtc/qcom,pm8xxx-rtc.txt >

Re: [systemd-devel] Suspending access to opened/active /dev/nodes during application runtime

2014-03-07 Thread Greg KH
On Fri, Mar 07, 2014 at 07:46:44PM +0100, Lukasz Pawelczyk wrote: > Problem: > Has anyone thought about a mechanism to limit/remove an access to a > device during an application runtime? Meaning we have an application > that has an open file descriptor to some /dev/node and depending on > *somethin

[PATCH] module: LLVMLinux: Remove unused function warning from __param_check macro

2014-03-07 Thread behanw
From: Mark Charlebois This code makes a compile time type check that is optimized away. Clang complains that it generates an unused function. I believe GCC won't complain for a static inline fuction but would if it was just a static function. Adding the unused attribute to the function declarat

Re: [qemu64,+smep,+smap] WARNING: CPU: 1 PID: 0 at arch/x86/kernel/cpu/amd.c:220 init_amd()

2014-03-07 Thread Dave Jones
On Fri, Mar 07, 2014 at 10:56:11AM -0800, H. Peter Anvin wrote: > On 03/06/2014 09:50 PM, Fengguang Wu wrote: > >> > >> Unfortunately these things are hard to fix in Qemu. > > > > OK. As an alternative, is it possible to pass one of the below CPUID flags > > in > > the Qemu command line, s

Re: [RFC][PATCH 0/5] arch: atomic rework

2014-03-07 Thread Paul E. McKenney
On Fri, Mar 07, 2014 at 07:33:25PM +0100, Torvald Riegel wrote: > On Wed, 2014-03-05 at 10:15 -0800, Paul E. McKenney wrote: > > On Wed, Mar 05, 2014 at 05:54:59PM +0100, Torvald Riegel wrote: > > > On Tue, 2014-03-04 at 13:35 -0800, Paul E. McKenney wrote: > > > > On Tue, Mar 04, 2014 at 11:00:32A

[PATCH RFC v2 05/11] tty: xuartps: Rebrand driver as Cadence UART

2014-03-07 Thread Soren Brinkmann
Zynq's UART is Cadence IP. Make this visible in the prompt in kconfig and additional comments in the driver. Signed-off-by: Soren Brinkmann --- drivers/tty/serial/Kconfig | 9 +++-- drivers/tty/serial/xilinx_uartps.c | 77 +++--- include/uapi/linux/serial

[PATCH RFC v2 02/11] tty: xuartps: Print warning in clock notifier

2014-03-07 Thread Soren Brinkmann
Print a warning if the clock notifier rejects a clock frequency change to facilitate debugging (see: http://thread.gmane.org/gmane.linux.ports.arm.kernel/304329/focus=304379) Signed-off-by: Soren Brinkmann --- drivers/tty/serial/xilinx_uartps.c | 4 +++- 1 file changed, 3 insertions(+), 1 deleti

[PATCH RFC v2 09/11] ARM: multi_v7_defconfig: Adopt to UART driver renaming

2014-03-07 Thread Soren Brinkmann
The Xilinx UARTPS driver has been renamed to Cadence UART. Remove the stale Xilinx UARTPS config options and add Cadence UART instead. Signed-off-by: Soren Brinkmann Acked-by: Peter Crosthwaite --- arch/arm/configs/multi_v7_defconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) d

[PATCH RFC v2 00/11] tty: xuartps: Rebranding

2014-03-07 Thread Soren Brinkmann
A second iteration of this series. I added some more to the cleanup parts. The more you look at things the more things to fix you find. The read-modify-write refactoring is more or less a result of the prefix substitution. With the changed prefix for better indentation is necessary, and I think i

[PATCH RFC v2 10/11] tty: cadence: Document DT binding

2014-03-07 Thread Soren Brinkmann
Add binding documentation for the Cadence UART. Signed-off-by: Soren Brinkmann Acked-by: Peter Crosthwaite --- .../devicetree/bindings/serial/cdns,uart.txt | 20 1 file changed, 20 insertions(+) create mode 100644 Documentation/devicetree/bindings/serial/cdns,uart.

[PATCH RFC v2 11/11] ARM: zynq: DT: Migrate UART to Cadence binding

2014-03-07 Thread Soren Brinkmann
The Zynq UART is Cadence IP and the driver has been renamed accordingly. Migrate the DT to use the new binding for the UART driver. Signed-off-by: Soren Brinkmann Acked-by: Peter Crosthwaite --- arch/arm/boot/dts/zynq-7000.dtsi | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff

[PATCH RFC v2 06/11] tty: xuartps: Change driver name to 'cdns-uart'

2014-03-07 Thread Soren Brinkmann
Signed-off-by: Soren Brinkmann --- I'm not sure about this change. Is this acceptable or already too much? I think the name is used for some sysfs entries. Sören --- drivers/tty/serial/xilinx_uartps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/

[PATCH RFC v2 03/11] tty: xuartps: Refactor read-modify-writes

2014-03-07 Thread Soren Brinkmann
A lot of read-modify-write sequences used a one-line statement which nests a readl() within a writel(). Convert this into code sequences that make the three steps more obvious. Signed-off-by: Soren Brinkmann --- drivers/tty/serial/xilinx_uartps.c | 52 ++ 1 fi

[PATCH RFC v2 01/11] tty: xuartps: Clean up

2014-03-07 Thread Soren Brinkmann
This is all white space and comment clean up. Mostly reformatting comments. Signed-off-by: Soren Brinkmann --- drivers/tty/serial/xilinx_uartps.c | 294 ++--- 1 file changed, 111 insertions(+), 183 deletions(-) diff --git a/drivers/tty/serial/xilinx_uartps.c b/d

[PATCH RFC v2 04/11] tty: xuartps: Remove bogus comment and register write

2014-03-07 Thread Soren Brinkmann
Signed-off-by: Soren Brinkmann --- drivers/tty/serial/xilinx_uartps.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/tty/serial/xilinx_uartps.c b/drivers/tty/serial/xilinx_uartps.c index a4bd6242e72d..a39c2d290902 100644 --- a/drivers/tty/serial/xilinx_uartps.c

[PATCH RFC v2 08/11] tty: xuartps: Rename Kconfig symbols

2014-03-07 Thread Soren Brinkmann
Rename the config symbols for the Cadence UART to reflect the driver rebranding: SERIAL_XILINX_PS_UART(_CONSOLE) -> SERIAL_CADENCE_UART(_CONSOLE) Signed-off-by: Soren Brinkmann --- drivers/tty/serial/Kconfig | 6 +++--- drivers/tty/serial/Makefile| 2 +- drivers/tty/serial/xili

Re: [PATCH] input: Use platform-provided devices as i8042 serio parents

2014-03-07 Thread Matthew Garrett
On Fri, 2014-03-07 at 09:54 -0800, Dmitry Torokhov wrote: > Hi Matthew, > > On Sun, Feb 23, 2014 at 12:03:16PM -0500, Matthew Garrett wrote: > > i8042 devices exposed via platform firmware interfaces such as ACPI or > > Device Tree may provide additional information of use to userspace. Right > >

Re: linux rdma 3.14 merge plans

2014-03-07 Thread Roland Dreier
Sure, no problem. Do you have a git tree with the latest versions of all the changes you want for 3.15 in a branch? That would be helpful as I catch up on applying things, so that I don't miss anything. If you don't have one, taking a little time to set one up on github or wherever would be nice

3.13.?: Strange / dangerous fan policy...

2014-03-07 Thread Manuel Krause
Please have a short look at the following BUG report + the comments -- this message here is a kind of FWD-ing it: https://bugs.archlinux.org/task/39005 I came late to test kernel 3.13 with the .5 one, as it was the time that the related -CK/BFS patch became available. I'm not using Archlinux,

Re: [systemd-devel] Suspending access to opened/active /dev/nodes during application runtime

2014-03-07 Thread Lennart Poettering
On Fri, 07.03.14 19:45, Lukasz Pawelczyk (hav...@gmail.com) wrote: > Problem: > Has anyone thought about a mechanism to limit/remove an access to a > device during an application runtime? Meaning we have an application > that has an open file descriptor to some /dev/node and depending on > *someth

Re: [PATCH v10 2/4] phy: core: Add devm_of_phy_get to phy-core

2014-03-07 Thread Tobias Jakobi
Kamil Debski wrote: > Adding devm_of_phy_get will allow to get phys by supplying a > pointer to the struct device_node instead of struct device. > > Signed-off-by: Kamil Debski > --- > drivers/phy/phy-core.c | 31 +++ > include/linux/phy/phy.h |8 > 2 f

Re: [PATCH v10 1/4] phy: core: Add an exported of_phy_get function

2014-03-07 Thread Tobias Jakobi
Kamil Debski wrote: > Previously the of_phy_get function took a struct device * and > was declared static. It was impossible to call it from > another driver and thus it was impossible to get phy defined > for a given node. The old function was renamed to _of_phy_get > and was left for internal use

Re: [PATCH v10 3/4] phy: Add new Exynos USB 2.0 PHY driver

2014-03-07 Thread Tobias Jakobi
Kamil Debski wrote: > Add a new driver for the Exynos USB 2.0 PHY. The new driver uses the generic > PHY framework. The driver includes support for the Exynos 4x10 and 4x12 > SoC families. > > Signed-off-by: Kamil Debski > --- > .../devicetree/bindings/phy/samsung-phy.txt| 53 > Do

Re: [PATCH v10 4/4] phy: Add Exynos 5250 support to the Exynos USB 2.0 PHY driver

2014-03-07 Thread Tobias Jakobi
Kamil Debski wrote: > Add support for Exynos 5250. This driver is to replace the old > USB 2.0 PHY driver. > > Signed-off-by: Kamil Debski > --- > .../devicetree/bindings/phy/samsung-phy.txt|1 + > drivers/phy/Kconfig| 11 + > drivers/phy/Makefile

Re: [Bug] PCI: Enable INTx if BIOS left them disabled - triggers during rescan

2014-03-07 Thread Yinghai Lu
On Fri, Mar 7, 2014 at 8:45 AM, Bjorn Helgaas wrote: > > I opened a bugzilla report at > https://bugzilla.kernel.org/show_bug.cgi?id=71691 > > It seems like clearing DisINTx has some effect on MSI. I don't see > anything in the spec that would suggest this (I'm looking at the PCIe > r3.0 spec, s

[PATCH] x86: Skip latched NMIs on early boot in kdump

2014-03-07 Thread Don Zickus
A customer generated an external NMI using their iLO to test kdump worked. Unfortunately, the machine hung. Disabling the nmi_watchdog made things work. I speculated the external NMI fired, caused the machine to panic (as expected) and the perf NMI from the watchdog came in and was latched. My g

Re: [PATCH 2/8] perf, tools: Support handling complete branch stacks as histograms v4

2014-03-07 Thread Arnaldo Carvalho de Melo
Em Fri, Mar 07, 2014 at 02:19:49PM +0100, Jiri Olsa escreveu: > On Thu, Feb 27, 2014 at 08:22:26PM -0800, Andi Kleen wrote: > > From: Andi Kleen > > SNIP > > > index 8ad97e9..be29bb8 100644 > > --- a/tools/perf/util/callchain.h > > +++ b/tools/perf/util/callchain.h > > @@ -53,6 +53,7 @@ struct c

Re: [PATCH 2/8] perf, tools: Support handling complete branch stacks as histograms v4

2014-03-07 Thread Arnaldo Carvalho de Melo
Em Fri, Mar 07, 2014 at 04:51:00PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Fri, Mar 07, 2014 at 02:19:49PM +0100, Jiri Olsa escreveu: > > On Thu, Feb 27, 2014 at 08:22:26PM -0800, Andi Kleen wrote: > > > +static void resolve_branch_ams(struct machine *machine, struct thread > > > *thread, >

Re: [PATCH 2/4] power_supply: Introduce generic psy charging driver

2014-03-07 Thread Pavel Machek
On Fri 2014-03-07 11:04:59, Linus Walleij wrote: > On Fri, Feb 28, 2014 at 6:01 PM, Pavel Machek wrote: > > On Thu 2014-02-27 21:08:01, Linus Walleij wrote: > >> On Thu, Feb 20, 2014 at 6:53 AM, Jenny TC wrote: > >> > >> > +++ b/include/linux/power/power_supply_charger.h > >> > >> > +#define MAX_

Re: [PATCH 2/4] power_supply: Introduce generic psy charging driver

2014-03-07 Thread Pavel Machek
Hi! > >> > +++ b/include/linux/power/power_supply_charger.h > >> > >> > +#define MAX_CUR_VOLT_SAMPLES 3 > >> > +#define DEF_CUR_VOLT_SAMPLE_JIFF (30*HZ) > >> > >> Why are things defined in Jiffies like this insead of seconds, milliseconds > >> etc? This will vary with the current operating frequen

[PATCH v7 00/15] uprobes: Add uprobes support for ARM

2014-03-07 Thread David Long
From: "David A. Long" This patch series adds basic uprobes support to ARM. It is based on patches developed earlier by Rabin Vincent. That approach of adding hooks into the kprobes instruction parsing code was not well received. This approach separates the ARM instruction parsing code in kprobes

[PATCH v7 09/15] ARM: Make the kprobes condition_check symbol names more generic

2014-03-07 Thread David Long
From: "David A. Long" In preparation for sharing the ARM kprobes instruction interpreting code with uprobes, make the symbols names less kprobes-specific. Signed-off-by: David A. Long Acked-by: Jon Medhurst --- arch/arm/include/asm/probes.h| 11 +++--- arch/arm/kernel/kprobes-arm.c| 1

[PATCH v7 03/15] uprobes: allow ignoring of probe hits

2014-03-07 Thread David Long
From: "David A. Long" Allow arches to decided to ignore a probe hit. ARM will use this to only call handlers if the conditions to execute a conditionally executed instruction are satisfied. Signed-off-by: David A. Long Acked-by: Oleg Nesterov --- include/linux/uprobes.h | 1 + kernel/events/

[PATCH v7 02/15] ARM: Fix missing includes in kprobes sources

2014-03-07 Thread David Long
From: "David A. Long" Make sure includes in ARM kprobes sources are done explicitly. Do not rely on includes from other includes. Signed-off-by: David A. Long Acked-by: Jon Medhurst --- arch/arm/include/asm/kprobes.h | 2 +- arch/arm/kernel/kprobes-common.c | 3 +++ arch/arm/kernel/kpro

Re: [PATCHv8 1/4] power_supply: Add inlmt,iterm, min/max temp props

2014-03-07 Thread Pavel Machek
On Fri 2014-03-07 10:59:31, Jenny TC wrote: > Add new power supply properties for input current, charge termination > current, min and max temperature > > POWER_SUPPLY_PROP_TEMP_MIN - minimum operatable temperature > POWER_SUPPLY_PROP_TEMP_MAX - maximum operatable temperature > > POWER_SUPPLY_PRO

[PATCH v7 13/15] ARM: Add an emulate flag to the kprobes/uprobes instruction decode functions

2014-03-07 Thread David Long
From: "David A. Long" Add an emulate flag into the instruction interpreter, primarily for uprobes support. Signed-off-by: David A. Long Acked-by: Jon Medhurst --- arch/arm/kernel/kprobes.c | 2 +- arch/arm/kernel/kprobes.h | 1 + arch/arm/kernel/probes-arm.c | 4 ++-- arch/arm/

[PATCH v7 10/15] ARM: Change more ARM kprobes symbol names to something more generic

2014-03-07 Thread David Long
From: "David A. Long" Change kprobe_emulate_none, kprobe_simulate_nop, and arm_kprobe_decode_init function names to something more appropriate for code being shared outside of the kprobes subsystem. Also, move the new arm_probes_decode_init declaration out of the kprobes.h include file and into t

[PATCH v7 15/15] ARM: add uprobes support

2014-03-07 Thread David Long
From: "David A. Long" Using Rabin Vincent's ARM uprobes patches as a base, enable uprobes support on ARM. Caveats: - Thumb is not supported Signed-off-by: Rabin Vincent Signed-off-by: David A. Long --- arch/arm/Kconfig | 3 + arch/arm/include/asm/ptrace.h | 6 +

[PATCH v7 14/15] ARM: Make arch_specific_insn a define for new arch_probes_insn structure

2014-03-07 Thread David Long
From: "David A. Long" Because the common underlying code for ARM kprobes and uprobes needs to share a common architecrure-specific context structure, and because the generic kprobes include file insists on defining this to a dummy structure when kprobes is not configured, a new common structure i

[PATCH v7 12/15] ARM: Change the remaining shared kprobes/uprobes symbols to something generic

2014-03-07 Thread David Long
From: "David A. Long" Any more ARM kprobes/uprobes symbols which have "kprobe" in the name must be changed to the more generic "probes" or other non-kprobes specific symbol. Signed-off-by: David A. Long Acked-by: Jon Medhurst --- arch/arm/include/asm/probes.h| 13 ++--- arch/arm/k

[PATCH v7 08/15] ARM: Remove use of struct kprobe from generic probes code

2014-03-07 Thread David Long
From: "David A. Long" Change the generic ARM probes code to pass in the opcode and architecture-specific structure separately instead of using struct kprobe, so we do not pollute code being used only for uprobes or other non-kprobes instruction interpretation. Signed-off-by: David A. Long Acke

[PATCH v7 11/15] ARM: Rename the shared kprobes/uprobe return value enum

2014-03-07 Thread David Long
From: "David A. Long" Change the name of kprobes_insn to probes_insn so it can be shared between kprobes and uprobes without confusion. Signed-off-by: David A. Long Acked-by: Jon Medhurst --- arch/arm/kernel/kprobes-common.c | 2 +- arch/arm/kernel/kprobes-thumb.c | 16 arc

[PATCH v7 01/15] uprobes: Kconfig dependency fix

2014-03-07 Thread David Long
From: "David A. Long" Suggested change from Oleg Nesterov. Fixes incomplete dependencies for uprobes feature. Signed-off-by: David A. Long --- arch/Kconfig | 6 +- kernel/trace/Kconfig | 1 + 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/arch/Kconfig b/arch/Kconfig

[PATCH v7 04/15] ARM: move shared uprobe/kprobe definitions into new include file

2014-03-07 Thread David Long
From: "David A. Long" Separate the kprobe-only definitions from the definitions needed by both kprobes and uprobes. Signed-off-by: David A. Long Acked-by: Jon Medhurst --- arch/arm/include/asm/kprobes.h | 15 +- arch/arm/include/asm/{kprobes.h => probes.h} | 44 +

Re: Reporting a bug - Memory corruption in Linux kernel

2014-03-07 Thread Nilesh More
Thanks Theodore for your quick reply. To make few things clear, USB drive has FAT file system in it. And the ext4 file system is of internal sdcard present in android device. The ext4 corruption in /data partition occurs when USB drive is hotplugged/hotunplugged. The bug may repro with first hotpl

Re: [PATCH] proc: #68991 Fix GPF in /proc/$PID/map_files

2014-03-07 Thread Eric W. Biederman
Artem Fetishev writes: > https://bugzilla.kernel.org/show_bug.cgi?id=68991 > > The expected logic of proc_map_files_get_link() is either to return 0 and > initialize 'path' or return an error and leave 'path' uninitialized. By the > time > dname_to_vma_addr() returns 0 the corresponding vma may

Re: [PATCHv8 2/4] power_supply: Introduce generic psy charging driver

2014-03-07 Thread Pavel Machek
Hi! > The Power Supply charging driver connects multiple subsystems > to do charging in a generic way. The subsystems involves power_supply, > thermal and battery communication subsystems (1wire).With this the charging is > handled in a generic way. " " after ".", please. > + > +The Power Supply

Re: [Intel-gfx] agp/intel: can't ioremap flush page - no chipset flushing

2014-03-07 Thread Bjorn Helgaas
On Thu, Mar 6, 2014 at 1:25 PM, Paul Bolle wrote: > Bjorn Helgaas schreef op ma 10-02-2014 om 14:33 [-0700]: >> Can you open a kernel.org bugzilla report and attach complete dmesg >> logs of the working and broken kernels to it? There might be more >> useful resource-related messages from the PCI

Re: [PATCH v6 net-next 1/3] filter: add Extended BPF interpreter and converter

2014-03-07 Thread David Miller
From: Alexei Starovoitov Date: Wed, 5 Mar 2014 19:30:15 -0800 > Extended BPF extends old BPF in the following ways: > - from 2 to 10 registers > Original BPF has two registers (A and X) and hidden frame pointer. > Extended BPF has ten registers and read-only frame pointer. > - from 32-bit re

Re: [Intel-gfx] agp/intel: can't ioremap flush page - no chipset flushing

2014-03-07 Thread Bjorn Helgaas
On Fri, Mar 07, 2014 at 06:16:49PM +0100, Paul Bolle wrote: > Bjorn Helgaas schreef op vr 07-03-2014 om 09:55 [-0700]: > > On Fri, Mar 7, 2014 at 2:48 AM, Paul Bolle wrote: > > > This might end up not being relevant. And this is surely documented > > > somewhere, but anyhow: > > > - what git magic

Re: [PATCH 2/5] IBM Akebono: Add support for a new PHY interface to the IBM emac driver

2014-03-07 Thread David Miller
From: Alistair Popple Date: Thu, 6 Mar 2014 14:52:25 +1100 > + out_be32(dev->reg, in_be32(dev->reg) | WKUP_ETH_RGMIIEN > + | WKUP_ETH_TX_OE | WKUP_ETH_RX_IE); When an expression spans multiple lines, the lines should end with operators rather than begin with them. Also, it wou

Re: [PATCH 1/1] block: rework flush sequencing for blk-mq

2014-03-07 Thread Jeff Moyer
Christoph Hellwig writes: > Witch to using a preallocated flush_rq for blk-mq similar to what's done > with the old request path. This allows us to set up the request properly > with a tag from the actually allowed range and ->rq_disk as needed by > some drivers. To make life easier we also swi

Re: [systemd-devel] Suspending access to opened/active /dev/nodes during application runtime

2014-03-07 Thread Lukasz Pawelczyk
On 7 Mar 2014, at 20:09, Greg KH wrote: > On Fri, Mar 07, 2014 at 07:46:44PM +0100, Lukasz Pawelczyk wrote: >> Problem: >> Has anyone thought about a mechanism to limit/remove an access to a >> device during an application runtime? Meaning we have an application >> that has an open file descript

Re: [patch 03/11] mm, mempolicy: remove per-process flag

2014-03-07 Thread Andrew Morton
On Fri, 07 Mar 2014 09:20:39 -0800 Andi Kleen wrote: > David Rientjes writes: > > > > Per-process flags are a scarce resource so we should free them up > > whenever possible and make them available. We'll be using it shortly for > > memcg oom reserves. > > I'm not convinced TCP_RR is a meaning

Re: [systemd-devel] Suspending access to opened/active /dev/nodes during application runtime

2014-03-07 Thread Lukasz Pawelczyk
On 7 Mar 2014, at 20:24, Lennart Poettering wrote: > On Fri, 07.03.14 19:45, Lukasz Pawelczyk (hav...@gmail.com) wrote: > >> Problem: >> Has anyone thought about a mechanism to limit/remove an access to a >> device during an application runtime? Meaning we have an application >> that has an ope

Re: [systemd-devel] Suspending access to opened/active /dev/nodes during application runtime

2014-03-07 Thread Greg KH
On Fri, Mar 07, 2014 at 09:45:28PM +0100, Lukasz Pawelczyk wrote: > > On 7 Mar 2014, at 20:09, Greg KH wrote: > > > On Fri, Mar 07, 2014 at 07:46:44PM +0100, Lukasz Pawelczyk wrote: > >> Problem: > >> Has anyone thought about a mechanism to limit/remove an access to a > >> device during an appli

Re: 3.13.?: Strange / dangerous fan policy...

2014-03-07 Thread Guenter Roeck
On Fri, Mar 07, 2014 at 08:33:02PM +0100, Manuel Krause wrote: > Please have a short look at the following BUG report + the comments > -- this message here is a kind of FWD-ing it: > https://bugs.archlinux.org/task/39005 > > I came late to test kernel 3.13 with the .5 one, as it was the time > tha

[PATCH] mfd: Fix cs5535 dependencies

2014-03-07 Thread Jean Delvare
As far as I know, the CS5535 and CS5536 chipsets are companions of the Geode series of processors, which are 32-bit only. So the CS5535 drivers are not needed on x86-64, except for build testing purpose. This aligns the dependencies to what FB_GEODE already uses. Signed-off-by: Jean Delvare Cc:

Re: Reporting a bug - Memory corruption in Linux kernel

2014-03-07 Thread Nilesh More
Adding three more findings - 4. The memory pages thar are getting allocated in blkdev_get call in step#1 are in msdos_partition() (1 page is alloacted here) and in efi_partition() (2 pages are allocated here) function calls. I traced the 'bdev->bd_inode->i_mapping->nrpages' to track the page alloc

Re: [qemu64,+smep,+smap] WARNING: CPU: 1 PID: 0 at arch/x86/kernel/cpu/amd.c:220 init_amd()

2014-03-07 Thread H. Peter Anvin
On 03/07/2014 11:10 AM, Dave Jones wrote: > On Fri, Mar 07, 2014 at 10:56:11AM -0800, H. Peter Anvin wrote: > > On 03/06/2014 09:50 PM, Fengguang Wu wrote: > > >> > > >> Unfortunately these things are hard to fix in Qemu. > > > > > > OK. As an alternative, is it possible to pass one of the be

rfc: checkpatch logical line continuations (was IBM Akebono: Add support for a new PHY interface to the IBM emac driver)

2014-03-07 Thread Joe Perches
(added some cc's) On Fri, 2014-03-07 at 15:41 -0500, David Miller wrote: > From: Alistair Popple > Date: Thu, 6 Mar 2014 14:52:25 +1100 > > > + out_be32(dev->reg, in_be32(dev->reg) | WKUP_ETH_RGMIIEN > > +| WKUP_ETH_TX_OE | WKUP_ETH_RX_IE); > > When an expression spans multiple l

Re: [Intel-gfx] agp/intel: can't ioremap flush page - no chipset flushing

2014-03-07 Thread Paul Bolle
On Fri, 2014-03-07 at 13:40 -0700, Bjorn Helgaas wrote: > It seems quite possible that I broke pci_bus_alloc_resource(), which could > cause an allocation failure like this. > > If you have a chance to try it, here's a debug patch against v3.14-rc5. It > should apply cleanly to 96702be56037. I

[git pull] Please pull powerpc.git merge branch

2014-03-07 Thread Benjamin Herrenschmidt
Hi Linus ! Here are a couple of powerpc fixes for 3.14. One is (another !) nasty TM problem, we can crash the kernel by forking inside a transaction. The other one is a simple fix for an alignment issue which can hurt in LE mode. Cheers, Ben. The following changes since commit e0cf95761497689611

Re: [PATCH net-next v7 0/9] xen-netback: TX grant mapping with SKBTX_DEV_ZEROCOPY instead of copy

2014-03-07 Thread David Miller
From: Zoltan Kiss Date: Thu, 6 Mar 2014 21:48:22 + > A long known problem of the upstream netback implementation that on the TX > path (from guest to Dom0) it copies the whole packet from guest memory into > Dom0. That simply became a bottleneck with 10Gb NICs, and generally it's a > huge per

[PATCH] cs5535-mfgpt: Simplify dependencies

2014-03-07 Thread Jean Delvare
The bus and architecture dependencies are already on MFD_CS5535, so there is no need to repeat them here. Signed-off-by: Jean Delvare Cc: Arnd Bergmann Cc: Greg Kroah-Hartman --- drivers/misc/Kconfig |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-3.14-rc5.orig/drivers/misc

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

2014-03-07 Thread Andrew Morton
On Fri, 7 Mar 2014 11:05:49 -0600 (CST) Christoph Lameter wrote: > On Thu, 6 Mar 2014, Andrew Morton wrote: > > > > So, by "the whole series" do you mean just/all these: > > > > > > percpu-add-raw_cpu_ops.patch > > > ... > > > sh-replace-__get_cpu_var-uses.patch > > > > Yep. Commented out in h

<    1   2   3   4   5   6   7   8   >