Re: [PATCHv5 1/3] mfd: sec-core: Add support for S2MPU02 device

2014-06-16 Thread Lee Jones
On Mon, 16 Jun 2014, Chanwoo Choi wrote: > Add support for Samsung S2MPU02 PMIC device to the MFD sec-core driver. > The S2MPU02 device includes PMIC/RTC/Clock devices. > > Signed-off-by: Chanwoo Choi > Reviewed-by: Krzysztof Kozlowski > --- > drivers/mfd/sec-core.c | 19 + >

[PATCH] NFC: trf7970a: Move trf7970a_init inside #ifdef CONFIG_PM_RUNTIME

2014-06-16 Thread Geert Uytterhoeven
If CONFIG_PM_RUNTIME=n: drivers/nfc/trf7970a.c:755: warning: ‘trf7970a_init’ defined but not used Signed-off-by: Geert Uytterhoeven --- drivers/nfc/trf7970a.c | 80 +- 1 file changed, 40 insertions(+), 40 deletions(-) diff --git

3d3d6b847420 ("kbuild: LLVMLinux: Adapt warnings for compilation with clang")

2014-06-16 Thread Borislav Petkov
Hi, the commit in $Subject breaks the purpose of the W= build to see additional warnings. With it, currently I get all that stuff disabled with gcc: $ make V=1 W=1 fs/direct-io.o ... gcc -Wp,-MD,... -Wno-sign-compare -Wno-missing-field-initializers -Wno-unused-value -Wno-format

RE: [PATCH 1/8] mfd: Add support for DA9150 combined charger & fuel-gauge device

2014-06-16 Thread Opensource [Adam Thomson]
On Sun, Jun 15, 2014 at 20:49, Jonathan Cameron wrote: > Hi Adam, > > Some general comments inline. > > It's been a while since I've looked at any particularly similar parts, > but it seems to me that a lot of indirection gets added here that > if anything makes the codes slightly harder to

[PATCH] dmaengine: Update documentation for inline wrappers

2014-06-16 Thread Geert Uytterhoeven
During the last few years, several inline wrappers for DMA operations have been introduced: - commit 16052827d98fbc13c31ebad560af4bd53e2b4dd5 ("dmaengine/dma_slave: introduce inline wrappers"), - commit a14acb4ac2a1486f6633c55eb7f7ded07f3ec9fc ("DMAEngine: add

Re: [RFC/PATCH] perf tools: Fix segfault in cumulative.callchain report

2014-06-16 Thread Namhyung Kim
2014-06-15 (일), 18:34 +0200, Jiri Olsa: > On Sun, Jun 15, 2014 at 09:46:31PM +0900, Namhyung Kim wrote: > > Hi Jiri, > > > > 2014-06-15 (일), 10:35 +0200, Jiri Olsa: > > > heya, > > > not completely sure this is what we want to do, but have no > > > streght to dive into annotation code ;-) > > >

Re: [PATCH 1/6] arc,perf: Use common PMU interrupt disabled code

2014-06-16 Thread Vineet Gupta
On Sunday 15 June 2014 11:25 AM, Vince Weaver wrote: > Transition to using the new generic PERF_PMU_CAP_NO_INTERRUPT method for > failing a sampling event when no PMU interrupt is available. > > Signed-off-by: Vince Weaver Acked-by: Vineet Gupta Thx, -Vineet > > diff --git

[PATCH tty-next 07/22] tty: ipwireless: Remove tty->closing abort from ipw_open()

2014-06-16 Thread Peter Hurley
tty->closing cannot be set on ipw_open() because the ipwireless tty driver does not call any functions that set tty->closing. CC: Jiri Kosina CC: David Sterba Signed-off-by: Peter Hurley --- drivers/tty/ipwireless/tty.c | 5 - 1 file changed, 5 deletions(-) diff --git

[PATCH tty-next 09/22] tty: Remove tty_hung_up_p() tests from tty drivers' open()

2014-06-16 Thread Peter Hurley
Since at least before 2.6.30, it has not been possible to observe a hung up file pointer in a tty driver's open() method unless/until the driver open() releases the tty_lock() (eg., before blocking). This is because tty_open() adds the file pointer while holding the tty_lock() _and_ doesn't

[PATCH tty-next 08/22] serial: Use UPF_* constants with struct uart_port flags

2014-06-16 Thread Peter Hurley
Fix ASYNC_* constant usage that should be the corresponding UPF_* constant. CC: Grant Likely CC: Rob Herring CC: devicet...@vger.kernel.org Signed-off-by: Peter Hurley --- drivers/tty/serial/lantiq.c | 2 +- drivers/tty/serial/mcf.c| 4 ++-- 2 files changed, 3 insertions(+), 3

Re: [RFC PATCH] gpio: Add a defer reset object to send board specific reset

2014-06-16 Thread Ulf Hansson
On 8 June 2014 03:09, Houcheng Lin wrote: > The Problem > --- > The reset signal on a hardware board is send either: > - during machine initialization > - during bus master's initialization > > In some hardware design, devices on bus need a non-standard and extra reset > signal

[PATCH tty-next 06/22] tty: Move tty->closing from port lock critical section

2014-06-16 Thread Peter Hurley
tty->closing informs the line discipline that the hardware will be shutting down imminently, and to disable further input other than soft flow control (but to still allow additional output). However, the tty lock is the necessary lock for preventing concurrent changes to tty->closing. As shown by

