Re: [PATCH] memory cgroup: update root memory cgroup when node is onlined

2012-09-16 Thread Hugh Dickins
On Fri, 14 Sep 2012, Wen Congyang wrote: > > Hmm, if we don't update lruvec_zone(lruvec) when a node is onlined, > lruver_zone(lruvec) contains a invalid pointer, so we should check > all place that accesses lruvec_zone(lruvec). We store zone in lruvec > but we can't access it. And we can't avoid

Re: [PATCH v4 03/10] pinctrl: mvebu: kirkwood pinctrl driver

2012-09-16 Thread Sebastian Hesselbarth
On 09/17/2012 03:55 AM, Nicolas Pitre wrote: On Sun, 16 Sep 2012, Jason Cooper wrote: On Sun, Sep 16, 2012 at 09:46:52AM +0200, Andrew Lunn wrote: +++ b/Documentation/devicetree/bindings/pinctrl/marvell,kirkwood-pinctrl.txt @@ -0,0 +1,279 @@ +* Marvell Kirkwood SoC pinctrl driver for mpp + +Ple

Re: [PATCH v2 04/15] dmaengine: Pass no_wakeup parameter via device_prep_dma_cyclic() callback

2012-09-16 Thread Shawn Guo
On Thu, Sep 13, 2012 at 04:37:54PM +0300, Peter Ujfalusi wrote: > Change the parameter list of device_prep_dma_cyclic() so the DMA drivers > can receive the no_wakeup request coming from client drivers. > This feature can be used during audio operation to disable all audio > related interrupts. >

[PATCH/RFC] HID: roccat: removing devices from blacklist

