Re: [PATCH v8 1/2] PWM: atmel-pwm: add PWM controller driver

2013-12-02 Thread Bo Shen
Hi Thierry, On 11/18/2013 05:13 PM, Bo Shen wrote: Add Atmel PWM controller driver based on PWM framework. This is the basic function implementation of Atmel PWM controller. It can work with PWM based led and backlight. Signed-off-by: Bo Shen voice.s...@atmel.com Acked-by: Alexandre Belloni

RE: [f2fs-dev] [PATCH] f2fs: remove the own bi_private allocation

2013-12-02 Thread Jaegeuk Kim
2013-12-02 (월), 14:14 +0800, Chao Yu: Hi Kim, -Original Message- From: Jaegeuk Kim [mailto:jaegeuk@samsung.com] Sent: Saturday, November 30, 2013 9:48 AM Cc: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.net Subject:

Re: [RFC 0/6] perf tools: Add perf_evlist errno

2013-12-02 Thread Namhyung Kim
Hi Jiri, On Fri, 29 Nov 2013 12:45:04 +0100, Jiri Olsa wrote: hi, Andi reported wrong error message for :S modifier on kernel without event ID ioctl support. The reason was that the ioctl failed, but the error was printed like the mmap would: $ perf.old record -e

Re: [PATCH -rc1] s390: increase the NR_CPUS limit

2013-12-02 Thread Heiko Carstens
On Fri, Nov 29, 2013 at 04:33:02PM +0100, Xose Vazquez Perez wrote: In current models, maximum number of active cores is 101. Cc: Martin Schwidefsky schwidef...@de.ibm.com Cc: Heiko Carstens heiko.carst...@de.ibm.com Cc: linux...@de.ibm.com Cc: linux-s...@vger.kernel.org Cc:

RE: [f2fs-dev] [PATCH] f2fs: refactor bio-related operations

2013-12-02 Thread Jaegeuk Kim
Hi, 2013-12-02 (월), 12:47 +0800, Chao Yu: Hi, Some comments as following. -Original Message- From: Jaegeuk Kim [mailto:jaegeuk@samsung.com] Sent: Saturday, November 30, 2013 2:26 PM Cc: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org;

Re: [PATCH] rtc: rtc-at91rm9200: Corrected alarm over day/month wrap:

2013-12-02 Thread Nicolas Ferre
On 18/11/2013 23:37, Andrew Morton : On Mon, 18 Nov 2013 18:20:54 +0100 Nicolas Ferre nicolas.fe...@atmel.com wrote: From: Linus Pizunski li...@narrativeteam.com Update month and day of month to the alarm month/day instead of current day/month when setting the RTC alarm mask. Signed-off-by:

Re: [PATCH v2] f2fs: refactor bio-related operations

2013-12-02 Thread Jaegeuk Kim
Change log from v1: o remove redundant codes From a480dfc915490f4bca7275f6fbb44fa34aa00eaa Mon Sep 17 00:00:00 2001 From: Jaegeuk Kim jaegeuk@samsung.com Date: Sat, 30 Nov 2013 12:51:14 +0900 Subject: [PATCH] f2fs: refactor bio-related operations Cc: linux-fsde...@vger.kernel.org,

Re: [PATCHv3 20/29] tools lib traceevent: Remove malloc_or_die from plugin_function.c

2013-12-02 Thread Namhyung Kim
On Fri, 29 Nov 2013 13:42:49 +0100, Jiri Olsa wrote: On Fri, Nov 29, 2013 at 10:54:21AM +, Namhyung Kim wrote: Removing malloc_or_die calls from plugin_function.c, replacing them and factoring the code with standard realloc and error path. [SNIP] if (cpu cpus) { -

Re: [PATCH RESEND] mfd: mc13xxx: Fix null pointer dereference in mc13xxx_common_init

2013-12-02 Thread Philippe Rétornaz
Le 30/11/2013 10:53, Alexander Shiyan a écrit : If this driver being loaded from devicetree, the pdata is NULL. This cause kernel Oops when fsl,mc13xxx-uses-codec and/or fsl,mc13xxx-uses-touch properties is specified. Well, the codec and touch are not supported if DT is used, thus why

[PATCH] arm: at91: sama5d3: enable qt1070 as a wakeup source

2013-12-02 Thread Bo Shen
Enable qt1070 keyboard as a wakeup source on sama5d3xek board. Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/boot/dts/sama5d3xdm.dtsi |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/sama5d3xdm.dtsi b/arch/arm/boot/dts/sama5d3xdm.dtsi index 1c296d6..f9bdde5

Re: [PATCH] arm: at91: sama5d3: enable qt1070 as a wakeup source

2013-12-02 Thread Nicolas Ferre
On 02/12/2013 09:29, Bo Shen : Enable qt1070 keyboard as a wakeup source on sama5d3xek board. Signed-off-by: Bo Shen voice.s...@atmel.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com Thanks, --- arch/arm/boot/dts/sama5d3xdm.dtsi |1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH 1/1] mfd: omap-usb-host: Fix USB device detection problems on OMAP4 Panda

2013-12-02 Thread Roger Quadros
Hi David, On 11/29/2013 03:17 PM, David Laight wrote: From: Of Roger Quadros With u-boot 2013.10, USB devices are sometimes not detected on OMAP4 Panda. To make us independent of what bootloader does with the USB Host module, we must RESET it to get it to a known good state. This patch Soft

Re: [ANNOUNCE] 3.12.1-rt4