[PATCH tty-next 01/22] tty: Document locking for tty driver methods

2014-06-16 Thread Peter Hurley
The tty core calls the tty driver's open, close and hangup methods holding the tty lock. Signed-off-by: Peter Hurley --- include/linux/tty_driver.h | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/include/linux/tty_driver.h b/include/linux/tty_driver.h index

[PATCH tty-next 05/22] tty: Document locking for tty_port_hangup()

2014-06-16 Thread Peter Hurley
The tty lock is held when the tty driver's hangup() method is called (from the lone call-site, __tty_hangup()). The call-tree audit [1] of tty_port_hangup() is a closed graph of the callers of tty_port_hangup(); ie., all callers originate only from __tty_hangup(). Of these callers, none drop the

[PATCH tty-next 02/22] tty: Document locking for tty_port_close{,start,end}()

2014-06-16 Thread Peter Hurley
The tty lock is held when the tty driver's .close method is called (from the two lone call-sites of tty_release() and __tty_hangup()). The call-tree audit[1] of tty_port_close(), tty_port_close_start, and tty_port_close_end() is a closed graph of the callers of these 3 functions; ie., all callers

[PATCH tty-next 03/22] tty: Document locking for tty_port_open()

2014-06-16 Thread Peter Hurley
The tty lock is held when the tty driver's open method is called (from the lone call-site, tty_open()). The call-tree audit [1] of tty_port_open() is a closed graph of the callers of tty_port_open(); ie., all callers originate from only tty_open(). Of these callers, none drop the tty lock. Also,

Re: [PATCHv5 2/3] regulator: s2mps11: Add support S2MPU02 regulator device

