Re: [RFCv4 3/7] mfd: twl4030-madc: Cleanup driver

2014-02-27 Thread Lee Jones
Some style fixes in twl4030-madc driver. Reported-by: Jonathan Cameron ji...@kernel.org Signed-off-by: Sebastian Reichel s...@debian.org --- drivers/mfd/twl4030-madc.c | 106 ++- include/linux/i2c/twl4030-madc.h | 2 +- 2 files changed, 51

Re: [PATCH v4 3/3] Documentation: of: Document graph bindings

2014-02-27 Thread Tomi Valkeinen
On 26/02/14 17:47, Philipp Zabel wrote: Ok, that looks compact enough. I still don't see the need to change make the remote-endpoint property required to achieve this, though. On the other hand, I wouldn't object to making it mandatory either. Sure, having remote-endpoint as required doesn't

Re: [RESEND PATCH v11] video: backlight: gpio-backlight: Add DT support.

2014-02-27 Thread Lee Jones
Cc: Bryan Wu coolo...@gmail.com Cc: Jingoo Han jg1@samsung.com Cc: Lee Jones lee.jo...@linaro.org Cc: Eric Bénard e...@eukrea.com Signed-off-by: Denis Carikli de...@eukrea.com --- ChangeLog v10-v11: Wow, that's a lot of fix-ups. - Shrinked the Cc list. It's okay to have a large CC

Re: [PATCHv8 0/6] add compressing abstraction and multi stream support

2014-02-27 Thread Sergey Senozhatsky
Hello Minchan, On (02/27/14 11:16), Minchan Kim wrote: Hello Sergey, Code looks good to me and I will queue it into ARM and x86 test tomorrow and give the result to you with Acked-by. Thanks for your all works! thanks a lot! -ss On Wed, Feb 26, 2014 at 03:27:53PM +0300,

[PATCH] drm/i915/dp: Allow for 5.4Gbps for Haswell.

2014-02-27 Thread Carl Worth
With Haswell, 5.4Gbps is supported. And almost all of the code was already in place already. All that was missing was this tiny bit of additional wiring. Signed-off-by: Carl Worth cwo...@cworth.org Reviewed-by: Keith Packard kei...@keithp.com --- drivers/gpu/drm/i915/intel_dp.c | 24

Re: [PATCH] clk:at91: Fix memory leak in of_at91_clk_master_setup()

2014-02-27 Thread Boris BREZILLON
On 27/02/2014 03:02, Mike Turquette wrote: Quoting Boris BREZILLON (2014-02-15 09:08:12) Hi Mike, Could you take this patch for the next 3.14 release ? Taken in for the next batch of fixes. Thanks. Regards, Mike Best Regards, Boris On 11/02/2014 14:18, Boris BREZILLON wrote: On

Re: [RFCv4 2/7] mfd: twl4030-madc: Add DT support and convert to IIO framework

2014-02-27 Thread Lee Jones
On Wed, 26 Feb 2014, Sebastian Reichel wrote: This converts twl4030-madc module to use the Industrial IO ADC framework and adds device tree support. Signed-off-by: Sebastian Reichel s...@debian.org --- drivers/mfd/twl4030-madc.c | 127 + 1

Re: [PATCH v2 2/4] clk: at91: propagate rate change on system clks

2014-02-27 Thread Boris BREZILLON
Hi Mike, On 27/02/2014 01:42, Mike Turquette wrote: Quoting Jean-Jacques Hiblot (2014-02-05 00:37:36) From: Boris BREZILLON b.brezil...@overkiz.com System clks are just gates, and thus do not provide any rate operations. Authorize clk rate change to be propagated to system clk parents.

Re: [PATCH V2] sparse: Allow override of sizeof(bool) warning