2013-12-02 Thread Sebastian Andrzej Siewior
On 12/01/2013 11:25 PM, Pavel Vasilyev wrote: [ cut here ] WARNING: CPU: 1 PID: 10 at kernel/time/tick-sched.c:191 0x8107bac6() NO_HZ FULL will not work with unstable sched clock Call Trace: IRQ [81501a58] 0x81501a58 [8102f992]

Re: [PATCH v3 0/4] Add request_firmware_direct() for microcode loader

2013-12-02 Thread Takashi Iwai
At Sat, 16 Nov 2013 06:24:55 +0900, Greg Kroah-Hartman wrote: On Fri, Nov 15, 2013 at 04:34:09PM +0100, Takashi Iwai wrote: At Tue, 12 Nov 2013 13:02:12 +0100, Takashi Iwai wrote: Hi, this is a revised patch series to introduce request_firmware_direct() helper for avoiding

[PATCH v3 5/5] slab: make more slab management structure off the slab

2013-12-02 Thread Joonsoo Kim
Now, the size of the freelist for the slab management diminish, so that the on-slab management structure can waste large space if the object of the slab is large. Consider a 128 byte sized slab. If on-slab is used, 31 objects can be in the slab. The size of the freelist for this case would be 31

[PATCH v3 1/5] slab: factor out calculate nr objects in cache_estimate

2013-12-02 Thread Joonsoo Kim
This logic is not simple to understand so that making separate function helping readability. Additionally, we can use this change in the following patch which implement for freelist to have another sized index in according to nr objects. Acked-by: Christoph Lameter c...@linux.com Signed-off-by:

[PATCH v3 4/5] slab: introduce byte sized index for the freelist of a slab

2013-12-02 Thread Joonsoo Kim
Currently, the freelist of a slab consist of unsigned int sized indexes. Since most of slabs have less number of objects than 256, large sized indexes is needless. For example, consider the minimum kmalloc slab. It's object size is 32 byte and it would consist of one page, so 256 indexes through

[PATCH v3 0/5] slab: implement byte sized indexes for the freelist of a slab

2013-12-02 Thread Joonsoo Kim
This patchset implements byte sized indexes for the freelist of a slab. Currently, the freelist of a slab consist of unsigned int sized indexes. Most of slabs have less number of objects than 256, so much space is wasted. To reduce this overhead, this patchset implements byte sized indexes for

Re: [PATCH 05/11] serial: support for 16550 serial ports on LP-8x4x

2013-12-02 Thread Heikki Krogerus
Hi, On Sun, Dec 01, 2013 at 10:26:18AM +0400, Sergei Ianovich wrote: The patch adds support for 3 additional LP-8x4x built-in serial ports. The device can also host up to 8 extension cards with 4 serial ports on each card for a total of 35 ports. However, I don't have the hardware to test

[PATCH v3 3/5] slab: restrict the number of objects in a slab

2013-12-02 Thread Joonsoo Kim
To prepare to implement byte sized index for managing the freelist of a slab, we should restrict the number of objects in a slab to be less or equal to 256, since byte only represent 256 different values. Setting the size of object to value equal or more than newly introduced SLAB_OBJ_MIN_SIZE

[PATCH v3 2/5] slab: introduce helper functions to get/set free object

2013-12-02 Thread Joonsoo Kim
In the following patches, to get/set free objects from the freelist is changed so that simple casting doesn't work for it. Therefore, introduce helper functions. Acked-by: Christoph Lameter c...@linux.com Signed-off-by: Joonsoo Kim iamjoonsoo@lge.com diff --git a/mm/slab.c b/mm/slab.c index

[PATCH 3/6][v2] phylib: turn genphy_driver to an array

2013-12-02 Thread shh.xie
From: Shaohui Xie shaohui@freescale.com Then other generic phy driver such as generic 10g phy driver can join it. Signed-off-by: Shaohui Xie shaohui@freescale.com --- v2 changes: add break if find a match in unbind. drivers/net/phy/phy_device.c | 29 + 1

RE: [f2fs-dev] [PATCH] f2fs: remove the own bi_private allocation

2013-12-02 Thread Chao Yu
Hi Kim, -Original Message- From: Jaegeuk Kim [mailto:jaegeuk@samsung.com] Sent: Monday, December 02, 2013 4:15 PM To: Chao Yu Cc: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.net; 谭姝 Subject: RE: [f2fs-dev] [PATCH] f2fs:

[PATCH 1/1] support new huawei devices in option.c

2013-12-02 Thread Fangxiaozhi (Franko)
1. Add new supporting declarations to option.c, to support Huawei new devices with new bInterfaceProtocol value. Signed-off-by: fangxiaozhi huana...@huawei.com --- linux-3.12.1/drivers/usb/serial/option.bk 2013-11-29 14:49:44.528970754 +0800 +++

Re: [PATCH 01/11] resolve PXA-8250 serial device address conflict

2013-12-02 Thread Heikki Krogerus
Hi, On Sun, Dec 01, 2013 at 10:26:14AM +0400, Sergei Ianovich wrote: PXA serial ports have standard UART names (ttyS[0-3]), major device number (4) and first minor device number (64) by default. If the system has extra 8250 serial port hardware in addition to onboard PXA serial ports,

[PATCH v2] drivers: phy: tweaks to phy_create()

2013-12-02 Thread Kishon Vijay Abraham I
From: Dan Carpenter dan.carpen...@oracle.com If this was called with a NULL dev then it lead to a NULL dereference when we called dev_WARN(). I have changed it to WARN_ON() so that we get a stack dump and can fix the caller. The rest of this patch is just cleanup like returning directly instead

