Re: [PATCH V4 1/3] cpufreq: Make sure frequency transitions are serialized

2014-03-21 Thread Srivatsa S. Bhat
On 03/21/2014 04:35 PM, Catalin Marinas wrote: On Fri, Mar 21, 2014 at 09:21:02AM +, Viresh Kumar wrote: @Catalin: We have a problem here and need your expert advice. After changing CPU frequency we need to call this code: cpufreq_notify_post_transition(); policy-transition_ongoing =

Re: [BUG] Paravirtual time accounting / IRQ time accounting

2014-03-21 Thread Rik van Riel
On 03/20/2014 11:01 AM, Glauber Costa wrote: On Wed, Mar 19, 2014 at 6:42 AM, lwch...@cs.hku.hk wrote: [src/kernel/sched/core.c] static void update_rq_clock_task(struct rq *rq, s64 delta) { ... ... #ifdef CONFIG_IRQ_TIME_ACCOUNTING irq_delta =

[PATCH RESEND for ARM-SoC 2/2] ARM: STi: stih41x: Add support for the FSM Serial Flash Controller

2014-03-21 Thread Lee Jones
Here we add the necessary device nodes required for successful device probing and Pinctrl setup for the FSM when booting on an STiH415 (Orly1) or STiH416 (Orly2) based b2020 development board. Acked-by: Srinivas Kandagatla srinivas.kandaga...@st.com Acked-by Angus Clark angus.cl...@st.com

[PATCH RESEND for ARM-SoC 1/2] ARM: STi: stih416: Add support for the FSM Serial Flash Controller

2014-03-21 Thread Lee Jones
Here we add the necessary device nodes required for successful device probing and Pinctrl setup for the FSM when booting on an STiH416 (Orly2). Acked-by: Srinivas Kandagatla srinivas.kandaga...@st.com Acked-by Angus Clark angus.cl...@st.com Acked-by: Brian Norris computersforpe...@gmail.com

[PATCH RESEND for ARM-SoC 0/2] ARM: STi: NOR Flash support

2014-03-21 Thread Lee Jones
As requested by Arnd: ARM-SoC Maintainers, Please apply these two patches directly to ARM-SoC for inclusion into the v3.15 merge window. All maintainer Acks are applied. Kind regards, Lee -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [alsa-devel] [PATCH] ASoC: Add support for multi register mux

2014-03-21 Thread Mark Brown
On Thu, Mar 20, 2014 at 08:40:54PM +0100, Lars-Peter Clausen wrote: On 03/20/2014 08:05 PM, Lars-Peter Clausen wrote: It might make sense to add special code for supported muxes with a one-hot encoding instead of using a value mux. Having an large array where each entry is just 1n is a bit

[PATCH RESEND] clk: support hardware-specific debugfs entries

2014-03-21 Thread Alex Elder
Add a new clk_ops-debug_init method to allow a clock hardware driver to populate the clock's debugfs directory with entries beyond those common for every clock. Signed-off-by: Alex Elder el...@linaro.org --- drivers/clk/clk.c|4 include/linux/clk-provider.h |8

[PATCH 5/5] ARM: berlin/dt: add cpupll and syspll support to BG2

2014-03-21 Thread Alexandre Belloni
This also moves the clocks from the clocks container node to the root. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/berlin2.dtsi | 56 +- 1 file changed, 39 insertions(+), 17 deletions(-) diff --git

[PATCH 4/5] ARM: berlin/dt: add cpupll and syspll support to BG2CD

2014-03-21 Thread Alexandre Belloni
This also moves the clocks from the clocks container node to the root. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/berlin2cd.dtsi | 56 1 file changed, 39 insertions(+), 17 deletions(-) diff --git

[PATCH 1/5] clk: berlin: add support for berlin plls

2014-03-21 Thread Alexandre Belloni
This drivers allows to provide DT clocks for the cpu and system PLLs found on Marvell Berlin SoCs. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- drivers/clk/Makefile | 1 + drivers/clk/berlin/Makefile | 1 + drivers/clk/berlin/clk.h |

[PATCH 3/5] ARM: berlin/dt: add cpupll and syspll support to BG2Q

2014-03-21 Thread Alexandre Belloni
Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/berlin2q.dtsi | 20 ++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/berlin2q.dtsi b/arch/arm/boot/dts/berlin2q.dtsi index 07452a7483fa..19d2c82b0664

Re: [linux-next] WARNING at drm_mode_connector_list_update

2014-03-21 Thread Sergey Senozhatsky
psmouse evdev lpc_ich tg3 battery i2c_i801 button processor ac wmi ipv6 ehci_pci ehci_hcd usbcore sr_mod cdrom sd_mod ahci [ 14.750668] CPU: 2 PID: 189 Comm: systemd-udevd Tainted: GW 3.14.0-rc7-next-20140321-dbg-dirty #192 [ 14.751152] Hardware name: Acer Aspire 5741G

[PATCH 0/5] berlin: initial support for the clocks

2014-03-21 Thread Alexandre Belloni
This series adds support for the berlin PLLs. This allows to remove the bogus fixed clocks that are used in the SoCs dts includes. For now, I have left out the AVPLL to ease reviewing. This is tested on a BG2Q DMP. Alexandre Belloni (5): clk: berlin: add support for berlin plls clk: berlin:

[PATCH 2/5] clk: berlin: add berlin clocks DT bindings documentation

2014-03-21 Thread Alexandre Belloni
Cc: devicet...@vger.kernel.org Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- .../devicetree/bindings/clock/berlin-clock.txt | 29 ++ 1 file changed, 29 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/berlin-clock.txt

Re: Check if usb device is suspended

2014-03-21 Thread Jagdish Gedia
I want to resume the usb device on some event, so i want to check if it is suspended. I think by above method i can check if the device is already suspended, but may be i will miss to resume the device if it is suspending. Is there any way through which i can check if device is suspending? On

Re: [RFC PATCH] [media]: of: move graph helpers from drivers/media/v4l2-core to drivers/of

2014-03-21 Thread Grant Likely
On Fri, 21 Mar 2014 11:44:24 +0100, Andrzej Hajda a.ha...@samsung.com wrote: On 03/20/2014 06:23 PM, Grant Likely wrote: On Tue, 11 Mar 2014 14:16:37 +0100, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: On Tuesday 11 March 2014 14:59:20 Tomi Valkeinen wrote: So depending on

Re: [PATCH] regulator: core: Reduce busy-wait looping

2014-03-21 Thread Mark Brown
On Fri, Mar 21, 2014 at 11:31:25AM +0900, Jonghwan Choi wrote: Commit 5df529d440(regulator: core: Reduce busy-wait looping) can also be used in regulator_do_set_voltage. This is good as a change but please factor it out into a function so we don't have the same problem again with future

Re: [PATCH 2/5] clk: berlin: add berlin clocks DT bindings documentation

2014-03-21 Thread Mark Rutland
On Fri, Mar 21, 2014 at 11:43:37AM +, Alexandre Belloni wrote: Cc: devicet...@vger.kernel.org Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- .../devicetree/bindings/clock/berlin-clock.txt | 29 ++ 1 file changed, 29 insertions(+)

Re: [PATCH 07/31] arch,arm64: Convert smp_mb__*

2014-03-21 Thread Catalin Marinas
On Wed, Mar 19, 2014 at 07:47:36AM +0100, Peter Zijlstra wrote: AARGH64 uses ll/sc primitives that do not imply any barriers for the normal atomics, therefore smp_mb__{before,after} should be a full barrier. Since AARGH64 doesn't use asm-generic/barrier.h, add the required definitions to

Dear sir/madam, we have a parcel for you from FEDEX DELIVERY COMPANY

2014-03-21 Thread FedEx Delivery Courier Company
-- 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 v4] mac80211: LLVMLinux: Remove VLAIS usage from mac80211

