Re: [PATCH] thinkpad_acpi: Fix inconsistent mute LED after resume

2014-02-13 Thread Takashi Iwai
At Wed, 12 Feb 2014 20:37:36 +, Matthew Garrett wrote: On Wed, 2014-02-12 at 16:32 +0100, Takashi Iwai wrote: The mute LED states have to be restored after resume. Oh, never mind, we're not doing this through the LED class, are we? Good point. It seems that leds_class has pm_ops but

Re: [PATCH] pci: Add support for creating a generic host_bridge from device tree

2014-02-13 Thread Tanmay Inamdar
On Thu, Feb 13, 2014 at 12:10 AM, Jingoo Han jg1@samsung.com wrote: On Thursday, February 06, 2014 7:18 PM, Liviu Dudau wrote: On Wed, Feb 05, 2014 at 10:26:27PM +, Tanmay Inamdar wrote: Hello Liviu, I did not get the first email of this particular patch on any of subscribed

Re: [f2fs-dev] f2fs: f2fs unmount hangs if f2fs_init_acl() fails during mkdir syscall

2014-02-13 Thread Gu Zheng
Hi Andrey, On 02/11/2014 04:29 PM, Andrey Tsyvarev wrote: Hi, It turns out that make_bad_inode prior to iput sets i_mode to a regular file, so that f2fs_evict_inode - truncate_inode_pages - f2fs_invalidate_data_page doesn't decrement dirty_dents. It seems that remove_dirty_dir_inode()

Re: [PATCH] ARM: tegra: don't timeout if CPU is powergated

2014-02-13 Thread Thierry Reding
On Thu, Feb 13, 2014 at 09:28:52AM +0100, Marc Dietrich wrote: Am Mittwoch, 12. Februar 2014, 12:20:29 schrieb Stephen Warren: On 02/10/2014 05:44 PM, Stefan Agner wrote: When booting secondary CPU(s) which are not yet powergated, a wrong check lead to a timeout after 100 jiffies. With

[RFC PATCH] hwmon: (max6650) Convert to be a platform driver

2014-02-13 Thread Laszlo Papp
The MFD driver has now been added, so this driver is now being adopted to be a subdevice driver on top of it. This means, the i2c driver usage is being converted to platform driver usage all around. Signed-off-by: Laszlo Papp lp...@kde.org --- This patch has been compile tested only and will be

Re: [PATCH v4 3/8] at91: dt: Add at91sam9261 dt SoC support

2014-02-13 Thread Alexandre Belloni
On 13/02/2014 at 09:10:54 +0100, Nicolas Ferre wrote : On 12/02/2014 20:47, Jean-Jacques Hiblot : You probably copied/pasted it but according to the block diagram, the sdram controller is not under the apb. You're right I copied/pasted :o) But the addresses of the registers look like

Re: [PATCH] pci: Add support for creating a generic host_bridge from device tree

2014-02-13 Thread Jingoo Han
-Original Message- From: Tanmay Inamdar [mailto:tinam...@apm.com] Sent: Thursday, February 13, 2014 5:37 PM To: Jingoo Han Cc: Liviu Dudau; Arnd Bergmann; devicet...@vger.kernel.org; linaro-kernel; linux-pci; Will Deacon; LKML; Catalin Marinas; Bjorn Helgaas; LAKML Subject: Re:

Re: blackfin: Kconfig symbol VIDEO_MT9M114?

2014-02-13 Thread Steven Miao
Hi Paul, On Wed, Feb 12, 2014 at 6:18 PM, Paul Bolle pebo...@tiscali.nl wrote: Steven, Sonic, Your commit 54e4ff4d4024 (blackfin: adi gpio driver and pinctrl driver support) added a check for the Kconfig macro CONFIG_VIDEO_MT9M114. That commit was added during the v3.13 release cycle.

Re: [PATCH] blackfin: Remove GENERIC_GPIO config option again

2014-02-13 Thread Steven Miao
Hi Paul, On Wed, Feb 12, 2014 at 6:54 PM, Paul Bolle pebo...@tiscali.nl wrote: The Kconfig symbol GENERIC_GPIO was removed in v3.10. Nothing cares about it anymore. It popped up somehow in v3.13, so it can be removed again. Signed-off-by: Paul Bolle pebo...@tiscali.nl --- Untested, but

[PATCH] irtty-sir.c: Do not set_termios() on irtty_close()

2014-02-13 Thread Tommie Gannert
From: Tommie Gannert tom...@gannert.se Issuing set_termios() from irtty_close() causes kernel Oops for unplugged usb-serial devices. Since no other tty_ldisc calls set_termios() on close and no tty driver seem to check if tty-device_data is NULL or not on entry to set_termios(), the only

Re: OMAP: clock DT conversion issues with omap36xx

2014-02-13 Thread Tomi Valkeinen
On 12/02/14 15:18, Tomi Valkeinen wrote: However, I hacked together the patch below, which fixes the issue for 96m and dss fclk. It sets the clock parents so that the x2 clocks are skipped, and makes the x2 clock nodes compatible with unused, making them effectively disappear. I only verified

Re: [RFC PATCH v2 0/4] mtd: nand: add per partition ECC config

2014-02-13 Thread Boris BREZILLON
On 12/02/2014 23:43, Florian Fainelli wrote: 2014-02-12 13:20 GMT-08:00 Boris BREZILLON b.brezillon@gmail.com: Hi Florian, On 12/02/2014 20:49, Florian Fainelli wrote: Hi Boris, 2014-02-11 13:46 GMT-08:00 Boris BREZILLON b.brezillon@gmail.com: Hello, This patch series is a