2012-09-16 Thread Stefan Achatz
I would suggest to remove the Roccat devices from generic drivers blacklist. Some Distros tend to have kernels without the special modules compiled, which prevents users of these devices to work with live images or installers. The Roccat devices work flawlessly with generic drivers (except the ol

Re: [PATCH v6] pstore/ram: Add ramoops support for the Flattened Device Tree.

2012-09-16 Thread Anton Vorontsov
On Fri, Sep 07, 2012 at 10:29:10PM -0700, Anton Vorontsov wrote: > On Fri, Sep 07, 2012 at 11:29:36AM -0700, Bryan Freed wrote: > > When called with a non-zero of_node, fill out a new ramoops_platform_data > > with data from the specified Flattened Device Tree node. > > Update ramoops documentation

RE: [PATCH v3 4/5] IIO : ADC: tiadc: Add support of TI's ADC driver

2012-09-16 Thread Patil, Rachna
On Fri, Sep 14, 2012 at 13:50:57, Jonathan Cameron wrote: > On 14/09/12 07:00, Patil, Rachna wrote: > > On Thu, Sep 13, 2012 at 17:43:30, Jonathan Cameron wrote: > >> On 13/09/12 11:40, Patil, Rachna wrote: > >>> This patch adds support for TI's ADC driver. > >>> This is a multifunctional device. >

Re: [PATCH/RFC 0/4] Deferrable timers support for timerfd API

2012-09-16 Thread Anton Vorontsov
Hi all, On Sat, Sep 01, 2012 at 10:43:35PM -0700, Anton Vorontsov wrote: > This patch set implements a userland-side API for generic deferrable > timers, per linux/timer.h: > > * A deferrable timer will work normally when the system is busy, but > * will not cause a CPU to come out of idle just

Re: [RFC PATCH] drivers: phy: add generic PHY framework

2012-09-16 Thread ABRAHAM, KISHON VIJAY
Hi, On Mon, Sep 17, 2012 at 6:50 AM, Chen Peter-B29397 wrote: > >> >> The PHY framework provides a set of API's for the PHY drivers to >> create/remove a PHY and the PHY users to obtain a reference to the PHY >> using or without using phandle. If the PHY users has to obtain a >> reference to >> t

Re: [PATCH] DMA: PL330: return ENOMEM instead of 0 from pl330_alloc_chan_resources

2012-09-16 Thread Jassi Brar
On Mon, Sep 17, 2012 at 9:57 AM, Inderpal Singh wrote: > Since 0 is not considered as error at dmaengine level, return ENOMEM > from pl330_alloc_chan_resources in case of failure. > > Signed-off-by: Inderpal Singh Acked-by: Jassi Brar > --- > drivers/dma/pl330.c |2 +- > 1 file changed,

Re: [PATCH] memory cgroup: update root memory cgroup when node is onlined

2012-09-16 Thread Wen Congyang
At 09/14/2012 09:36 AM, Hugh Dickins Wrote: > On Thu, 13 Sep 2012, Johannes Weiner wrote: >> On Thu, Sep 13, 2012 at 03:14:28PM +0800, Wen Congyang wrote: >>> root_mem_cgroup->info.nodeinfo is initialized when the system boots. >>> But NODE_DATA(nid) is null if the node is not onlined, so >>> root_

[PATCH] mfd: tps65090: remove redundant check

2012-09-16 Thread Venu Byravarasu
Remove redundant check in is_volatile_reg(). Signed-off-by: Venu Byravarasu --- drivers/mfd/tps65090.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/mfd/tps65090.c b/drivers/mfd/tps65090.c index 50fd87c..074ae32 100644 --- a/drivers/mfd/tps65090.c +++ b/driver

Re: pull request: wireless 2012-09-14

2012-09-16 Thread David Miller
From: "John W. Linville" Date: Fri, 14 Sep 2012 13:46:55 -0400 > Arend van Spriel sends a simple thinko fix to correct a constant, > preventing the setting of an invalid power level. > > Colin Ian King gives us a simple allocation failure check to avoid a > NULL pointer dereference. > > Felix F

[PATCH] ARM: dma-mapping: Fix potential memory leak in atomic_pool_init()

2012-09-16 Thread Sachin Kamat
When either of __alloc_from_contiguous or __alloc_remap_buffer fails to provide a valid pointer, allocated memory is freed up and an error is returned. 'pages' was however not freed before returning error. Cc: Arnd Bergmann Cc: Marek Szyprowski Signed-off-by: Sachin Kamat --- arch/arm/mm/dma-m

RE: [PATCH] pwm: Move AB8500 PWM driver to PWM framework

2012-09-16 Thread Arun MURTHY
> On Fri, Sep 07, 2012 at 03:22:09PM +0200, Thierry Reding wrote: > > On Mon, Sep 03, 2012 at 01:28:44PM +0200, Arun MURTHY wrote: > > > > On Sun, Sep 2, 2012 at 12:30 PM, Thierry Reding > > > > wrote: > > > > > > > > > This commit moves the driver to drivers/pwm and converts it to > > > > > the n

linux-next: manual merge of the drm tree with Linus' tree

2012-09-16 Thread Stephen Rothwell
Hi Dave, Today's linux-next merge of the drm tree got a conflict in drivers/gpu/drm/i915/i915_dma.c between commit 99d0b1db6ccd ("drm/i915: initialize dpio_lock spin lock") from Linus' tree and commit c6a828d3269a ("drm/i915: move all rps state into dev_priv->rps") from the drm tree. I fixed it u

[PATCH] DMA: PL330: return ENOMEM instead of 0 from pl330_alloc_chan_resources

2012-09-16 Thread Inderpal Singh
Since 0 is not considered as error at dmaengine level, return ENOMEM from pl330_alloc_chan_resources in case of failure. Signed-off-by: Inderpal Singh --- drivers/dma/pl330.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/pl330.c b/drivers/dma/pl330.c index e4

Re: [PATCH v2 1/2] mfd: max8925: use register offset as REG in backlight

2012-09-16 Thread Haojian Zhuang
On Thu, Sep 13, 2012 at 4:22 PM, Haojian Zhuang wrote: > Remove the register offset definition. All these register offset > are transfered as IORESOURCE_REG resources. > > Signed-off-by: Haojian Zhuang > --- > drivers/mfd/max8925-core.c | 31 ++--- > drivers/video/backlight/m

[PATCH 9/9] ARM: dts: enable 88pm860x pmic

2012-09-16 Thread Haojian Zhuang
Signed-off-by: Haojian Zhuang --- arch/arm/boot/dts/pxa910-dkb.dts | 137 ++ arch/arm/boot/dts/pxa910.dtsi|4 ++ 2 files changed, 141 insertions(+) diff --git a/arch/arm/boot/dts/pxa910-dkb.dts b/arch/arm/boot/dts/pxa910-dkb.dts index e92be5a..595492a

[PATCH 8/9] mfd: 88pm860x: move gpadc init into touch

2012-09-16 Thread Haojian Zhuang
The initilization of GPADC is moved from core driver to touch driver with DT support. Signed-off-by: Haojian Zhuang --- drivers/input/touchscreen/88pm860x-ts.c | 91 +-- drivers/mfd/88pm860x-core.c | 51 - 2 files changed, 85 insertions

[PATCH 7/9] mfd: 88pm860x: support dt

2012-09-16 Thread Haojian Zhuang
Signed-off-by: Haojian Zhuang --- drivers/input/touchscreen/88pm860x-ts.c | 46 +++ drivers/leds/leds-88pm860x.c| 33 +++- drivers/mfd/88pm860x-core.c | 62 ++- drivers/regulator/88pm8607.c| 35

[PATCH 6/9] mfd: 88pm860x: use irqdomain

2012-09-16 Thread Haojian Zhuang
Use irqdomain and allocating interrupts. It's necessary for supporting DT mode. Signed-off-by: Haojian Zhuang --- drivers/mfd/88pm860x-core.c | 65 +-- 1 file changed, 38 insertions(+), 27 deletions(-) diff --git a/drivers/mfd/88pm860x-core.c b/drivers/

[PATCH 5/9] mfd: 88pm860x: move initilization code

2012-09-16 Thread Haojian Zhuang
Move probe() and other functions from 88pm860x-i2c.c to 88pm860x-core.c. Since it could benefit to handle DT information. Signed-off-by: Haojian Zhuang --- drivers/mfd/88pm860x-core.c | 162 +- drivers/mfd/88pm860x-i2c.c | 160

[PATCH 4/9] mfd: 88pm860x: avoid to check resource for preg regulator

2012-09-16 Thread Haojian Zhuang
From: Haojian Zhuang Since PREG regulator is the only one regulator in 88PM8606, and other regulators are in 88PM8607. Checking resource as identifying regulator is not a good way. We can use NULL resource to indentify PREG regulator. Signed-off-by: Haojian Zhuang --- drivers/mfd/88pm860x-core

[PATCH 3/9] regulator: 88pm860x: add pre-regulator support for 88pm860x regulator

2012-09-16 Thread Haojian Zhuang
From: "Jett.Zhou" Pre-regulator of 88pm8606 is mainly for support charging based on vbus, it needs to be enabled for charging battery, and will be disabled in some exception condition like over-temp. Add the pre-regulator support for 88pm860x regulator driver. Signed-off-by: Jett.Zhou Acked-by:

[PATCH 2/9] mfd: max8925: remove array in regulator platform data

2012-09-16 Thread Haojian Zhuang
Remove array in parent's platform data. Use struct regulator_init_data as regulator device's platform data directly. So a lot of pdata are added into parent's platform data. And voltage out register offset is used as IORESOURCE_REG to distinguish different regualtor devices. Signed-off-by: Haojian

[PATCH 1/9] mfd: max8925: use register offset as REG in backlight

2012-09-16 Thread Haojian Zhuang
Remove the register offset definition. All these register offset are transfered as IORESOURCE_REG resources. Signed-off-by: Haojian Zhuang --- drivers/mfd/max8925-core.c | 31 ++--- drivers/video/backlight/max8925_bl.c | 79 ++ 2 files change

[PATCH 0/9] mfd: update on 88pm860x and max8925

2012-09-16 Thread Haojian Zhuang
1. Updates the patch of max8925 of building issue. 2. Include Jett's PREG regulator patch. 3. Support DT in 88pm860x. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majo

Re: [PATCH v3] memory leak fix while calling system_path

2012-09-16 Thread Namhyung Kim
Hi, On Fri, 14 Sep 2012 11:14:13 +0800, liang xie wrote: > memory leak fix while calling system_path > > Since v1: Remove an unnecessary null pointer check per Felipe's comments > Since v2: Make system_path&perf_exec_path always return dynamically > allocated string > > Signed-off-by: xieliang >

Re: [PATCH] [V1]power: battery: Generic battery driver using IIO

2012-09-16 Thread anish singh
Hello Lars, Thanks for the review.All of you comments are valid but i just have a small question w.r.t one of your comments. Inline below. On Sun, Sep 16, 2012 at 9:11 PM, Lars-Peter Clausen wrote: > On 09/16/2012 09:14 AM, anish kumar wrote: >> From: anish kumar >> >> In last version: >> Addre

Re: [PATCH] dmaengine: add dmanegine slave map api's

2012-09-16 Thread Vinod Koul
On Fri, 2012-09-14 at 12:18 +0100, Russell King - ARM Linux wrote: > I'm not saying take the slave_id out of the map. I'm saying, let the > DMA engine driver itself figure out what dma_chan to return. But wont that assume the dma controller knows which channel to allocate. And how would it know t

linux-next: build failure after merge of the target-updates tree

2012-09-16 Thread Stephen Rothwell
Hi Nicholas, After merging the target-updates tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/target/target_core_transport.c: In function 'transport_get_sense_buffer': drivers/target/target_core_transport.c:582:22: error: 'struct target_core_fabric_ops' has no mem

Re: [PATCH] fix ZOMBIE state bug in PPPOE driver

2012-09-16 Thread Cong Wang
On Sun, Sep 16, 2012 at 10:30 AM, Xiaodong Xu wrote: > Hi All, > > I found a bug in kernel PPPOE driver. > When PPPOE is running over a virtual ethernet interface (e.g., a > bonding interface) and the user tries to delete the interface in case > the PPPOE state is ZOMBIE, the kernel will loop infi

linux-next: manual merge of the target-updates tree with Linus' tree

2012-09-16 Thread Stephen Rothwell
Hi Nicholas, Today's linux-next merge of the target-updates tree got a conflict in drivers/target/target_core_transport.c between commit 6138ed2ab879 ("target: move transport_get_sense_data") from Linus' tree and commit 867c8e7dae31 ("target: Simplify fabric sense data length handling") from the t

Re: [RFC] status of execve() work - per-architecture patches solicited

2012-09-16 Thread Al Viro
On Mon, Sep 10, 2012 at 06:20:01PM -0400, Mark Salter wrote: > C6X works fine with these patches to switch over to generic code. > > > Mark Salter (2): > c6x: implement ret_from_kernel_execve() and switch to generic > kernel_execve() > c6x: switch to generic sys_execve() > > arch/c6x/in

Re: [PATCH v3 00/15] ASoC: OMAP: Convert to use dmaengine

2012-09-16 Thread Vinod Koul
On Fri, 2012-09-14 at 15:05 +0300, Peter Ujfalusi wrote: > Hello, dmaengine parts look good to me. How do you want to get this merged, dmaengine or ASoC tree? > > Changes since v2: > - As it has been discussed the no_wakeup parameter has been replaced with > flags > for the dmaengine APIs > >

Re: [PATCH v3 02/15] dmaengine: omap: Add support for pause/resume in cyclic dma mode

2012-09-16 Thread Vinod Koul
On Fri, 2012-09-14 at 15:05 +0300, Peter Ujfalusi wrote: > - /* FIXME: not supported by platform private API */ > - return -EINVAL; > + /* Pause/Resume only allowed with cyclic mode */ > + if (!c->cyclic) > + return -EINVAL; This is not a dma restriction right

linux-next: manual merge of the scsi tree with the pci tree

2012-09-16 Thread Stephen Rothwell
Hi James, Today's linux-next merge of the scsi tree got a conflict in drivers/scsi/qla2xxx/qla_nx.c between commit 100924388407 ("[SCSI] qla4xxx: Use PCI Express Capability accessors") from the pci tree and commit 8fbb85e5f4c0 ("[SCSI] qla2xxx: Wrong PCIe(2.5Gb/s x8) speed in the kerenel message f

Re: [ANNOUNCE] kmod 10

2012-09-16 Thread Bruce Dubbs
Jan Engelhardt wrote: On Thursday 2012-09-06 21:37, Lucas De Marchi wrote: kmod 10 is out: ftp://ftp.kernel.org/pub/linux/utils/kernel/kmod/kmod-10.tar.xz ftp://ftp.kernel.org/pub/linux/utils/kernel/kmod/kmod-10.tar.sign make check fails here with glibc-2.15, gcc-4.7, x86_64, due to what se

Re: [PATCH 1/8] DMA: PL330: use prefix in reg names to build under x86

2012-09-16 Thread Vinod Koul
On Fri, 2012-09-14 at 18:23 +0200, Davide Ciminaghi wrote: > From: Alessandro Rubini > > This driver would not compile if ARM_AMBA is selected under x86, > because "CS" and "DS" are already defined there. But AMBA > is used in the x86 world by a PCI-to-AMBA bridge, to be submitted. > > The patc

Re: [PATCH v3] ACPI/pci-bind: remove bind/unbind callbacks from acpi_device_ops

2012-09-16 Thread Yinghai Lu
On Sun, Sep 16, 2012 at 11:02 AM, Yinghai Lu wrote: > On Sun, Sep 16, 2012 at 9:49 AM, Yinghai Lu wrote: >> On Sun, Sep 16, 2012 at 7:09 AM, Jiang Liu wrote: >>> @@ -160,10 +160,13 @@ static int acpi_bind_one(struct device *dev, >>> acpi_handle handle) >>> } >>> dev->archdata.ac