2014-03-21 Thread Johannes Berg
On Thu, 2014-03-20 at 23:39 -0700, beh...@converseincode.com wrote: From: Jan-Simon Möller dl...@gmx.de Replaced the use of a Variable Length Array In Struct (VLAIS) with a C99 compliant equivalent. This is the original VLAIS struct. struct { struct aead_request req; u8

Re: [RESEND] [PATCH] xhci: Switch Intel Lynx Point ports to EHCI on shutdown.

2014-03-21 Thread Mathias Nyman
On 03/21/2014 12:01 PM, Denis Turischev wrote: The same issue like with Panther Point chipsets. If the USB ports are switched to xHCI on shutdown, the xHCI host will send a spurious interrupt, which will wake the system. Some BIOS have work around for this, but not all. One example is Compulab's

Re: [PATCH] OF: Add [__]of_find_node_by_full_name

2014-03-21 Thread Grant Likely
On Tue, 18 Mar 2014 23:52:40 +0200, Pantelis Antoniou pantelis.anton...@konsulko.com wrote: __of_find_node_by_full_name recursively searches for a matching node with the given full name without taking any locks. of_find_node_by_full_name takes locks and takes a reference on the matching

Re: [PATCH v2 00/12] clk: bcm281xx: updates for 3.15

2014-03-21 Thread Alex Elder
Mike, I've given up on getting these in for 3.15, but I want to be sure they're considered ASAP for 3.16. You indicated you had questions about the prerequisite clocks I proposed. What I'd like to do is resend only the first 7 patches of this series, leaving the patches that implement

Re: [PATCH RFC/RFT v3 6/9] powerpc: move cacheinfo sysfs to generic cacheinfo infrastructure

2014-03-21 Thread Sudeep Holla
Hi Anshuman, On 21/03/14 03:44, Anshuman Khandual wrote: On 03/10/2014 04:42 PM, Sudeep Holla wrote: Hi Anshuman, On 07/03/14 06:14, Anshuman Khandual wrote: On 03/07/2014 09:36 AM, Anshuman Khandual wrote: On 02/19/2014 09:36 PM, Sudeep Holla wrote: From: Sudeep Holla sudeep.ho...@arm.com

Re: [PATCH 3/5] ARM: berlin/dt: add cpupll and syspll support to BG2Q

2014-03-21 Thread Sebastian Hesselbarth
On 03/21/2014 12:43 PM, Alexandre Belloni wrote: Alexandre, Thanks for starting this! I'll start with the most obvious things first and have a closer look on it later. Missing commit description here. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com ---

Re: [PATCH 5/5] ARM: berlin/dt: add cpupll and syspll support to BG2

2014-03-21 Thread Sebastian Hesselbarth
On 03/21/2014 12:43 PM, Alexandre Belloni wrote: This also moves the clocks from the clocks container node to the root. Same comments as for patch 4/5. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/berlin2.dtsi | 56

Re: [PATCH 4/5] ARM: berlin/dt: add cpupll and syspll support to BG2CD

2014-03-21 Thread Sebastian Hesselbarth
On 03/21/2014 12:43 PM, Alexandre Belloni wrote: This also moves the clocks from the clocks container node to the root. Please leave a word on the original intention of the patch here, too. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com ---

Re: [RFC PATCH] [media]: of: move graph helpers from drivers/media/v4l2-core to drivers/of

2014-03-21 Thread Tomi Valkeinen
On 20/03/14 19:01, Grant Likely wrote: I think depending on a generic graph walk is where I have the biggest concern about the design. I don't think it is a good idea for the master device to try a generic walk over the graph looking for other devices that might be components because it

Re: [PATCH 2/5] clk: berlin: add berlin clocks DT bindings documentation

2014-03-21 Thread Sebastian Hesselbarth
On 03/21/2014 12:43 PM, Alexandre Belloni wrote: Cc: devicet...@vger.kernel.org Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- .../devicetree/bindings/clock/berlin-clock.txt | 29 ++ 1 file changed, 29 insertions(+) create mode 100644

Re: [RFC PATCH] [media]: of: move graph helpers from drivers/media/v4l2-core to drivers/of

2014-03-21 Thread Tomi Valkeinen
On 21/03/14 13:47, Grant Likely wrote: I'm firm on the opinion that the checking must also happen at runtime. The biggest part of my objection has been how easy it would be to get a linkage out of sync, and dtc is not necessarily the last tool to touch the dtb before the kernel gets booted. I

Re: [RFC PATCH] cifs: Fix possible deadlock with cifs and work queues

2014-03-21 Thread Steven Rostedt
On Fri, 21 Mar 2014 12:32:12 +0400 Pavel Shilovsky pias...@etersoft.ru wrote: Read and write codepaths both obtain lock_sem for read and then wait for cifsiod_wq to complete and release lock_sem. They don't do any lock_sem operations inside their work task queued to cifsiod_wq. But oplock

Re: [PATCH 3/5] ARM: berlin/dt: add cpupll and syspll support to BG2Q

2014-03-21 Thread Alexandre Belloni
On 21/03/2014 at 13:11:29 +0100, Sebastian Hesselbarth wrote : On 03/21/2014 12:43 PM, Alexandre Belloni wrote: Alexandre, Thanks for starting this! I'll start with the most obvious things first and have a closer look on it later. I will rework and wait for your other comments before

[PATCH 1/2] clk: s2mps11: Fix possible NULL pointer dereference

2014-03-21 Thread Krzysztof Kozlowski
If parent device does not have of_node set the s2mps11_clk_parse_dt() returned NULL. This NULL was later passed to of_clk_add_provider() which dereferenced it in pr_debug() call. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com Cc: sta...@vger.kernel.org --- drivers/clk/clk-s2mps11.c |

[PATCH net-next 8/9] net: filter: rework/optimize internal BPF interpreter's instruction set

2014-03-21 Thread Daniel Borkmann
From: Alexei Starovoitov a...@plumgrid.com This patch replaces/reworks the kernel-internel BPF interpreter with an optimized BPF instruction set format that is modelled closer to mimic native instruction sets and is designed to be JITed with one to one mapping. Thus, the new interpreter is

RE: Bug 71331 - mlock yields processor to lower priority process

2014-03-21 Thread jimmie.davis
How is that different from any other time a task has to yield the CPU for a bit? While your high priority task is blocked for whatever reason, a lower priority task gets to use the CPU. As the submitter of the bug, let me give you my perspective. SCHED_FIFO means run my task until it

Re: [PATCH 3/5] ARM: berlin/dt: add cpupll and syspll support to BG2Q

2014-03-21 Thread Sebastian Hesselbarth
On 03/21/2014 01:17 PM, Alexandre Belloni wrote: On 21/03/2014 at 13:11:29 +0100, Sebastian Hesselbarth wrote : On 03/21/2014 12:43 PM, Alexandre Belloni wrote: Alexandre, Thanks for starting this! I'll start with the most obvious things first and have a closer look on it later. I will

Re: linux-next: manual merge of the staging tree with the v4l-dvb tree

2014-03-21 Thread Grant Likely
On Wed, 19 Mar 2014 08:30:08 -0700, Greg KH g...@kroah.com wrote: On Mon, Mar 17, 2014 at 10:27:36PM +, Russell King wrote: However, I still find myself coming back to a fundamental question: why were these bindings fine in April 2013, passed review, and were acked, but not fine today.

[PATCH 2/2] clk: s2mps11: Use of_get_child_by_name

2014-03-21 Thread Krzysztof Kozlowski
of_find_node_by_name() walks over all nodes and can thus walk outside of the parent node. Use of_get_child_by_name() instead. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- drivers/clk/clk-s2mps11.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH-next 1/2] clk: s2mps11: Add missing of_node_put and of_clk_del_provider