Re: [PATCH] usbnet: remove generic hard_header_len check

2014-02-13 Thread Bjørn Mork
Emil Goode emilgo...@gmail.com writes: This patch removes a generic hard_header_len check from the usbnet module that is causing dropped packages under certain circumstances for devices that send rx packets that cross urb boundaries. One example is the AX88772B which occasionally send rx

Re: [PATCH] drm/i915/opregion: work around buggy firmware that provides 8+ output devices

2014-02-13 Thread Aaron Lu
On 02/12/2014 06:31 PM, Chris Wilson wrote: On Wed, Feb 12, 2014 at 11:05:40AM +0800, Aaron Lu wrote: The ACPI table on ASUS UX302LA has more than 8 output devices under the graphics controller device node. The problem is, the real active output device, the LCD panel, is listed the last. The

Re: [RFC] dt: bindings: add bindings for Broadcom bcm43xx sdio devices

2014-02-13 Thread Tomasz Figa
Hi Arend, On 10.02.2014 20:17, Arend van Spriel wrote: The Broadcom bcm43xx sdio devices are fullmac devices that may be integrated in ARM platforms. Currently, the brcmfmac driver for these devices support use of platform data. This patch specifies the bindings that allow this platform data to

Re: [PATCH v6] mfd: MAX6650/6651 support

2014-02-13 Thread Laszlo Papp
On Thu, Feb 13, 2014 at 8:23 AM, Lee Jones lee.jo...@linaro.org wrote: Laszlo, +const struct regmap_config max665x_regmap_config = { + .reg_bits = 5, +}; This would normally be static too, and I'd *really* expect to see a val_bits set here. I'm a bit surprised this works without one.

[PATCH v2 00/14] mfd/regulator/rtc: sec: Add support for S2MPS14

2014-02-13 Thread Krzysztof Kozlowski
Hi, This is second version of patchset adding support for S2MPS14 device to the Samsung MFD driver family. Changes since v1 1. Added Lee Jones' ACK-s. 2. Applied suggestions from review (Lee Jones). 3. Regulator: added __initconst to regulator_desc array (Yadwinder Singh

[PATCH v2 11/14] regulator: s2mps11: Add opmode for S2MPS14 regulators

2014-02-13 Thread Krzysztof Kozlowski
S2MPS11/S2MPS14 regulators support different modes of operation: - Always off; - On/Off controlled by pin/GPIO (PWREN/LDOEN/EMMCEN); - Always on; This is very similar to S5M8767 regulator driver which also supports opmodes (although S5M8767 have also low-power mode). This patch adds parsing

[PATCH v2 06/14] regulator: s2mps11: Constify regulator_desc array

2014-02-13 Thread Krzysztof Kozlowski
Constify the regulator_desc 'regulators' array. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com Cc: Mark Brown broo...@kernel.org Cc: Liam Girdwood lgirdw...@gmail.com --- drivers/regulator/s2mps11.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v2 10/14] Documentation: mfd: s2mps11: Document support for S2MPS14

2014-02-13 Thread Krzysztof Kozlowski
Add bindings documentation for S2MPS14 device to the s2mps11 driver. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com Cc: Mark Brown broo...@kernel.org Cc: Liam Girdwood lgirdw...@gmail.com Cc: Tomasz Figa t.f...@samsung.com Cc: devicet...@vger.kernel.org Cc: Rob Herring

[PATCH v2 14/14] rtc: s5m: Add support for S2MPS14 RTC

2014-02-13 Thread Krzysztof Kozlowski
Add support for S2MPS14 to the rtc-s5m driver. Differences in S2MPS14 (in comparison to S5M8767): - Layout of registers; - Lack of century support for time and alarms (7 registers used for storing time/alarm); - Two buffer control registers: WUDR and RUDR; - No register for enabling writing

[PATCH v2 09/14] regulator: s2mps11: Add support for S2MPS14 regulators

2014-02-13 Thread Krzysztof Kozlowski
Add support for S2MPS14 PMIC regulators to s2mps11 driver. The S2MPS14 has fewer BUCK-s and LDO-s than S2MPS11. It also does not support controlling the BUCK ramp delay. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com Cc: Mark Brown broo...@kernel.org Cc: Liam Girdwood

[PATCH v2 07/14] regulator: s2mps11: Copy supported regulators from initconst

2014-02-13 Thread Krzysztof Kozlowski
Add __initconst to 'regulator_desc' array with supported regulators. During probe choose how many and which regulators will be supported according to device ID. Then copy the 'regulator_desc' array to allocated memory so the regulator core can use it. Additionally allocate array of

[PATCH v2 13/14] rtc: s5m: Support different register layout

2014-02-13 Thread Krzysztof Kozlowski
This patch prepares for adding support for S2MPS14 RTC device to the rtc-s5m driver: 1. Adds a map of registers used by the driver which differ between the chipsets (S5M876X and S2MPS14). 2. Moves code of checking for alarm pending to separate function. Signed-off-by: Krzysztof Kozlowski

[PATCH v2 12/14] Documentation: mfd/regulator: s2mps11: Document the op_mode bindings

2014-02-13 Thread Krzysztof Kozlowski
Document the op_mode properties parsed from DTS by s2mps11 driver. S2MPS11/S2MPS14 regulators support different modes of operation: - Always off; - On/Off controlled by pin/GPIO (PWREN/LDOEN/EMMCEN); - Always on; This is very similar to S5M8767 regulator driver which also supports opmodes

[PATCH v2 01/14] mfd: sec: Add maximum RTC register for regmap config