Re: [PATCH] lib/vsprintf.c: add %paD format specifier for dma_addr_t types

2013-12-02 Thread Andy Shevchenko
On Fri, 2013-11-29 at 14:10 -0800, Joe Perches wrote: On Fri, 2013-11-29 at 14:56 +0200, Andy Shevchenko wrote: On Thu, 2013-11-28 at 10:32 -0800, Joe Perches wrote: [] https://lkml.org/lkml/2013/9/12/483 Hmm... Still not in kernel. Do you know reason why it so? It was just for

[PATCH] drm/i915: Take modeset locks around intel_modeset_setup_hw_state()

2013-12-02 Thread ville . syrjala
From: Ville Syrjälä ville.syrj...@linux.intel.com Some lower level things get angry if we don't have modeset locks during intel_modeset_setup_hw_state(). Actually the resume and lid_notify codepaths alreday hold the locks, but the init codepath doesn't, so fix that. Signed-off-by: Ville Syrjälä

Re: [PATCH] lib/vsprintf.c: add %paD format specifier for dma_addr_t types

2013-12-02 Thread Shevchenko, Andriy
On Mon, 2013-12-02 at 11:06 +0200, Andy Shevchenko wrote: Anyway, if you think you're going to do a lot of transforms of printk(%x, dma_addr_t) with or without (unsigned long long) or (u64) casts, I'll submit a signed patch to Andrew. I think it worse to submit even if we have no more

Re: [PATCH v6] e2fsck: Correct ext4 dates generated by old kernels.