2014-03-21 Thread Krzysztof Kozlowski
Add of_clk_del_provider to remove previously registered clock provider. Add of_node_put to decrement the ref count of clock nodes. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- drivers/clk/clk-s2mps11.c | 16 +++- 1 file changed, 11 insertions(+), 5 deletions(-)

[PATCH-next 2/2] clk: s2mps11: Remove useless check for clk_table

2014-03-21 Thread Krzysztof Kozlowski
There is no need for checking if 'clk_table' is not NULL twice (first after allocation and second at the end of probe()). Also move allocation of this 'clk_table' to probe from s2mps11_clk_parse_dt as this is logical place for it. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com ---

Re: [RFC PATCH] [media]: of: move graph helpers from drivers/media/v4l2-core to drivers/of

2014-03-21 Thread Laurent Pinchart
Hi Grant, On Friday 21 March 2014 08:15:34 Grant Likely wrote: On Fri, 21 Mar 2014 00:26:12 +0100, Laurent Pinchart wrote: On Thursday 20 March 2014 23:12:50 Grant Likely wrote: On Thu, 20 Mar 2014 19:52:53 +0100, Laurent Pinchart wrote: Then we might not be talking about the same

Re: [RFC PATCH] cifs: Fix possible deadlock with cifs and work queues

2014-03-21 Thread Jeff Layton
On Fri, 21 Mar 2014 08:17:06 -0400 Steven Rostedt rost...@goodmis.org wrote: On Fri, 21 Mar 2014 12:32:12 +0400 Pavel Shilovsky pias...@etersoft.ru wrote: Read and write codepaths both obtain lock_sem for read and then wait for cifsiod_wq to complete and release lock_sem. They don't do