Re: [PATCH v2 5/9] ACPI/pci-bind: remove bind/unbind callbacks from acpi_device_ops

2012-09-16 Thread Yinghai Lu
On Sat, Sep 15, 2012 at 4:27 PM, Yinghai Lu wrote: > On Fri, Sep 14, 2012 at 8:05 PM, Jiang Liu wrote: >> From: Jiang Liu >> >> Now ACPI devices are created before/destroyed after corresponding PCI >> devices, and acpi_platform_notify/acpi_platform_notify_remove will >> update PCI<->ACPI bindin

[PATCH] workqueue: fix leak of active

2012-09-16 Thread Lai Jiangshan
try_to_grab_pending() leave LINKED tagalong in delayed queue when it deletes a work. This behavior will cause future cwq_activate_first_delayed() increase the ->nr_active wrongly, and may cause the whole cwq frozen. example: state: cwq->max_active = 1, cwq->nr_active = 1 one work in cwq-

Re: [ANNOUNCE] kmod 10

2012-09-16 Thread Jan Engelhardt
On Thursday 2012-09-06 21:37, Lucas De Marchi wrote: > >kmod 10 is out: > >ftp://ftp.kernel.org/pub/linux/utils/kernel/kmod/kmod-10.tar.xz >ftp://ftp.kernel.org/pub/linux/utils/kernel/kmod/kmod-10.tar.sign make check fails here with glibc-2.15, gcc-4.7, x86_64, due to what seems to be duplicated