2013-12-02 Thread Andreas Dilger
On Nov 29, 2013, at 2:54 PM, David Turner nova...@novalis.org wrote: Is this version good, or should I make some more improvements? The patch looks good to me (you could add a Reviewed-by: line for me if you want. What you need to do now is to add a new test case or two to verify that this is

Re: [PATCH v2 1/3] mfd: tps6586x: add version detection

2013-12-02 Thread Thierry Reding
On Sun, Dec 01, 2013 at 04:59:13PM +0100, Stefan Agner wrote: Use the VERSIONCRC to determine the exact device version. According to the datasheet this register can be used as device identifier. The identification is needed since some tps6586x regulators use a different voltage table.

linux-n900: minor coding style fixes

2013-12-02 Thread Pavel Machek
Replace RX51 with N900 (RX-51) in user-visible places. Fix comment style. Simplify obvious code. Add a fixme where error is not checked. Signed-off-by: Pavel Machek pa...@ucw.cz index e7604e5..64f7aca 100644 --- a/drivers/hsi/clients/cmt_speech.c +++ b/drivers/hsi/clients/cmt_speech.c @@

Re: [PATCH 01/11] resolve PXA-8250 serial device address conflict

2013-12-02 Thread Sergei Ianovich
On Mon, 2013-12-02 at 11:02 +0200, Heikki Krogerus wrote: On Sun, Dec 01, 2013 at 10:26:14AM +0400, Sergei Ianovich wrote: PXA serial ports have standard UART names (ttyS[0-3]), major device number (4) and first minor device number (64) by default. If the system has extra 8250 serial

Re: [PATCH 1/2] perf sched: Introduce timehist command - v2

2013-12-02 Thread Pekka Enberg
On 12/02/2013 02:23 AM, David Ahern wrote: 'perf sched timehist' provides an analysis of scheduling events. Example usage: perf sched record -- sleep 1 perf sched timehist By default it shows the individual schedule events, including the time between sched-in events for the task, the

[PATCH V6 2/2] arm64: perf: add support for percpu pmu interrupt

2013-12-02 Thread Vinayak Kale
Add support for irq registration when pmu interrupt is percpu. Signed-off-by: Vinayak Kale vk...@apm.com Signed-off-by: Tuan Phan tp...@apm.com --- arch/arm64/kernel/perf_event.c | 116 +--- 1 file changed, 86 insertions(+), 30 deletions(-) diff --git

Re: [RFC 0/3] perf tools: Show time info (v1)

2013-12-02 Thread Pekka Enberg
On 12/02/2013 08:53 AM, Namhyung Kim wrote: Sometimes users might want to see time information along with the performance result but the perf cannot provide it currently. In this patchset, I added such feature using sample-time. When the perf processes sample events, it calculate time info and

[PATCH V6 0/2] genirq: arm64: perf: support for percpu pmu interrupt

2013-12-02 Thread Vinayak Kale
This patch series adds support to handle interrupt registration/deregistration in arm64 pmu driver when pmu interrupt type is percpu. Changelog: V6: * In arm64 pmu driver: Use macro 'IRQ_TYPE_NONE' while passing irq type value to enable_percpu_irq(). Change 'irqs' etc variables as unsigned,

[PATCH V6 1/2] genirq: Add an accessor for IRQ_PER_CPU flag

2013-12-02 Thread Vinayak Kale
This patch adds an accessor function for IRQ_PER_CPU flag. The accessor function is useful to determine whether an IRQ is percpu or not. This patch is based on an older patch posted by Chris Smith here [1]. There is a minor change w.r.t. Chris's original patch: The accessor function is renamed as

Re: [PATCH v2 2/3] regulator: tps6586x: add and use correct voltage table

2013-12-02 Thread Thierry Reding
On Sun, Dec 01, 2013 at 04:59:14PM +0100, Stefan Agner wrote: [...] This looks pretty good generally. A few minor nits below... diff --git a/drivers/regulator/tps6586x-regulator.c b/drivers/regulator/tps6586x-regulator.c [...] +#define tps658623_sm2_voltages tps6586x_ldo4_voltages static

[PATCH] net: use a proper error path in socketpair()

2013-12-02 Thread Yann Droneaud
socketpair() use overly complicated and redundant error paths. This patch makes socketpair() use a single error path, which do not rely on heavy-weight call to sys_close(): it's better to try to push the file descriptor to userspace before installing the socket file to the file descriptor, so

RE: [f2fs-dev] [PATCH v2] f2fs: refactor bio-related operations

2013-12-02 Thread Chao Yu
-Original Message- From: Jaegeuk Kim [mailto:jaegeuk@samsung.com] Sent: Monday, December 02, 2013 4:27 PM To: linux-fsde...@vger.kernel.org Cc: linux-kernel@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.net Subject: Re: [f2fs-dev] [PATCH v2] f2fs: refactor bio-related

Re: [PATCH 1/1] mfd: omap-usb-host: Fix USB device detection problems on OMAP4 Panda

2013-12-02 Thread Roger Quadros
+Benoit, Tony, Paul. Hi Michael, On 11/30/2013 06:48 AM, Michael Trimarchi wrote: Hi Roger On Fri, Nov 29, 2013 at 2:01 PM, Roger Quadros rog...@ti.com wrote: With u-boot 2013.10, USB devices are sometimes not detected on OMAP4 Panda. To make us independent of what bootloader does with

Re: [PATCH v4 06/12] efi: export efi runtime memory mapping to sysfs

2013-12-02 Thread Borislav Petkov
On Mon, Dec 02, 2013 at 10:59:42AM +0800, Dave Young wrote: They are only called if there's setup_data SETUP_EFI passed in. Yes, I think only kexec need that part of code. But I hesitated to mess the code with a lot of #if. Will think about it. Well, the accepted strategy with the efi code is

Re: [PATCH 1/1] mfd: omap-usb-host: Fix USB device detection problems on OMAP4 Panda

2013-12-02 Thread Roger Quadros
Michael, On 11/29/2013 05:32 PM, Michael Trimarchi wrote: Hi Roger On Fri, Nov 29, 2013 at 2:01 PM, Roger Quadros rog...@ti.com wrote: With u-boot 2013.10, USB devices are sometimes not detected on OMAP4 Panda. To make us independent of what bootloader does with the USB Host module, we

RE: [PATCH net-next] xen-netback: Fix pull size in checksum_setup_ip*

2013-12-02 Thread Paul Durrant
-Original Message- From: Zoltan Kiss Sent: 29 November 2013 20:26 To: Ian Campbell; Wei Liu; xen-de...@lists.xenproject.org; net...@vger.kernel.org; linux-kernel@vger.kernel.org; Jonathan Davies; Paul Durrant Cc: Zoltan Kiss Subject: Re: [PATCH net-next] xen-netback: Fix pull size

Re: [PATCH v4 07/12] efi: passing kexec necessary efi data via setup_data

2013-12-02 Thread Borislav Petkov
On Mon, Dec 02, 2013 at 10:49:15AM +0800, Dave Young wrote: All these setup_data passing, remapping etc. is mostly for kexec, add a lot of contiditional #if #endif makes the code a mess. I would prefer to not do this if you are not strongly object. Right, having efi_kexec.c could solve all

[PATCH] tracepoint: Spell Fix: Write binay as binary

2013-12-02 Thread Viresh Kumar
Binary was written as binay, probably by mistake. Fix it. Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- include/linux/tracepoint.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/tracepoint.h b/include/linux/tracepoint.h index ebeab36..f0c3e4c 100644

Re: [PATCH 01/11] resolve PXA-8250 serial device address conflict

2013-12-02 Thread Heikki Krogerus
Hi, On Mon, Dec 02, 2013 at 01:23:58PM +0400, Sergei Ianovich wrote: On Mon, 2013-12-02 at 11:02 +0200, Heikki Krogerus wrote: On Sun, Dec 01, 2013 at 10:26:14AM +0400, Sergei Ianovich wrote: PXA serial ports have standard UART names (ttyS[0-3]), major device number (4) and first minor

Re: [PATCH RESEND] mfd: mc13xxx: Remove unneeded mc13xxx_lock/unlock

2013-12-02 Thread Philippe Rétornaz
Le 30/11/2013 06:01, Alexander Shiyan a écrit : Locking is performed by regmap API so no additional locking is needed. Nevertheless, keep locking in the ADC conversion routine. This need for keep proper read ADC sequence when calling from adc touchscreen drivers. You can't do that so easily !

Re: [PATCH 1/1] mfd: omap-usb-host: Fix USB device detection problems on OMAP4 Panda

2013-12-02 Thread Michael Trimarchi
Hi Roger On Mon, Dec 2, 2013 at 10:39 AM, Roger Quadros rog...@ti.com wrote: +Benoit, Tony, Paul. Hi Michael, On 11/30/2013 06:48 AM, Michael Trimarchi wrote: Hi Roger On Fri, Nov 29, 2013 at 2:01 PM, Roger Quadros rog...@ti.com wrote: With u-boot 2013.10, USB devices are sometimes not

Re: ping: re: [PATCH 1/1] kernel code that do not handle NULL return of kmem_cache_zalloc

2013-12-02 Thread Alexander Graf
On 02.12.2013, at 04:07, Zhouyi Zhou yizhouz...@ict.ac.cn wrote: ping I do a grep for kmem_cache_zalloc and kmem_cache_alloc in kernel tree, and find some code do not handle NULL return of kmem_cache_zalloc correctly Signed-off-by: Zhouyi Zhou yizhouz...@ict.ac.cn Thanks a lot

Re: [PATCH 1/1] ARM: dts: Add missing clock names for exynos4412 dwmmc node

2013-12-02 Thread Mark Rutland
On Sun, Dec 01, 2013 at 10:11:47AM +, Alex Ling wrote: This patch adds biu and ciu clock names for exynos4412 dwmmc node. Without this patch, dwmmc host driver will skip enabling the two clocks and it will break dwmmc host function on exynos4412. Tested on FriendlyARM TINY4412 board. The

Re: [i915] WARNING: [...] drivers/gpu/drm/i915/intel_display.c:9948 intel_get_pipe_from_connector

2013-12-02 Thread Paul Bolle
On Mon, 2013-12-02 at 08:33 +0100, Daniel Vetter wrote: On Sun, Dec 1, 2013 at 5:57 PM, Paul Bolle pebo...@tiscali.nl wrote: The WARNING is now gone during suspend and resume (having tested that thoroughly - ie, twice). But I still see it at boot. Is there a related fix for that WARNING

Re: [PATCH] drm/i915: Take modeset locks around intel_modeset_setup_hw_state()

2013-12-02 Thread Paul Bolle
On Mon, 2013-12-02 at 11:08 +0200, ville.syrj...@linux.intel.com wrote: From: Ville Syrjälä ville.syrj...@linux.intel.com Some lower level things get angry if we don't have modeset locks during intel_modeset_setup_hw_state(). Actually the resume and lid_notify codepaths alreday hold the

RE: [PATCH 1/4] pch_gbe: Fix transmit queue management

2013-12-02 Thread David Laight
From: David Miller According to Documentation/networking/driver.txt the ndo_start_xmit method should not return NETDEV_TX_BUSY under normal circumstances. Stop the transmit queue when tx_ring is full. ... You should be instead preventing the transmit method from being invoked when it

Re: [alsa-devel] [PATCH 07/10] ASoC: ux500: Store DMA data in the DAI differently in the pdata and DT case

2013-12-02 Thread Lee Jones
On Sun, 01 Dec 2013, Olof Johansson wrote: Hi, On Tue, Nov 19, 2013 at 3:07 AM, Lee Jones lee.jo...@linaro.org wrote: In this patch we do two things. Firstly, instead of open coding the store of DMA data in to the DAI for later use, we use the API provided. Secondly we create and store

[PATCH] ARM: at91: add usart3 alias to dtsi

2013-12-02 Thread Nicolas Ferre
Alias was missing for SoC of the at91sam9x5 familly that embed USART3. Preripheral node and pinctrl declarations are already in the at91sam9x5_usart3.dtsi file. Reported-by: Jiri Prchal jiri.prc...@aksignal.cz Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com ---

[PATCH v2] net: handle error more gracefully in socketpair()

2013-12-02 Thread Yann Droneaud
socketpair() error paths can be simplified to not call heavy-weight sys_close(). This patch makes socketpair() use of error paths which do not rely on heavy-weight call to sys_lose(): it's better to try to push the file descriptor to userspace before installing the socket file to the file

Re: [PATCH] drivers: scsi: scsi_lib.c: add prefix SCSILIB_ to macro SP

2013-12-02 Thread Chen Gang
On 12/02/2013 08:49 AM, James Bottomley wrote: On Mon, 2013-12-02 at 08:34 +0800, Chen Gang wrote: On 12/02/2013 12:17 AM, Bart Van Assche wrote: On 11/27/13 03:29, Chen Gang wrote: the macro SP is too common to make conflict with some architectures, so recommend to add prefix for it. The

Re: GPF in aio_migratepage

2013-12-02 Thread Gu Zheng
Hi Kristian, Dave, Could you please help to check whether the following patch can fix this issue? Signed-off-by: Gu Zheng guz.f...@cn.fujitsu.com --- fs/aio.c | 28 ++-- 1 files changed, 10 insertions(+), 18 deletions(-) diff --git a/fs/aio.c b/fs/aio.c index

[PATCH] KVM: NULL return of kvmppc_mmu_hpte_cache_next should be handled

2013-12-02 Thread Zhouyi Zhou
NULL return of kvmppc_mmu_hpte_cache_next should be handled Signed-off-by: Zhouyi Zhou yizhouz...@ict.ac.cn --- arch/powerpc/kvm/book3s_32_mmu_host.c |5 + 1 file changed, 5 insertions(+) diff --git a/arch/powerpc/kvm/book3s_32_mmu_host.c b/arch/powerpc/kvm/book3s_32_mmu_host.c index

PROBLEM REPORT: Kernel crashes on running nested vm with extreme high memory pressure on the host

2013-12-02 Thread Rom Freiman
Hello everyone, We are seeing an L0 crash when running nested VMs with high memory pressure on the host. Specifically, we see this OOPS: = [ 4758.702606] general protection fault: [#1] SMP [ 4758.703986] Modules linked in: netconsole

[PATCH] sched: use __weak for arch_update_cpu_topology/sched_clock

2013-12-02 Thread Kamalesh Babulal
Use __weak macro instead of __attribute__((weak)). Signed-off-by: Kamalesh Babulal kamal...@linux.vnet.ibm.com --- kernel/sched/clock.c | 2 +- kernel/sched/core.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/sched/clock.c b/kernel/sched/clock.c index

Re: [PATCH 01/11] resolve PXA-8250 serial device address conflict

2013-12-02 Thread Sergei Ianovich
On Mon, 2013-12-02 at 11:49 +0200, Heikki Krogerus wrote: On Mon, Dec 02, 2013 at 01:23:58PM +0400, Sergei Ianovich wrote: On Mon, 2013-12-02 at 11:02 +0200, Heikki Krogerus wrote: On Sun, Dec 01, 2013 at 10:26:14AM +0400, Sergei Ianovich wrote: PXA serial ports have standard UART names

Re: [PATCH V4 1/4] DRIVERS: IRQCHIP: IRQ-GIC: Add support for routable irqs

2013-12-02 Thread Sricharan R
Hi Mark, Sorry for delayed response. I was away for some time. On Friday 15 November 2013 04:53 PM, Mark Rutland wrote: On Thu, Nov 14, 2013 at 04:46:36PM +, Sricharan R wrote: Hi Mark, On Thursday 14 November 2013 07:31 PM, Mark Rutland wrote: On Thu, Nov 14, 2013 at 12:18:47PM +,

[PATCH] gpio: MOXA ART: rename moxart_gpio_base to base

2013-12-02 Thread Jonas Jensen
! This is a follow-up with trivial changes per your comments. Regarding Documentation/devicetree/bindings/vendor-prefixes.txt, there's already a patch submitted (Mark Rutland requested this): https://lkml.org/lkml/2013/10/8/451 Applies to next-20131202 drivers/gpio/gpio-moxart.c

[PATCH 1/1] NULL return of kmem_cache_zalloc should be handled

2013-12-02 Thread Zhouyi Zhou
if iopte is NULL, iopte_free should not be called. Signed-off-by: Zhouyi Zhou yizhouz...@ict.ac.cn --- drivers/iommu/omap-iommu.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/iommu/omap-iommu.c b/drivers/iommu/omap-iommu.c index bcd78a7..5155714 100644 ---

Re: 3.10.16 cgroup_mutex deadlock

2013-12-02 Thread William Dauchy
Hi Li, On Mon, Nov 25, 2013 at 2:20 AM, Li Zefan lize...@huawei.com wrote: I'll do this after the patch hits mainline, if Tejun doesn't plan to. Do you have some news about it? -- William -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [PATCH] gpio: better lookup method for platform GPIOs

2013-12-02 Thread Alex Courbot
On 11/29/2013 08:57 PM, Heikki Krogerus wrote: Hi, On Thu, Nov 28, 2013 at 05:46:28PM +0900, Alexandre Courbot wrote: @@ -88,16 +89,20 @@ Note that GPIO_LOOKUP() is just a shortcut to GPIO_LOOKUP_IDX() where idx = 0. A lookup table can then be defined as follows: - struct

Re: [PATCH RESEND] mfd: mc13xxx: Remove unneeded mc13xxx_lock/unlock

2013-12-02 Thread Alexander Shiyan
Hello. Le 30/11/2013 06:01, Alexander Shiyan a écrit : Locking is performed by regmap API so no additional locking is needed. Nevertheless, keep locking in the ADC conversion routine. This need for keep proper read ADC sequence when calling from adc touchscreen drivers. You can't do

[PATCH] JFFS2: NULL return of kmem_cache_zalloc should be handled.

2013-12-02 Thread Zhouyi Zhou
NULL return of kmem_cache_zalloc should be handled in jffs2_alloc_xattr_datum and jff2_alloc_xattr_ref. Signed-off-by: Zhouyi Zhou yizhouz...@ict.ac.cn --- fs/jffs2/malloc.c |4 1 file changed, 4 insertions(+) diff --git a/fs/jffs2/malloc.c b/fs/jffs2/malloc.c index 4f47aa2..b8fd651

Re: [PATCH] pinctrl: abx500: Fix header file include guard

2013-12-02 Thread Linus Walleij
On Sun, Dec 1, 2013 at 12:41 PM, Axel Lin axel@ingics.com wrote: Fix a trivial typo. Signed-off-by: Axel Lin axel@ingics.com Patch applied for fixes, thanks for spotting this! Yours, Linus Walleij -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of

Re: [PATCH 1/5] serial: 8250_pci: use DEFINE_PCI_DEVICE_TABLE macro

2013-12-02 Thread Jonas Bonn
Hi Joe, On 12/02/2013 06:48 AM, Joe Perches wrote: (Adding Jonas Bonn to list as he added the macro in the first place...) Thanks... ;) Actually, I think I submitted an even uglier macro called DECLARE_PCI_DEVICE_TABLE... might have been the first kernel patch I ever sent? In any case, it

Re: [RFC v1 0/9] gpio: davinci: reuse for keystone arch

2013-12-02 Thread Grygorii Strashko
Hi All, On 11/29/2013 10:37 AM, Linus Walleij wrote: On Tue, Nov 26, 2013 at 8:40 PM, Grygorii Strashko grygorii.stras...@ti.com wrote: [1] Depends on patch: [PATCH 1/2] gpio: davinci: Fix a check for unbanked gpio https://lkml.org/lkml/2013/11/8/22 [2] and depends on series from Prabhakar

Re: GPF in aio_migratepage

2013-12-02 Thread Kristian Nielsen
Gu Zheng guz.f...@cn.fujitsu.com writes: Hi Kristian, Dave, Could you please help to check whether the following patch can fix this issue? Signed-off-by: Gu Zheng guz.f...@cn.fujitsu.com --- fs/aio.c | 28 ++-- 1 files changed, 10 insertions(+), 18 deletions(-)

Re: 3.12: kernel panic when resuming from suspend to RAM (x86_64)

2013-12-02 Thread Thomas Gleixner
On Sat, 30 Nov 2013, Francis Moreau wrote: Hello Thomas, Sorry for the delay. On 11/29/2013 10:02 AM, Thomas Gleixner wrote: On Fri, 29 Nov 2013, Francis Moreau wrote: Since it seems to be related to rtsx driver or its upper layer, could the folks involved in this area have a look to

Re: [PATCH] gpio: better lookup method for platform GPIOs

2013-12-02 Thread Alex Courbot
On 11/29/2013 12:54 AM, Andy Shevchenko wrote: On Thu, Nov 28, 2013 at 10:46 AM, Alexandre Courbot acour...@nvidia.com wrote: Change the format of the platform GPIO lookup tables to make them less confusing and improve lookup efficiency. The previous format was a single linked-list that

Re: [PATCH RFC 0/9]net: stmmac PM related fixes.

2013-12-02 Thread srinivas kandagatla
Hi Dave, Do you have any plans to take this series? Peppe already Acked these series Please let me know if you want me to rebase these patches on any particular branch. Thanks, srini On 19/11/13 05:24, Giuseppe CAVALLARO wrote: On 11/18/2013 12:30 PM, srinivas.kandaga...@st.com wrote: From:

Re: [PATCH RESEND] mfd: mc13xxx: Fix null pointer dereference in mc13xxx_common_init

2013-12-02 Thread Lee Jones
On Sat, 30 Nov 2013, Alexander Shiyan wrote: If this driver being loaded from devicetree, the pdata is NULL. This cause kernel Oops when fsl,mc13xxx-uses-codec and/or fsl,mc13xxx-uses-touch properties is specified. snip The original code is pretty gross. This stuff shouldn't be identifying

Re: [PATCH RESEND] mfd: mc13xxx: Fix null pointer dereference in mc13xxx_common_init

2013-12-02 Thread Lee Jones
On Sat, 30 Nov 2013, Alexander Shiyan wrote: On Sat, Nov 30, 2013 at 08:55:37AM +0400, Alexander Shiyan wrote: If this driver being loaded from devicetree, the pdata is NULL. This cause kernel Oops when fsl,mc13xxx-uses-codec and/or fsl,mc13xxx-uses-touch properties is specified.

Re: [RFT][PATCH] mfd: pcf50633: Correct device name for pcf50633 regulator

2013-12-02 Thread Lee Jones
On Sat, 30 Nov 2013, Axel Lin wrote: Change the device name of the regulator function to the one chosen for MODULE_ALIAS. This fixes kernel auto-module loading for the regulator function. Signed-off-by: Axel Lin axel@ingics.com --- Hi, I don't have the hardware to test, but I think

Re: [PATCH v8 1/2] PWM: atmel-pwm: add PWM controller driver

2013-12-02 Thread Thierry Reding
On Mon, Nov 18, 2013 at 05:13:21PM +0800, Bo Shen wrote: [...] diff --git a/drivers/pwm/pwm-atmel.c b/drivers/pwm/pwm-atmel.c [...] +/* Max value for duty and period Block comments should be of this form: /* * Max value ... * ... */ +static int

[PATCH v2] gpio: better lookup method for platform GPIOs

2013-12-02 Thread Alexandre Courbot
Change the format of the platform GPIO lookup tables to make them less confusing and improve lookup efficiency. The previous format was a single linked-list that required to compare the device name and function ID of every single GPIO defined for each lookup. Switch that to a list of per-device

Re: [RFC patch 0/5] futex: Allow lockless empty check of hashbucket plist in futex_wake()

2013-12-02 Thread Thomas Gleixner
On Sat, 30 Nov 2013, Davidlohr Bueso wrote: On Thu, 2013-11-28 at 12:59 +0100, Peter Zijlstra wrote: On Wed, Nov 27, 2013 at 11:44:38PM -0800, Davidlohr Bueso wrote: How about both enlarging the table _and_ aligning the buckets? As you know, increasing the size of the table also benefits

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

2013-12-02 Thread Mark Rutland
Hi, On Thu, Nov 28, 2013 at 10:37:19PM +, Thierry Reding wrote: On Thu, Nov 28, 2013 at 10:25:11PM +0100, Thierry Reding wrote: On Tue, Nov 12, 2013 at 09:36:55AM +0800, Xiubo Li wrote: [...] +static int fsl_pwm_parse_clk_ps(struct fsl_pwm_chip *fpc) +{ + int ret; + struct

Re: [RFC][PATCHv6+++ 01/13] of: introduce of_property_for_earch_phandle_with_args()

2013-12-02 Thread Hiroshi Doyu
Stephen Warren swar...@wwwdotorg.org wrote @ Sun, 1 Dec 2013 20:00:09 +0100: On 11/29/2013 04:46 AM, Hiroshi Doyu wrote: ... Iterating over a property containing a list of phandles with arguments is a common operation for device drivers. This patch adds a new

Re: [PATCH v3 14/36] mtd: st_spi_fsm: Add device-tree binding documentation

2013-12-02 Thread Lee Jones
+Optional properties: + - st,syscfg : Phandle to boot-device system configuration registers + - st,boot-device-reg : Address of the aforementioned boot-device register(s) + - st,boot-device-spi : Expected boot-device value if booted via this device + +Example: +

[RFC] pwm: Add Freescale FTM PWM driver support

2013-12-02 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 --- I'm sending the RFC patch about the FTM IP block registers read and

Re: [PATCH] mfd: twl-core: Clean up module by removing twl603x pdata handling

2013-12-02 Thread Lee Jones
Since currently nobody uses TWL603x platform data and all new Hmm... when you say nobody, how did you come to this conclusion? Without digging into it and probably not that relevant, it appears there is some references to it in platform data still: $ git grep

Re: [PATCH] gpio: better lookup method for platform GPIOs

2013-12-02 Thread Heikki Krogerus
Hi, On Mon, Dec 02, 2013 at 07:33:35PM +0900, Alex Courbot wrote: On 11/29/2013 08:57 PM, Heikki Krogerus wrote: Hi, On Thu, Nov 28, 2013 at 05:46:28PM +0900, Alexandre Courbot wrote: @@ -88,16 +89,20 @@ Note that GPIO_LOOKUP() is just a shortcut to GPIO_LOOKUP_IDX() where idx = 0. A

Re: [PATCH RESEND] mfd: mc13xxx: Fix null pointer dereference in mc13xxx_common_init

2013-12-02 Thread Alexander Shiyan
Понедельник, 2 декабря 2013, 10:56 UTC от Lee Jones lee.jo...@linaro.org: On Sat, 30 Nov 2013, Alexander Shiyan wrote: On Sat, Nov 30, 2013 at 08:55:37AM +0400, Alexander Shiyan wrote: If this driver being loaded from devicetree, the pdata is NULL. This cause kernel Oops when

Re: [PATCH RESEND] mfd: mc13xxx: Fix null pointer dereference in mc13xxx_common_init

2013-12-02 Thread Lee Jones
On Mon, 02 Dec 2013, Alexander Shiyan wrote: Понедельник, 2 декабря 2013, 10:56 UTC от Lee Jones lee.jo...@linaro.org: On Sat, 30 Nov 2013, Alexander Shiyan wrote: On Sat, Nov 30, 2013 at 08:55:37AM +0400, Alexander Shiyan wrote: If this driver being loaded from devicetree,

[PATCH v12 03/18] memcg: move initialization to memcg creation

2013-12-02 Thread Vladimir Davydov
From: Glauber Costa glom...@openvz.org Those structures are only used for memcgs that are effectively using kmemcg. However, in a later patch I intend to use scan that list inconditionally (list empty meaning no kmem caches present), which simplifies the code a lot. So move the initialization to

[PATCH v12 09/18] vmscan: shrink slab on memcg pressure

2013-12-02 Thread Vladimir Davydov
This patch makes direct reclaim path shrink slabs not only on global memory pressure, but also when we reach memory cgroup limit. To achieve that, it introduces a new per-shrinker flag, SHRINKER_MEMCG_AWARE, which should be set if the shrinker can handle per-memcg reclaim. For such shrinkers,

Re: 3.12: kernel panic when resuming from suspend to RAM (x86_64)

2013-12-02 Thread Thomas Gleixner
On Mon, 2 Dec 2013, Thomas Gleixner wrote: On Sat, 30 Nov 2013, Francis Moreau wrote: Hello Thomas, Sorry for the delay. On 11/29/2013 10:02 AM, Thomas Gleixner wrote: On Fri, 29 Nov 2013, Francis Moreau wrote: Since it seems to be related to rtsx driver or its upper layer,

[PATCH v12 02/18] memcg: consolidate callers of memcg_cache_id

2013-12-02 Thread Vladimir Davydov
From: Glauber Costa glom...@openvz.org Each caller of memcg_cache_id ends up sanitizing its parameters in its own way. Now that the memcg_cache_id itself is more robust, we can consolidate this. Also, as suggested by Michal, a special helper memcg_cache_idx is used when the result is expected to

[PATCH v12 08/18] vmscan: do_try_to_free_pages(): remove shrink_control argument

2013-12-02 Thread Vladimir Davydov
There is no need passing on a shrink_control struct from try_to_free_pages() and friends to do_try_to_free_pages() and then to shrink_zones(), because it is only used in shrink_zones() and the only fields initialized on the top level is gfp_mask, which always equals to scan_control.gfp_mask known

[PATCH v12 15/18] memcg: allow kmem limit to be resized down

2013-12-02 Thread Vladimir Davydov
From: Glauber Costa glom...@openvz.org The userspace memory limit can be freely resized down. Upon attempt, reclaim will be called to flush the pages away until we either reach the limit we want or give up. It wasn't possible so far with the kmem limit, since we had no way to shrink the kmem

[PATCH v12 16/18] vmpressure: in-kernel notifications

2013-12-02 Thread Vladimir Davydov
From: Glauber Costa glom...@openvz.org During the past weeks, it became clear to us that the shrinker interface we have right now works very well for some particular types of users, but not that well for others. The latter are usually people interested in one-shot notifications, that were forced

[PATCH v12 13/18] memcg: per-memcg kmem shrinking

2013-12-02 Thread Vladimir Davydov
If a memory cgroup's kmem limit is less than its user memory limit, we can run into a situation where our allocation fail, but freeing user pages will buy us nothing. In such scenarios we would like to call a specialized reclaimer that only frees kernel memory. This patch adds it. All the magic

  1   2   3   4   5   6   7   8   9   10   >