Re: [PATCH v2] tty: serial: sc16is7xx

2014-03-21 Thread Jon Ringle
On Fri, Mar 21, 2014 at 4:26 AM, Heikki Krogerus heikki.kroge...@linux.intel.com wrote: Hi, On Thu, Mar 20, 2014 at 10:05:33AM -0400, j...@ringle.org wrote: From: Jon Ringle jrin...@gridpoint.com The SC16IS7xx is a slave I2C-bus/SPI interface to a single-channel high performance UART. The

Re: [PATCH 1/5] clk: berlin: add support for berlin plls

2014-03-21 Thread Sebastian Hesselbarth
On 03/21/2014 12:43 PM, Alexandre Belloni wrote: This drivers allows to provide DT clocks for the cpu and system PLLs found on Marvell Berlin SoCs. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- drivers/clk/Makefile | 1 + drivers/clk/berlin/Makefile

Comment added in 63662139e params: Fix potential memory leak in add_sysfs_param()

2014-03-21 Thread Rasmus Villemoes
Hi, I'm not at all convinced by the comment added in commit 63662139e519ce. If krealloc(attrs, ...) fails, nothing seems to free attrs; the krealloc() call certainly doesn't do it. If attrs was NULL to begin with, no harm done, but otherwise it is attrs = mk-mp-grp.attrs;, and mk-mp is NULL'ed on

Re: [RFC] csum experts, csum_replace2() is too expensive

2014-03-21 Thread Eric Dumazet
On Thu, 2014-03-20 at 18:56 -0700, Andi Kleen wrote: Eric Dumazet eric.duma...@gmail.com writes: I saw csum_partial() consuming 1% of cpu cycles in a GRO workload, that is insane... Couldn't it just be the cache miss? Or the fact that we mix 16 bit stores and 32bit loads ?

Re: [RFC PATCH] cifs: Fix possible deadlock with cifs and work queues

2014-03-21 Thread Steven Rostedt
On Fri, 21 Mar 2014 08:41:28 -0400 Jeff Layton jlay...@redhat.com wrote: That'd probably work fine too. The main point is to make sure oplock breaks run on a different workqueue from where read or write completion jobs run since they are operating on the lock_sem. The other jobs that get

RE

2014-03-21 Thread Cham Tao
Did you receive my proposal? -- 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: [RFC PATCH] cifs: Fix possible deadlock with cifs and work queues

2014-03-21 Thread Jeff Layton
On Fri, 21 Mar 2014 12:32:12 +0400 Pavel Shilovsky pias...@etersoft.ru wrote: 2014-03-21 6:23 GMT+04:00 Steven Rostedt rost...@goodmis.org: On Thu, 20 Mar 2014 17:02:39 -0400 Jeff Layton jlay...@redhat.com wrote: Eventually the server should just allow the read to complete even if the

[PATCH V2] fix some coding style in drivers/staging/iio, and a break missing.

2014-03-21 Thread Jimmy Li
Signed-off-by: Jimmy Licoder.l...@gmail.com --- drivers/staging/iio/accel/sca3000_core.c |3 ++- drivers/staging/iio/adc/ad7192.c |3 ++- drivers/staging/iio/adc/ad7606_core.c|2 +- drivers/staging/iio/adc/ad7816.c |6 +++--- drivers/staging/iio/adc/mxs-lradc.c

Re: [PATCH resend] serial_core: Fix pm imbalance on unbind

2014-03-21 Thread Peter Hurley
On 03/21/2014 05:08 AM, Geert Uytterhoeven wrote: From: Geert Uytterhoeven geert+rene...@linux-m68k.org When a serial port is closed, uart_close() takes care of shutting down the hardware, and powering it down. When a serial port is unbound while in use, uart_close() bypasses all of this, as

Din webmail kvot har överskridit kvoten, som är 2 GB

