[PATCH v3 0/3] staging: skein: checkpatch.pl warnings

2014-09-29 Thread Eric Rost
Fixes the follwoing checkpatch.pl warnings: WARNING: suspect code indent for conditional statements (16, 16) + for (r = 1; r < 2 * RCNT; r += 2 * SKEIN_UNROLL_512) [...] + { WARNING: suspect code indent for conditional statements (16, 16) + for (r = 1; r <

Re: [PATCH 1/4] UBI: Ensure that all fastmap work is done upon WL shutdown

2014-09-29 Thread Richard Weinberger
Am 30.09.2014 08:26, schrieb Artem Bityutskiy: > On Tue, 2014-09-30 at 00:20 +0200, Richard Weinberger wrote: >> ...otherwise the deferred work might run after datastructures >> got freed and corrupt memory. > > How can this happend? The background thread is stopped by this time > already, so what

Re: [RFC] clk: Make clk API return per-user struct clk instances

2014-09-29 Thread Mike Turquette
Quoting Stephen Boyd (2014-09-29 18:40:23) > On 09/29/14 11:17, Tomeu Vizoso wrote: > > Also moves clock state to struct clk_core, but takes care to change as > > little > > API as possible. > > > > struct clk_hw still has a pointer to a struct clk, which is the > > implementation's per-user clk i

Re: [PATCH 4/4] UBI: Fastmap: Ensure that only one fastmap work is scheduled

2014-09-29 Thread Bityutskiy, Artem
On Tue, 2014-09-30 at 00:20 +0200, Richard Weinberger wrote: > + spin_lock(&ubi->wl_lock); > + ubi->fm_work_scheduled = 0; > + spin_unlock(&ubi->wl_lock); Andrew Morton once said me that if I am protecting an integer change like this with a spinlock, I have a problem in my lockin

Re: [RFC] UBI bitrot checking

2014-09-29 Thread Bityutskiy, Artem
On Wed, 2014-09-24 at 00:06 +0200, Richard Weinberger wrote: > This is a very initial draft for one possibility of bitrot checking in UBI. > The basic idea is to have a worker function which reads a complete PEB and > schedules scrubbing if bit flips are detected. > Currently this check is triggere

Re: [PATCH 2/2] regulator: add mxs regulator driver

2014-09-29 Thread Stefan Wahren
Am 29.09.2014 um 19:13 schrieb Mark Brown: > On Mon, Sep 29, 2014 at 08:38:51AM +0200, Stefan Wahren wrote: > >> I'm searching for a good regulator implementation example. >> Does it apply to ti-abb-regulator.c and twl-regulator.c? > Possibly. But bear in mind that it's important to understand the

Re: [PATCH v2 2/4] staging: skein: Additional Whitespace Issues

2014-09-29 Thread Joe Perches
On Tue, 2014-09-30 at 01:10 -0500, Eric Rost wrote: > Fixes leading and trailing whitespace issues. [] > diff --git a/drivers/staging/skein/skein_block.c > b/drivers/staging/skein/skein_block.c [] > @@ -36,7 +36,7 @@ > #define debug_save_tweak(ctx) \ > { \

[PATCH] net: ethernet : stmicro: fixed power suspend and resume failure in stmmac driver

2014-09-29 Thread hliang1025
From: Hao Liang This is the fix for a power management issue caused by suspend and resume function in stmmac_main.c. After enable CONFIG_DEBUG_ATOMIC_SLEEP which enable sleep-inside atomic section checking, power managemet can not work normally. Board couldn't wakeup successfully after suspend

Re: Two lame typo fixes

2014-09-29 Thread Bityutskiy, Artem
On Tue, 2014-09-30 at 00:24 +0200, Richard Weinberger wrote: > On Tue, Sep 16, 2014 at 3:30 PM, Richard Weinberger wrote: > > ...found them while browsing. > > > > Thanks, > > //richard > > > > [PATCH 1/2] UBI: Fix trivial typo in __schedule_ubi_work > > [PATCH 2/2] UBIFS: Fix trivial typo in powe

Re: [RFC 4/7] soc: qcom: Add Shared Memory Manager driver

2014-09-29 Thread Kiran Padwal
Hi, On Tuesday 30 September 2014 11:47 AM, Kiran Padwal wrote: > Hi Bjorn, > > On Tuesday 30 September 2014 06:04 AM, Bjorn Andersson wrote: >> The Shared Memory Manager driver implements an interface for allocating >> and accessing items in the memory area shared among all of the >> processors

Re: [Xen-devel] [PATCH] xen/xen-scsiback: Need go to fail after xenbus_dev_error()

2014-09-29 Thread Chen Gang
On 9/29/14 21:57, David Vrabel wrote: > On 29/09/14 10:59, Chen Gang wrote: >> >> >> If no any additional reply within 2 days, I shall send patch v2 for it: >> >> "use dev_warn() instead of xenbus_dev_error() and remove 'fail' code block" > > I think this driver is fine as-is and does not need a

Re: [PATCH 1/4] UBI: Ensure that all fastmap work is done upon WL shutdown

2014-09-29 Thread Artem Bityutskiy
On Tue, 2014-09-30 at 00:20 +0200, Richard Weinberger wrote: > ...otherwise the deferred work might run after datastructures > got freed and corrupt memory. How can this happend? The background thread is stopped by this time already, so what are the other possibilities? And why is this fastmap-onl

Re: [RFC][PATCH] ftracetest: Add a couple of ftrace test cases

2014-09-29 Thread Namhyung Kim
Hi Masami, On Mon, 29 Sep 2014 20:40:51 +0900, Masami Hiramatsu wrote: > (2014/09/26 23:46), Namhyung Kim wrote: >> The perf should be built with no extra dependencies (other than libc). >> It won't provide rich features but basic functionality (record, report, >> stat) should be supported. And I

RE: [f2fs-dev] [PATCH 1/4] f2fs: check the use of macros on block counts and addresses

2014-09-29 Thread Chao Yu
Hi Jaegeuk, > -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Friday, September 26, 2014 12:55 PM > To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Cc: Jaegeuk Kim > Subject: [f2fs-dev] [PATCH 1/4] f2fs:

Re: [RFC 4/7] soc: qcom: Add Shared Memory Manager driver

2014-09-29 Thread Kiran Padwal
Hi Bjorn, On Tuesday 30 September 2014 06:04 AM, Bjorn Andersson wrote: > The Shared Memory Manager driver implements an interface for allocating > and accessing items in the memory area shared among all of the > processors in a Qualcomm platform. > > Signed-off-by: Bjorn Andersson > --- > +

Re: [PATCH 2/4 v2] f2fs: support atomic_write feature for database

2014-09-29 Thread Jaegeuk Kim
Change log from v1: o change data structures to fix race conditions This patch introduces a very limited functionality for atomic write support. In order to support atomic write, this patch adds two ioctls: o F2FS_IOC_ATOMIC_WRITE o F2FS_IOC_ATOMIC_COMMIT For F2FS_IOC_ATOMIC_WRITE, this patch

[PATCH v8 3/3] dt-bindings: video: Add documentation for rockchip vop

2014-09-29 Thread Mark Yao
From: Mark yao This adds binding documentation for Rockchip SoC VOP driver. Signed-off-by: Mark Yao Acked-by: Daniel Vetter Reviewed-by: Rob Clark --- Changes in v2: - rename "lcdc" to "vop" - add vop reset - add iommu node - add port for display-subsystem Changes in v3: None Changes in v4:

[PATCH v2 4/4] staging: skein: File Reorg

2014-09-29 Thread Eric Rost
Reorganizes file to remove #defines from middle of functions. Also removes #if'd loop declarations and adds ternary if driven loops. Signed-off-by: Eric Rost --- drivers/staging/skein/skein_block.c | 568 ++- 1 file changed, 291 insertions(+), 277 deletions(-) d

Re: [PATCH 1/1] pci/quirks: fix a dmar fault for intel 82599 card

2014-09-29 Thread Li, ZhenHua
Add Joerg to CC list. For it is also related to iommu module. Joerg, There was a try for this dmar fault, https://lkml.org/lkml/2014/8/18/118 This patch is trying to fix the same thing. Zhenhua On 09/30/2014 02:09 PM, Li, Zhen-Hua wrote: On a HP system with Intel Corporation 82599 eth

[PATCH v8 2/3] dt-bindings: video: Add for rockchip display subsytem

2014-09-29 Thread Mark Yao
From: Mark yao This add a display subsystem comprise the all display interface nodes. Signed-off-by: Mark Yao Signed-off-by: Daniel Kurtz Acked-by: Daniel Vetter Reviewed-by: Rob Clark --- Changes in v2: - add DRM master device node to list all display nodes that comprise the graphics subs

[PATCH v2 3/4] staging: skein: In progress changes

2014-09-29 Thread Eric Rost
In progress commit Signed-off-by: Eric Rost --- drivers/staging/skein/skein_block.c | 132 +++ 1 file changed, 70 insertions(+), 62 deletions(-) diff --git a/drivers/staging/skein/skein_block.c b/drivers/staging/skein/skein_block.c index 71c14f5..b8e4bd8 100644

[PATCH v8 1/3] drm: rockchip: Add basic drm driver

2014-09-29 Thread Mark Yao
From: Mark yao This patch adds the basic structure of a DRM Driver for Rockchip Socs. Signed-off-by: Mark Yao Signed-off-by: Daniel Kurtz Acked-by: Daniel Vetter Reviewed-by: Rob Clark --- Changes in v2: - use the component framework to defer main drm driver probe until all VOP devices hav

Re: [PATCH 08/15] powerpc/mm: Add new hash_page_mm()

2014-09-29 Thread Michael Neuling
> > You also added code to handle KERNEL_REGION_ID in > > [PATCH 02/15] powerpc/cell: Move data segment faulting code out of cell > > platform. do we need to handle that here ? > > (Sorry missed this on my other reply...) I've refactored that code now so it should be handled in the vsid calculat

[PATCH v2 2/4] staging: skein: Additional Whitespace Issues

2014-09-29 Thread Eric Rost
Fixes leading and trailing whitespace issues. Signed-off-by: Eric Rost --- drivers/staging/skein/skein_block.c | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/drivers/staging/skein/skein_block.c b/drivers/staging/skein/skein_block.c index d497

[PATCH v2 1/4] staging: skein: Whitespace cleanup

2014-09-29 Thread Eric Rost
Pretties up multiline #defines and many other whitespace issues Signed-off-by: Eric Rost --- drivers/staging/skein/skein_block.c | 585 +++ 1 file changed, 315 insertions(+), 270 deletions(-) diff --git a/drivers/staging/skein/skein_block.c b/drivers/staging/ske

Re: [PATCH v2 1/2] perf callchain: Create an address space per thread

2014-09-29 Thread Namhyung Kim
Hi Jiri, On Mon, 29 Sep 2014 10:34:52 +0200, Jiri Olsa wrote: > On Mon, Sep 29, 2014 at 01:58:11PM +0900, Namhyung Kim wrote: >> @@ -37,6 +38,9 @@ struct thread *thread__new(pid_t pid, pid_t tid) >> thread->cpu = -1; >> INIT_LIST_HEAD(&thread->comm_list); >> >> +

[PATCH v8 0/3] Add drm driver for Rockchip Socs

2014-09-29 Thread Mark Yao
This a series of patches is a DRM Driver for Rockchip Socs, add support for vop devices. Future patches will add additional encoders/connectors, such as eDP, HDMI. The basic "crtc" for rockchip is a "VOP" - Video Output Processor. the vop devices found on Rockchip rk3288 Soc, rk3288 soc have two s

[PATCH 1/1] pci/quirks: fix a dmar fault for intel 82599 card

2014-09-29 Thread Li, Zhen-Hua
On a HP system with Intel Corporation 82599 ethernet adapter, when kernel crashed and the kdump kernel boots with intel_iommu=on, there may be some unexpected DMA requests on this adapter, which will cause DMA Remapping faults like: dmar: DRHD: handling fault status reg 102 dmar: DMAR:[DMA

[PATCH v2 0/4] staging: skein: Fixes whitespace warnings

2014-09-29 Thread Eric Rost
This patchset reorganizes skein_block.c to move macro definitions out of functions, fixes whitspace issues, and removes the need for the #if'd for loops. Eric Rost (4): drivers: staging: skein: Whitespace cleanup drivers: staging: skein: Additional Whitespace Issues drivers: staging: skein:

Re: [PATCH v2 4/6] drivers: uio: Add X-Gene QMTM UIO driver

2014-09-29 Thread Varka Bhadram
I think *drivers* is not required in the commit message... On 09/30/2014 09:56 AM, Ankit Jindal wrote: The Applied Micro X-Gene SOC has on-chip QMTM (Queue manager and Traffic manager) which is hardware based Queue or Ring manager. This QMTM device can be used in conjunction with other devices s

Re: [PATCH] i2c: cros_ec: Remove EC_I2C_FLAG_10BIT

2014-09-29 Thread Wolfram Sang
On Mon, Jun 23, 2014 at 02:20:06PM -0700, Doug Anderson wrote: > In pointed out that the 10-bit > flag in the cros_ec_tunnel was useless. It went into a 16-bit flags > field but was defined at (1 << 16). > > Since we have no 10-bit i2c devices on the other si

[PATCH v2] pinctrl: st: Fix Sparse error

2014-09-29 Thread Pramod Gurav
This change fixes below sparse error, drivers/pinctrl/pinctrl-st.c:1515:31: error: incompatible types for operation (>) drivers/pinctrl/pinctrl-st.c:1515:31:left side has type void [noderef] *irqmux_base drivers/pinctrl/pinctrl-st.c:1515:31:right side has type int Cc: Maxime Coquelin Cc

RE: [f2fs-dev] [PATCH 3/3] f2fs: refactor flush_nat_entries to remove costly reorganizing ops

2014-09-29 Thread Chao Yu
Hi Jaegeuk, > -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Tuesday, September 23, 2014 12:53 PM > To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Cc: Jaegeuk Kim > Subject: [f2fs-dev] [PATCH 3/3] f2fs

RE: [f2fs-dev] [PATCH 2/3] f2fs: introduce FITRIM in f2fs_ioctl

2014-09-29 Thread Chao Yu
> -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Tuesday, September 23, 2014 12:53 PM > To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Cc: Jaegeuk Kim > Subject: [f2fs-dev] [PATCH 2/3] f2fs: introduce F

RE: [f2fs-dev] [PATCH 1/3] f2fs: introduce cp_control structure

2014-09-29 Thread Chao Yu
> -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Tuesday, September 23, 2014 12:53 PM > To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Cc: Jaegeuk Kim > Subject: [f2fs-dev] [PATCH 1/3] f2fs: introduce c

Re: [PATCH v3] mm: add mremap flag for preserving the old mapping

2014-09-29 Thread Andy Lutomirski
On Mon, Sep 29, 2014 at 9:55 PM, Daniel Micay wrote: > This introduces the MREMAP_RETAIN flag for preserving the source mapping > when MREMAP_MAYMOVE moves the pages to a new destination. Accesses to > the source location will fault and cause fresh pages to be mapped in. > > For consistency, the o

Re: [PATCH 29/38] Introduce dev_printk_string() and dev_printk_header()

2014-09-29 Thread Hannes Reinecke
On 09/29/2014 06:58 PM, Greg Kroah-Hartman wrote: On Mon, Sep 29, 2014 at 01:58:58PM +0200, Hannes Reinecke wrote: Introducing dev_printk_string() and dev_printk_header() to allow using an external buffer for printing via dev_printk(). Cc: Greg Kroah-Hartman Cc: Steven Rostedt Cc: LKML Signe

Re: checkpatch: CHECK: No space is necessary after a cast

2014-09-29 Thread Kalle Valo
Joe Perches writes: > On Mon, 2014-09-29 at 14:49 +0300, Kalle Valo wrote: >> Hi Joe, >> >> I have a problem with checkpatch. On ath10k we have this function: >> >> static inline struct ath10k_skb_cb *ATH10K_SKB_CB(struct sk_buff *skb) >> { >> BUILD_BUG_ON(sizeof(struct ath10k_skb_cb) > >>

Re: [PATCH v2 4/6] drivers: uio: Add X-Gene QMTM UIO driver

2014-09-29 Thread Guenter Roeck
On Tue, Sep 30, 2014 at 09:56:07AM +0530, Ankit Jindal wrote: > The Applied Micro X-Gene SOC has on-chip QMTM (Queue manager > and Traffic manager) which is hardware based Queue or Ring > manager. This QMTM device can be used in conjunction with > other devices such as DMA Engine, Ethernet, Securit

Re: [PATCH] s390: remove unused Kconfig params

2014-09-29 Thread Michael Opdenacker
Hi Heiko, On 09/27/2014 09:57 AM, Heiko Carstens wrote: > On Sat, Sep 27, 2014 at 08:25:30AM +0200, Michael Opdenacker wrote: >> Remove the below Kconfig parameters, which are no longer >> used anywhere in the source code and Makefiles: >> >> HAVE_MARCH_Z900_FEATURES >> HAVE_MARCH_Z990_FEATURES >>

Re: [PATCH net 1/1 V2] hyperv: Fix a bug in netvsc_start_xmit()

2014-09-29 Thread David Miller
From: "K. Y. Srinivasan" Date: Sun, 28 Sep 2014 22:16:43 -0700 > After the packet is successfully sent, we should not touch the skb > as it may have been freed. This patch is based on the work done by > Long Li . > > In this version of the patch I have fixed issues pointed out by David. > Davi

Re: [PATCH 2/4] ARM: DT: apq8064: Add usb host support.

2014-09-29 Thread Bjorn Andersson
On Mon 29 Sep 02:15 PDT 2014, Srinivas Kandagatla wrote: > This patch adds device tree nodes to support two usb hosts on APQ8064 > SOC. > Sorry for not looking at the entire series before answering patch 1. I still think you should add all the regulators in the first patch anyways. > +++ b/arch

Re: [PATCH 1/4] ARM: DT: apq8064: add rpm support

2014-09-29 Thread Bjorn Andersson
On Mon 29 Sep 02:14 PDT 2014, Srinivas Kandagatla wrote: > This patch adds rpm node to apq8064 dt as rpm would be used by other > devices for regulator support. > > Signed-off-by: Srinivas Kandagatla > --- > arch/arm/boot/dts/qcom-apq8064.dtsi | 19 +++ > 1 file changed, 19 inse

RE: [PATCH] regmap: fix possible ZERO_SIZE_PTR pointer dereferencing error.

2014-09-29 Thread li.xi...@freescale.com
Hi, > > > diff --git a/drivers/base/regmap/regmap.c b/drivers/base/regmap/regmap.c > > index 455a877..3d93e38 100644 > > --- a/drivers/base/regmap/regmap.c > > +++ b/drivers/base/regmap/regmap.c > > @@ -1716,6 +1716,9 @@ out: > > Whatever you're using to generate the patches isn't annotating wit

[PATCH v3 1/2] clocksource: Update to the newer memory functions.

2014-09-29 Thread Xiubo Li
Use ioread{16,32} instead of read{w,l}_relaxed. For read{w,l}_relaxed accessor, if one arch has its own defination, then used it. Or will use the generic one, which will be read as LE endian as default. For some ARCHes, such PowerPC, if using the clocksource mmio, the read{w,l}_relaxed will could

[PATCH v3 2/2] clocksource: Add BE APIs support for clocksource counter reading.

2014-09-29 Thread Xiubo Li
Signed-off-by: Xiubo Li --- drivers/clocksource/mmio.c | 20 include/linux/clocksource.h | 4 2 files changed, 24 insertions(+) diff --git a/drivers/clocksource/mmio.c b/drivers/clocksource/mmio.c index d3cbf70..d35a407 100644 --- a/drivers/clocksource/mmio.c +++ b/dr

[PATCH v3 0/2] clocksource: Add BE APIs support.

2014-09-29 Thread Xiubo Li
Change in V3: - Provide a separate patch for using newer memory accessors. Change in V2: - Using ioread{16,32}[be]() instead of readl_relaxed(). - Add clocksource_mmio_readX_Y_be() supports only. Xiubo Li (2): clocksource: Update to the newer memory functions. clocksource: Add BE APIs suppor

Re: [PULL for 3.18] overlay filesystem v24

2014-09-29 Thread J. R. Okajima
David Howells: > Miklos Szeredi wrote: > > > I'd like to propose overlayfs for inclusion into 3.18. > > > > Al, would you mind giving it a review? > > > > Git tree is here: > > > > git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git > > overlayfs.current > > Tested-by: David Howe

Re: [PATCH 1/4] ARM: DT: apq8064: add rpm support

2014-09-29 Thread Bjorn Andersson
On Mon 29 Sep 15:17 PDT 2014, Stephen Boyd wrote: > On 09/29/14 02:14, Srinivas Kandagatla wrote: > > @@ -246,6 +247,24 @@ > > #reset-cells = <1>; > > }; > > > > + apcs: syscon@2011000 { > > + compatible = "syscon"; > > +

Re: [PATCH] Fix getsockopt(SO_PEERNAME) buffer size against potential future buffer overflow

2014-09-29 Thread David Miller
From: Samuel Thibault Date: Sun, 28 Sep 2014 15:55:45 +0200 > In net/core/sock.c's sock_getsockopt, the address buffer size is > hardcoded to 128. It happens that sizeof(struct sockaddr_storage) is > indeed 128, but that is just luck and would probably not get updated > whenever sockaddr_storage

Re: [PATCH 3/3] drivers/rtc/rtc-snvs: Add clock support

2014-09-29 Thread Sanchayan Maity
>> This patch adds clock enable and disable support >> for the SNVS peripheral which is required by the >> SNVS RTC. >> >> Signed-off-by: Sanchayan Maity >> --- >> drivers/rtc/rtc-snvs.c | 48 >> +++- >> 1 file changed, 39 insertions(+), 9 deletions(

[PATCH v3] mm: add mremap flag for preserving the old mapping

2014-09-29 Thread Daniel Micay
This introduces the MREMAP_RETAIN flag for preserving the source mapping when MREMAP_MAYMOVE moves the pages to a new destination. Accesses to the source location will fault and cause fresh pages to be mapped in. For consistency, the old_len >= new_len case could decommit the pages instead of unma

Re: [PATCH v3 3/5] mm/hugetlb: fix getting refcount 0 page in hugetlb_fault()

2014-09-29 Thread Hugh Dickins
On Mon, 15 Sep 2014, Naoya Horiguchi wrote: > When running the test which causes the race as shown in the previous patch, > we can hit the BUG "get_page() on refcount 0 page" in hugetlb_fault(). Two minor comments... > @@ -3192,22 +3208,19 @@ int hugetlb_fault(struct mm_struct *mm, struct > vm_a

[PATCH 4/4] Documentation: Add documentation for the PCI switch PEX8xxx I2C driver

2014-09-29 Thread Rajat Jain
Signed-off-by: Rajat Jain Signed-off-by: Rajat Jain Signed-off-by: Guenter Roeck --- Documentation/PCI/pex8xxx_i2c.txt | 134 + 1 file changed, 134 insertions(+) create mode 100644 Documentation/PCI/pex8xxx_i2c.txt diff --git a/Documentation/PCI/pex8xxx_i

[PATCH 2/4] pci/pex8xxx: Add sysfs interface for userspace access.

2014-09-29 Thread Rajat Jain
Add the sysfs ABI for the I2C interface the PLX pex8xxx PCIe switch. The ABI is documented, and a patch to "Documentation" accompanies this patch. Signed-off-by: Rajat Jain Signed-off-by: Rajat Jain Signed-off-by: Guenter Roeck --- drivers/pci/Kconfig |4 +- drivers/pci/pex8xxx_i2c.c

linux-next: manual merge of the battery tree with the arm-soc tree

2014-09-29 Thread Stephen Rothwell
Hi Sebastian, Today's linux-next merge of the battery tree got conflicts in drivers/power/reset/Kconfig and drivers/power/reset/Makefile between commit 0e545f57b708 ("power: reset: driver for the Versatile syscon reboot") from the arm-soc tree and commit f0745f3696e8 ("power: reset: Add restart fu

[PATCH 3/4] MAINTAINERS: Add new device driver entry for PEX pex8xxx

2014-09-29 Thread Rajat Jain
Signed-off-by: Rajat Jain Signed-off-by: Rajat Jain Signed-off-by: Guenter Roeck --- MAINTAINERS |7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 3705430..0ef7a92 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -7003,6 +7003,13 @@ S: Maintained

[PATCH 1/4] pci: Add I2C driver for the PLX PEX8xxx PCIe switch

2014-09-29 Thread Rajat Jain
Add a driver that allows talking to the I2C interface of the PLX PEX8xxx family of PCI Express switches. More details about the need and use cases have been described in the documentation being added as part of this patchset. Currently the devices supported and tested with this driver are: PEX8614

[PATCH 0/4] Driver for talking to PLX PEX8xxx PCIe switch over I2C

2014-09-29 Thread Rajat Jain
Most of the PLX PCI Express switches (and also switches from other vendors such IDT) provide an I2C based secondary interface to access and program the switch. This can be used to program the switch in situations where the PCIe interface may not be suitable, or even available. (For instance, we may

Re: [PATCH 02/15] powerpc/cell: Move data segment faulting code out of cell platform

2014-09-29 Thread Michael Neuling
On Mon, 2014-09-29 at 14:00 +0530, Aneesh Kumar K.V wrote: > Michael Neuling writes: > > > From: Ian Munsie > > > > __spu_trap_data_seg() currently contains code to determine the VSID and ESID > > required for a particular EA and mm struct. > > > > This code is generically useful for other co-pr

Re: pipe/page fault oddness.

2014-09-29 Thread Al Viro
On Mon, Sep 29, 2014 at 09:27:09PM -0700, Linus Torvalds wrote: > On Mon, Sep 29, 2014 at 8:33 PM, Dave Jones wrote: > > > > Looking at the dump, there's only one running trinity child, > > with all the others blocking on it. > > > > trinity-c49 R running task12856 19464 7633 0x0004

[PATCH v4] hwspinlock: qcom: Add support for Qualcomm HW Mutex block

2014-09-29 Thread Bjorn Andersson
From: Kumar Gala Add driver for Qualcomm Hardware Mutex block that exists on newer Qualcomm SoCs. Cc: Jeffrey Hugo Cc: Eric Holmberg Cc: Courtney Cavin Signed-off-by: Kumar Gala [bjorn: added pm_runtime calls, from Courtney, added sfpb-mutex compatible, updated DT binding doc

Re: [resend rfc v4]pwm: add BCM2835 PWM driver

2014-09-29 Thread Stephen Warren
On 09/29/2014 08:40 AM, Bart Tanghe wrote: > Add pwm driver for Broadcom BCM2835 processor (Raspberry Pi) > Signed-off-by: Bart Tanghe There needs to be a blank line between the description and the tags. > diff --git a/Documentation/devicetree/bindings/pwm/pwm-bcm2835.txt > b/Documentation/dev

Re: [PATCH v3 2/5] mm/hugetlb: take page table lock in follow_huge_pmd()

2014-09-29 Thread Hugh Dickins
On Mon, 15 Sep 2014, Naoya Horiguchi wrote: > We have a race condition between move_pages() and freeing hugepages, I've been looking through these 5 today, and they're much better now, thank you. But a new concern below, and a minor correction to 3/5. > --- mmotm-2014-09-09-14-42.orig/mm/gup.c >

[PATCH v2 2/6] uio: Add new UIO_MEM_PHYS_CACHE type for mem regions

2014-09-29 Thread Ankit Jindal
Currently, three types of mem regions are supported: UIO_MEM_PHYS, UIO_MEM_LOGICAL and UIO_MEM_VIRTUAL. Among these UIO_MEM_PHYS helps UIO driver export physcial memory to user space as non-cacheable user memory. Typcially memory-mapped registers of a device are exported to user space as UIO_MEM_PH

Re: pipe/page fault oddness.

2014-09-29 Thread Dave Jones
On Mon, Sep 29, 2014 at 09:27:09PM -0700, Linus Torvalds wrote: > On Mon, Sep 29, 2014 at 8:33 PM, Dave Jones wrote: > > > > Looking at the dump, there's only one running trinity child, > > with all the others blocking on it. > > > > trinity-c49 R running task12856 19464 7633 0x00

Re: [PATCH v2] thermal: Add QPNP PMIC temperature alarm driver

2014-09-29 Thread Kiran Padwal
On Monday 29 September 2014 07:24 PM, Ivan T. Ivanov wrote: > On Fri, 2014-09-26 at 16:51 +0530, Kiran Padwal wrote: >> On Thursday 25 September 2014 07:00 PM, Ivan T. Ivanov wrote: >>> Add support for the temperature alarm peripheral found inside >>> Qualcomm plug-and-play (QPNP) PMIC chips. The

[PATCH v2 4/6] drivers: uio: Add X-Gene QMTM UIO driver

2014-09-29 Thread Ankit Jindal
The Applied Micro X-Gene SOC has on-chip QMTM (Queue manager and Traffic manager) which is hardware based Queue or Ring manager. This QMTM device can be used in conjunction with other devices such as DMA Engine, Ethernet, Security Engine, etc to assign work based on queues or rings. This patch all

[PATCH v2 5/6] Documentation: dt-bindings: Add binding info for X-Gene QMTM UIO driver

2014-09-29 Thread Ankit Jindal
This patch adds device tree binding documentation for X-Gene QMTM UIO driver. Signed-off-by: Ankit Jindal Signed-off-by: Tushar Jagad --- .../devicetree/bindings/uio/uio_xgene_qmtm.txt | 53 1 file changed, 53 insertions(+) create mode 100644 Documentation/devicetree

[PATCH v2 1/6] uio: code style cleanup

2014-09-29 Thread Ankit Jindal
This patch fixes the indentation of switch-case block in uio driver. Signed-off-by: Ankit Jindal Signed-off-by: Tushar Jagad --- drivers/uio/uio.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/uio/uio.c b/drivers/uio/uio.c index a673e5b..97e6444 10

[PATCH v2 6/6] MAINTAINERS: Add entry for APM X-Gene QMTM UIO driver

2014-09-29 Thread Ankit Jindal
Add entry to maintainer list for APM X-Gene QMTM UIO driver. Signed-off-by: Ankit Jindal Signed-off-by: Tushar Jagad --- MAINTAINERS |7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 5e7866a..138663f 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -727,

[PATCH v2 0/6] UIO driver for APM X-Gene QMTM

2014-09-29 Thread Ankit Jindal
This patchset enables user space access to APM X-Gene QMTM using UIO framework. The patchset also introduces new type UIO_MEM_PHYS_CACHE for mem regions because APM X-Gene QMTM device supports cache coherency with CPU caches. Changes since v1: - Factor-out formating related change in uio/uio.c a

[PATCH v2 3/6] Documentation: Update documentation for UIO_MEM_PHYS_CACHE

2014-09-29 Thread Ankit Jindal
This patch updates UIO documentation for new mem region type UIO_MEM_PHYS_CACHE. Signed-off-by: Ankit Jindal Signed-off-by: Tushar Jagad --- Documentation/DocBook/uio-howto.tmpl |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/DocBook/uio-howto.tmpl b/D

Re: [PATCH 0/5] ARM: move #include into cacheflush.h

2014-09-29 Thread Nicolas Pitre
On Mon, 29 Sep 2014, Brian Norris wrote: > There are several places where an explicit include of is needed > just because cacheflush.h uses one of its macros in v7_exit_coherency_flush(). > Let's put the include in the proper header. > > These obviously have some dependencies, so I'd focus on: >

Re: pipe/page fault oddness.

2014-09-29 Thread Linus Torvalds
On Mon, Sep 29, 2014 at 8:33 PM, Dave Jones wrote: > > Looking at the dump, there's only one running trinity child, > with all the others blocking on it. > > trinity-c49 R running task12856 19464 7633 0x0004 > 8800a09bf960 0002 8800a09bf9f8 88021965 > 000

[PATCH v4 1/3] cap11xx: make driver generic for variant support

2014-09-29 Thread Matt Ranostay
cap1106 driver can support much more one device make the driver generic for support of similiar parts. Signed-off-by: Matt Ranostay --- .../bindings/input/{cap1106.txt => cap11xx.txt}| 5 +- drivers/input/keyboard/Kconfig | 8 +- drivers/input/keyboard/Makefile

[PATCH v4 0/3] cap1106: add support for cap11xx variants

2014-09-29 Thread Matt Ranostay
Changes from v3: * Resubmit with "git format-patch -M" to make file rename clear in cover letter Matt Ranostay (3): cap11xx: make driver generic for variant support cap11xx: Add support for various cap11xx devices cap11xx: support for irq-active-high option .../bindings/input/{cap1106

[PATCH v4 2/3] cap11xx: Add support for various cap11xx devices

2014-09-29 Thread Matt Ranostay
Several other variants of the cap11xx device exists with a varying number of capacitance detection channels. Add support for creating the channels dynamically. Signed-off-by: Matt Ranostay --- .../devicetree/bindings/input/cap11xx.txt | 3 +- drivers/input/keyboard/cap11xx.c

[PATCH v4 3/3] cap11xx: support for irq-active-high option

2014-09-29 Thread Matt Ranostay
Some applications need to use the irq-active-high push-pull option. This allows it be enabled in the device tree child node. Signed-off-by: Matt Ranostay --- Documentation/devicetree/bindings/input/cap11xx.txt | 4 drivers/input/keyboard/cap11xx.c| 8 2 files ch

Re: [PATCH 1/1] perf/x86: Use KERN_INFO when checking PMU fails on virtual environment

2014-09-29 Thread Wei Huang
Hi Ingo, tglx and hpa, Any comment on this patch? Thanks. -Wei On 09/24/2014 10:55 PM, Wei Huang wrote: PMU checking can fail due to various reasons. On native machine, this is mostly caused by faulty hardware and it is reasonable to use KERN_ERR in reporting. However, when kernel is running o

RE: [PATCH v6] mfd: syscon: Decouple syscon interface from platform devices

2014-09-29 Thread Pankaj Dubey
Hi, On Monday, September 29, 2014 9:38 PM, Heiko Stübner wrote, > Am Montag, 29. September 2014, 14:17:38 schrieb Pankaj Dubey: > > Currently a syscon entity can be only registered directly through a > > platform device that binds to a dedicated syscon driver. However in > > certain use cases it i

[PATCH] cpufreq: update 'cpufreq_suspended' after stopping governors

2014-09-29 Thread Viresh Kumar
Commit 8e30444e1530 ("cpufreq: fix cpufreq suspend/resume for intel_pstate") introduced a bug where the governors wouldn't be stopped anymore for ->target{_index}() drivers during suspend. This happens because 'cpufreq_suspended' is updated before stopping the governors during suspend and due to th

Re: [PATCH 0/5] fuse: handle release synchronously (v4)

2014-09-29 Thread Linus Torvalds
On Thu, Sep 25, 2014 at 5:05 AM, Maxim Patlasov wrote: > > There is a long-standing demand for synchronous behaviour of fuse_release: That's just complete bullshit. The fact is, release() is not synchronous. End of story. If you want to catch "close()" synchronously, you use flush(). The two ar

Re: [PATCH] clk: rockchip: rk3288: i2s_frac adds flag to set parent's rate

2014-09-29 Thread Jianqun
在 09/30/2014 11:38 AM, Kever Yang 写道: > Hi Jianqun, > > pls add linux-rockc...@lists.infradead.org next time. > OK, thanks > On 09/30/2014 11:12 AM, Jianqun wrote: >> The relation of i2s nodes as follows: >>i2s_src 0 059400 0 >>

Please backport commit 3812c8c8f39 to stable

2014-09-29 Thread Cong Wang
Hi, Johannes and Greg Please consider to backport the following commit to stable kernels < 3.12. commit 3812c8c8f3953921ef18544110dafc3505c1ac62 Author: Johannes Weiner Date: Thu Sep 12 15:13:44 2013 -0700 mm: memcg: do not trap chargers with full callstack on OOM It should solve some s

Re: [PATCH 1/3] x86: Bugfix bit-rot in the calling of legacy_cache_size

2014-09-29 Thread Dave Jones
On Tue, Sep 30, 2014 at 04:11:48AM +0100, Bryan O'Donoghue wrote: > Make an update to identify_cpu to make an explicit call to default_init() > We want to do this since some processors that report vendor strings via > cpuid also want to run legacy_cache_size callbacks - which won't happen > si

Re: [PATCH] clk: rockchip: rk3288: i2s_frac adds flag to set parent's rate

2014-09-29 Thread Kever Yang
Hi Jianqun, pls add linux-rockc...@lists.infradead.org next time. On 09/30/2014 11:12 AM, Jianqun wrote: The relation of i2s nodes as follows: i2s_src 0 059400 0 i2s_frac 0 011289600 0

pipe/page fault oddness.

2014-09-29 Thread Dave Jones
My fuzz tester ground to a halt, with many child processes blocked on pipe_lock. sysrq-t output: http://codemonkey.org.uk/junk/pipe-lock-wtf.txt Looking at the dump, there's only one running trinity child, with all the others blocking on it. trinity-c49 R running task12856 19464 7633

Re: linux-next: build failure after merge of the net-next tree

2014-09-29 Thread Stephen Rothwell
Hi all, On Tue, 30 Sep 2014 13:13:54 +1000 Stephen Rothwell wrote: > > Hi all, > > After merging the net-next tree, today's linux-next build (powerpc > ppc64_defconfig) failed like this: > > net/bridge/br_nf_core.c:77:1: error: expected identifier or '(' before '{' > token > { > ^ > net/bri

Re: [PATCH 0/5] fuse: handle release synchronously (v4)

2014-09-29 Thread Miklos Szeredi
On Fri, Sep 26, 2014 at 5:28 PM, Miklos Szeredi wrote: > [Adding CC's] > > On Thu, Sep 25, 2014 at 2:05 PM, Maxim Patlasov > wrote: > >> In short, the problem is that fuse_release (that's usually called on last >> user close(2)) sends FUSE_RELEASE to userspace and returns without waiting >> for

[PATCH] clk: rockchip: rk3288: i2s_frac adds flag to set parent's rate

2014-09-29 Thread Jianqun
The relation of i2s nodes as follows: i2s_src 0 059400 0 i2s_frac 0 011289600 0 i2s_pre 0 011289600 0 sclk_i2s00 0

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

2014-09-29 Thread Stephen Rothwell
Hi all, After merging the net-next tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: net/bridge/br_nf_core.c:77:1: error: expected identifier or '(' before '{' token { ^ net/bridge/br_nf_core.c:88:12: error: redefinition of 'br_nf_core_init' int __init br_nf_core_init(

[PATCH 1/3] x86: Bugfix bit-rot in the calling of legacy_cache_size

2014-09-29 Thread Bryan O'Donoghue
legacy_cache_size is used by certain processors to report the size of cache. Currently only X86_VENDOR_UNKNOWN could call default_init() => cpu_detect_cache_sizes() => legacy_cache_size() Make an update to identify_cpu to make an explicit call to default_init() We want to do this since some proces

[PATCH 0/3] Quark X1000 Cache/TLB reporting/fixes

2014-09-29 Thread Bryan O'Donoghue
First patch: legacy_cache_size is currently not reachable code from kernels compiled CONFIG_X86_32 despite most/all legacy_cache_size code being ifdef'd CONFIG_X86_32. Added to which for Intel, AMD and VIA processors that return a valid vendor string via cpuid and hook code into c_init and friends

[PATCH 2/3] x86: Quark: Update cache reporting, add Quark SoC X1000 string

2014-09-29 Thread Bryan O'Donoghue
Adds a path for legacy_cache_size to get a Quark SoC X1000 cache size Update init_intel to take account of PIII Tualatin and Quark X1000 reporting cache size via legacy_cache_size Add string to family/model structure for completeness and better output of /proc/cpuinfo Signed-off-by: Bryan O'Donogh

[PATCH 3/3] x86: Quark: Comment setup_arch for TLB/PGE bugfix

2014-09-29 Thread Bryan O'Donoghue
Quark X1000 requires CR3 to be rewritten to flush TLB entries irrespective of the PGE bits in CR4 or PTE.PGE Add a comment to setup_arch to indicate that the code load_cr3(swapper_pg_dir); __flush_tlb_all(); Will already have flushed the TLB @ the CR3 reload allowing us to skip over a potential

[PATCH V1] regulator: DA9211 : Fix a bug in update of mask bit

2014-09-29 Thread James Ban
This is a patch for fixing a bug about mask bit operation. Signed-off-by: James Ban --- This patch is relative to linux-next repository tag next-20140926. drivers/regulator/da9211-regulator.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/da9211-regula

Re: [PATCH 1/1 v2] driver:mtd:spi-nor: Add Micron quad I/O support

2014-09-29 Thread Marek Vasut
On Monday, September 29, 2014 at 02:30:04 AM, bpqw wrote: > >> For Micron spi norflash,you can enable Quad spi transfer by clear > >> EVCR(Enhanced Volatile Configuration Register) Quad I/O protocol bit. > > > >OK, this information is nice and all, but what does this patch do? I can't > >learn this

[PATCH] toshiba_acpi: Adapt kbd_bl_timeout_store to the new kbd type

2014-09-29 Thread Azael Avalos
With the introduccion of the new keyboard backlight implementation, the *_timeout_store function is broken, as it only supports the first kbd_type. This patch adapt such function for the new kbd_type, as well as convert from using sscanf to kstrtoint. Signed-off-by: Azael Avalos --- drivers/pla

linux-next: manual merge of the net-next tree with the net tree

2014-09-29 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in net/netfilter/nfnetlink.c between commit cbb8125eb40b ("netfilter: nfnetlink: deliver netlink errors on batch completion") from the net tree and commit fc04733a1a71 ("netfilter: nfnetlink: use original skbuff when committing/a

  1   2   3   4   5   6   7   8   9   >