Re: [PATCH] sched: unify the check on atomic sleeping in __might_sleep() and schedule_bug()

2012-09-16 Thread Michael Wang
On 09/14/2012 11:02 AM, Michael Wang wrote: > On 09/13/2012 06:04 PM, Peter Zijlstra wrote: >> On Wed, 2012-08-22 at 10:40 +0800, Michael Wang wrote: >>> From: Michael Wang >>> >>> Fengguang Wu has reported the bug: >>> >>> [0.043953] BUG: scheduling while atomic: swapper/0/1/0x1002 >>> [

Re: [PATCH] dma-debug: New interfaces to debug dma mapping errors

2012-09-16 Thread Greg KH
On Sun, Sep 16, 2012 at 06:52:51PM -0600, Shuah Khan wrote: > +void debug_dma_dump_map_errors(struct device *dev, int all) > +{ > + if (all) { > + dev_info(dev, > + "DMA-API: DMA map error summary:\n" > + "DMA map errors returned = %d\n" > +

Re: [PATCH v4 03/10] pinctrl: mvebu: kirkwood pinctrl driver

2012-09-16 Thread Nicolas Pitre
On Sun, 16 Sep 2012, Jason Cooper wrote: > On Sun, Sep 16, 2012 at 09:46:52AM +0200, Andrew Lunn wrote: > > > +++ > > > b/Documentation/devicetree/bindings/pinctrl/marvell,kirkwood-pinctrl.txt > > > @@ -0,0 +1,279 @@ > > > +* Marvell Kirkwood SoC pinctrl driver for mpp > > > + > > > +Please refer

[PATCH v3] drivers/tty: Folding Android's keyreset driver in sysRQ

2012-09-16 Thread mathieu . poirier
From: "Mathieu J. Poirier" This patch adds keyreset functionality to the sysrq driver. It allows certain button/key combinations to be used in order to trigger device resets. The first time the key-combo is detected a work function that syncs the filesystems is scheduled and the kernel rebooted.

[ 115/135] USB: add device quirk for Joss Optical touchboard

2012-09-16 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Alan Stern commit 92fc7a8b0f20bdb243c706daf42658e8e0cd2ef0 upstream. This patch (as1604) adds a CONFIG_INTF_STRINGS quirk for the Joss infrared touchboard device. The device doesn't like to be

[ 134/135] VFS: make vfs_fstat() use f[get|put]_light()

2012-09-16 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Linus Torvalds commit e994defb7b6813ba6fa7a2a36e86d2455ad1dc35 upstream. Use the *_light() versions that properly avoid doing the file user count updates when they are unnecessary. Signed-off-

[ 129/135] drm/radeon: fix up pll selection on DCE5/6

2012-09-16 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit 26fe45a0a76f165425f332a5aaa298f149f9db22 upstream. Selecting ATOM_PPLL_INVALID should be equivalent as the DCPLL or PPLL0 are already programmed for the DISPCLK, but the pre

[ 001/135] [PARISC] Redefine ATOMIC_INIT and ATOMIC64_INIT to drop the casts

2012-09-16 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Mel Gorman commit bba3d8c3b3c0f2123be5bc687d1cddc13437c923 upstream. The following build error occured during a parisc build with swap-over-NFS patches applied. net/core/sock.c:274:36: error:

[ 130/135] drm/radeon: fix ordering in pll picking on dce4+

2012-09-16 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit ecd67955fd4c8e66e4df312098989d5fa7da624c upstream. No functional change, but re-order the cases so they evaluate properly due to the way the DCE macros work. Noticed by kal

linux-next: build failure after merge of the arm64 tree

2012-09-16 Thread Stephen Rothwell
Hi Catalin, After merging the arm64 tree, today's linux-next build () failed like this: arch/powerpc/kernel/sys_ppc32.c:146:17: error: conflicting types for 'compat_sys_sendfile' include/linux/compat.h:593:16: note: previous declaration of 'compat_sys_sendfile' was here arch/powerpc/kernel/sys_

[ 119/135] ARM: 7513/1: Make sure dtc is built before running it

2012-09-16 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: David Brown commit 70b0476a2394de4f4e32e0b67288d80ff71ca963 upstream. 'make dtbs' in a clean tree will try running the dtc before actually building it. Make these rules depend upon the scripts

[ 110/135] tty: serial: imx: console write routing is unsafe on SMP

2012-09-16 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Xinyu Chen commit 9ec1882df244c4ee1baa692676fef5e8b0f5487d upstream. The console feature's write routing is unsafe on SMP with the startup/shutdown call. There could be several consumers of th

[ 131/135] drm/radeon: rework pll selection (v3)

2012-09-16 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit 985f61f7ee647ad570c05eab0b74915da2ac8e19 upstream. For DP we can use the same PPLL for all active DP encoders. Take advantage of that to prevent cases where we may end up s

[ 135/135] vfs: make O_PATH file descriptors usable for fstat()

2012-09-16 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Linus Torvalds commit 55815f70147dcfa3ead5738fd56d3574e2e3c1c2 upstream. We already use them for openat() and friends, but fstat() also wants to be able to use O_PATH file descriptors. This sh

[ 122/135] USB: ftdi_sio: do not claim CDC ACM function

2012-09-16 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Bjørn Mork commit f08dea734844aa42ec57c229b0b73b3d7d21f810 upstream. The Microchip vid:pid 04d8:000a is used for their CDC ACM demo firmware application. This is a device with a single functi

[ 125/135] hwmon: (twl4030-madc-hwmon) Initialize uninitialized structure elements

2012-09-16 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Guenter Roeck commit 73d7c119255615a26070f9d6cdb722a166a29015 upstream. twl4030_madc_conversion uses do_avg and type structure elements of twl4030_madc_request. Initialize structure to avoid ra

[ 127/135] vmwgfx: add dumb ioctl support

2012-09-16 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. Is this useful for 3.2 or does it depend on any other later changes? (All I know is that it builds cleanly.) -- From: Dave Airlie commit 5e1782d224c79b26ab7d5c31e3f87657000714fb upstream. Testing and w

[ 007/135] Input: i8042 - add Gigabyte T1005 series netbooks to noloop table

2012-09-16 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Torokhov commit 7b125b94ca16b7e618c6241cb02c4c8060cea5e3 upstream. They all define their chassis type as "Other" and therefore are not categorized as "laptops" by the driver, which tries

[ 126/135] ALSA: ice1724: Use linear scale for AK4396 volume control.

2012-09-16 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Matteo Frigo commit 3737e2be505d872bf2b3c1cd4151b2d2b413d7b5 upstream. The AK4396 DAC has a linear-scale attentuator, but sound/pci/ice1712/prodigy_hifi.c used a log scale instead, which is not

[ 124/135] EHCI: Update qTD next pointer in QH overlay region during unlink

2012-09-16 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Pavankumar Kondeti commit 3d037774b42ed677f699b1dce7d548d55f4e4c2b upstream. There is a possibility of QH overlay region having reference to a stale qTD pointer during unlink. Consider an endp

[ 128/135] ahci: Add alternate identifier for the 88SE9172

2012-09-16 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Alan Cox commit 17c60c6b763cb5b83b0185e7d38d01d18e55a05a upstream. This can also appear as 0x9192. Reported in bugzilla and confirmed with the board documentation for these boards. Resolves-bu

RE: [RFC PATCH] drivers: phy: add generic PHY framework

2012-09-16 Thread Chen Peter-B29397
> > The PHY framework provides a set of API's for the PHY drivers to > create/remove a PHY and the PHY users to obtain a reference to the PHY > using or without using phandle. If the PHY users has to obtain a > reference to > the PHY without using phandle, the platform specfic intialization code

[ 116/135] kobject: fix oops with "input0: bad kobj_uevent_env content in show_uevent()"

2012-09-16 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Bjørn Mork commit 60e233a56609fd963c59e99bd75c663d63fa91b6 upstream. Fengguang Wu writes: > After the __devinit* removal series, I can still get kernel panic in > show_uevent(). So there are

[ 123/135] staging: r8712u: fix bug in r8712_recv_indicatepkt()

2012-09-16 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet commit abf02cfc179bb4bd30d05f582d61b3b8f429b813 upstream. 64bit arches have a buggy r8712u driver, let's fix it. skb->tail must be set properly or network stack behavior is undefi

[ 003/135] ARM: OMAP2+: Fix dmtimer set source clock failure

2012-09-16 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Jon Hunter commit 54f32a35f4d3a653a18a2c8c239f19ae060bd803 upstream. Calling the dmtimer function omap_dm_timer_set_source() fails if following a call to pm_runtime_put() to disable the timer.

[ 010/135] [SCSI] Fix Device not ready issue on mpt2sas

2012-09-16 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: James Bottomley commit 14216561e164671ce147458653b1fea06a4ada1e upstream. This is a particularly nasty SCSI ATA Translation Layer (SATL) problem. SAT-2 says (section 8.12.2) if the de

[ 012/135] drm/i915: Fix assert_pch_hdmi_disabled to mention HDMI (not DP)

2012-09-16 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Adam Jackson commit 23c99e775d14f01ba45a5affd2fb51af4328359c upstream. Signed-off-by: Adam Jackson Signed-off-by: Daniel Vetter Signed-off-by: Ben Hutchings --- drivers/gpu/drm/i915/intel_d

[ 118/135] SUNRPC: Fix a UDP transport regression

2012-09-16 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Trond Myklebust commit f39c1bfb5a03e2d255451bff05be0d7255298fa4 upstream. Commit 43cedbf0e8dfb9c5610eb7985d5f21263e313802 (SUNRPC: Ensure that we grab the XPRT_LOCK before calling xprt_alloc_sl

[ 004/135] ARM: Orion: Set eth packet size csum offload limit

2012-09-16 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: "Arnaud Patard (Rtp)" commit 58569aee5a1a5dcc25c34a0a2ed9a377874e6b05 upstream. The mv643xx ethernet controller limits the packet size for the TX checksum offloading. This patch sets this limit

[ 111/135] tty: serial: imx: dont reinit clock in imx_setup_ufcr()

2012-09-16 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Dirk Behme commit 7be0670f7b9198382938a03ff3db7f47ef6b4780 upstream. Remove the clock configuration from imx_setup_ufcr(). This isn't needed here and will cause garbage output if done. To be b

[ 113/135] USB: ftdi-sio: add support for more Physik Instrumente devices

2012-09-16 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Éric Piel commit dafc4f7be1a556ca3868d343c00127728b397068 upstream. Commit b69cc672052540 added support for the E-861. After acquiring a C-867, I realised that every Physik Instrumente's devi

[ 108/135] usb: host: xhci: Fix Compliance Mode on SN65LVPE502CP Hardware

2012-09-16 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: "Alexis R. Cortes" commit 71c731a296f1b08a3724bd1b514b64f1bda87a23 upstream. This patch is intended to work around a known issue on the SN65LVPE502CP USB3.0 re-driver that can delay the negotia

[ 107/135] xhci: Make handover code more robust

2012-09-16 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Matthew Garrett commit e955a1cd086de4d165ae0f4c7be7289d84b63bdc upstream. My test platform (Intel DX79SI) boots reliably under BIOS, but frequently crashes when booting via UEFI. I finally trac

[ 112/135] ibmveth: Fix alignment of rx queue bug

2012-09-16 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Santiago Leon commit d90c92fee89ccd75ef2646f3bde0b4c0450666c3 upstream. This patch fixes a bug found by Nish Aravamudan (https://lkml.org/lkml/2012/5/15/220) where the driver is not following t

[ 009/135] [SCSI] megaraid_sas: Move poll_aen_lock initializer

2012-09-16 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Kashyap Desai commit bd8d6dd43a77bfd2b8fef5b094b9d6095e169dee upstream. The following patch moves the poll_aen_lock initializer from megasas_probe_one() to megasas_init(). This prevents a cras

[ 015/135] ARM: imx6: spin the cpu until hardware takes it down

2012-09-16 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Shawn Guo commit c944b0b9354ea06ffb0c8a7178949f1185f9f499 upstream. Though commit 602bf40 (ARM: imx6: exit coherency when shutting down a cpu) improves the stability of imx6q cpu hotplug a lot,

[ 008/135] [SCSI] mpt2sas: Fix for Driver oops, when loading driver with max_queue_depth command line option to a very small value

2012-09-16 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: "sreekanth.re...@lsi.com" commit 338b131a3269881c7431234855c93c219b0979b6 upstream. If the specified max_queue_depth setting is less than the expected number of internal commands, then driver w

[ 078/135] time: Improve sanity checking of timekeeping inputs

2012-09-16 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: John Stultz This is a -stable backport of 4e8b14526ca7fb046a81c94002c1c43b6fdf0e9b Unexpected behavior could occur if the time is set to a value large enough to overflow a 64bit ktime_t (which

[ 088/135] ARM: 7496/1: hw_breakpoint: dont rely on dfsr to show watchpoint access type

2012-09-16 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Will Deacon commit bf8801145c01ab600f8df66e8c879ac642fa5846 upstream. >From ARM debug architecture v7.1 onwards, a watchpoint exception causes the DFAR to be updated with the faulting data addr

[ 101/135] rt2x00: Fix word size of rt2500usb MAC_CSR19 register.

2012-09-16 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Gertjan van Wingerde commit 6ced58a5dbb94dbfbea1b33ca3c56d1e929cd548 upstream. The register is 16 bits wide, not 32. Signed-off-by: Gertjan van Wingerde Acked-by: Ivo Van Doorn Signed-off-by

[ 105/135] xhci: Switch PPT ports to EHCI on shutdown.

2012-09-16 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Sarah Sharp commit e95829f474f0db3a4d940cae1423783edd966027 upstream. The Intel desktop boards DH77EB and DH77DF have a hardware issue that can be worked around by BIOS. If the USB ports are s

[ 081/135] drm/i915: Wait for all pending operations to the fb before disabling the pipe

2012-09-16 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Chris Wilson During modeset we have to disable the pipe to reconfigure its timings and maybe its size. Userspace may have queued up command buffers that depend upon the pipe running in a certain

[ 017/135] xen/setup: Fix one-off error when adding for-balloon PFNs to the P2M.

2012-09-16 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Konrad Rzeszutek Wilk commit c96aae1f7f393387d160211f60398d58463a7e65 upstream. When we are finished with return PFNs to the hypervisor, then populate it back, and also mark the E820 MMIO and E

[ 014/135] OMAPFB: fix framebuffer console colors

2012-09-16 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Grazvydas Ignotas commit c1c52848cef52e157468b8879fc3cae23b6f3a99 upstream. omapfb does not currently set pseudo palette correctly for color depths above 16bpp, making red text invisible, comma

[ 016/135] ARM: dts: imx51-babbage: fix esdhc cd/wp properties

2012-09-16 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Shawn Guo commit a46d2619d7180bda12bad2bf15bbd0731dfc2dcf upstream. The binding doc and dts use properties "fsl,{cd,wp}-internal" while esdhc driver uses "fsl,{cd,wp}-controller". Fix binding

[ 102/135] rt2x00: Fix rfkill polling prior to interface start.

2012-09-16 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Gertjan van Wingerde commit a396e10019eaf3809b0219c966865aaafec12630 upstream. We need to program the rfkill switch GPIO pin direction to input at device initialization time, not only when the

[ 100/135] rt2x00: Identify ASUS USB-N53 device.

2012-09-16 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Gertjan van Wingerde commit 177ef8360fabdc49ff08d2598c06e7f7a36b53e3 upstream. This is an RT3572 based device. Signed-off-by: Maximilian Engelhardt Signed-off-by: Gertjan van Wingerde Acked-

[ 080/135] time: Move ktime_t overflow checking into timespec_valid_strict

2012-09-16 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: John Stultz This is a -stable backport of cee58483cf56e0ba355fdd97ff5e8925329aa936 Andreas Bombe reported that the added ktime_t overflow checking added to timespec_valid in commit 4e8b14526ca7

[ 103/135] rt2800usb: Added rx packet length validity check

2012-09-16 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Sergei Poselenov commit efd5d6b03bd9c9e0df646c56fb5f4f3e25e5c1ac upstream. On our system (ARM Cortex-M3 SOC running linux-2.6.33) frequent crashes were observed in the rt2800usb module because

[ 104/135] staging: zcache: fix cleancache race condition with shrinker

2012-09-16 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Seth Jennings commit 6d7d9798ad5c97ee4e911dd070dc12dc5ae55bd0 upstream. This patch fixes a race condition that results in memory corruption when using cleancache. The race exists between the z

[ 077/135] fixing dmi match for hp t5745 and hp st5747 thin client

2012-09-16 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Marc Gariepy commit 62004978df3898649e152751eb6ac264a323ec36 upstream. Match the correct information which is DMI_PRODUCT_NAME instead of DMI_BOARD_NAME See dmidecode information on launchpad

[ 076/135] workqueue: UNBOUND -> REBIND morphing in rebind_workers() should be atomic

2012-09-16 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Lai Jiangshan commit 96e65306b81351b656835c15931d1d237b252f27 upstream. The compiler may compile the following code into TWO write/modify instructions. worker->flags &= ~WORKER_UNBOUND

[ 075/135] bnx2x: fix 57840_MF pci id

2012-09-16 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Yuval Mintz [ Upstream commit 5c879d2094946081af934739850c7260e8b25d3c ] Commit c3def943c7117d42caaed3478731ea7c3c87190e have added support for new pci ids of the 57840 board, while failing to

[ 005/135] iwlwifi: fix flow handler debug code

2012-09-16 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Johannes Berg commit 94543a8d4fb302817014981489f15cb3b92ec3c2 upstream. iwl_dbgfs_fh_reg_read() can cause crashes and/or BUG_ON in slub because the ifdefs are wrong, the code in iwl_dump_fh() s

[ 018/135] ARM: imx: select CPU_FREQ_TABLE when needed

2012-09-16 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit f637c4c9405e21f44cf0045eaf77eddd3a79ca5a upstream. The i.MX cpufreq implementation uses the CPU_FREQ_TABLE helpers, so it needs to select that code to be built. This proble

[ 011/135] hwmon: (asus_atk0110) Add quirk for Asus M5A78L

2012-09-16 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Luca Tettamanti commit 43ca6cb28c871f2fbad10117b0648e5ae3b0f638 upstream. The old interface is bugged and reads the wrong sensor when retrieving the reading for the chassis fan (it reads the CP

[ 019/135] drm: remove some potentially dangerous DRM_ERRORs

2012-09-16 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Jesse Barnes commit acb4b992d8a13728044f430b47b9199aa45993e9 upstream. Each of these error messages can be caused by a broken or malicious userspace wanting to spam the dmesg with useless info.

  1   2   3   >