2014-03-21 Thread webmaster
Din webmail kvot har överskridit kvoten, som är 2 GB. För närvarande är 2.3 GB. För att återuppliva och öka sin andel av webmail, klicka på följande länk eller kopiera länken och uppdatera din webmail konto För att aktivera. http://www.form2pay.com/publish/publish_form/135981 Om inte, kan

Din webmail kvot har överskridit kvoten, som är 2 GB

2014-03-21 Thread @webmail.lnc
Din webmail kvot har överskridit kvoten, som är 2 GB. För närvarande är 2.3 GB. För att återuppliva och öka sin andel av webmail, klicka på följande länk eller kopiera länken och uppdatera din webmail konto För att aktivera. http://www.form2pay.com/publish/publish_form/135981 Om inte, kan

RE: Bug 71331 - mlock yields processor to lower priority process

2014-03-21 Thread Mike Galbraith
On Fri, 2014-03-21 at 12:18 +, jimmie.da...@l-3com.com wrote: As the submitter of the bug, let me give you my perspective. SCHED_FIFO means run my task until it blocks or a higher priority task pre-empts it. Period. It blocked. mlock() doesn't block. check the man page. I don't see

Re: man termios

2014-03-21 Thread Michael Kerrisk (man-pages)
On 03/21/2014 12:21 PM, Peter Hurley wrote: On 03/21/2014 06:45 AM, Michael Kerrisk (man-pages) wrote: This is also true of the other non-canonical read()'s with timeout (TIME 0). Here, if I understand you correctly, you mean this case: * TIME 0 * MIN == 0 * O_NONBLOCK set on the FD *

Re: checkpatch on Kconfig files

2014-03-21 Thread Andi Kleen
I believe that was Andi Kleen's pet peeve, so I'll punt it back to him. This was always in checkpatch. If you touch/move some existing code it blames you for the issues that were already there. Not specific to this check. If you disagree with the warnings just ignore them. -Andi -- To

Re: Check if usb device is suspended

2014-03-21 Thread Oliver Neukum
On Fri, 2014-03-21 at 17:17 +0530, Jagdish Gedia wrote: I want to resume the usb device on some event, so i want to check if it is suspended. I think by above method i can check if the device is already suspended, but may be i will miss to resume the device if it is suspending. Is there any

Re: [PATCH v2] tty: serial: sc16is7xx

2014-03-21 Thread One Thousand Gnomes
On Fri, 21 Mar 2014 10:26:09 +0200 Heikki Krogerus heikki.kroge...@linux.intel.com wrote: Hi, On Thu, Mar 20, 2014 at 10:05:33AM -0400, j...@ringle.org wrote: From: Jon Ringle jrin...@gridpoint.com The SC16IS7xx is a slave I2C-bus/SPI interface to a single-channel high performance

Re: [PATCH resend] serial_core: Fix pm imbalance on unbind