2014-06-16 Thread Lee Jones
On Mon, 16 Jun 2014, Chanwoo Choi wrote: > This patch add S2MPU02 regulator device to existing S2MPS11 device driver > because of little difference between S2MPS1x and S2MPU02. The S2MPU02 > regulator device includes LDO[1-28] and BUCK[1-7]. > > Signed-off-by: Chanwoo Choi > [Add missing

[PATCH tty-next 04/22] tty: Document locking for tty_port_block_til_ready()

2014-06-16 Thread Peter Hurley
The tty lock is held when the tty driver's open() method is called (from tty_open()). The call-tree audit [1] of tty_port_block_til_ready() is a closed graph of the callers of tty_port_block_til_ready(); ie., all callers originate only from tty_open(). Of these callers, none drop the tty lock.

[PATCH tty-next 00/22] tty/serial fixes for 3.17

2014-06-16 Thread Peter Hurley
Hi Greg, These patches are the accumulation of fixes resulting from audits of the tty and serial cores; mostly cleanups of open() and close(). Most of the changes remove condition testing and handling which cannot occur because the tty lock is held for the tty driver open() call. The exceptions

[RFC] Turn off -Wmaybe-uninitialized completely and move it to W=1

2014-06-16 Thread Borislav Petkov
Hi, so 3.16-rc1 adds this false positive from gcc, see below (triggers on 4.9 and 4.8.2). Now, it is firing wrong and gcc people tell me there's no way for the compiler to know that the "from" and "to" values will NOT be used in the error case, i.e. thus the "maybe" aspect. So, we've disabled it

[PATCH tty-next 14/22] tty: Remove tty_wait_until_sent_from_close()

2014-06-16 Thread Peter Hurley
tty_wait_until_sent_from_close() drops the tty lock while waiting for the tty driver to finish sending previously accepted data (ie., data remaining in its write buffer and transmit fifo). However, dropping the tty lock is a hold-over from when the tty lock was system-wide; ie., one lock for all

[PATCH tty-next 16/22] tty: mxser: Use tty->closing for ASYNC_CLOSING

2014-06-16 Thread Peter Hurley
ASYNC_CLOSING is no longer used in the tty core; use tty->closing as substitute. Signed-off-by: Peter Hurley --- drivers/tty/mxser.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/tty/mxser.c b/drivers/tty/mxser.c index 4c4a236..573bc00 100644 ---

[PATCH tty-next 13/22] serial: blackfin: Fix CTS flow control

2014-06-16 Thread Peter Hurley
blackfin uart port drivers mistakenly set the struct uart_port flags bit UPF_BUG_THRE (which only has meaning to the 8250 core) while trying to set ASYNC_CTS_FLOW. Uart port drivers can override termios settings based on actual hardware support in their .set_termios method; the serial core sets

[PATCH tty-next 17/22] tty: Remove ASYNC_CLOSING

2014-06-16 Thread Peter Hurley
Since at least before 2.6.30, tty drivers that do not drop the tty lock while closing cannot observe ASYNC_CLOSING set while holding the tty lock; this includes the tty driver's open() and hangup() methods, since the tty core calls these methods holding the tty lock. For these drivers, waiting

Re: [PATCH 2/2] memcg: Allow guarantee reclaim

2014-06-16 Thread Michal Hocko
On Thu 12-06-14 12:51:05, Johannes Weiner wrote: > On Thu, Jun 12, 2014 at 04:22:37PM +0200, Michal Hocko wrote: > > On Thu 12-06-14 09:56:00, Johannes Weiner wrote: > > > On Thu, Jun 12, 2014 at 03:22:07PM +0200, Michal Hocko wrote: > > [...] > > > > Anyway, the situation now is pretty chaotic. I

[PATCH tty-next 18/22] tty: Move tty hung up check from port->lock critical section

2014-06-16 Thread Peter Hurley
The port->lock does not protect the filp->f_op field; move the tty_hung_up_p() test outside the port->lock critical section in tty_port_close_start(). Signed-off-by: Peter Hurley --- drivers/tty/tty_port.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git

[PATCH tty-next 21/22] serial: core: Remove superfluous ldisc flush from uart_close()

2014-06-16 Thread Peter Hurley
The tty_ldisc_flush() after port hardware shutdown is unnecessary; the ldisc flush was just performed before the hardware shutdown in tty_port_close_start() and the ldisc will be released when uart_close() returns (because the last port close implies the last tty close). Signed-off-by: Peter

[PATCH tty-next 10/22] char: synclink: Remove WARN_ON for bad port count

2014-06-16 Thread Peter Hurley
tty_port_close_start() already validates the port counts and issues a diagnostic if validation fails. Signed-off-by: Peter Hurley --- drivers/char/pcmcia/synclink_cs.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/char/pcmcia/synclink_cs.c b/drivers/char/pcmcia/synclink_cs.c

[PATCH tty-next 15/22] isdn: tty: Use private flag for ASYNC_CLOSING

2014-06-16 Thread Peter Hurley
ASYNC_CLOSING is no longer used in the tty core; use private flag info->closing as substitute. CC: Karsten Keil CC: net...@vger.kernel.org Signed-off-by: Peter Hurley --- drivers/isdn/i4l/isdn_tty.c | 14 +++--- include/linux/isdn.h| 1 + 2 files changed, 8 insertions(+), 7

[PATCH tty-next 22/22] serial: Fix locking for uart driver set_termios() method

2014-06-16 Thread Peter Hurley
The low-level uart driver may modify termios settings to override settings that are not compatible with the uart, such as CRTSCTS. Thus, callers of the low-level uart driver's set_termios() method must hold termios_rwsem write lock to prevent concurrent access to termios, in case such override

[PATCH tty-next 19/22] serial: Style fix

2014-06-16 Thread Peter Hurley
Unwrap if() conditional; no functional change. Signed-off-by: Peter Hurley --- drivers/tty/serial/serial_core.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/tty/serial/serial_core.c b/drivers/tty/serial/serial_core.c index e97653e..f13a769 100644 ---

Re: [PATCH v3 5/6] regulator: add support for regulator set registration

2014-06-16 Thread Boris BREZILLON
On 16/06/2014 10:08, Lee Jones wrote: >> Hello Mark, >> >> Did you have time to take a look at this patch ? >> >> I'd like to post a new version of this series addressing Lee's comments, >> but it would be great to have your feedback on this patch before posting >> a new version. > I wouldn't do

[PATCH tty-next 20/22] serial: Refactor uart_flush_buffer() from uart_close()

2014-06-16 Thread Peter Hurley
In the context of the final tty & port close, flushing the tx ring buffer after the hardware has already been shutdown and the ring buffer freed is neither required nor desirable. uart_flush_buffer() performs 3 operations: 1. Resets tx ring buffer indices, but the tx ring buffer has already

[PATCH tty-next 12/22] tty: serial: Fix termios/port flags mismatch

2014-06-16 Thread Peter Hurley
Uart port drivers may reconfigure termios settings based on available hardware support; set/clear ASYNC_CTS_FLOW and ASYNC_CHECK_CD _after_ calling the port driver's .set_termios method. Signed-off-by: Peter Hurley --- drivers/tty/serial/serial_core.c | 5 +++-- 1 file changed, 3 insertions(+),

[PATCH tty-next 11/22] tty: Call hangup method in modern style

2014-06-16 Thread Peter Hurley
Signed-off-by: Peter Hurley --- drivers/tty/tty_io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/tty_io.c b/drivers/tty/tty_io.c index 3411071..714320b 100644 --- a/drivers/tty/tty_io.c +++ b/drivers/tty/tty_io.c @@ -688,7 +688,7 @@ static void

Re: [PATCH v9 4/5] ARM: sunxi: Add IR controllers on A20 to dtsi

2014-06-16 Thread Maxime Ripard
Hi, On Mon, Jun 09, 2014 at 12:08:12AM +0600, Alexander Bersenev wrote: > This patch adds records for two IR controllers on A20 > > Signed-off-by: Alexander Bersenev > Signed-off-by: Alexsey Shestacov > --- > arch/arm/boot/dts/sun7i-a20.dtsi | 18 ++ > 1 file changed, 18

Re: [PATCH v9 3/5] ARM: sunxi: Add pins for IR controller on A20 to dtsi

2014-06-16 Thread Maxime Ripard
Hi, On Mon, Jun 09, 2014 at 12:08:11AM +0600, Alexander Bersenev wrote: > This patch adds pins for two IR controllers on A20 > > Signed-off-by: Alexander Bersenev > Signed-off-by: Alexsey Shestacov Applied, thanks. Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android

[PATCH] serial: 8250_dw: add ability to handle the peripheral clock

2014-06-16 Thread Heiko Stübner
First try to find the named clock variants then fall back to the already existing handling of a nameless declared baudclk. This also adds the missing documentation for this already existing variant. Signed-off-by: Heiko Stuebner --- .../bindings/serial/snps-dw-apb-uart.txt | 31

Re: [PATCH] Fix memory leak in cm.c

2014-06-16 Thread Steve Wise
On 6/15/2014 9:26 PM, Nick wrote: This patch fixes memory by checking in function, *get_skuff if it is be passing a Null skb struct. Cheers Nick Signed-off-by: Nick --- drivers/infiniband/hw/cxgb4/cm.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git

Re: 3.15-rc8 oops in copy_page_rep after page fault.

2014-06-16 Thread Kirill A. Shutemov
On Sun, Jun 15, 2014 at 08:01:27PM -0700, Hugh Dickins wrote: > On Fri, 6 Jun 2014, Sasha Levin wrote: > > On 06/06/2014 02:49 PM, Kirill A. Shutemov wrote: > > > On Fri, Jun 06, 2014 at 11:26:14AM -0700, Linus Torvalds wrote: > > >> > On Fri, Jun 6, 2014 at 10:43 AM, Dave Jones wrote: > > >>> >

Re: [PATCH v2 1/7] mfd: add atmel-hlcdc driver

2014-06-16 Thread Boris BREZILLON
Hello Lee, On 16/06/2014 14:50, Lee Jones wrote: >> The HLCDC IP available on some Atmel SoCs (i.e. at91sam9n12, at91sam9x5 >> family or sama5d3 family) exposes 2 subdevices: >> - a display controller (controlled by a DRM driver) >> - a PWM chip >> >> Add support for the MFD device which will

Re: [PATCH 6/8] power: Add support for DA9150 Charger

2014-06-16 Thread Lee Jones
On Wed, 11 Jun 2014, Adam Thomson wrote: > This patch adds support for DA9150 Charger & Fuel-Guage IC Charger. > > Signed-off-by: Adam Thomson > --- > drivers/power/Kconfig | 23 ++ > drivers/power/Makefile | 1 + > drivers/power/da9150-charger.c | 790 >

Re: [PATCH] firmware: Add device tree binding for coreboot

2014-06-16 Thread Rob Herring
On Fri, Jun 13, 2014 at 4:58 PM, Julius Werner wrote: >> This is just to export a fixed log to userspace (like a DMI table) or >> the kernel will actually use the data in some way? Based on the link, >> it looks like the former to me. > > I could imagine both. The link is an in-kernel driver that

Re: [PATCH v9 5/5] ARM: sunxi: Enable IR controller on cubieboard 2 and cubietruck in dts

2014-06-16 Thread Maxime Ripard
On Mon, Jun 09, 2014 at 12:08:13AM +0600, Alexander Bersenev wrote: > This patch enables two IR devices in dts: > - One IR device physically found on Cubieboard 2 > - One IR device physically found on Cubietruck > > Signed-off-by: Alexander Bersenev > Signed-off-by: Alexsey Shestacov Applied,

Re: [PATCH] Missing return check against Null for return value of netdev_alloc_dev_skb()

2014-06-16 Thread Sergei Shtylyov
Hello. On 06/16/2014 12:27 AM, Nick Krause wrote: From 62b0d77a1430f74b7f5c008c5e8bec11604b33b0 Mon Sep 17 00:00:00 2001 From: Nick Date: Sun, 15 Jun 2014 16:16:14 -0400 Subject: [PATCHv2] Fixes return logic of function of pch_gbe_alloc_tx_buffers() Here is the fixed patch changed return

[RFC PATCH 3/4] drm/tegra: Request memory bandwidth for the display controller

2014-06-16 Thread Tomeu Vizoso
Request it based solely on the current mode's refresh rate. More accurate requirements can be requested in future patches. Signed-off-by: Tomeu Vizoso --- drivers/gpu/drm/tegra/dc.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/gpu/drm/tegra/dc.c

[RFC PATCH 1/4] memory: tegra124-emc: Add EMC driver

2014-06-16 Thread Tomeu Vizoso
Adds functionality for registering memory bandwidth needs and setting the EMC clock rate based on that. Also adds API for setting floor and ceiling frequency rates. Signed-off-by: Tomeu Vizoso --- .../bindings/arm/tegra/nvidia,tegra124-emc.txt | 26 drivers/memory/Kconfig

[RFC PATCH 2/4] ARM: tegra: Add Tegra124 EMC support

2014-06-16 Thread Tomeu Vizoso
Add a device node for the EMC found on Tegra124. Signed-off-by: Tomeu Vizoso --- arch/arm/boot/dts/tegra124.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/tegra124.dtsi b/arch/arm/boot/dts/tegra124.dtsi index 6e6bc4e..5aa42ff 100644 ---

[RFC PATCH 4/4] cpufreq: tegra: Register a minimum EMC frequency based on the CPU clock

2014-06-16 Thread Tomeu Vizoso
Instead of setting a direct correlation to the CPU frequency. This allows for other devices to influence the final effective EMC frequency. In the future, this should be done instead by an ACTMON driver, which would also take load stats into account when calculating the floor EMC frequency.

[RFC PATCH 0/4] Tegra124: EMC scaling

2014-06-16 Thread Tomeu Vizoso
Hi, here is an initial implementation of EMC scaling for Tegra124, I'm most interested in feedback on the approach. The present incarnation is very much specific to Tegra, but I'm sure that we could find an API that can be shared across SoC families. I have looked at using existing frameworks

Re: [RESEND PATCH] ARM: kdump: Add vmcore_elf64_check_arch

2014-06-16 Thread Will Deacon
On Mon, Jun 09, 2014 at 02:21:20PM +0100, Liu hua wrote: > 于 2014/5/6 20:15, Will Deacon 写道: > > On Sat, May 03, 2014 at 02:44:46PM +0100, Liu Hua wrote: > Sorry to reply you so late. These days I am working on kdump feature for LPAE > enabled > kernel. And now I think this patch is not good. >

[PATCH v6 7/7] ARM: dts: add bus clock bsc3_apb for bcm281xx

2014-06-16 Thread Alex Elder
Add the bus clock named "bsc3_apb" to the list of those provided by the slave CCU. Signed-off-by: Alex Elder --- arch/arm/boot/dts/bcm11351.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/bcm11351.dtsi b/arch/arm/boot/dts/bcm11351.dtsi index

[PATCH v6 6/7] clk: bcm281xx: define a bus clock

2014-06-16 Thread Alex Elder
Define the bus clock "bsc3_apb". This bus clock has to be managed using the CCU policy mechanism, so add the definitions required for that to the clock and its CCU. This one bus clock in particular is defined because it is needed by peripheral clock "bsc3". Our boot loader does not properly

[PATCH v6 5/7] clk: bcm281xx: add bus clock support

2014-06-16 Thread Alex Elder
Add bus clock support. A bus clock has a subset of the components present in a peripheral clock (again, all optional): a gate; CCU policy management bits; and if needed, bits to control hysteresis. Signed-off-by: Alex Elder --- drivers/clk/bcm/clk-kona-setup.c | 96

[PATCH v6 4/7] clk: bcm281xx: implement prerequisite clocks

2014-06-16 Thread Alex Elder
Allow a clock to specify a "prerequisite" clock, identified by its name. The prerequisite clock must be prepared and enabled before a clock that depends on it is used. In order to simplify locking, we require a clock and its prerequisite to be associated with the same CCU. (We'll just

[PATCH v6 2/7] clk: kona: don't init clocks at startup time

2014-06-16 Thread Alex Elder
The last thing done for CCU setup is a call to kona_ccu_init(). This locks and enables write access on the CCU, then calls __kona_clk_init() for all of the clocks it provides. The purpose of this was to get or set the initial state of all the registers related to each clock. There's no reason to

[PATCH v6 0/7] clk: bcm: prerequisite and bus clock support

2014-06-16 Thread Alex Elder
Currently only peripheral clocks are supported for Broadcom platforms that use Kona style CCUs for clocking. This series adds support for bus clocks as well. One motivation for doing this is that there exist peripheral clocks that cannot be configured without having first enabled a related bus

[PATCH v6 3/7] clk: bcm281xx: add an initialized flag

2014-06-16 Thread Alex Elder
Add a flag that tracks whether a clock has already been initialized. Use it to avoid initializing a clock more than once. Signed-off-by: Alex Elder --- drivers/clk/bcm/clk-kona.c | 12 drivers/clk/bcm/clk-kona.h | 7 +++ 2 files changed, 19 insertions(+) diff --git

[PATCH v6 1/7] clk: kona: move some code

2014-06-16 Thread Alex Elder
Move the definition of __peri_clk_init() up in "clk-kona.c", in preparation for the next patch (so it's defined before it's needed). Move kona_ccu_init() and __kona_clk_init() as well. Done as a separate patch so doing so doesn't obscure other changes. Signed-off-by: Alex Elder ---

Re: [PATCH] ARM: Thumb-2: Fix out-of-range offset for Thumb-2 in, proc-macros.S

2014-06-16 Thread Will Deacon
On Tue, Jun 10, 2014 at 08:00:01AM +0100, Wang Weidong wrote: > The STR Instruction Encoding T4 points that the is in the > range 0-255.So split the instruction into two for Thumb-2. Just > like commit 874d5d3ccc("ARM: 6623/1: Thumb-2: Fix out-of-range > offset for Thumb-2 in proc-v7.S"). > >

Re: [PATCH tty-next 09/22] tty: Remove tty_hung_up_p() tests from tty drivers' open()

2014-06-16 Thread Jesper Nilsson
On Mon, Jun 16, 2014 at 09:17:06AM -0400, Peter Hurley wrote: > Since at least before 2.6.30, it has not been possible to observe > a hung up file pointer in a tty driver's open() method unless/until > the driver open() releases the tty_lock() (eg., before blocking). > > This is because

Re: [PATCH tty-next 17/22] tty: Remove ASYNC_CLOSING

2014-06-16 Thread Jesper Nilsson
On Mon, Jun 16, 2014 at 09:17:14AM -0400, Peter Hurley wrote: > Since at least before 2.6.30, tty drivers that do not drop the tty lock > while closing cannot observe ASYNC_CLOSING set while holding the > tty lock; this includes the tty driver's open() and hangup() methods, > since the tty core

Re: [GIT PULL] scheduler tree changes for v3.16

2014-06-16 Thread Paul Bolle
Peter, Ingo Molnar schreef op di 03-06-2014 om 14:07 [+0200]: > Peter Zijlstra (12): > [...] > sched/idle, x86: Switch from TS_POLLING to TIF_POLLING_NRFLAG This introduces this obviously correct warning (on 32 bit x86): arch/x86/kernel/apm_32.c: In function 'apm_do_idle':

Re: [PATCH] fs/cifs: fix regression in cifs_create_mf_symlink()

2014-06-16 Thread Stefan (metze) Metzmacher
Hi Steve, any comments on this? How can we get this fixed upstream? Thanks! metze Am 10.06.2014 12:03, schrieb Björn Baumbach: > commit d81b8a40e2ece0a9ab57b1fe1798e291e75bf8fc > ("CIFS: Cleanup cifs open codepath") > changed disposition to FILE_OPEN. > > Signed-off-by: Björn Baumbach >

Re: [PATCH 2/2] memcg: Allow guarantee reclaim

2014-06-16 Thread Tejun Heo
Hello, Michal. On Mon, Jun 16, 2014 at 02:59:15PM +0200, Michal Hocko wrote: > > There sure is a question of how fast userland will move to the new > > interface. > > Yeah, I was mostly thinking about those who would need to to bigger > changes. AFAIR threads will no longer be distributable

Re: [PATCH -next 08/26] infiniband: Use dma_zalloc_coherent

2014-06-16 Thread Steve Wise
For cxgb3, Acked-by: Steve Wise -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH v2 4/4] ARM: DTS: dra7/dra7xx-clocks: ATL related changes

2014-06-16 Thread Tero Kristo
On 05/07/2014 01:20 PM, Peter Ujfalusi wrote: Modify the clock nodes for the ATL clocks to use the ATL clock driver to handle them. Add the ATL device node at the same time for DRA7. Signed-off-by: Peter Ujfalusi This patch missed the merge window due to long dependency chain, however Tony

Re: [RFC PATCH 1/4] memory: tegra124-emc: Add EMC driver

2014-06-16 Thread Mikko Perttunen
It should be mentioned that calling clk_set_rate on the EMC clock currently does absolutely nothing (except probably returning an error). The rate switching sequence is not implemented (nor is the clock tree entirely correct. For example, the kernel thinks that PLL_M is disabled). Another

Re: [PATCH 2/2] memcg: Allow guarantee reclaim

2014-06-16 Thread Michal Hocko
On Mon 16-06-14 09:57:41, Tejun Heo wrote: > Hello, Michal. > > On Mon, Jun 16, 2014 at 02:59:15PM +0200, Michal Hocko wrote: > > > There sure is a question of how fast userland will move to the new > > > interface. > > > > Yeah, I was mostly thinking about those who would need to to bigger > >

Re: [PATCH V3 00/16] irqchip: crossbar: driver fixes

2014-06-16 Thread Santosh Shilimkar
Sricharan, On Monday 16 June 2014 07:23 AM, Sricharan R wrote: > This series does some cleanups, fixes for handling two interrupts > getting mapped twice to same crossbar and provides support for > hardwired IRQ and crossbar definitions. > > On certain platforms such as DRA7, SPIs 0, 1, 2, 3, 5,

Re: [Patch v5.1 03/03]: hwrng: khwrngd derating per device

2014-06-16 Thread Torsten Duwe
On Mon, Jun 16, 2014 at 07:22:07AM -0400, Theodore Ts'o wrote: > On Mon, Jun 16, 2014 at 09:31:08AM +0200, Torsten Duwe wrote: > > > 2) Fixed a bug in patch #2 so that it would work correctly if the rng > > > driver doesn't have an init function (which happens to be the case for > > > the tpm-rng

Re: [RFC 0/2] __vdso_findsym

2014-06-16 Thread Ian Lance Taylor
On Sun, Jun 15, 2014 at 7:36 PM, Andi Kleen wrote: > > I haven't looked into this in detail, but my initial assumption would > be that it wouldn't be useful to add new vdso interfaces just for Go. > After all would you really want to force ever Go user to upgrade their > kernel just to get fast

Re: [RFC PATCH 4/4] cpufreq: tegra: Register a minimum EMC frequency based on the CPU clock

2014-06-16 Thread Mikko Perttunen
The tegra-cpufreq driver is only for Tegra20, an upcoming driver for Tegra124 will be separate, so this is not needed. Thanks, - Mikko On 06/16/2014 04:35 PM, Tomeu Vizoso wrote: Instead of setting a direct correlation to the CPU frequency. This allows for other devices to influence the final

Re: [PATCH tty-next 07/22] tty: ipwireless: Remove tty->closing abort from ipw_open()

2014-06-16 Thread David Sterba
On Mon, Jun 16, 2014 at 09:17:04AM -0400, Peter Hurley wrote: > tty->closing cannot be set on ipw_open() because the ipwireless tty > driver does not call any functions that set tty->closing. > > CC: Jiri Kosina Acked-by: David Sterba -- To unsubscribe from this list: send the line

RE: [PATCH] firmware loader: allow disabling of udev as firmware loader

2014-06-16 Thread B_B_Singh
Hi Tom, Today I have tried with 3.15 the behavior is same as before. Do you have any update on this? Regards Balaji Singh -Original Message- From: Singh, B B Sent: Tuesday, June 10, 2014 8:44 PM To: 'Tom Gundersen' Cc: LKML; Ming Lei; Greg KH; Abhay Salunke; Stefan Roese; Arnd

Re: [PATCH 2/2] memcg: Allow guarantee reclaim

2014-06-16 Thread Tejun Heo
On Mon, Jun 16, 2014 at 04:04:48PM +0200, Michal Hocko wrote: > > For whatever reason, a user is stuck with thread-level granularity for > > controllers which work that way, the user can use the old hierarchies > > for them for the time being. > > So he can mount memcg with new cgroup API and

Re: [PATCH] arm64: Add flush_cache_vmap call in __early_set_fixmap

2014-06-16 Thread Will Deacon
On Mon, Jun 09, 2014 at 02:24:29PM +0100, Leif Lindholm wrote: > On Mon, Jun 09, 2014 at 12:03:56PM +0100, Catalin Marinas wrote: > > So I'm proposing an alternative patch (which needs some benchmarking as > > well to see if anything is affected, maybe application startup time). I don't like the

Re: [PATCH v2 4/4] ARM: DTS: dra7/dra7xx-clocks: ATL related changes

2014-06-16 Thread Tony Lindgren
* Tero Kristo [140616 07:03]: > On 05/07/2014 01:20 PM, Peter Ujfalusi wrote: > >Modify the clock nodes for the ATL clocks to use the ATL clock driver to > >handle them. > > > >Add the ATL device node at the same time for DRA7. > > > >Signed-off-by: Peter Ujfalusi > > This patch missed the

Re: [PATCH] extcon: extcon-dra7xx: Add Extcon driver for DRA7xx

2014-06-16 Thread Guenter Roeck
On 06/15/2014 10:41 PM, George Cherian wrote: On 6/16/2014 10:29 AM, Guenter Roeck wrote: On 06/15/2014 07:42 PM, George Cherian wrote: This is the driver for the USB ID pin detection. This driver handles only the USB ID pin changes generated by cable insertion/removal. Signed-off-by: George

Re: [PATCH] arm64: Add flush_cache_vmap call in __early_set_fixmap

2014-06-16 Thread Will Deacon
On Mon, Jun 09, 2014 at 02:38:59PM +0100, Catalin Marinas wrote: > On Mon, Jun 09, 2014 at 02:24:29PM +0100, Leif Lindholm wrote: > > On Mon, Jun 09, 2014 at 12:03:56PM +0100, Catalin Marinas wrote: > > > A quick grep through the kernel shows that we have other set_pte() calls > > > without

Re: [PATCH v4 7/8] staging: lustre: lclient: lcommon_cl.c fixing coding style issues

2014-06-16 Thread Drokin, Oleg
On Jun 16, 2014, at 7:13 AM, Anil Belur wrote: > From: Anil Belur > > fixed: WARNING: line over 80 characters, used a new variable 'check' to > store the offset. Replace "unsigned long" with "u64" type fir > 'cur_index' > > Signed-off-by: Anil Belur > --- >

[PATCH] deb-pkg: Fix for relative paths

2014-06-16 Thread Michal Marek
When $srctree or $objtree are relative paths, we cannot change directory and refer to them in the same subshell. Do the redirection outside of the subshell to fix this. Reported-by: Ilya Dryomov Signed-off-by: Michal Marek --- scripts/package/builddeb | 10 +- 1 file changed, 5

Re: [PATCH v2] xenpv: don't BUG when failing to setup NMI callback

2014-06-16 Thread Konrad Rzeszutek Wilk
On Mon, Jun 16, 2014 at 01:07:00PM +0200, Vitaly Kuznetsov wrote: > some old Xen hypervisors (prior to 3.2) forbid DomUs to register > NMI callbacks. E.g. we have the following code in xen-3.1: > > if ( (d->domain_id != 0) || (v->vcpu_id != 0) ) > return -EINVAL; > > Commit

Re: [PATCH] Suppress -Wignored-qualifiers warnings

2014-06-16 Thread Guenter Roeck
On 06/16/2014 12:49 AM, Vincent Guittot wrote: Hi Bart, Guenter sent similar patch few days ago https://lkml.org/lkml/2014/6/12/743 with additional patches for ARM and powerpc architecture https://lkml.org/lkml/2014/6/13/399 https://lkml.org/lkml/2014/6/13/407 Still not applied, though, so

Re: [PATCH 1/2] mfd: rtsx: add dma transfer function

2014-06-16 Thread Ulf Hansson
On 16 June 2014 14:20, Lee Jones wrote: >> From: Micky Ching >> >> rtsx driver using a single function for transfer data, dma map/unmap are >> placed in one fix function. We need map/unmap dma in different place(for >> mmc async driver), so add three function for dma map, dma transfer and >> dma

Re: [PATCH 1/2] mfd: cros_ec: spi: Fix end of transfer on devices with no spi-msg-delay

2014-06-16 Thread Lee Jones
> cros_ec_spi makes the assumption that a 0-length message will put the > spi chip select back to normal (non cs_toggle mode). This used to be > the case back on kernel-3.8 on the spi-s3c64xx driver but doesn't > appear to be true anymore. It seems like it was a pretty questionable > assumption

perf/workqueue: lockdep warning on process exit

2014-06-16 Thread Sasha Levin
Hi all, While fuzzing with trinity inside a KVM tools guest running the latest -next kernel I've stumbled on the following spew: [ 430.429005] == [ 430.429005] [ INFO: possible circular locking dependency detected ] [ 430.429005]

Re: Linux 3.15: SPARC serial console regression

2014-06-16 Thread Thomas Bogendoerfer
On Sun, Jun 15, 2014 at 08:56:35PM +0200, Sam Ravnborg wrote: > On Tue, Jun 10, 2014 at 05:20:08PM -0400, Peter Hurley wrote: > > On 06/10/2014 03:24 PM, Sam Ravnborg wrote: > > >>From: Peter Hurley > > >>Date: Mon, 9 Jun 2014 19:21:43 -0400 > > >>Subject: [PATCH] serial: sunsab: Test for no tx

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

2014-06-16 Thread Tom Gundersen
On Tue, Jun 10, 2014 at 5:13 PM, wrote: > I see contradiction of drivers/base/Kconfig here i.e, If I configure > DELL_RBU=y I cannot configure FW_LOADER_USER_HELPER=n. > with this patch https://lkml.org/lkml/2014/6/4/327 i cannot have > FW_LOADER_USER_HELPER=n & DELL_RBU=y at the same time. >

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

2014-06-16 Thread Tom Gundersen
On Mon, Jun 16, 2014 at 4:08 PM, wrote: > Today I have tried with 3.15 the behavior is same as before. None of these patches were in 3.15, so that should behave as before. Cheers, Tom -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH 2/2] memcg: Allow guarantee reclaim

2014-06-16 Thread Michal Hocko
On Mon 16-06-14 10:12:33, Tejun Heo wrote: > On Mon, Jun 16, 2014 at 04:04:48PM +0200, Michal Hocko wrote: > > > For whatever reason, a user is stuck with thread-level granularity for > > > controllers which work that way, the user can use the old hierarchies > > > for them for the time being. > >

[PATCH/RFC] ASoC: Drop const from struct snd_soc_dai_link *of_node members

2014-06-16 Thread Sylwester Nawrocki
Dropping the const qualifiers prevents "passing argument 1 of ‘of_node_put’ discards ‘const’ qualifier from pointer target type" type warnings when compiling the code dropping reference to cpu_of_node, codec_of_node or platform_of_node with with an of_node_put() function call. This lets us to

Re: [PATCH v3] hwmon: Driver for TI TMP103 temperature sensor

2014-06-16 Thread Guenter Roeck
On 06/15/2014 11:47 PM, Heiko Schocher wrote: Driver for the TI TMP103. The TI TMP103 is similar to the TMP102. It differs from the TMP102 by having only 8 bit registers. Signed-off-by: Heiko Schocher Hello Heiko, Almost there. --- +static int tmp103_probe(struct i2c_client *client, +

Re: [RFC 0/2] __vdso_findsym

2014-06-16 Thread Andi Kleen
> I think this issue started when some of the Go developers questioned > why the kernel needed to provide a very complex interface--parsing an > ELF shared shared library--for very simple functionality--looking up > the address of a magic function. This approach has required special > support not

Re: [PATCH] tell gcc optimizer to never introduce new data races

2014-06-16 Thread Mark Brown
On Mon, Jun 16, 2014 at 12:52:10PM +0200, Andreas Schwab wrote: > Dan Carpenter writes: > > Adding "--param allow-store-data-races=0" to the GCC options for the > > kernel breaks C=1 because Sparse isn't expecting a GCC option with that > > format. > Please try --param=allow-store-data-races=0

Re: [RESEND PATCH 1/2] ARM: AM43xx: hwmod: add DSS hwmod data

2014-06-16 Thread Felipe Balbi
Hi, On Sun, Jun 15, 2014 at 03:29:40AM +, Paul Walmsley wrote: > Hi, > > On Fri, 13 Jun 2014, Felipe Balbi wrote: > > > On Sat, Jun 14, 2014 at 02:57:32AM +, Paul Walmsley wrote: > > > > > > > From: Sathya Prakash M R > > > > > > > > > > > > > > Add DSS hwmod data for AM43xx. > > > >

Re: [PATCH 2/2] memcg: Allow guarantee reclaim

2014-06-16 Thread Tejun Heo
On Mon, Jun 16, 2014 at 04:29:15PM +0200, Michal Hocko wrote: > > They're all in the mainline now. > > git grep CFTYPE_ON_ON_DFL origin/master didn't show me anything. lol, it should have been CFTYPE_ONLY_ON_DFL. -- tejun -- To unsubscribe from this list: send the line "unsubscribe

RE: [PATCH 1/1] PM / Runtime: let rpm_resume fail if rpm disabled and device suspended.

2014-06-16 Thread Alan Stern
On Mon, 16 Jun 2014, Allen Yu wrote: > On Sat, 14 Jun 2014, Alan Stern wrote: > > > > dev->power.is_suspended is set after core suspends device during system > > suspend. > > > This flag mostly means device is not operational (all I/O been > > > quiesced, no more data read or write acceptible,

Re: [Patch v5.1 03/03]: hwrng: khwrngd derating per device

2014-06-16 Thread Theodore Ts'o
On Mon, Jun 16, 2014 at 04:07:19PM +0200, Torsten Duwe wrote: > > > TPM RNG is a crook ;-) > > > > I think the word you mean is "crock" (as in "crock of sh*t"?) :-) > > Actually, I was thinking of a crutch. Makes you walk slowly, but better > than nothing. Seems I've bent the wrong tube. Heh.

Re: [PATCH v4 00/16] PCI/iommu: Fix DMA alias problems

2014-06-16 Thread Joerg Roedel
Hi Alex, On Thu, May 22, 2014 at 05:07:23PM -0600, Alex Williamson wrote: > Alex Williamson (16): > PCI: Add DMA alias iterator > PCI: define pci_dev_flags as bit shifts > PCI: quirk pci_for_each_dma_alias() > PCI: quirk dma_alias_devfn for Ricoh devices > PCI: quirk

<    7   8   9   10   11   12   13   14   15   16   >