2014-02-27 Thread Borislav Petkov
On Wed, Feb 26, 2014 at 07:42:37PM -0800, H. Peter Anvin wrote: sizeof(_Bool), like for many other types, is ABI-dependent, but that doesn't mean it is illegitimate. I don't think C99 says that it is invalid (which means C99 doesn't permit is to be a packed bitmap.) Ok, but what can be said

Re: The sheer number of sparse warnings in the kernel

2014-02-27 Thread Richard Weinberger
Am 27.02.2014 00:25, schrieb Borislav Petkov: On Wed, Feb 26, 2014 at 02:49:26PM -0800, H. Peter Anvin wrote: What do we need to do to actually make our tools be able to do work for us? Newbie projects to clean up? It certainly would be a much better way for newbies to get involved than all

Re: [PATCH 1/5] hwrng: atmel - Use devm_clk_get()

2014-02-27 Thread Peter Korsgaard
Jingoo == Jingoo Han jg1@samsung.com writes: Use devm_clk_get() to make cleanup paths simpler. Signed-off-by: Jingoo Han jg1@samsung.com Acked-by: Peter Korsgaard pe...@korsgaard.com -- Bye, Peter Korsgaard -- To unsubscribe from this list: send the line unsubscribe linux-kernel

Re: [PATCH v4 1/8] mfd: Move pm8xxx-irq.c contents into only driver that uses it

2014-02-27 Thread Lee Jones
The pm8xxx-irq.c code is practically mandatory given that the pm8921-core driver will WARN about it missing and the Kconfig marks it as default y when a PM8xxx chips is enabled. The only reason the file was split out was because we planned to support other pm8xxx chips with different

Re: [PATCH v4 3/8] mfd: pm8921: Migrate to irqdomains

2014-02-27 Thread Lee Jones
On Wed, 26 Feb 2014, Stephen Boyd wrote: Convert this driver to use irqdomains so that the PMIC's child devices can be converted to devicetree. Acked-by: Lee Jones lee.jo...@linaro.org Signed-off-by: Stephen Boyd sb...@codeaurora.org --- drivers/mfd/Kconfig | 1 +

Re: [PATCH v4 2/8] mfd: pm8921: Update for genirq changes

2014-02-27 Thread Lee Jones
Since this code has been marked broken for some time a few genirq tree wide changes weren't made. set_irq_wake() was renamed to irq_set_irq_wake() in commit a0cd9ca2b (genirq: Namespace cleanup, 2011-02-10) and commit 10a8c383 (irq: introduce entry and exit functions for chained handlers)

Re: [PATCH v4 4/8] mfd: ssbi: Add regmap read/write helpers

2014-02-27 Thread Lee Jones
On Wed, 26 Feb 2014, Stephen Boyd wrote: Add read and write helper functions that the pm8921-core driver can use to read and write ssbi registers via a no-bus regmap. Cc: Mark Brown broo...@kernel.org Signed-off-by: Stephen Boyd sb...@codeaurora.org --- include/linux/ssbi.h | 20

Re: [PATCH V2 0/2] Add support for clocks in S5M8767

2014-02-27 Thread Tushar Behera
On 27 February 2014 02:41, Mike Turquette mturque...@linaro.org wrote: Quoting Tushar Behera (2014-02-18 22:24:34) S5M8767 chip has 3 crystal oscillators which are operated in the same as the crystal oscillators in S2MPS11. Extend s2mps11-clk driver to support clocks in S5M8767. The patches

Re: [PATCH v4 5/8] mfd: pm8921: Use ssbi regmap

2014-02-27 Thread Lee Jones
On Wed, 26 Feb 2014, Stephen Boyd wrote: Use a regmap so that the pm8xxx read/write APIs can be removed once all consumer drivers are converted. Reviewed-by: Mark Brown broo...@linaro.org Signed-off-by: Stephen Boyd sb...@codeaurora.org --- drivers/mfd/Kconfig | 1 +

Re: [PATCH v4 6/8] mfd: pm8921: Add DT match table

2014-02-27 Thread Lee Jones
On Wed, 26 Feb 2014, Stephen Boyd wrote: Allow this driver to probe based on devicetree. Acked-by: Lee Jones lee.jo...@linaro.org Signed-off-by: Stephen Boyd sb...@codeaurora.org --- drivers/mfd/pm8921-core.c | 8 1 file changed, 8 insertions(+) Applied, thanks. -- Lee Jones

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

2014-02-27 Thread Tomi Valkeinen
On 26/02/14 16:48, Philipp Zabel wrote: I would like the document to acknowledge the difference from the phandle+args pattern used elsewhere and a description of when it would be appropriate to use this instead of a simpler binding. Alright. The main point of this binding is that the

Re: [PATCH v4 7/8] mfd: pm8921: Loosen Kconfig dependency

2014-02-27 Thread Lee Jones
On Wed, 26 Feb 2014, Stephen Boyd wrote: Allow this driver to be compiled on all ARM builds as it doesn't rely on anything within arm/mach-msm. Signed-off-by: Stephen Boyd sb...@codeaurora.org --- drivers/mfd/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Applied, thanks.

Re: [PATCH v2 3/6] spi: sh-msiof: Add support for R-Car H2 and M2

2014-02-27 Thread Geert Uytterhoeven
On Wed, Feb 26, 2014 at 11:16 PM, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: diff --git a/Documentation/devicetree/bindings/spi/sh-msiof.txt b/Documentation/devicetree/bindings/spi/sh-msiof.txt index eae3c8c9300e..1f0cb33763a1 100644 ---

Re: [PATCH v4 8/8] devicetree: bindings: Document PM8921/8058 PMICs

2014-02-27 Thread Lee Jones
PM8921 and PM8058 are PMICs found paired with MSM8960 and MSM8660 devices respectively. They contain subdevices such as keypads, RTC, regulators, clocks, etc. Cc: devicet...@vger.kernel.org Signed-off-by: Stephen Boyd sb...@codeaurora.org --- .../devicetree/bindings/mfd/qcom,pm8xxx.txt

Re: [PATCH 0/6 v2] Expose do_timer CPU as RW to userspace

2014-02-27 Thread Henrik Austad
On Wed, Feb 26, 2014 at 02:02:42PM +0100, Frederic Weisbecker wrote: On Wed, Feb 26, 2014 at 09:16:03AM +0100, Henrik Austad wrote: On Tue, Feb 25, 2014 at 03:19:09PM +0100, Frederic Weisbecker wrote: On Tue, Feb 25, 2014 at 01:33:55PM +0100, Henrik Austad wrote: From: Henrik Austad

Re: 3.12-stable kernel tree being taken over by Jiri Slaby

2014-02-27 Thread Jiri Slaby
On 02/27/2014 12:39 AM, David Miller wrote: From: Greg Kroah-Hartman gre...@linuxfoundation.org Date: Wed, 26 Feb 2014 15:19:10 -0800 David, I don't know if you want to keep doing 3.12-networking patches or not, I'll let you work that out with Jiri directly. 3.12 and 3.13 are very

[PATCH v2 1/3] x86/hash: fix build failure with older binutils

2014-02-27 Thread Jan Beulich
Just like for other ISA extension instruction uses we should check whether the assembler actually supports them. The fallback here simply is to encode an instruction with fixed operands (%eax and %ecx). Signed-off-by: Jan Beulich jbeul...@suse.com Cc: Francesco Fusco ffu...@redhat.com Cc: Daniel

[PATCH v2 0/3] x86/hash: miscellaneous fixes

2014-02-27 Thread Jan Beulich
1: fix build failure with older binutils 2: x86/hash: swap arguments passed to crc32_u32() 3: cleanup Signed-off-by: Jan Beulich jbeul...@suse.com Cc: Francesco Fusco ffu...@redhat.com Cc: Daniel Borkmann dbork...@redhat.com Cc: Thomas Graf tg...@redhat.com Cc: David S. Miller da...@davemloft.net

[PATCH v2 2/3] x86/hash: swap arguments passed to crc32_u32()

2014-02-27 Thread Jan Beulich
... to match the function's parameters. While reportedly commutative, using the proper order allows for leveraging the instruction permitting the source operand to be in memory. Signed-off-by: Jan Beulich jbeul...@suse.com Acked-by: Daniel Borkmann dbork...@redhat.com Cc: Francesco Fusco

[PATCH v2 3/3] x86/hash: cleanup

2014-02-27 Thread Jan Beulich
- simplify switch statement - add __init annotation to setup_arch_fast_hash() Signed-off-by: Jan Beulich jbeul...@suse.com Cc: Francesco Fusco ffu...@redhat.com Cc: Daniel Borkmann dbork...@redhat.com Cc: Thomas Graf tg...@redhat.com Cc: David S. Miller da...@davemloft.net ---

Re: [PATCH 1/2] dma: cppi41: start tear down only if channel is busy

2014-02-27 Thread Shevchenko, Andriy
On Thu, 2014-02-27 at 10:44 +0530, George Cherian wrote: Start the channel tear down only if the channel is busy, else just bail out. In some cases its seen that by the time the tear down is initiated the cppi completes the DMA, especially in ISOCH transfers. Signed-off-by: George Cherian

Re: [Intel-gfx] [PATCH] drm/i915/dp: Allow for 5.4Gbps for Haswell.

2014-02-27 Thread Ville Syrjälä
On Thu, Feb 27, 2014 at 12:11:39AM -0800, Carl Worth wrote: With Haswell, 5.4Gbps is supported. And almost all of the code was already in place already. All that was missing was this tiny bit of additional wiring. Todd already implemented 5.4Gbps support a while back. So it seems your tree is

Re: 3.12-stable kernel tree being taken over by Jiri Slaby

2014-02-27 Thread Jiri Slaby
On 02/27/2014 09:42 AM, Jiri Slaby wrote: On 02/27/2014 12:39 AM, David Miller wrote: From: Greg Kroah-Hartman gre...@linuxfoundation.org Date: Wed, 26 Feb 2014 15:19:10 -0800 David, I don't know if you want to keep doing 3.12-networking patches or not, I'll let you work that out with Jiri

Re: [PATCH] pwm: add support for Intel Low Power Subsystem PWM

2014-02-27 Thread Mika Westerberg
On Wed, Feb 26, 2014 at 03:38:23PM +0100, Thierry Reding wrote: On Tue, Jan 21, 2014 at 02:00:08AM +0800, Chew Chiau Ee wrote: [...] diff --git a/drivers/pwm/pwm-lpss.c b/drivers/pwm/pwm-lpss.c [...] +/* + * Intel Low Power Subsystem PWM controller driver + * + * Copyright (C) 2014,

Re: [PATCH v2 1/4] spi: spidev: Restore all SPI mode flags on ioctl failure

2014-02-27 Thread Geert Uytterhoeven
Hi Mark, On Thu, Feb 27, 2014 at 5:50 AM, Mark Brown broo...@kernel.org wrote: In commit f477b7fb13df2b843997559ff34e87d054ba6538 (spi: DUAL and QUAD support), spi_device.mode was enlarged from 8 to 16 bits. Applied, thanks. Thanks a lot! For SPI_IOC_WR_MODE this is probably not so

RE: [PATCH] pwm: add support for Intel Low Power Subsystem PWM

2014-02-27 Thread Chew, Chiau Ee
-Original Message- From: Mika Westerberg [mailto:mika.westerb...@linux.intel.com] Sent: Thursday, February 27, 2014 5:02 PM To: Thierry Reding Cc: Chew, Chiau Ee; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; Chew, Kean Ho; Chang, Rebecca Swee Fun Subject: Re: [PATCH]

Re: [PATCH v3 00/14] perf, x86: Haswell LBR call stack support

2014-02-27 Thread Stephane Eranian
On Wed, Feb 26, 2014 at 10:42 PM, Andi Kleen a...@firstfloor.org wrote: On Wed, Feb 26, 2014 at 02:34:31PM -0700, David Ahern wrote: On 2/26/14, 1:53 PM, Andi Kleen wrote: Is there some reason not to enable frame pointers? It makes code slower. That is what I have been told by compiler

RE: [PATCH 2/6] usb: gadget: mv_udc: disable HW zlt for ep0

2014-02-27 Thread Neil Zhang
-Original Message- From: Felipe Balbi [mailto:ba...@ti.com] Sent: 2014年2月26日 23:19 To: Neil Zhang Cc: ba...@ti.com; Peter Chen; gre...@linuxfoundation.org; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; Alexander Shishkin Subject: Re: [PATCH 2/6] usb: gadget: mv_udc:

Aw: Re: [PATCH] cifs: connect: added option krb5mi which may allow package signing

2014-02-27 Thread Lorenz Bucher
    Gesendet: Mittwoch, 26. Februar 2014 um 21:26 Uhr Von: Jeff Layton jlay...@samba.org An: Lorenz Bucher lorenz.buc...@gmx.de Cc: sfre...@samba.org, linux-c...@vger.kernel.org, samba-techni...@lists.samba.org, linux-kernel@vger.kernel.org Betreff: Re: [PATCH] cifs: connect: added option

Re: [PATCH] gpio: document polarity flag best practices

2014-02-27 Thread Linus Walleij
On Wed, Feb 19, 2014 at 7:43 PM, Stephen Warren swar...@wwwdotorg.org wrote: From: Stephen Warren swar...@nvidia.com Document what we (Laurent and I, following a mailing list dicussion) believe are best practices for the polarity flag in a GPIO specifier. While touching the doc, I made a

Re: [PATCH] gpio: msm: switch Kconfig to ARCH_QCOM depends

2014-02-27 Thread Linus Walleij
On Tue, Feb 11, 2014 at 9:22 PM, Kumar Gala ga...@codeaurora.org wrote: We've split Qualcomm MSM support into legacy and multiplatform. The gpio msm-v2 driver is only relevant on the multiplatform supported SoCs so switch the Kconfig depends to ARCH_QCOM. CC: Linus Walleij

Re: The sheer number of sparse warnings in the kernel

2014-02-27 Thread Geert Uytterhoeven
On Thu, Feb 27, 2014 at 2:52 AM, Peter Hurley pe...@hurleysoftware.com wrote: The bigger question, again, is what do we need to do to make this happen, assuming it is worth doing? We certainly have had bugs, including security holes, which sparse would have caught. At the same time, this

Re: Tegra clockframework fixes for 3.14

2014-02-27 Thread Peter De Schrijver
On Wed, Feb 26, 2014 at 04:39:42PM +0100, Mike Turquette wrote: Quoting Peter De Schrijver (2014-02-26 02:16:40) Mike, On Mon, Feb 24, 2014 at 02:02:11AM +0100, Mike Turquette wrote: Quoting Peter De Schrijver (2014-02-20 09:27:44) Hi Mike, Could you merge these fixes

Re: [PATCH] tty: Fix low_latency BUG

2014-02-27 Thread One Thousand Gnomes
I'm glad to hear that the Bluetooth uart interface is getting some use; that means someone will soon be fixing the hard lockup in hci_uart_tx_wakeup() reported here: I'm not very familiar with the BT devices on our platforms, but most of them are not using the in-kernel BT driver, some

Re: [PATCH v2 1/3] x86/hash: fix build failure with older binutils

2014-02-27 Thread Daniel Borkmann
On 02/27/2014 09:47 AM, Jan Beulich wrote: Just like for other ISA extension instruction uses we should check whether the assembler actually supports them. The fallback here simply is to encode an instruction with fixed operands (%eax and %ecx). Signed-off-by: Jan Beulich jbeul...@suse.com Cc:

Re: [PATCH v2 3/3] x86/hash: cleanup

2014-02-27 Thread Daniel Borkmann
On 02/27/2014 09:47 AM, Jan Beulich wrote: - simplify switch statement - add __init annotation to setup_arch_fast_hash() Signed-off-by: Jan Beulich jbeul...@suse.com Cc: Francesco Fusco ffu...@redhat.com Cc: Daniel Borkmann dbork...@redhat.com Cc: Thomas Graf tg...@redhat.com Cc: David S.

Re: [PATCH V6] gpio: New driver for LSI ZEVIO SoCs

2014-02-27 Thread Linus Walleij
On Mon, Feb 24, 2014 at 8:54 PM, Fabian Vogt fab...@ritter-vogt.de wrote: This driver supports the GPIO controller found in LSI ZEVIO SoCs. It has been successfully tested on a TI nspire CX calculator. Signed-off-by: Fabian Vogt fab...@ritter-vogt.de I like this version. Patch applied. Q:

Re: [PATCH 1/6] gpiolib: Allow GPIO chips to request their own GPIOs

2014-02-27 Thread Mika Westerberg
On Wed, Feb 26, 2014 at 02:47:58PM +0100, Rafael J. Wysocki wrote: Sounds good. Only thing I'm not sure about is the fact that __gpiod_request() releases the lock when it calls chip driver callbacks (and takes it back of course). Is that acceptable practice to take the lock outside of a

Re: [patch] sched: don't use nutty scale_rt_power() output

2014-02-27 Thread Peter Zijlstra
On Mon, Feb 24, 2014 at 09:06:51AM +0100, Mike Galbraith wrote: Hi Peter, I wonder if the below makes sense for mainline. Background: I received some rather surprising news recently, a user of old 2.6.32 kernels regularly receive log spam stemming from old 208 day era warnings/protections

Re: [PATCH] mlx4: Use GFP_NOFS calls during the ipoib TX path when creating the QP

2014-02-27 Thread Jiri Kosina
On Wed, 26 Feb 2014, Or Gerlitz wrote: But let's make sure that we don't diverge from the original problem too much. Simple fact is that the deadlock is there when using connected mode, and there is nothing preventing users from using it this way, therefore I believe it should be fixed

Re: [PATCH v2] rapidio/tsi721: fix tasklet termination in dma channel release

2014-02-27 Thread Thomas Gleixner
On Wed, 26 Feb 2014, Alexandre Bounine wrote: This patch is a modification of the patch originally proposed by Xiaotian Feng xtf...@gmail.com: https://lkml.org/lkml/2012/11/5/413 This new version disables DMA channel interrupts and ensures that the tasklet wil not be scheduled again before

[tip:irq/urgent] genirq: Remove racy waitqueue_active check

2014-02-27 Thread tip-bot for Chuansheng Liu
Commit-ID: c685689fd24d310343ac33942e9a54a974ae9c43 Gitweb: http://git.kernel.org/tip/c685689fd24d310343ac33942e9a54a974ae9c43 Author: Chuansheng Liu chuansheng@intel.com AuthorDate: Mon, 24 Feb 2014 11:29:50 +0800 Committer: Thomas Gleixner t...@linutronix.de CommitDate: Thu, 27 Feb

Re: [PATCH] mlx4: Use GFP_NOFS calls during the ipoib TX path when creating the QP

2014-02-27 Thread Or Gerlitz
On 27/02/2014 11:48, Jiri Kosina wrote: On Wed, 26 Feb 2014, Or Gerlitz wrote: But let's make sure that we don't diverge from the original problem too much. Simple fact is that the deadlock is there when using connected mode, and there is nothing preventing users from using it this way,

Re: [PATCH v4 3/3] Documentation: of: Document graph bindings

2014-02-27 Thread Philipp Zabel
Hi Tomi, Am Donnerstag, den 27.02.2014, 10:08 +0200 schrieb Tomi Valkeinen: On 26/02/14 17:47, Philipp Zabel wrote: Please let's not make it mandatory for a port node to contain an endpoint. For any device with multiple ports we can't use the simplified form above, and only adding the

Re: [PATCH 1/1] aio, memory-hotplug: Fix confliction when migrating and accessing ring pages.

2014-02-27 Thread Benjamin LaHaise
On Thu, Feb 27, 2014 at 08:26:16AM +0800, Tang Chen wrote: Forgot to mention that the above patch was merged when Linux 3.12 was released. So I think this problem exists in 3.12 stable tree. If the following solution is acceptable, we need to merge it to 3.12 stable tree, too. Please

[PATCH] scsi: storvsc_device_destroy NULL pointer fix

2014-02-27 Thread Ales Novak
If the initialization of storvsc fails, the storvsc_device_destroy() causes NULL pointer dereference. storvsc_bus_scan() scsi_scan_target() __scsi_scan_target() scsi_probe_and_add_lun(hostdata=NULL) scsi_alloc_sdev(hostdata=NULL) sdev-hostdata = hostdata

Re: [PATCH v5 06/11] drivers: of: initialize and assign reserved memory to newly created devices

2014-02-27 Thread Marek Szyprowski
Hello, On 2014-02-26 13:14, Grant Likely wrote: On Fri, 21 Feb 2014 13:25:22 +0100, Marek Szyprowski m.szyprow...@samsung.com wrote: Use recently introduced of_reserved_mem_device_init() function to automatically assign respective reserved memory region to the newly created platform and

Re: [PATCH net] vhost: net: switch to use data copy if pending DMAs exceed the limit

2014-02-27 Thread Michael S. Tsirkin
On Thu, Feb 27, 2014 at 11:11:07AM +0800, Jason Wang wrote: On 02/26/2014 05:23 PM, Michael S. Tsirkin wrote: On Wed, Feb 26, 2014 at 03:11:21PM +0800, Jason Wang wrote: On 02/26/2014 02:32 PM, Qin Chuanyu wrote: On 2014/2/26 13:53, Jason Wang wrote: On 02/25/2014 09:57 PM, Michael S.

Re: The sheer number of sparse warnings in the kernel

2014-02-27 Thread Guenter Roeck
So getting this to the point where it is genuinely useful and can be made a ubiquitous part of the Linux development process is going to take more work and probably involve improvements to sparse so we can indicate in the kernel sources when something is okay or removing completely bogus

Re: Info: mapping multiple BARs. Your kernel is fine.

2014-02-27 Thread Stephane Eranian
On Wed, Feb 26, 2014 at 10:59 AM, Borislav Petkov b...@alien8.de wrote: Can you please, pretty please, not top-post... On Wed, Feb 26, 2014 at 10:47:05AM +0100, Stephane Eranian wrote: Hi, Ok, so I am getting the same error message as you. I checked my syslog now. I have my uncore_imc

[PATCH 2/2] cpuset: fix a race condition in __cpuset_node_allowed_softwall()

2014-02-27 Thread Li Zefan
It's not safe to access task's cpuset after releasing task_lock(). Holding callback_mutex won't help. Cc: sta...@vger.kernel.org Signed-off-by: Li Zefan lize...@huawei.com --- kernel/cpuset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/cpuset.c b/kernel/cpuset.c

[PATCH 1/2] cpuset: fix a locking issue in cpuset_migrate_mm()

2014-02-27 Thread Li Zefan
I can trigger a lockdep warning: # mount -t cgroup -o cpuset xxx /cgroup # mkdir /cgroup/cpuset # mkdir /cgroup/tmp # echo 0 /cgroup/tmp/cpuset.cpus # echo 0 /cgroup/tmp/cpuset.mems # echo 1 /cgroup/tmp/cpuset.memory_migrate # echo $$ /cgroup/tmp/tasks # echo 1

[PATCH]sched/core: Return possibility to set RT and DL classes back

2014-02-27 Thread Kirill Tkhai
[PATCH]sched/core: Return possibility to set RT and DL classes back I found that it's impossible to set RT policy for tasks at the moment. This is regression after commit [sched: Consider pi boosting in setscheduler()] [c365c292d05908c6ea6f32708f331e21033fe71d

Re: Info: mapping multiple BARs. Your kernel is fine.

2014-02-27 Thread Borislav Petkov
On Thu, Feb 27, 2014 at 11:12:32AM +0100, Stephane Eranian wrote: My Lenovo IVB is like yours. But I tried on my SandyBridge desktop and there to BAR is at a completely different address. Same thing on my Haswell desktop system. Hrrm, I'd like to see what Rafael finds out, whether what we're

Re: Info: mapping multiple BARs. Your kernel is fine.

2014-02-27 Thread Peter Zijlstra
On Thu, Feb 27, 2014 at 11:12:32AM +0100, Stephane Eranian wrote: As a asides, my SNB and HSW desktops with 3.14-rc4 are totally unstable. They hang if I type make in my kernel tree. Whereas 3.14-rc3 is stable. I am not so sure this is all related to the uncore IMC support, though. Unstable

[GIT PULL] Metag arch and asm-generic fixes for v3.14

2014-02-27 Thread James Hogan
Hi Linus, Please pull the following changes since commit cfbf8d4857c26a8a307fb7cd258074c9dcd8c691: Linux 3.14-rc4 (2014-02-23 17:40:03 -0800) which are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/jhogan/metag.git tags/metag-fixes-v3.14 for you to

Re: [PATCH 1/2] cpuset: fix a locking issue in cpuset_migrate_mm()

2014-02-27 Thread Li Zefan
On 2014/2/27 18:19, Li Zefan wrote: I can trigger a lockdep warning: # mount -t cgroup -o cpuset xxx /cgroup # mkdir /cgroup/cpuset # mkdir /cgroup/tmp # echo 0 /cgroup/tmp/cpuset.cpus # echo 0 /cgroup/tmp/cpuset.mems # echo 1 /cgroup/tmp/cpuset.memory_migrate # echo $$

Re: Info: mapping multiple BARs. Your kernel is fine.

2014-02-27 Thread Stephane Eranian
On Thu, Feb 27, 2014 at 11:30 AM, Peter Zijlstra pet...@infradead.org wrote: On Thu, Feb 27, 2014 at 11:12:32AM +0100, Stephane Eranian wrote: As a asides, my SNB and HSW desktops with 3.14-rc4 are totally unstable. They hang if I type make in my kernel tree. Whereas 3.14-rc3 is stable. I am

Re: The sheer number of sparse warnings in the kernel

2014-02-27 Thread Dr. David Alan Gilbert
* H. Peter Anvin (h...@zytor.com) wrote: The number of sparse errors in the current kernel is staggering, and it makes sparse a lot less valuable of a tool that it otherwise could be. On a build of x86-64 allyesconfig I'm getting 20,676 sparse messages. Out of those, 12,358 come from

[PATCH 2/2] aio, mem-hotplug: Add memory barrier to aio ring page migration.

2014-02-27 Thread Tang Chen
When doing aio ring page migration, we migrated the page, and update ctx-ring_pages[]. Like the following: aio_migratepage() |- migrate_page_copy(new, old) | .. /* Need barrier here */ |- ctx-ring_pages[idx] = new Actually, we need a memory barrier between

[PATCH 0/2] Bug fix in aio ring page migration.

2014-02-27 Thread Tang Chen
This patch-set fixes the following two problems: 1. Need to use ctx-completion_lock to protect ring pages from being mis-written while migration. 2. Need memory barrier to ensure memory copy is done before ctx-ring_pages[] is updated. NOTE: AIO ring page migration was implemented since

[PATCH 1/2] aio, memory-hotplug: Fix confliction when migrating and accessing ring pages.

2014-02-27 Thread Tang Chen
AIO ring page migration has been implemented by the following patch: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/fs/aio.c?id=36bc08cc01709b4a9bb563b35aa530241ddc63e3 In this patch, ctx-completion_lock is used to prevent other processes from accessing the ring

Re: [patch] sched: don't use nutty scale_rt_power() output

2014-02-27 Thread Mike Galbraith
On Thu, 2014-02-27 at 10:40 +0100, Peter Zijlstra wrote: On Mon, Feb 24, 2014 at 09:06:51AM +0100, Mike Galbraith wrote: Hi Peter, I wonder if the below makes sense for mainline. Background: I received some rather surprising news recently, a user of old 2.6.32 kernels regularly

Re: [PATCH v2 3/6] spi: sh-msiof: Add support for R-Car H2 and M2

2014-02-27 Thread Laurent Pinchart
Hi Geert, On Thursday 27 February 2014 09:39:54 Geert Uytterhoeven wrote: On Wed, Feb 26, 2014 at 11:16 PM, Laurent Pinchart wrote: diff --git a/Documentation/devicetree/bindings/spi/sh-msiof.txt b/Documentation/devicetree/bindings/spi/sh-msiof.txt index eae3c8c9300e..1f0cb33763a1 100644

Re: [PATCH] mlx4: Use GFP_NOFS calls during the ipoib TX path when creating the QP

2014-02-27 Thread Jiri Kosina
On Thu, 27 Feb 2014, Or Gerlitz wrote: ipoib is coded over the verbs API (include/rdma/ib_verbs.h) --- so tracking the path from ipoib through the verbs api into mlx4 should be similar exercise as doing so for mlx5, but let's 1st treat the higher level elements involved with this patch.

Re: [PATCH v4 3/3] Documentation: of: Document graph bindings

2014-02-27 Thread Tomi Valkeinen
On 27/02/14 12:52, Philipp Zabel wrote: This is a bit verbose, and if your output port is on an encoder device with multiple inputs, the correct port number would become a bit unintuitive. For example, we'd have to use port@4 as the output encoder units that have a 4-port input multiplexer

[PATCHv10 3/4] ARM: dts: vf610-twr: Enables FTM PWM device.

2014-02-27 Thread Xiubo Li
Signed-off-by: Xiubo Li li.xi...@freescale.com Reviewed-by: Sascha Hauer s.ha...@pengutronix.de Reviewed-by: Yuan Yao yao.y...@freescale.com --- arch/arm/boot/dts/vf610-twr.dts | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/vf610-twr.dts

[PATCHv10 4/4] Documentation: Add device tree bindings for Freescale FTM PWM.

2014-02-27 Thread Xiubo Li
This adds the binding documentation for Freescale FlexTimer Module (FTM) PWM driver under Documentation/devicetree/bindings/pwm/. Signed-off-by: Xiubo Li li.xi...@freescale.com Reviewed-by: Sascha Hauer s.ha...@pengutronix.de Reviewed-by: Yuan Yao yao.y...@freescale.com Acked-by: Kumar Gala

[PATCHv10 0/4] Add Freescale FTM PWM support

2014-02-27 Thread Xiubo Li
Changed in V10: Fix some bugs and adjust the code from Thierry's comments. Xiubo Li (4): pwm: Add Freescale FTM PWM driver support ARM: dts: vf610: Add Freescale FTM PWM node. ARM: dts: vf610-twr: Enables FTM PWM device. Documentation: Add device tree bindings for Freescale FTM PWM.

[PATCHv10 2/4] ARM: dts: vf610: Add Freescale FTM PWM node.

2014-02-27 Thread Xiubo Li
This adds devicetree node for VF610, and there are 8 channels supported. Signed-off-by: Xiubo Li li.xi...@freescale.com Reviewed-by: Sascha Hauer s.ha...@pengutronix.de Reviewed-by: Yuan Yao yao.y...@freescale.com --- arch/arm/boot/dts/vf610.dtsi | 13 + 1 file changed, 13

[PATCHv10 1/4] pwm: Add Freescale FTM PWM driver support

2014-02-27 Thread Xiubo Li
The FTM PWM device can be found on Vybrid VF610 Tower and Layerscape LS-1 SoCs. Signed-off-by: Xiubo Li li.xi...@freescale.com Signed-off-by: Alison Wang b18...@freescale.com Signed-off-by: Jingchang Lu b35...@freescale.com Reviewed-by: Sascha Hauer s.ha...@pengutronix.de Reviewed-by: Yuan Yao

Re: [PATCHv2 4/5] net: rfkill: gpio: add ACPI ID for GPS module on Lenove Miix2

2014-02-27 Thread Heikki Krogerus
On Tue, Feb 25, 2014 at 08:40:54PM +0400, Sergei Shtylyov wrote: On 25-02-2014 16:22, Heikki Krogerus wrote: On Lenovo Miix 2 8, BCM4752 is renamed LNV4752. You have typoed in the subject, s/Lenove/Lenovo/. True. I'll send a fixed version. Thanks, -- heikki -- To unsubscribe from

[PATCH 3/3] ASoC: SGTL5000: Simplify ASoC probe code.

2014-02-27 Thread Xiubo Li
Signed-off-by: Xiubo Li li.xi...@freescale.com --- sound/soc/codecs/sgtl5000.c | 8 1 file changed, 8 deletions(-) diff --git a/sound/soc/codecs/sgtl5000.c b/sound/soc/codecs/sgtl5000.c index ab4754a..d3ed1be 100644 --- a/sound/soc/codecs/sgtl5000.c +++ b/sound/soc/codecs/sgtl5000.c @@

[PATCH 1/3] ASoC: io: Clean up snd_soc_codec_set_cache_io()

2014-02-27 Thread Xiubo Li
Now that all users have been converted to regmap and the config.reg_bits and config.val_bits can be setted by each user through regmap core API. So these two params are redundant here. Signed-off-by: Xiubo Li li.xi...@freescale.com --- sound/soc/soc-io.c | 5 - 1 file changed, 5 deletions(-)

[PATCH 2/3] ASoC: core: Set the default I/O up try regmap.

2014-02-27 Thread Xiubo Li
For most CODEC drivers which the REGMAP is used, the soc_probe_codec() will do the stuff work of snd_soc_codec_set_cache_io(), which the CODEC drivers' ASoC probe will do too, and almost at the same time. This patch set the default I/O up try regmap, and then the CODEC drivers' stuff work of

[PATCH 0/3] To simplify the code for ASoC probe.

2014-02-27 Thread Xiubo Li
Xiubo Li (3): ASoC: io: Clean up snd_soc_codec_set_cache_io() ASoC: core: Set the default I/O up try regmap. ASoC: SGTL5000: Simplify ASoC probe code. sound/soc/codecs/sgtl5000.c | 8 sound/soc/soc-core.c| 8 sound/soc/soc-io.c | 5 - 3 files

Re: [patch 06/26] metag: Use irq_set_affinity instead of homebrewn code

2014-02-27 Thread Thomas Gleixner
On Tue, 25 Feb 2014, James Hogan wrote: You need that irq-metag part in any case as the user space interface does not filter out stuff. Assume you offlined core 1 and user changes affinity from 0xf to 0xe. So your selector will pick core 1 which is offline ... crap, you're

Re: Info: mapping multiple BARs. Your kernel is fine.

2014-02-27 Thread Peter Zijlstra
On Thu, Feb 27, 2014 at 11:32:58AM +0100, Stephane Eranian wrote: On Thu, Feb 27, 2014 at 11:30 AM, Peter Zijlstra pet...@infradead.org wrote: On Thu, Feb 27, 2014 at 11:12:32AM +0100, Stephane Eranian wrote: As a asides, my SNB and HSW desktops with 3.14-rc4 are totally unstable. They

[PATCH v1.4 1/11] arcmsr: Rewrite interrupt service routine to fix command timeout

2014-02-27 Thread Huang ching-lung
From: Ching ching2...@areca.com.tw Rewrite interrupt service routine to fix command timeout on controller too heavy loading. Singed-off-by: Ching ching2...@areca.com.tw --- diff -uprN a/drivers/scsi/arcmsr/arcmsr.h b/drivers/scsi/arcmsr/arcmsr.h --- a/drivers/scsi/arcmsr/arcmsr.h

Re: [PATCH v2 3/6] spi: sh-msiof: Add support for R-Car H2 and M2

2014-02-27 Thread Geert Uytterhoeven
On Thu, Feb 27, 2014 at 11:41 AM, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: -- compatible : renesas,sh-msiof for SuperH, or +- compatible : renesas,msiof-soctype for SoCs, + renesas,sh-msiof for SuperH, or

[PATCH 1/2] staging: bcm: Remove unneeded set a variable

2014-02-27 Thread Daeseok Youn
bClassificationSucceed is initialized with false, do not need to set false again. Signed-off-by: Daeseok Youn daeseok.y...@gmail.com --- drivers/staging/bcm/Qos.c |3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/staging/bcm/Qos.c b/drivers/staging/bcm/Qos.c index

[PATCH 01/46] kernel: Move prototype declaration to header file include/linux/thread_info.h

2014-02-27 Thread Rashika Kheria
Move prototype declaration to header file include/linux/thread_info.h from arch/mn10300/include/asm/thread_info.h and arch/tile/include/asm/thread_info.h because it is used by more than one file. Also, include the header file in kernel/fork.c, arch/mn10300/kernel/kgdb.c and

[PATCH 02/46] kernel: Add prototype definition to include/linux/kernel.h

2014-02-27 Thread Rashika Kheria
Add prototype declaration to header file include/linux/kernel.h because it is used by more than one file. This also eliminates the following warning in kernel/panic.c: kernel/panic.c:55:13: warning: no previous prototype for ‘panic_smp_self_stop’ [-Wmissing-prototypes] Signed-off-by: Rashika

[PATCH 03/46] kernel: Move prototype declaration to header file include/linux/cpu.h

2014-02-27 Thread Rashika Kheria
Add prototype declaration to header file include/linux/cpu.h because they are used by more than one file. This eliminates the following warning in kernel/cpu.c: kernel/cpu.c:512:13: warning: no previous prototype for ‘arch_enable_nonboot_cpus_begin’ [-Wmissing-prototypes] kernel/cpu.c:516:13:

[PATCH 2/2] staging: bcm: fix checkpatch error 'assignment in if condition'

2014-02-27 Thread Daeseok Youn
clean up checkpatch errors and bClassificationSucceed is set to TRUE proper location. If protocal is not TCP or UDP, when it checks protocal, bClassificationSucceed must be set to TRUE. Also the end of do-while(0) loop, bClassificationSucceed is set to TRUE. Signed-off-by: Daeseok Youn

[f2fs-dev] [PATCH] f2fs: readahead contiguous SSA blocks for f2fs_gc

2014-02-27 Thread Chao Yu
If there are multi segments in one section, we will read those SSA blocks which have contiguous address one by one in f2fs_gc. It may lost performance, let's read ahead SSA blocks by merge multi read request. Signed-off-by: Chao Yu chao2...@samsung.com --- fs/f2fs/checkpoint.c |6 --

Re: [PATCH] tty: Add sysfs symlink for console name-tty device

2014-02-27 Thread Kay Sievers
On Wed, Feb 26, 2014 at 3:40 PM, Peter Hurley pe...@hurleysoftware.com wrote: Enable a user-space process to discover the underlying tty device for a console, if one exists, and when the tty device is later created or destroyed. Add sysfs symlinks for registered consoles to their respective

[PATCH 04/46] kernel: Mark function as static in kernel/resource.c

2014-02-27 Thread Rashika Kheria
Mark function as static in kernel/resource.c because it is not used outside this file. This eliminates the following warning in kernel/resource.c: kernel/resource.c:518:5: warning: no previous prototype for ‘reallocate_resource’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria

Re: [PATCHv3] tty: Set correct tty name in 'active' sysfs attribute

2014-02-27 Thread Kay Sievers
On Tue, Feb 25, 2014 at 10:38 AM, David Herrmann dh.herrm...@gmail.com wrote: On Tue, Feb 25, 2014 at 8:51 AM, Hannes Reinecke h...@suse.de wrote: Positive? I thought this was precisely the problem, -device() changing the index '0' into something non-zero. The reports we had were that the

Re: [PATCH v2 0/2] KVM: x86: more xsave and mpx improvements

2014-02-27 Thread Jan Kiszka
On 2014-02-26 17:54, Paolo Bonzini wrote: Here are the patches I mentioned while reviewing Liu Jinsong's MPX series. Patch 1 is a further cleanup of xcr0 handling, and patch 2 introduces nested virtualization support for MPX. Please review. Thanks, Paolo Paolo Bonzini (2):

[PATCHv3 4/5] net: rfkill: gpio: add ACPI ID for GPS module on Lenovo Miix2

2014-02-27 Thread Heikki Krogerus
On Lenovo Miix 2 8, BCM4752 is renamed LNV4752. Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com --- net/rfkill/rfkill-gpio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/rfkill/rfkill-gpio.c b/net/rfkill/rfkill-gpio.c index ad5e354..ec38884 100644 ---

[PATCHv4 4/9] ARM: at91: dt: sam9rl: Device Tree for the at91sam9rlek

2014-02-27 Thread Alexandre Belloni
Add a device tree for the at91sam9rl-ek. For now it supports: - MMC - dbgu - usart1 - watchdog - nand - leds - buttons Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/boot/dts/Makefile | 2 + arch/arm/boot/dts/at91sam9rlek.dts | 151

  1   2   3   4   5   6   7   8   9   10   >