2014-03-21 Thread Geert Uytterhoeven
Hi Peter, On Fri, Mar 21, 2014 at 2:06 PM, Peter Hurley pe...@hurleysoftware.com wrote: @@ -2681,10 +2683,12 @@ int uart_remove_one_port(struct uart_driver *drv, struct uart_port *uport) } /* -* If the port is used as a console, unregister it +* If the port

Re: [RFC PATCH] [media]: of: move graph helpers from drivers/media/v4l2-core to drivers/of

2014-03-21 Thread Grant Likely
On Fri, Mar 21, 2014 at 12:44 PM, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: Hi Grant, On Friday 21 March 2014 08:15:34 Grant Likely wrote: Why don't we instead try a Google Hangout or a phone call today. Anywhere between 11:30 and 14:00 GMT would work for me. I'd offer to

Re: [RFC] csum experts, csum_replace2() is too expensive

2014-03-21 Thread Andi Kleen
On Fri, Mar 21, 2014 at 05:50:50AM -0700, Eric Dumazet wrote: On Thu, 2014-03-20 at 18:56 -0700, Andi Kleen wrote: Eric Dumazet eric.duma...@gmail.com writes: I saw csum_partial() consuming 1% of cpu cycles in a GRO workload, that is insane... Couldn't it just be the cache

Re: [RFC] QR encoding for Oops messages

2014-03-21 Thread Jason Cooper
On Wed, Mar 19, 2014 at 10:38:30PM +0200, Teodora Băluţă wrote: On Wed, Mar 19, 2014 at 10:18 PM, Dave Jones da...@redhat.com wrote: On Mon, Mar 17, 2014 at 02:59:47PM -0700, Teodora Baluta wrote: This feature encodes Oops messages into a QR barcode that is scannable by any device with

Re: [PATCH v2] drm/i2c: tda998x: Change the compatible strings

2014-03-21 Thread Sebastian Hesselbarth
On 03/21/2014 11:55 AM, Jean-Francois Moine wrote: The tda998x driver accepts only 3 chips from the TDA998x family. This patch changes the driver compatible strings to these chips. Jean-Francois, be careful with building a DT binding from a Linux driver. Although we constantly struggle to

Re: [RFC] csum experts, csum_replace2() is too expensive

2014-03-21 Thread Eric Dumazet
On Fri, 2014-03-21 at 05:50 -0700, Eric Dumazet wrote: Or the fact that we mix 16 bit stores and 32bit loads ? iph-tot_len = newlen; iph-check = 0; iph-check = ip_fast_csum(iph, 5); Yep definitely. Using 16 bit loads in ip_fast_csum() totally removes the stall. I no longer see

Re: [PATCH] drivers/video: fix mb862xx_i2c depends issue build failure

2014-03-21 Thread Tomi Valkeinen
Hi, On 20/03/14 17:16, Paul Gortmaker wrote: Any randconfig that sets I2C=m and FB_MB862XX_I2C=y will encounter a final link failure that looks like this: It compiles fine with I2C=m, FB_MB862XX=m and FB_MB862XX_I2C=y. drivers/built-in.o: In function `mb862xx_i2c_init':

Re: Bug 71331 - mlock yields processor to lower priority process

2014-03-21 Thread Oliver Neukum
On Fri, 2014-03-21 at 12:18 +, jimmie.da...@l-3com.com wrote: How is that different from any other time a task has to yield the CPU for a bit? While your high priority task is blocked for whatever reason, a lower priority task gets to use the CPU. As the submitter of the bug, let

[PATCH 1/3] tcp: allow to enable repair mode for sockets in any state

2014-03-21 Thread Andrey Vagin
The repair mode is used for dumping state of tcp connections (sequence numbers, queues, options, etc). Currently the repair mode can be enalbed only for sockets in the TCP_ESTABLISHED state. If a socket in another state, its internal state can not be dumped. Same time there is no guarantee that

[PATCH 3/3] tcp: add ability to restore a fin packet

2014-03-21 Thread Andrey Vagin
It's required for restoring sockets in closing states: TCP_FIN_WAIT{1,2}, TCP_WAIT_STOP, TCP_CLOSING, TCP_LAST_ACK. A fin packet is restored by sending a control message (ancillary data). In which queue a packet is restored depends on a value of tp-repair_queue. This interface is choosen,

[PATCH RFC 0/3] tcp: allow to repair a tcp connections in closing states

2014-03-21 Thread Andrey Vagin
Currently connections only in the TCP_ESTABLISHED state can be dumped and restored. This series allows to restore connections in the FIN_WAIT_1, FIN_WAIT_2, LAST_ACK, CLOSE_WAIT or CLOSING states. For restoring closing states we need an ability to restore a fin packet in a queue. In this series I

[PATCH 2/3] tcp: check repair before fastopen in tcp_sendmsg

2014-03-21 Thread Andrey Vagin
First of all it is logical. And I found that sk_stream_wait_connect can be called if a socket isn't in the TCP_ESTABLISHED state. In this case we get -EPIPE. Cc: David S. Miller da...@davemloft.net Cc: Alexey Kuznetsov kuz...@ms2.inr.ac.ru Cc: James Morris jmor...@namei.org Cc: Hideaki YOSHIFUJI

Re: [PATCH v4 1/3] [media] of: move graph helpers from drivers/media/v4l2-core to drivers/of

2014-03-21 Thread Tomi Valkeinen
On 21/03/14 00:32, Laurent Pinchart wrote: The OF graph bindings documentation could just specify the ports node as optional and mandate individual device bindings to specify it as mandatory or forbidden (possibly with a default behaviour to avoid making all device bindings too verbose).

Re: checkpatch on Kconfig files

2014-03-21 Thread Jean Delvare
Hi Andi, On Fri, 21 Mar 2014 14:21:21 +0100, Andi Kleen wrote: I believe that was Andi Kleen's pet peeve, so I'll punt it back to him. This was always in checkpatch. If you touch/move some existing code it blames you for the issues that were already there. Not specific to this check.

Re: [PATCH v3 3/7] OF: DT-Overlay configfs interface

2014-03-21 Thread Rob Herring
On Tue, Mar 18, 2014 at 4:56 PM, Pantelis Antoniou pantelis.anton...@konsulko.com wrote: Add a runtime interface to using configfs for generic device tree overlay usage. A device-tree configfs entry is created in /config/device-tree/overlays To create an overlay you mkdir the directory and

Re: [RFC] csum experts, csum_replace2() is too expensive

2014-03-21 Thread Eric Dumazet
On Fri, 2014-03-21 at 06:32 -0700, Eric Dumazet wrote: On Fri, 2014-03-21 at 05:50 -0700, Eric Dumazet wrote: Or the fact that we mix 16 bit stores and 32bit loads ? iph-tot_len = newlen; iph-check = 0; iph-check = ip_fast_csum(iph, 5); Yep definitely. Using 16 bit loads in

Re: [PATCH v3 3/7] OF: DT-Overlay configfs interface

2014-03-21 Thread Sebastian Hesselbarth
On 03/21/2014 02:39 PM, Rob Herring wrote: On Tue, Mar 18, 2014 at 4:56 PM, Pantelis Antoniou pantelis.anton...@konsulko.com wrote: Add a runtime interface to using configfs for generic device tree overlay usage. A device-tree configfs entry is created in /config/device-tree/overlays To

[PATCH] drivers: staging: cxt1e1: hwprobe Fix different address spaces

2014-03-21 Thread Matei Oprea
Fix different address spaces when unmapping IO. hi-addr_mapped[0] and hi-addr_mapped[1] should be tagged __iomem. Signed-off-by: Matei Oprea e...@opreamatei.ro Cc: ROSEdu Kernel Community fire...@lists.rosedu.org --- drivers/staging/cxt1e1/hwprobe.c |4 ++-- 1 file changed, 2 insertions(+),

Re: [PATCH] drivers/video: fix mb862xx_i2c depends issue build failure

2014-03-21 Thread Paul Gortmaker
On 14-03-21 09:32 AM, Tomi Valkeinen wrote: Hi, On 20/03/14 17:16, Paul Gortmaker wrote: Any randconfig that sets I2C=m and FB_MB862XX_I2C=y will encounter a final link failure that looks like this: It compiles fine with I2C=m, FB_MB862XX=m and FB_MB862XX_I2C=y. drivers/built-in.o: In

Re: [PATCH 3.13 000/149] 3.13.7-stable review

2014-03-21 Thread Satoru Takeuchi
Hi Greg, At Thu, 20 Mar 2014 17:02:43 -0700, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.13.7 release. There are 149 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

Re: [RFC] csum experts, csum_replace2() is too expensive

2014-03-21 Thread Eric Dumazet
On Fri, 2014-03-21 at 06:47 -0700, Eric Dumazet wrote: Another idea would be to move the ip_fast_csum() call at the end of inet_gro_complete() I'll try this : diff --git a/net/ipv4/af_inet.c b/net/ipv4/af_inet.c index 8c54870db792..0ca8f350a532 100644 --- a/net/ipv4/af_inet.c +++

Re: [PATCH v2 4/4] KVM: ioapic: reinject pending interrupts on KVM_SET_IRQCHIP

2014-03-21 Thread Alex Williamson
On Fri, 2014-03-21 at 10:28 +0100, Paolo Bonzini wrote: After the previous patches, an interrupt whose bit is set in the IRR register will never be in the LAPIC's IRR and has never been injected on the migration source. So inject it on the destination. This fixes migration of Windows guests

RE: Bug 71331 - mlock yields processor to lower priority process

2014-03-21 Thread jimmie.davis
From: Oliver Neukum [oneu...@suse.de] Sent: Friday, March 21, 2014 8:35 AM To: Davis, Bud @ SSG - Link Cc: umgwanakikb...@gmail.com; artem_fetis...@epam.com; pet...@infradead.org; kosaki.motoh...@jp.fujitsu.com; linux-kernel@vger.kernel.org Subject: Re:

Re: [CRIU] [PATCH 3/3] tcp: add ability to restore a fin packet

2014-03-21 Thread Christopher Covington
On 03/21/2014 09:33 AM, Andrey Vagin wrote: It's required for restoring sockets in closing states: TCP_FIN_WAIT{1,2}, TCP_WAIT_STOP, TCP_CLOSING, TCP_LAST_ACK. A fin packet is restored by sending a control message (ancillary data). In which queue a packet is restored depends on a value of

Re: man termios

2014-03-21 Thread Peter Hurley
On 03/21/2014 09:15 AM, Michael Kerrisk (man-pages) wrote: On 03/21/2014 12:21 PM, Peter Hurley wrote: On 03/21/2014 06:45 AM, Michael Kerrisk (man-pages) wrote: Finally, if the 'count' parameter is less than MIN, read() may return before MIN bytes have been received, if 'count' bytes have

Re: [PATCH] drivers: staging: cxt1e1: hwprobe Fix different address spaces

2014-03-21 Thread Denis Kirjanov
On 3/21/14, Matei Oprea e...@opreamatei.ro wrote: Fix different address spaces when unmapping IO. hi-addr_mapped[0] and hi-addr_mapped[1] should be tagged __iomem. Signed-off-by: Matei Oprea e...@opreamatei.ro Cc: ROSEdu Kernel Community fire...@lists.rosedu.org ---

Re: [PATCH] drivers: staging: cxt1e1: hwprobe Fix different address spaces

2014-03-21 Thread Josh Cartwright
On Fri, Mar 21, 2014 at 03:52:23PM +0200, Matei Oprea wrote: Fix different address spaces when unmapping IO. hi-addr_mapped[0] and hi-addr_mapped[1] should be tagged __iomem. Signed-off-by: Matei Oprea e...@opreamatei.ro Cc: ROSEdu Kernel Community fire...@lists.rosedu.org ---

[PATCH] staging: rtl8192u: r8192U_wx: Fix sparse warnings

2014-03-21 Thread Matei Oprea
Fix sparse should be static warnings. Those structures are only referenced in file scope so they can be marked as static. Signed-off-by: Matei Oprea e...@opreamatei.ro Cc: ROSEdu Kernel Community fire...@lists.rosedu.org --- drivers/staging/rtl8192u/r8192U_wx.c |6 +++--- 1 file changed, 3

Re: [PATCH] drivers/video: fix mb862xx_i2c depends issue build failure

2014-03-21 Thread Tomi Valkeinen
On 21/03/14 15:53, Paul Gortmaker wrote: On 14-03-21 09:32 AM, Tomi Valkeinen wrote: Hi, On 20/03/14 17:16, Paul Gortmaker wrote: Any randconfig that sets I2C=m and FB_MB862XX_I2C=y will encounter a final link failure that looks like this: It compiles fine with I2C=m, FB_MB862XX=m and

Re: [PATCH v4 1/3] [media] of: move graph helpers from drivers/media/v4l2-core to drivers/of

2014-03-21 Thread Sylwester Nawrocki
On 21/03/14 14:37, Tomi Valkeinen wrote: On 21/03/14 00:32, Laurent Pinchart wrote: The OF graph bindings documentation could just specify the ports node as optional and mandate individual device bindings to specify it as mandatory or forbidden (possibly with a default behaviour to

Re: [RFC PATCH v2 0/2] clk: Support for DT assigned clock parents and rates

2014-03-21 Thread Maxime Coquelin
Hi Mike, On 03/21/2014 02:45 AM, Mike Turquette wrote: Quoting Sylwester Nawrocki (2014-03-20 05:42:33) Hi Maxime, On 06/03/14 14:45, Maxime Coquelin wrote: Hi Sylwester, I like the principle of your implementation, but I have two questions: 1 - How can we manage PM with this

Re: [PATCH v4 1/3] [media] of: move graph helpers from drivers/media/v4l2-core to drivers/of

2014-03-21 Thread Laurent Pinchart
Hi Tomi, On Friday 21 March 2014 15:37:17 Tomi Valkeinen wrote: On 21/03/14 00:32, Laurent Pinchart wrote: The OF graph bindings documentation could just specify the ports node as optional and mandate individual device bindings to specify it as mandatory or forbidden (possibly with a

RE: [RFC] csum experts, csum_replace2() is too expensive

2014-03-21 Thread David Laight
From: Eric Dumazet On Thu, 2014-03-20 at 18:56 -0700, Andi Kleen wrote: Eric Dumazet eric.duma...@gmail.com writes: I saw csum_partial() consuming 1% of cpu cycles in a GRO workload, that is insane... Couldn't it just be the cache miss? Or the fact that we mix 16 bit stores

Re: [PATCH v3] mm/page_alloc: fix freeing of MIGRATE_RESERVE migratetype pages

2014-03-21 Thread Vlastimil Babka
On 03/06/2014 06:35 PM, Bartlomiej Zolnierkiewicz wrote: Pages allocated from MIGRATE_RESERVE migratetype pageblocks are not freed back to MIGRATE_RESERVE migratetype free lists in free_pcppages_bulk()-__free_one_page() if we got to free_pcppages_bulk() through drain_[zone_]pages(). The freeing

[PATCH] x86/UV: Set n_lshift based on GAM_GR_CONFIG MMR for UV3

2014-03-21 Thread Dimitri Sivanich
On Fri, Mar 21, 2014 at 08:54:16AM +0100, Ingo Molnar wrote: Please use the customary changelog style we use in the kernel: Current code does (A), this has a problem when (B). We can improve this doing (C), because (D). (Of if it's a cleanup only with no functional effects then

RE: [RESEND] [PATCH V1 2/2] rtc: da9063: RTC driver

2014-03-21 Thread Opensource [Steve Twiss]
Hi Alessandro, Just over a week ago I sent a patch for the rtc: da9063: RTC driver file that added RTC support for the DA9063 currently in the kernel. I'm not sure if it may have been missed in your inbox https://lkml.org/lkml/2014/3/11/230 The RTC patch was previously Acked by you here:

Re: man termios

2014-03-21 Thread Michael Kerrisk (man-pages)
On Fri, Mar 21, 2014 at 3:03 PM, Peter Hurley pe...@hurleysoftware.com wrote: On 03/21/2014 09:15 AM, Michael Kerrisk (man-pages) wrote: On 03/21/2014 12:21 PM, Peter Hurley wrote: On 03/21/2014 06:45 AM, Michael Kerrisk (man-pages) wrote: Finally, if the 'count' parameter is less than

Re: [PATCH v4 1/3] [media] of: move graph helpers from drivers/media/v4l2-core to drivers/of

2014-03-21 Thread Tomi Valkeinen
On 21/03/14 16:13, Laurent Pinchart wrote: Hi Tomi, On Friday 21 March 2014 15:37:17 Tomi Valkeinen wrote: On 21/03/14 00:32, Laurent Pinchart wrote: The OF graph bindings documentation could just specify the ports node as optional and mandate individual device bindings to specify it as

Re: [PATCH]: UIO read(2)/write(2) overrides

2014-03-21 Thread gre...@linuxfoundation.org
On Fri, Mar 21, 2014 at 02:20:11PM +, Matt Sickler wrote: Tiny patch to let uio-based drivers override the read(2), write(2), and poll(2) syscalls. The rationale is that some uio-based drivers might want the mmap(2) functionality of UIO, but have no need for the IRQ semantics of read(2)

Re: [PATCH v4 1/3] [media] of: move graph helpers from drivers/media/v4l2-core to drivers/of

2014-03-21 Thread Laurent Pinchart
Hi Tomi, On Friday 21 March 2014 16:22:52 Tomi Valkeinen wrote: On 21/03/14 16:13, Laurent Pinchart wrote: On Friday 21 March 2014 15:37:17 Tomi Valkeinen wrote: On 21/03/14 00:32, Laurent Pinchart wrote: The OF graph bindings documentation could just specify the ports node as optional

[PATCH v2 00/03]: khwrngd

2014-03-21 Thread Torsten Duwe
Here is version 2 of the khwrngd patch set. The first patch is unchanged. The second one now introduces an initial derating factor, as suggested by hpa. It's called derating_current to simplify patch#3, and the thread creation has moved into hwrng_init, because it may later depend on the hwrng's

<    2   3   4   5   6   7   8   9   10   >