2014-02-13 Thread Krzysztof Kozlowski
Add maximum register to the regmap used by rtc-s5m driver. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com Acked-by: Lee Jones lee.jo...@linaro.org --- drivers/mfd/sec-core.c |2 ++ include/linux/mfd/samsung/rtc.h |2 ++ 2 files changed, 4 insertions(+) diff --git

[PATCH v2 04/14] rtc: s5m: Remove undocumented time init on first boot

2014-02-13 Thread Krzysztof Kozlowski
This patch removes the code for initializing time if this is first boot. The code for detecting first boot uses undocumented field RTC_TCON in RTC_UDR_CON register. According to S5M8767's datasheet this field is reserved. On S2MPS14 it is not documented at all. On device first boot the registers

[PATCH v2 03/14] mfd/rtc: sec/s5m: Rename SEC* symbols to S5M

2014-02-13 Thread Krzysztof Kozlowski
This patch prepares for adding support for S2MPS14 RTC device to the rtc-s5m driver: 1. Renames SEC* symbols to S5M. 2. Adds S5M prefix to some of defines which are different between S5M876X and S2MPS14. This is only a rename-like patch, new code is not added. Signed-off-by: Krzysztof Kozlowski

[PATCH v2 02/14] mfd: sec: Select different RTC regmaps for devices

2014-02-13 Thread Krzysztof Kozlowski
This patch prepares for adding support for S2MPS14 RTC driver by selecting different regmaps for S2MPS1X/S5M876X RTC devices. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com Acked-by: Lee Jones lee.jo...@linaro.org --- drivers/mfd/sec-core.c | 15 --- 1 file changed, 12

[PATCH v2 08/14] mfd: sec: Add support for S2MPS14

2014-02-13 Thread Krzysztof Kozlowski
Add support for S2MPS14 PMIC device to the MFD sec-core driver. The S2MPS14 is similar to S2MPS11 but it has fewer regulators, two clocks instead of three and a little different registers layout. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com Acked-by: Lee Jones lee.jo...@linaro.org

[PATCH v2 05/14] mfd: sec: Use consistent S2MPS11 RTC alarm interrupt indexes

2014-02-13 Thread Krzysztof Kozlowski
The S2MPS11 RTC has two alarms: alarm0 and alarm1 (corresponding interrupts are named similarly). Use consistent names for interrupts to limit possible errors. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com Acked-by: Lee Jones lee.jo...@linaro.org --- drivers/mfd/sec-irq.c

Re: [RFC] dt: bindings: add bindings for Broadcom bcm43xx sdio devices

2014-02-13 Thread Chen-Yu Tsai
Hi, On Thu, Feb 13, 2014 at 5:13 PM, Tomasz Figa tomasz.f...@gmail.com wrote: Hi Arend, On 10.02.2014 20:17, Arend van Spriel wrote: The Broadcom bcm43xx sdio devices are fullmac devices that may be integrated in ARM platforms. Currently, the brcmfmac driver for these devices support use

ip_set: protocol %u message -- useful?

2014-02-13 Thread Ilia Mirkin
Hello, I've recently noticed a lot of [356872.380595] ip_set: protocol 6 messages in my dmesg. This might be because of some local configuration changes I've made, or perhaps a kernel upgrade. Either way, it appears this message has been a pr_notice since the original code added it in

Re: blackfin: Kconfig symbol VIDEO_MT9M114?

2014-02-13 Thread Paul Bolle
Hi Steven, On Thu, 2014-02-13 at 17:00 +0800, Steven Miao wrote: VIDEO_MT9M114 is from patch Aptina mt9m114 HD digital image sensor driver, but unfortunately this patch hasn't been accepted yet. https://patchwork.linuxtv.org/patch/16308/ This Kconfig symbol should be removed until the mt9m114

[PATCH net v2] vhost: fix ref cnt checking deadlock

2014-02-13 Thread Michael S. Tsirkin
vhost checked the counter within the refcnt before decrementing. It really wanted to know that it is the one that has the last reference, as a way to batch freeing resources a bit more efficiently. Note: we only let refcount go to 0 on device release. This works well but we now access the ref

Re: [RFC] sched: Add a new lockless wake-from-idle implementation

2014-02-13 Thread Ingo Molnar
* Andy Lutomirski l...@amacapital.net wrote: This is a strawman proposal to simplify the idle implementation, eliminate a race Benefits over current code: - ttwu_queue_remote doesn't use an IPI unless needed Cool. - The diffstat should speak for itself :) Neat! - Less racy.

[PATCH] dma: ste_dma40: don't dereference free:d descriptor

2014-02-13 Thread Linus Walleij
It appears that in the DMA40 driver the DMA tasklet will very often dereference memory for a descriptor just free:d from the DMA40 slab. Nothing happens because no other part of the driver has yet had a chance to claim this memory, but it's really nasty to dereference free:d memory, so let's check

Re: [f2fs-dev] f2fs: f2fs unmount hangs if f2fs_init_acl() fails during mkdir syscall

2014-02-13 Thread Andrey Tsyvarev
Hi, BTW, have you tested the case that added remove_dirty_dir_inode() into the fail path of init_inode_metadata? diff --git a/fs/f2fs/dir.c b/fs/f2fs/dir.c index e095a4f..d5a2c9e 100644 --- a/fs/f2fs/dir.c +++ b/fs/f2fs/dir.c @@ -375,6 +375,7 @@ put_error: /* once the failed inode

[PATCH net v2] vhost: fix a theoretical race in device cleanup

2014-02-13 Thread Michael S. Tsirkin
vhost_zerocopy_callback accesses VQ right after it drops a ubuf reference. In theory, this could race with device removal which waits on the ubuf kref, and crash on use after free. Do all accesses within rcu read side critical section, and synchronize on release. Since callbacks are always

Re: [PATCH] blackfin: bf537: fix typo CONFIG_SND_SOC_ADV80X_MODULE

2014-02-13 Thread Paul Bolle
[Replaced previous maintainer and list with current maintainer and list.] On Fri, 2013-03-08 at 13:06 +0100, Paul Bolle wrote: There's a (rather subtle) typo in CONFIG_SND_SOC_ADV80X_MODULE. Fix it once and for all by using IS_ENABLED(), which is designed to avoid issues like this.

Re: [GIT PULL] compiler/gcc4: Add quirk for 'asm goto' miscompilation bug

2014-02-13 Thread Ingo Molnar
* Linus Torvalds torva...@linux-foundation.org wrote: On Wed, Feb 12, 2014 at 7:09 PM, Steven Noonan ste...@uplinklabs.net wrote: If I change the GCC_VERSION check for the asm_volatile_goto quirk to include 4.8.2, then KVM guests are properly cleaned up. Ok, I guess that means we

Re: [uclinux-dist-devel] [PATCH] blackfin: bf60x: fix typo CONFIG_PM_BFIN_WAKE_PA15_POL

2014-02-13 Thread Paul Bolle
[Added current lists.] On Wed, 2013-03-20 at 13:26 +0800, Steven Miao wrote: good catch, thanks This typo is still present in v3.14-rc2. Was my patch perhaps lost? On Wed, Mar 20, 2013 at 7:33 AM, Paul Bolle pebo...@tiscali.nl wrote: Signed-off-by: Paul Bolle pebo...@tiscali.nl

Re: [RFT][PATCH v3] mmc: change cb710-mmc platform power management to use dev_pm_ops

2014-02-13 Thread Ulf Hansson
On 12 February 2014 22:21, Shuah Khan shuah...@samsung.com wrote: Change cb710-mmc platform driver to register pm ops using dev_pm_ops instead of legacy pm_ops. The existing legacy suspend/resume routines are identical and simply clear IRQ mask in the device in case it got undefined during

Re: [PATCH v2] Setting the IORESOURCE_ROM_SHADOW flag on a VGA card other than the primary prevents it from reading it's own rom. It will get the content of the shadowrom at C000 instead, which is of

2014-02-13 Thread Sander Eikelenboom
Hi Bjorn, I have given it another email and another week, but without gaining any reviewed or acked-by's. It seems the only way forward is to shovel it in linux-next earlier, give it a good soak and see if anyone starts to squeal .. or that everything seems to be ok :-) Would you need a v3

Re: [PATCH] Blackfin: remove config IP_CHECKSUM_L1

2014-02-13 Thread Paul Bolle
[Replaced previous maintainer and list with current maintainer and list.] On Thu, 2013-03-21 at 21:50 +0100, Paul Bolle wrote: The only user of Kconfig symbol IP_CHECKSUM_L1 got removed in v2.6.33, with commit ddf9ddacef0989fdeb22e182212a232488f0f3ad (Blackfin: convert to generic checksum

[PATCH] block: use NULL instead of 0 for pointer in blkdev.h

2014-02-13 Thread Daeseok Youn
From dc82a41842df1e20e8508cea6922882f8b122a50 Mon Sep 17 00:00:00 2001 From: Daeseok Youn daeseok.y...@gmail.com Date: Thu, 13 Feb 2014 16:44:58 +0900 Subject: [PATCH] block: use NULL instead of 0 for pointer in blkdev.h following sparse warning: include/linux/blkdev.h:1518:16: warning: Using

[PATCH] firmware/efi : use NULL instead of 0 for pointer

2014-02-13 Thread Daeseok Youn
From 1c70573009a3b50cef2acaae1e5a8cd350edfe6d Mon Sep 17 00:00:00 2001 From: Daeseok Youn daeseok.y...@gmail.com Date: Thu, 13 Feb 2014 17:16:36 +0900 Subject: [PATCH] firmware/efi : use NULL instead of 0 for pointer following sparse warnings: drivers/firmware/efi/efivars.c:230:66: warning:

Re: [f2fs-dev] f2fs: f2fs unmount hangs if f2fs_init_acl() fails during mkdir syscall

2014-02-13 Thread Gu Zheng
Hi, On 02/13/2014 05:40 PM, Andrey Tsyvarev wrote: Hi, BTW, have you tested the case that added remove_dirty_dir_inode() into the fail path of init_inode_metadata? diff --git a/fs/f2fs/dir.c b/fs/f2fs/dir.c index e095a4f..d5a2c9e 100644 --- a/fs/f2fs/dir.c +++ b/fs/f2fs/dir.c @@

Re: [PATCH] Blackfin: bf537: rename CONFIG_ADT7310 and friends

2014-02-13 Thread Paul Bolle
[Replaced previous maintainer and list with current maintainer and list.] On Mon, 2013-03-25 at 16:45 +0100, Lars-Peter Clausen wrote: On 03/25/2013 04:22 PM, Guenter Roeck wrote: On Mon, Mar 25, 2013 at 12:43:51PM +0100, Paul Bolle wrote: The Kconfig symbol ADT7310 got removed in commit

Re: [RFC PATCH] hwmon: (max6650) Convert to be a platform driver

2014-02-13 Thread Lee Jones
The MFD driver has now been added, so this driver is now being adopted to be a subdevice driver on top of it. This means, the i2c driver usage is being converted to platform driver usage all around. Signed-off-by: Laszlo Papp lp...@kde.org --- This patch has been compile tested only and

Re: [RFC PATCH V5] mm readahead: Fix readahead fail for no local memory and limit readahead pages

2014-02-13 Thread Raghavendra K T
On 02/13/2014 01:35 PM, David Rientjes wrote: On Thu, 13 Feb 2014, Raghavendra K T wrote: I was able to test (1) implementation on the system where readahead problem occurred. Unfortunately it did not help. Reason seem to be that CONFIG_HAVE_MEMORYLESS_NODES dependency of numa_mem_id(). The

[PATCH] dt: platform driver: Fill the resources before probe and defer if needed

2014-02-13 Thread Jean-Jacques Hiblot
The goal of this patch is to allow drivers to be probed even if at the time of the DT parsing some of their ressources are not available yet. In the current situation, the resource of a platform device are filled from the DT at the time the device is created (of_device_alloc()). The drawbackof

Re: [virtio-dev] [PATCH net v2] vhost: fix a theoretical race in device cleanup

2014-02-13 Thread Jason Wang
On 02/13/2014 05:45 PM, Michael S. Tsirkin wrote: vhost_zerocopy_callback accesses VQ right after it drops a ubuf reference. In theory, this could race with device removal which waits on the ubuf kref, and crash on use after free. Do all accesses within rcu read side critical section, and

[PATCH akpm-next v2] random32: minor cleanups and kdoc fix

2014-02-13 Thread Daniel Borkmann
These are just some very minor and misc cleanups in the PRNG. In prandom_u32() we store the result in an unsigned long which is unnecessary as it should be u32 instead that we get from prandom_u32_state(). prandom_bytes_state()'s comment is in kdoc format, so change it into such as it's done

RE: blackfin: Kconfig symbol VIDEO_MT9M114?

2014-02-13 Thread Zhang, Sonic
Hi Paul, I will send out a patch to remove it. Regards, Sonic -Original Message- From: Paul Bolle [mailto:pebo...@tiscali.nl] Sent: Thursday, February 13, 2014 5:30 PM To: Steven Miao Cc: Zhang, Sonic; Richard Weinberger; adi-buildroot-de...@lists.sourceforge.net; open list:CAN

Re: OMAP: clock DT conversion issues with omap36xx

2014-02-13 Thread Tomi Valkeinen
On 13/02/14 11:03, Tomi Valkeinen wrote: On 12/02/14 15:18, Tomi Valkeinen wrote: However, I hacked together the patch below, which fixes the issue for 96m and dss fclk. It sets the clock parents so that the x2 clocks are skipped, and makes the x2 clock nodes compatible with unused, making

Re: [PATCH] dt: platform driver: Fill the resources before probe and defer if needed

2014-02-13 Thread Jean-Jacques Hiblot
Hi all, I forgot to add the link to the discussion that lead to this patch: https://lkml.org/lkml/2014/2/12/306. Jean-Jacques 2014-02-13 10:57 GMT+01:00 Jean-Jacques Hiblot jjhib...@traphandler.com: The goal of this patch is to allow drivers to be probed even if at the time of the DT parsing

Re: [PATCH] Blackfin: bf537: rename CONFIG_AD7314

2014-02-13 Thread Paul Bolle
[Replaced previous maintainer and list with current maintainer and list.] On Thu, 2013-04-04 at 05:07 -0700, Guenter Roeck wrote: On Thu, Apr 04, 2013 at 12:17:03PM +0200, Paul Bolle wrote: [Forwarded to a recent address of Guenter, as the ericsson address bounces.] Paul Bolle On

Re: [PATCH] Staging: comedi: clean up conditional statement in addi_apci_3xxx.c

2014-02-13 Thread Ian Abbott
On 2014-02-13 03:29, Chase Southwood wrote: In this if-else conditional statement, if (chan 16), but (data[0] == INSN_CONFIG_DIO_QUERY), the function does not return early, but the else-branch does not get executed either. As a result, mask would be used uninitialized in the next line. What

Re: [PATCH v2 03/14] mfd/rtc: sec/s5m: Rename SEC* symbols to S5M

2014-02-13 Thread Lee Jones
On Thu, 13 Feb 2014, Krzysztof Kozlowski wrote: This patch prepares for adding support for S2MPS14 RTC device to the rtc-s5m driver: 1. Renames SEC* symbols to S5M. 2. Adds S5M prefix to some of defines which are different between S5M876X and S2MPS14. This is only a rename-like patch, new

Re: [PATCH V2 2/3] sched: Fix race in idle_balance()

2014-02-13 Thread Preeti U Murthy
Hi, On 02/13/2014 01:15 PM, Alex Shi wrote: On 02/11/2014 07:11 PM, Daniel Lezcano wrote: On 02/10/2014 10:24 AM, Preeti Murthy wrote: HI Daniel, Isn't the only scenario where another cpu can put an idle task on our runqueue, Well, I am not sure to understand what you meant, but I assume

Re: [lm-sensors] [RFC PATCH] hwmon: (max6650) Convert to be a platform driver

2014-02-13 Thread Jean Delvare
On Thu, 13 Feb 2014 09:58:17 +, Lee Jones wrote: The MFD driver has now been added, so this driver is now being adopted to be a subdevice driver on top of it. This means, the i2c driver usage is being converted to platform driver usage all around. Signed-off-by: Laszlo Papp

Re: [PATCH] Blackfin: bf537: rename CONFIG_ADT75

2014-02-13 Thread Paul Bolle
[Replaced previous maintainer and list with current maintainer and list.] On Thu, 2013-04-04 at 13:40 +0200, Jean Delvare wrote: On Thu, 04 Apr 2013 12:31:06 +0200, Paul Bolle wrote: In v3.2 the Analog Devices ADT75 temperature sensor driver was removed as an IIO driver and support for it

Re: [PATCH V2 3/3] sched: Move idle_stamp up to the core

2014-02-13 Thread Preeti U Murthy
Hi Daniel, On 02/11/2014 05:37 PM, Daniel Lezcano wrote: On 02/10/2014 11:04 AM, Preeti Murthy wrote: Hi Daniel, On Fri, Feb 7, 2014 at 4:40 AM, Daniel Lezcano daniel.lezc...@linaro.org wrote: The idle_balance modifies the idle_stamp field of the rq, making this information to be shared

Re: [PATCH RFC] kernel build: enable use of password-protected signing keys

2014-02-13 Thread Michal Marek
On 2014-02-12 23:41, Emily Maier wrote: On 02/10/2014 08:51 AM, Michal Marek wrote: On 9.2.2014 23:38, Emily Maier wrote: Currently, the module signing script assumes that the private key is not password-protected. This patch makes it slightly more secure by allowing it to be passed in on

Re: [PATCH V2 2/3] sched: Fix race in idle_balance()

2014-02-13 Thread Daniel Lezcano
On 02/13/2014 11:10 AM, Preeti U Murthy wrote: Hi, On 02/13/2014 01:15 PM, Alex Shi wrote: On 02/11/2014 07:11 PM, Daniel Lezcano wrote: On 02/10/2014 10:24 AM, Preeti Murthy wrote: HI Daniel, Isn't the only scenario where another cpu can put an idle task on our runqueue, Well, I am not

Re: [PATCH] Blackfin: bf537: use CONFIG_SND_SOC_AD193X

2014-02-13 Thread Paul Bolle
[Replaced previous maintainer and list with current maintainer and list.] On Fri, 2013-04-05 at 11:20 +0200, Paul Bolle wrote: Commit 57084ede395bb3c9da7905701d34a3b7d33c9356 (blackfin: bf537: stamp: update board file for 193x) changed two references to CONFIG_SND_BF5XX_SOC_AD193X (and

Re: [PATCH v6] mfd: MAX6650/6651 support

2014-02-13 Thread Mark Brown
On Thu, Feb 13, 2014 at 09:14:11AM +, Laszlo Papp wrote: On Thu, Feb 13, 2014 at 8:23 AM, Lee Jones lee.jo...@linaro.org wrote: Laszlo, +const struct regmap_config max665x_regmap_config = { + .reg_bits = 5, +}; This would normally be static too, and I'd *really* expect to

Re: [PATCH 1/3] ath10k: Get rid of superfluous call to pci_disable_msi()

2014-02-13 Thread Kalle Valo
Bjorn Helgaas bhelg...@google.com writes: On Wed, Feb 12, 2014 at 2:30 PM, Kalle Valo kv...@qca.qualcomm.com wrote: Bjorn Helgaas bhelg...@google.com writes: Well, as this series is small I thought it could quickly go thru your tree. But since ipr had conflicts, there is no point routing all

Re: [PATCH 4/4] phy: miphy365x: Provide support for the MiPHY356x Generic PHY

2014-02-13 Thread Lee Jones
The MiPHY365x is a Generic PHY which can serve various SATA or PCIe devices. It has 2 ports which it can use for either; both SATA, both various SATA or PCIe devices in STMicroelectronics STiH41x SoC series? To tell you the truth, I'm not sure if it is limited to ST's h/w, but I think it

Re: [PATCH] Blackfin: bf537: rename CONFIG_ADT7310 and friends

2014-02-13 Thread Paul Bolle
On Thu, 2014-02-13 at 10:57 +0100, Paul Bolle wrote: This issue is still present in v3.14-rc2. Guenter's suggestion is the easiest way out. Should I submit a trivial patch that just removes the dead code depending on never defined CONFIG_ADT7310 and CONFIG_ADT7310_MODULE? And that is probably

Re: [PATCH] x86: fix two sparse warnings in early boot string handling

2014-02-13 Thread Matt Fleming
On Wed, 12 Feb, at 03:31:05PM, H. Peter Anvin wrote: The real answer IMO ought to be that since arch/x86/boot/string.c is now used separately from boot.h (eboot.c which includes efi-stub-helper.c does *not* include boot.h) we may have to move those string functions into a separate header

[RFC V1] mfd: da9063: Add support for production silicon variant code

2014-02-13 Thread Opensource [Steve Twiss]
) for the DA9063 chip. There is also some small amount of correction done in this patch: it renames various incorrectly named variables and moves the dev_info() call before the variant ID test. Signed-off-by: Opensource [Steve Twiss] stwiss.opensou...@diasemi.com --- Checks performed with next-20140213/scripts

Re: [PATCH v6] mfd: MAX6650/6651 support

2014-02-13 Thread Laszlo Papp
On Thu, Feb 13, 2014 at 9:14 AM, Laszlo Papp lp...@kde.org wrote: On Thu, Feb 13, 2014 at 8:23 AM, Lee Jones lee.jo...@linaro.org wrote: Laszlo, +const struct regmap_config max665x_regmap_config = { + .reg_bits = 5, +}; This would normally be static too, and I'd *really* expect to see

Re: ip_set: protocol %u message -- useful?

2014-02-13 Thread Jozsef Kadlecsik
On Thu, 13 Feb 2014, Ilia Mirkin wrote: I've recently noticed a lot of [356872.380595] ip_set: protocol 6 That means the ip_set module has been loaded in multiple times. messages in my dmesg. This might be because of some local configuration changes I've made, or perhaps a kernel

Re: [lm-sensors] [RFC PATCH] hwmon: (max6650) Convert to be a platform driver

2014-02-13 Thread Laszlo Papp
On Thu, Feb 13, 2014 at 10:15 AM, Jean Delvare jdelv...@suse.de wrote: On Thu, 13 Feb 2014 09:58:17 +, Lee Jones wrote: The MFD driver has now been added, so this driver is now being adopted to be a subdevice driver on top of it. This means, the i2c driver usage is being converted to

Re: [PATCH net v2] vhost: fix ref cnt checking deadlock

2014-02-13 Thread Jason Wang
On 02/13/2014 05:42 PM, Michael S. Tsirkin wrote: vhost checked the counter within the refcnt before decrementing. It really wanted to know that it is the one that has the last reference, as a way to batch freeing resources a bit more efficiently. Note: we only let refcount go to 0 on device

[PATCH] mm: swap: Use swapfiles in priority order

2014-02-13 Thread Mel Gorman
According to the swapon documentation Swap pages are allocated from areas in priority order, highest priority first. For areas with different priorities, a higher-priority area is exhausted before using a lower-priority area. A user reported that the reality is

Re: [ANNOUNCE] s390 31 bit kernel support removal

2014-02-13 Thread Michael Tokarev
12.02.2014 13:29, Heiko Carstens wrote: We want to remove s390 31 bit kernel support with Linux kernel 3.16. Maybe you can send a patch for Documentation/feature-removal-schedule.txt about this now? Thanks, /mjt -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the

[PATCH 1/2] mfd: da9055: Add DT support for PMIC

2014-02-13 Thread Adam Thomson
Signed-off-by: Adam Thomson adam.thomson.opensou...@diasemi.com --- drivers/mfd/da9055-i2c.c |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/drivers/mfd/da9055-i2c.c b/drivers/mfd/da9055-i2c.c index 8103e43..d4d4c16 100644 --- a/drivers/mfd/da9055-i2c.c +++

Re: [lm-sensors] [RFC PATCH] hwmon: (max6650) Convert to be a platform driver

2014-02-13 Thread Laszlo Papp
On Thu, Feb 13, 2014 at 10:38 AM, Laszlo Papp lp...@kde.org wrote: On Thu, Feb 13, 2014 at 10:15 AM, Jean Delvare jdelv...@suse.de wrote: On Thu, 13 Feb 2014 09:58:17 +, Lee Jones wrote: The MFD driver has now been added, so this driver is now being adopted to be a subdevice driver on

Re: [PATCH 4/4] phy: miphy365x: Provide support for the MiPHY356x Generic PHY

2014-02-13 Thread Lee Jones
The MiPHY365x is a Generic PHY which can serve various SATA or PCIe devices. It has 2 ports which it can use for either; both SATA, both PCIe or one of each in any configuration. Cc: Kishon Vijay Abraham I kis...@ti.com Signed-off-by: Lee Jones lee.jo...@linaro.org ---

[PATCH 0/2] mfd: da9055: Add DT support documentation for PMIC

2014-02-13 Thread Adam Thomson
This patch set adds DT support for the MFD core of the da9055 PMIC, and adds the accompanying DT binding documentation for the device. Adam Thomson (2): mfd: da9055: Add DT support for PMIC mfd: da9055: Add DT binding documentation for PMIC Documentation/devicetree/bindings/mfd/da9055.txt |

[PATCH 2/2] mfd: da9055: Add DT binding documentation for PMIC

2014-02-13 Thread Adam Thomson
Signed-off-by: Adam Thomson adam.thomson.opensou...@diasemi.com --- Documentation/devicetree/bindings/mfd/da9055.txt | 73 ++ 1 files changed, 73 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bindings/mfd/da9055.txt diff --git

Re: [PATCH] printk: fix one circular lockdep warning about console_lock

2014-02-13 Thread Jan Kara
On Tue 11-02-14 13:19:27, Andrew Morton wrote: On Tue, 11 Feb 2014 14:50:00 +0800 j...@marvell.com wrote: From: Jane Li j...@marvell.com This patch tries to fix a warning about possible circular locking dependency. If do in following sequence: enter suspend - resume -

[PATCH 1/3] staging/lustre/libcfs: remove user space code from kernel_user_comm.c

2014-02-13 Thread Peng Tao
Cc: Andreas Dilger andreas.dil...@intel.com Cc: Oleg Drokin oleg.dro...@intel.com Signed-off-by: Peng Tao bergw...@gmail.com --- .../lustre/lustre/libcfs/kernel_user_comm.c| 102 1 files changed, 0 insertions(+), 102 deletions(-) diff --git

[PATCH 3/3] staging/lustre: fix coccinelle warnings

2014-02-13 Thread Peng Tao
From: Fengguang Wu fengguang...@intel.com drivers/staging/lustre/lustre/llite/dir.c:1416:2-8: Replace memcpy with struct assignment Generated by: coccinelle/misc/memcpy-assign.cocci CC: Peng Tao bergw...@gmail.com CC: Andreas Dilger andreas.dil...@intel.com CC: Oleg Drokin

[PATCH 2/3] staging/lustre/libcfs: remove cfs_hash_long

2014-02-13 Thread Peng Tao
Cc: Andreas Dilger andreas.dil...@intel.com Cc: Oleg Drokin oleg.dro...@intel.com Signed-off-by: Peng Tao bergw...@gmail.com --- .../lustre/include/linux/libcfs/libcfs_hash.h |2 -- .../staging/lustre/include/linux/lnet/lib-lnet.h |2 +- drivers/staging/lustre/lnet/lnet/api-ni.c

Re: [PATCH] Blackfin: bf537: rename ad2s120x -ad2s1200

2014-02-13 Thread Paul Bolle
[Replaced previous maintainer and list with current maintainer and list.] On Thu, 2013-04-04 at 13:02 +0200, Paul Bolle wrote: In v3.2 the Analog Devices ad2s1200/ad2s1205 driver was renamed from ad2s120x to ad2s1200. But it apparently forgot to rename the references to this driver in the

Re: [BUG] can't boot up: unable to handle kernel paging request at ffffffffff340003

2014-02-13 Thread Matt Fleming
On Wed, 12 Feb, at 09:15:03AM, Toshi Kani wrote: Hi Matt, Yes, I agree that the table size should be 0x38. However, ACPI spec states that bit0 of status indicates if the boot image graphic is valid. This bit is set to 0 (invalid) on the system. Can you check this bit and return when

Re: [RFC PATCH] hwmon: (max6650) Convert to be a platform driver

2014-02-13 Thread Laszlo Papp
On Thu, Feb 13, 2014 at 9:58 AM, Lee Jones lee.jo...@linaro.org wrote: The MFD driver has now been added, so this driver is now being adopted to be a subdevice driver on top of it. This means, the i2c driver usage is being converted to platform driver usage all around. Signed-off-by: Laszlo

Re: [ANNOUNCE] s390 31 bit kernel support removal

2014-02-13 Thread Richard Weinberger
On Thu, Feb 13, 2014 at 11:45 AM, Michael Tokarev m...@tls.msk.ru wrote: 12.02.2014 13:29, Heiko Carstens wrote: We want to remove s390 31 bit kernel support with Linux kernel 3.16. Maybe you can send a patch for Documentation/feature-removal-schedule.txt about this now? This file is gone.

Re: [PATCH] drm/i915/opregion: work around buggy firmware that provides 8+ output devices

2014-02-13 Thread Chris Wilson
On Thu, Feb 13, 2014 at 05:10:25PM +0800, Aaron Lu wrote: On 02/12/2014 06:31 PM, Chris Wilson wrote: On Wed, Feb 12, 2014 at 11:05:40AM +0800, Aaron Lu wrote: The ACPI table on ASUS UX302LA has more than 8 output devices under the graphics controller device node. The problem is, the real

Re: [PATCH v2 4/6] ARM: firmware: add prepare_idle() operation

2014-02-13 Thread Tomasz Figa
Hi Alexandre, On 07.02.2014 05:35, Alexandre Courbot wrote: Some firmwares do not put the CPU into idle mode themselves, but still need to be informed that the CPU is about to enter idle mode before this happens. Add a prepare_idle() operation to the firmware_ops structure to handle such cases.

Re: [PATCH 01/51] CPU hotplug: Provide lockless versions of callback registration functions

2014-02-13 Thread Srivatsa S. Bhat
On 02/12/2014 11:48 AM, Srivatsa S. Bhat wrote: On 02/12/2014 02:21 AM, Toshi Kani wrote: On Wed, 2014-02-12 at 00:50 +0530, Srivatsa S. Bhat wrote: On 02/11/2014 11:05 PM, Toshi Kani wrote: : How about this? foo_cpu_notifier returns NOP when foo_notifier_ready is false.

Re: [PATCH] Makefile: Unset stack-protector gcc flag if it is not supported

2014-02-13 Thread Markos Chandras
On 02/07/2014 05:15 PM, Markos Chandras wrote: In case the compiler does not support the stack-protector option, unset the flag to avoid build failures. Printing a warning is enough to let the user know that this flag will not be used. Fixes the following build problem when using a toolchain

Re: [PATCH 1/4] phy: miphy365x: Add Device Tree bindings for the MiPHY365x

2014-02-13 Thread Lee Jones
The MiPHY365x is a Generic PHY which can serve various SATA or PCIe devices. It has 2 ports which it can use for either; both SATA, both PCIe or one of each in any configuration. Cc: devicet...@vger.kernel.org Cc: Srinivas Kandagatla srinivas.kandaga...@st.com Signed-off-by: Lee

Re: [PATCH 3.13 000/120] 3.13.3-stable review

2014-02-13 Thread Jörg-Volker Peetz
3.13.3-rc1 running without flaws on a laptop HP Pavilion dv7 for over 16 hours now. Desktop usage, compilation, networking on debian testing/sid. Normally I'm using the latest stable on different laptops and am silent as long as nothing breaks. Thanks for your care and regards, jvp. -- To

Re: [PATCH 01/51] CPU hotplug: Provide lockless versions of callback registration functions

2014-02-13 Thread Gautham R Shenoy
On Mon, Feb 10, 2014 at 06:26:20PM -0700, Toshi Kani wrote: get/put_online_cpus() is a reader-lock and concurrent executions are allowed among the readers. They won't be serialized until a cpu online/offline operation begins. By replacing this lock with cpu_maps_update_begin/done(), we now

Re: [PATCH v3 7/7] devicetree: bindings: Document PM8921/8058 PMICs

2014-02-13 Thread Lee Jones
+- interrupts: + Usage: required + Value type: prop-encoded-array Either provide an example or a comment to see the description of #interrupt-cells It is part of the example. We also state that the format is defined by the interrupt parent binding. Okay, fair enough. +

  1   2   3   4   5   6   7   8   9   10   >