Re: [PATCH v5 1/2] mfd: update Intel soc PMIC header file to support Broxton WC PMIC

2015-08-23 Thread Lee Jones
Why have you sent this set 3 times? > IRQ control registers of Intel Broxton Whisky Cove PMIC are > separated in two parts, so add secondary IRQ chip. > And the new member of device will be used in PMC IPC regmap APIs. > > Signed-off-by: Qipeng Zha > --- > include/linux/mfd/intel_soc_pmic.h | 5

Re: [PATCH 3/3 v3] mm/vmalloc: Cache the vmalloc memory info

2015-08-23 Thread Ingo Molnar
* Rasmus Villemoes wrote: > On Sun, Aug 23 2015, Ingo Molnar wrote: > > > Ok, fair enough - so how about the attached approach instead, which > > uses a 64-bit generation counter to track changes to the vmalloc > > state. > > How does this invalidation approach compare to the jiffies approach

Re: [PATCH] of: add vendor prefix for Socionext Inc.

2015-08-23 Thread Lee Jones
On Wed, 29 Jul 2015, Masahiro Yamada wrote: > Signed-off-by: Masahiro Yamada > --- > > Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + > 1 file changed, 1 insertion(+) Patch has been around for nearly a month and is pretty trivial, so I'm just going to go ahead an apply it. -- L

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

2015-08-23 Thread Maxime Ripard
Hi Vinod, On Thu, Aug 06, 2015 at 08:30:27AM +0530, Vinod Koul wrote: > On Thu, Aug 06, 2015 at 12:22:03PM +1000, Stephen Rothwell wrote: > > Hi Vinod, > > > > After merging the slave-dma tree, today's linux-next build (arm > > multi_v7_defconfig) failed like this: > > > > drivers/dma/at_hdmac.c

Re: [PATCH] x86/math-emu: Add support for FCMOVcc and F[U]COMI[P] insns

2015-08-23 Thread Ingo Molnar
* Ingo Molnar wrote: > > * Denys Vlasenko wrote: > > > I propose the table to be commented like shown below: > > > > /*Opcode: d8 d9da db dc dd de df */ > > /*c0..f*/ fadd__, fld_i_, fcmovb, fcmovnb, fadd_i, ffree_, faddp_, > > _df_c0_, > > /*c8..f*/

Re: [PATCH v2] x86/entry/32: Remove duplicate initialization of tss.ss1

2015-08-23 Thread Ingo Molnar
* Andy Lutomirski wrote: > On Sun, Aug 23, 2015 at 4:26 AM, Ingo Molnar wrote: > > > > * Andy Lutomirski wrote: > > > >> It's statically initialized, so we don't need to dynamically > >> initialize it too. > >> > >> Reported-by: Brian Gerst > >> Signed-off-by: Andy Lutomirski > >> --- > >> >

Re: [PATCH] x86/math-emu: Add support for FCMOVcc and F[U]COMI[P] insns

2015-08-23 Thread Ingo Molnar
* Denys Vlasenko wrote: > I propose the table to be commented like shown below: > > /*Opcode: d8 d9da db dc dd de df */ > /*c0..f*/ fadd__, fld_i_, fcmovb, fcmovnb, fadd_i, ffree_, faddp_, _df_c0_, > /*c8..f*/ fmul__, fxch_i, fcmove, fcmovne, fmul_i, _

Re: [PATCH RESEND] sched/nohz: Affine unpinned timers to housekeepers

2015-08-23 Thread Ingo Molnar
* Paul E. McKenney wrote: > > here it's fully set - triggering the bug I'm worried about. So what am I > > missing, what prevents CONFIG_NO_HZ_FULL_ALL from crashing? > > The boot CPU is excluded from tick_nohz_full_mask in tick_nohz_init(), which > is > called from tick_init() which is call

Re: [PATCH-v6 0/6] mfd: 88pm800: Add Device tree support

2015-08-23 Thread Vaibhav Hiremath
On Tuesday 14 July 2015 12:27 AM, Vaibhav Hiremath wrote: On Wednesday 08 July 2015 05:56 PM, Vaibhav Hiremath wrote: This patch-series adds support for Device tree to 88PM800 mfd driver. It also sets default configuration of irq clear method if board file doesn't exist. Testing:: - Boot

Re: [PATCH] doc: dt: Add interrupt parent to Xilinx AXI DMA instantation example.

2015-08-23 Thread Michal Simek
On 08/21/2015 06:32 PM, Moritz Fischer wrote: > This patch adds 'interrupt-parent' properties to the instantation example in > the docs for the devicetree bindings of the Xilinx AXI DMA driver. > > Signed-off-by: Moritz Fischer > --- > Documentation/devicetree/bindings/dma/xilinx/xilinx_dma.txt

[PATCH] Fix bug in iommu_context_addr: Always get pointer to lower extended-context-table

2015-08-23 Thread Xiao, Nan (Nan@HPS Performance, Beijing)
Hi David & joerg, In iommu_context_addr() function, we always use lower extended-context-table even though upper-half of the extended root-entry is present. Signed-off-by: Nan Xiao --- drivers/iommu/intel-iommu.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers

Re: [PATCH block/for-linus] writeback: fix syncing of I_DIRTY_TIME inodes

2015-08-23 Thread Dave Chinner
On Mon, Aug 24, 2015 at 11:18:16AM +0800, Eryu Guan wrote: > On Mon, Aug 24, 2015 at 11:11:23AM +1000, Dave Chinner wrote: > > > > Eryu, can you change the way you run the event trace to be: > > > > $ sudo trace-cmd -o ./check > > > > rather than running the trace as a background operation el

Re: [PATCH 14/18] ARM: sunxi: use const and __initconst for smp_operations

2015-08-23 Thread Maxime Ripard
On Mon, Aug 24, 2015 at 01:36:14PM +0900, Masahiro Yamada wrote: > The smp_operations structure is not over-written, so add const > qualifier and replace __initdata with __initconst. > > Also, add static to sun8i_smp_ops. > > Signed-off-by: Masahiro Yamada Acked-by: Maxime Ripard Thanks! Maxi

RE: [PATCH 3/8][v3]usb:fsl:otg: Add support to add/remove usb host driver

2015-08-23 Thread Ramneek Mehresh
> -Original Message- > From: Alan Stern [mailto:st...@rowland.harvard.edu] > Sent: Thursday, August 20, 2015 7:40 PM > To: Mehresh Ramneek-B31383 > Cc: linux-kernel@vger.kernel.org; ba...@ti.com; > gre...@linuxfoundation.org; linux-...@vger.kernel.org; Li Yang-Leo-R58472 > > Subject: RE

[PATCH-v5 RESEND 3/5] i2c: pxa: Add support for pxa910/988 & new configuration features

2015-08-23 Thread Vaibhav Hiremath
TWSI_ILCR & TWSI_IWCR registers are used to adjust clock rate of standard & fast mode in pxa910/988; so this patch adds these two new entries to "struct pxa_reg_layout" and "struct pxa_i2c". As discussed in the previous patch-series, the idea here is to add standard DT properties for ilcr and iwcr

[PATCH-v5 RESEND 2/5] i2c: pxa: enable/disable i2c module across msg xfer

2015-08-23 Thread Vaibhav Hiremath
From: Yi Zhang Enable i2c module/unit before transmission and disable when it finishes. why? It's because the i2c bus may be disturbed if the slave device, typically a touch, powers on. As we do not want to break slave mode support, this patch introduces DT property to control disable of the I2

[PATCH-v5 RESEND 4/5] Documentation: binding: add sclk adjustment properties to i2c-pxa

2015-08-23 Thread Vaibhav Hiremath
With addition of PXA910 family of devices, the TWSI module supports new feature which allows us to adjust SCLK. i2c-pxa driver takes input configuration in nsec and converts it to respective bit-fields, - i2c-sclk-low-time-ns : SCLK low time (tlow) This property is used along with mode selecti

[PATCH-v5 RESEND 5/5] i2c: pxa: Add ILCR (tLow & tHigh) configuration support

2015-08-23 Thread Vaibhav Hiremath
With addition of PXA910 family of devices, the TWSI module supports SCL clock adjustment using ILCR register. This patch enables the control and configuration of ICLR through DT properties, i2c-sclk-high-time-ns: SCLK high time (tHigh), for standard/fast/high speed mode i2c-sclk-low-time-ns:

[PATCH-v5 RESEND 1/5] Documentation: binding: add new property 'disable_after_xfer' to i2c-pxa

2015-08-23 Thread Vaibhav Hiremath
Driver will now supports enable/disable across msg xfer, which user can control it by new DT property - i2c-disable-after-xfer : If set, driver will disable I2C module after msg xfer and enable it back before xfer. Signed-off-by: Vaibhav Hiremath --- Documentation/devicetree/bindings/i2c/i2c-p

[PATCH-v5 RESEND 0/5] i2c: pxa: Add support for PXA910 family of device

2015-08-23 Thread Vaibhav Hiremath
Sorry for not following up on this aggressively, was quit busy with some other stuff. Resending this patch with Robert's Tested-By. This patch-series is subset of the original patch-series, submitted on 14 Jul 2015. Link to Original Patch-series - https://lkml.org/lkml/2015/7/14/80 The first six

linux-next: manual merge of the kvm-ppc tree with the tip tree

2015-08-23 Thread Stephen Rothwell
Hi Alexander, Today's linux-next merge of the kvm-ppc tree got a conflict in: arch/powerpc/kvm/book3s_hv.c between commit: c56dadf39761 ("sched/preempt, powerpc, kvm: Use need_resched() instead of should_resched()") from the tip tree and commit: ec2571650826 ("KVM: PPC: Book3S HV: Make

Re: [RFT PATCH] ARM: OMAP: Change all cpu_is_* occurences to soc_is_*

2015-08-23 Thread Keerthy
On Tuesday 18 August 2015 05:24 PM, Keerthy wrote: On Tuesday 18 August 2015 03:40 PM, Keerthy wrote: Currently apart from dra7, omap5 and amx3 all the other SoCs are identified using cpu_is_* functions which is not right since they are all SoCs(System on Chips). Hence changing the SoC ident

Re: [PATCH] soc: mediatek: add scpsys support active_wakeup

2015-08-23 Thread Eddie Huang
On Thu, 2015-07-23 at 14:00 +0800, Eddie Huang wrote: > Register gpd_dev_ops.active_wakeup function to support keep power > during suspend state. And add flag to each power domain to > decide whether keep power during suspend or not. > > Signed-off-by: Chunfeng Yun > Signed-off-by: Eddie Huang >

Re: two RCU torture bugs

2015-08-23 Thread Paul E. McKenney
On Sun, Aug 23, 2015 at 10:07:49PM -0700, David Miller wrote: > > 1) Doc bug, documentation mentions torture_type such as "rcu_sync", >but those don't seem to exist. > > 2) If you specify an unrecognized type, the module cannot be unloaded. >Amusingly it says that it cannot unload because

[PATCH 05/17] staging: sm750fb: ddk750_hwi2c: rename CamelCase static functions

2015-08-23 Thread Mike Rapoport
Signed-off-by: Mike Rapoport --- drivers/staging/sm750fb/ddk750_hwi2c.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/staging/sm750fb/ddk750_hwi2c.c b/drivers/staging/sm750fb/ddk750_hwi2c.c index e6d31db..0677ff0 100644 --- a/drivers/staging/sm750fb

[PATCH 06/17] staging: sm750fb: rename swI2CInit to sm750_sw_i2c_init

2015-08-23 Thread Mike Rapoport
Signed-off-by: Mike Rapoport --- drivers/staging/sm750fb/ddk750_sii164.c | 2 +- drivers/staging/sm750fb/ddk750_swi2c.c | 2 +- drivers/staging/sm750fb/ddk750_swi2c.h | 2 +- drivers/staging/sm750fb/sm750_hw.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/s

[PATCH 01/17] staging: sm750fb: rename hwI2CInit to sm750_hw_i2c_init

2015-08-23 Thread Mike Rapoport
Signed-off-by: Mike Rapoport --- drivers/staging/sm750fb/ddk750_hwi2c.c | 2 +- drivers/staging/sm750fb/ddk750_hwi2c.h | 2 +- drivers/staging/sm750fb/ddk750_sii164.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/sm750fb/ddk750_hwi2c.c b/drivers/staging

[PATCH 03/17] staging: sm750fb: rename hwI2CReadReg to sm750_hw_i2c_read_reg

2015-08-23 Thread Mike Rapoport
Signed-off-by: Mike Rapoport --- drivers/staging/sm750fb/ddk750_hwi2c.c | 2 +- drivers/staging/sm750fb/ddk750_hwi2c.h | 2 +- drivers/staging/sm750fb/ddk750_sii164.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/sm750fb/ddk750_hwi2c.c b/drivers/staging

[PATCH 07/17] staging: sm750fb: rename swI2CReadReg to sm750_sw_i2c_read_reg

2015-08-23 Thread Mike Rapoport
Signed-off-by: Mike Rapoport --- drivers/staging/sm750fb/ddk750_swi2c.c | 2 +- drivers/staging/sm750fb/ddk750_swi2c.h | 2 +- drivers/staging/sm750fb/sm750_hw.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/sm750fb/ddk750_swi2c.c b/drivers/staging/sm

[PATCH 12/17] staging: sm750fb: hw_i2c_{read,write}: rename CamelCase variables

2015-08-23 Thread Mike Rapoport
Rename longCamelCase variables deviceAddress and registerIndex to shorter addr and reg Signed-off-by: Mike Rapoport --- drivers/staging/sm750fb/ddk750_hwi2c.c | 16 drivers/staging/sm750fb/ddk750_hwi2c.h | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a

[PATCH 10/17] staging: sm750fb: ddk750_swi2c: rename CamelCase static functions

2015-08-23 Thread Mike Rapoport
Signed-off-by: Mike Rapoport --- drivers/staging/sm750fb/ddk750_swi2c.c | 116 - 1 file changed, 58 insertions(+), 58 deletions(-) diff --git a/drivers/staging/sm750fb/ddk750_swi2c.c b/drivers/staging/sm750fb/ddk750_swi2c.c index 6a10ae3..b3f64c4 100644 --- a/dri

[PATCH 13/17] staging: sm750fb: ddk750_hwi2c: reduce amount of CamelCase

2015-08-23 Thread Mike Rapoport
Rename camel case variables deviceAddress, pBuffer and totalBytes to addr, buf and total_bytes respectively in sm750_hw_i2c_{read,write}_data functions. Signed-off-by: Mike Rapoport --- drivers/staging/sm750fb/ddk750_hwi2c.c | 36 +- 1 file changed, 18 insertions(

[PATCH 15/17] staging: sm750fb: ddk750_swi2c: further reduce CamelCase

2015-08-23 Thread Mike Rapoport
Rename remaining CamelCase variables Signed-off-by: Mike Rapoport --- drivers/staging/sm750fb/ddk750_swi2c.c | 122 - drivers/staging/sm750fb/ddk750_swi2c.h | 20 +++--- 2 files changed, 71 insertions(+), 71 deletions(-) diff --git a/drivers/staging/sm750fb/ddk7

[PATCH 08/17] staging: sm750fb: rename swI2CWriteReg to sm750_sw_i2c_write_reg

2015-08-23 Thread Mike Rapoport
Signed-off-by: Mike Rapoport --- drivers/staging/sm750fb/ddk750_swi2c.c | 2 +- drivers/staging/sm750fb/ddk750_swi2c.h | 2 +- drivers/staging/sm750fb/sm750_hw.c | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/sm750fb/ddk750_swi2c.c b/drivers/stagin

[PATCH 16/17] staging: sm750fb: ddk750_*i2c: remove multiple blank lines

2015-08-23 Thread Mike Rapoport
Signed-off-by: Mike Rapoport --- drivers/staging/sm750fb/ddk750_hwi2c.c | 16 drivers/staging/sm750fb/ddk750_swi2c.c | 1 - 2 files changed, 17 deletions(-) diff --git a/drivers/staging/sm750fb/ddk750_hwi2c.c b/drivers/staging/sm750fb/ddk750_hwi2c.c index fa1a4d4..a07aca4 1006

[PATCH 14/17] staging: sm750fb: ddk750_swi2c: rename CamelCase static variables

2015-08-23 Thread Mike Rapoport
Rename static variables defining I2C GPIO pins and their control registers from CamelCase. Signed-off-by: Mike Rapoport --- drivers/staging/sm750fb/ddk750_swi2c.c | 96 +- 1 file changed, 48 insertions(+), 48 deletions(-) diff --git a/drivers/staging/sm750fb/ddk7

[PATCH 17/17] staging: sm750fb: ddk750_*i2c: shorten lines to under 80 characters

2015-08-23 Thread Mike Rapoport
Signed-off-by: Mike Rapoport --- drivers/staging/sm750fb/ddk750_hwi2c.c | 19 ++- drivers/staging/sm750fb/ddk750_hwi2c.h | 3 ++- drivers/staging/sm750fb/ddk750_swi2c.c | 22 -- 3 files changed, 32 insertions(+), 12 deletions(-) diff --git a/drivers/staging/s

[PATCH 04/17] staging: sm750fb: rename hwI2CWriteReg to sm750_hw_i2c_write_reg

2015-08-23 Thread Mike Rapoport
Signed-off-by: Mike Rapoport --- drivers/staging/sm750fb/ddk750_hwi2c.c | 2 +- drivers/staging/sm750fb/ddk750_hwi2c.h | 2 +- drivers/staging/sm750fb/ddk750_sii164.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/sm750fb/ddk750_hwi2c.c b/drivers/staging

[PATCH 09/17] staging: sm750fb: ddk750_swi2c: staticize swI2C{SCL,SDA}

2015-08-23 Thread Mike Rapoport
Signed-off-by: Mike Rapoport --- drivers/staging/sm750fb/ddk750_swi2c.c | 4 ++-- drivers/staging/sm750fb/ddk750_swi2c.h | 21 - 2 files changed, 2 insertions(+), 23 deletions(-) diff --git a/drivers/staging/sm750fb/ddk750_swi2c.c b/drivers/staging/sm750fb/ddk750_swi2c.c in

[PATCH 11/17] staging: sm750fb: ddk750_hw_i2c: rename busSpeedMode

2015-08-23 Thread Mike Rapoport
rename CamelCase parameter in sm750_hw_i2c_init() Signed-off-by: Mike Rapoport --- drivers/staging/sm750fb/ddk750_hwi2c.c | 4 ++-- drivers/staging/sm750fb/ddk750_hwi2c.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/sm750fb/ddk750_hwi2c.c b/drivers/stag

[PATCH 00/17] staging: sm750fb: coding style fixes

2015-08-23 Thread Mike Rapoport
Hi, These patches are fixing coding style issues in ddk750_*i2c* files of the sm750fb driver Mike Rapoport (17): staging: sm750fb: rename hwI2CInit to sm750_hw_i2c_init staging: sm750fb: rename hwI2CClose to sm750_hw_i2c_close staging: sm750fb: rename hwI2CReadReg to sm750_hw_i2c_read_reg

[PATCH 02/17] staging: sm750fb: rename hwI2CClose to sm750_hw_i2c_close

2015-08-23 Thread Mike Rapoport
Signed-off-by: Mike Rapoport --- drivers/staging/sm750fb/ddk750_hwi2c.c | 2 +- drivers/staging/sm750fb/ddk750_hwi2c.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/sm750fb/ddk750_hwi2c.c b/drivers/staging/sm750fb/ddk750_hwi2c.c index 7eb122e..8aa83ab 100

two RCU torture bugs

2015-08-23 Thread David Miller
1) Doc bug, documentation mentions torture_type such as "rcu_sync", but those don't seem to exist. 2) If you specify an unrecognized type, the module cannot be unloaded. Amusingly it says that it cannot unload because the unrecognized torture test type you requested is "running" :-) --

Re: [f2fs-dev] [PATCH 1/2] f2fs: handle failed bio allocation

2015-08-23 Thread Jaegeuk Kim
Hi Chao, [snip] > > > > > > > > - /* No failure on bio allocation */ > > > > - bio = bio_alloc(GFP_NOIO, npages); > > > > > > How about using __GFP_NOFAIL flag to avoid failing in bio_alloc instead > > > of adding opencode endless loop in code? > > > > > > We can see the reason in thi

[PATCH 02/18] ARM: add const qualifier to smp_operations member in structures

2015-08-23 Thread Masahiro Yamada
The core framework does not modify smp_operations structures. To clarify it, this commit adds 'const' qualifier to the 'ops' member of struct of_cpu_method and the 'smp' member of struct machine_desc. This change allows each SoC code to add 'const' qualifier to its smp_operation structure. Signed

[PATCH 09/18] ARM: hisi: use const and __initconst for smp_operations

2015-08-23 Thread Masahiro Yamada
The smp_operations structure is not over-written, so add const qualifier and replace __initdata with __initconst. Signed-off-by: Masahiro Yamada --- arch/arm/mach-hisi/platsmp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-hisi/platsmp.c b/arch/arm/mac

[PATCH 07/18] ARM: EXYNOS: use const and __initconst for smp_operations

2015-08-23 Thread Masahiro Yamada
The smp_operations structure is not over-written, so add const qualifier and replace __initdata with __initconst. Signed-off-by: Masahiro Yamada --- arch/arm/mach-exynos/common.h | 2 +- arch/arm/mach-exynos/platsmp.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/

[PATCH 08/18] ARM: hisi: do not export smp_operations structures

2015-08-23 Thread Masahiro Yamada
These three structures are only defined and referenced in mach-hisi/platsmp.c. Drop the declarations from the header and add static qualifier to the definitions. Signed-off-by: Masahiro Yamada --- arch/arm/mach-hisi/core.h| 3 --- arch/arm/mach-hisi/platsmp.c | 6 +++--- 2 files changed, 3

[PATCH 12/18] ARM: rockchip: use const and __initconst for smp_operations

2015-08-23 Thread Masahiro Yamada
The smp_operations structure is not over-written, so add const qualifier and replace __initdata with __initconst. Signed-off-by: Masahiro Yamada --- arch/arm/mach-rockchip/platsmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-rockchip/platsmp.c b/arch/arm/m

[PATCH 17/18] ARM: zynq: use const and __initconst for smp_operations

2015-08-23 Thread Masahiro Yamada
The smp_operations structure is not over-written, so add const qualifier and replace __initdata with __initconst. Signed-off-by: Masahiro Yamada --- arch/arm/mach-zynq/common.h | 2 +- arch/arm/mach-zynq/platsmp.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/

[PATCH 14/18] ARM: sunxi: use const and __initconst for smp_operations

2015-08-23 Thread Masahiro Yamada
The smp_operations structure is not over-written, so add const qualifier and replace __initdata with __initconst. Also, add static to sun8i_smp_ops. Signed-off-by: Masahiro Yamada --- arch/arm/mach-sunxi/platsmp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm

[PATCH 05/18] ARM: BCM: use const and __initconst for smp_operations

2015-08-23 Thread Masahiro Yamada
The smp_operations structure is not over-written, so add const qualifier and replace __initdata with __initconst. Also, add static to bcm63138_smp_ops. Signed-off-by: Masahiro Yamada --- arch/arm/mach-bcm/bcm63xx_smp.c | 2 +- arch/arm/mach-bcm/kona_smp.c| 2 +- arch/arm/mach-bcm/p

[PATCH 10/18] ARM: mvebu: use const and __initconst for smp_operations

2015-08-23 Thread Masahiro Yamada
The smp_operations structure is not over-written, so add const qualifier and replace __initdata with __initconst. Signed-off-by: Masahiro Yamada --- arch/arm/mach-mvebu/armada-370-xp.h | 2 +- arch/arm/mach-mvebu/platsmp-a9.c| 4 ++-- arch/arm/mach-mvebu/platsmp.c | 2 +- 3 files chan

[PATCH 00/18] ARM: use const and __initconst for smp_operations

2015-08-23 Thread Masahiro Yamada
Currently, SoC code can not add const qualifier to smp_operations structures although they are never over-written. 01/18 and 02/18 add small changes to the ARM core to fix that. The rest of this series replace "__initdata" with "const ... __initconst" for each of SoC code. I split this series in

[PATCH 16/18] ARM: zx: use const and __initconst for smp_operations

2015-08-23 Thread Masahiro Yamada
The smp_operations structure is not over-written, so add const qualifier and replace __initdata with __initconst. Also, add static to the structure. Signed-off-by: Masahiro Yamada --- arch/arm/mach-zx/platsmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-z

[PATCH 18/18] ARM: mcpm: use const and __initconst for smp_operations

2015-08-23 Thread Masahiro Yamada
The smp_operations structure is not over-written, so add const qualifier and replace __initdata with __initconst. Also, __initconst has been moved after mcpm_smp_ops because scripts/checkpatch.pl suggests to do so. Signed-off-by: Masahiro Yamada --- arch/arm/common/mcpm_platsmp.c | 2 +- 1 fil

[PATCH 01/18] ARM: add const qualifier to the argument of smp_set_ops()

2015-08-23 Thread Masahiro Yamada
This function just copies '*ops' to 'smp_ops', so the given structure '*ops' is not modified at all. Signed-off-by: Masahiro Yamada --- arch/arm/include/asm/smp.h | 2 +- arch/arm/kernel/smp.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/include/asm/smp.h

[PATCH 11/18] ARM: qcom: use const and __initconst for smp_operations

2015-08-23 Thread Masahiro Yamada
The smp_operations structure is not over-written, so add const qualifier and replace __initdata with __initconst. Signed-off-by: Masahiro Yamada --- arch/arm/mach-qcom/platsmp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-qcom/platsmp.c b/arch/arm/mac

[PATCH 06/18] ARM: berlin: use const and __initconst for smp_operations

2015-08-23 Thread Masahiro Yamada
The smp_operations structure is not over-written, so add const qualifier and replace __initdata with __initconst. Signed-off-by: Masahiro Yamada --- arch/arm/mach-berlin/platsmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-berlin/platsmp.c b/arch/arm/mach-

[PATCH 04/18] ARM: axxia: use const and __initconst for smp_operations

2015-08-23 Thread Masahiro Yamada
The smp_operations structure is not over-written, so add const qualifier and replace __initdata with __initconst. Signed-off-by: Masahiro Yamada --- arch/arm/mach-axxia/platsmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-axxia/platsmp.c b/arch/arm/mach-ax

[PATCH 15/18] ARM: uniphier: use const and __initconst for smp_operations

2015-08-23 Thread Masahiro Yamada
The smp_operations structure is not over-written, so add const qualifier and replace __initdata with __initconst. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/platsmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-uniphier/platsmp.c b/arch/arm/m

[PATCH 13/18] ARM: socfpga: use const and __initconst for smp_operations

2015-08-23 Thread Masahiro Yamada
The smp_operations structure is not over-written, so add const qualifier and replace __initdata with __initconst. Signed-off-by: Masahiro Yamada --- arch/arm/mach-socfpga/platsmp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-socfpga/platsmp.c b/arch/arm

[PATCH 03/18] ARM: alpine: use const and __initconst for smp_operations

2015-08-23 Thread Masahiro Yamada
The smp_operations structure is not over-written, so add const qualifier and replace __initdata with __initconst. Signed-off-by: Masahiro Yamada --- arch/arm/mach-alpine/platsmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-alpine/platsmp.c b/arch/arm/mach-

Re: [PATCH v4 3/3] touchscreen: colibri-vf50-ts: Add touchscreen support for Colibri VF50

2015-08-23 Thread maitysanchayan
Hello Dmitry, On 15-08-21 18:30:57, Dmitry Torokhov wrote: > Hi Sanchayan, > > On Fri, Aug 21, 2015 at 06:56:32PM +0530, Sanchayan Maity wrote: > > The Colibri Vybrid VF50 module supports 4-wire touchscreens using > > FETs and ADC inputs. This driver uses the IIO consumer interface > > and relies

Re: [PATCH 1/1] fix cpufreq/cpufreq.c some coding style issues

2015-08-23 Thread Vaishali Thakkar
On Mon, Aug 24, 2015 at 9:53 AM, Viresh Kumar wrote: > On 23-08-15, 21:19, Vaishali Thakkar wrote: >> >> On 23 Aug 2015 21:05, "Muhammad Falak R Wani" wrote: >> > >> > Hi, >> > >> > This patch fixes issues in coding style, of a missing blank line >> after >> > declarations. >> > >> > Best

Re: [RESEND PATCH] cpufreq: cpufreq: Fix coding style issues

2015-08-23 Thread Viresh Kumar
On 23-08-15, 22:13, Muhammad Falak R Wani wrote: > This patch introduces a blank line after declarations, which > fix the checkpatch.pl warnings at 3 places. > > Signed-off-by: Muhammad Falak R Wani > --- > drivers/cpufreq/cpufreq.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/dr

Re: [PATCH 1/1] fix cpufreq/cpufreq.c some coding style issues

2015-08-23 Thread Viresh Kumar
On 23-08-15, 21:09, Muhammad Falak R Wani wrote: > Hi, > > This patch fixes issues in coding style, of a missing blank line after > declarations. > > Best, > mfrw This is as ugly as it could be. Please go through Documentation/SubmittingPatches and other related stuff to see you to send pa

Re: is this a problem of numactl in RedHat7.0 ?

2015-08-23 Thread Xishi Qiu
On 2015/8/22 4:53, Rik van Riel wrote: > On 08/21/2015 05:27 AM, Xishi Qiu wrote: >> I use numactl(--localalloc) tool run a test case, but it shows that >> the numa policy is prefer, I don't know why. > > The kernel implements MPOL_PREFERRED and MPOL_LOCAL > in the same way. Look at this code in

Re: [PATCH 1/1] fix cpufreq/cpufreq.c some coding style issues

2015-08-23 Thread Viresh Kumar
On 23-08-15, 21:19, Vaishali Thakkar wrote: > > On 23 Aug 2015 21:05, "Muhammad Falak R Wani" wrote: > > > > Hi, > > > >         This patch fixes issues in coding style, of a missing blank line > after > > declarations. > > > > Best, > > mfrw > > Please use subject lines and commit log matching

.. one more last -rc after all

2015-08-23 Thread Linus Torvalds
So 4.2-rc8 is out, and that obviously means that I ended up deciding to chicken out after all, and delay the 4.2 release one week. It's not like there are any real outstanding issues, and I waffled between just doing the release and doing another -rc. But we did have another low-level x86 issue co

Re: [PATCH v3 06/14] Documentation: drm/bridge: add document for analogix_dp

2015-08-23 Thread Krzysztof Kozlowski
On 24.08.2015 11:42, Yakir Yang wrote: > Hi Krzysztof, > > 在 08/23/2015 07:43 PM, Krzysztof Kozlowski 写道: >> 2015-08-24 8:23 GMT+09:00 Rob Herring : >>> On Wed, Aug 19, 2015 at 9:50 AM, Yakir Yang wrote: Analogix dp driver is split from exynos dp driver, so we just make an copy of exyno

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

2015-08-23 Thread Stephen Rothwell
Hi Dave, On Sun, 23 Aug 2015 20:33:25 -0700 (PDT) David Miller wrote: > > From: Stephen Rothwell > Date: Mon, 24 Aug 2015 13:21:11 +1000 > > > After merging the net-next tree, today's linux-next build (arm > > multi_v7_defconfig) failed like this: > > Fixed by: > > > [PA

linux-next: manual merge of the block tree with the btrfs tree

2015-08-23 Thread Stephen Rothwell
Hi Jens, Today's linux-next merge of the block tree got a conflict in: fs/btrfs/inode.c between commit: da2f0f74cf7d ("Btrfs: add support for blkio controllers") from the btrfs tree and commit: b54ffb73cadc ("block: remove bio_get_nr_vecs()") from the block tree. I fixed it up (follow

linux-next: manual merge of the block tree with the btrfs tree

2015-08-23 Thread Stephen Rothwell
Hi Jens, Today's linux-next merge of the block tree got a conflict in: fs/btrfs/scrub.c between commit: 4246a0b63bd8 ("block: add a bi_error field to struct bio") from the btrfs tree and commit: 03679ade86b2 ("Btrfs: remove misleading handling of missing device scrub") from the block t

linux-next: manual merge of the block tree with the btrfs tree

2015-08-23 Thread Stephen Rothwell
Hi Jens, Today's linux-next merge of the block tree got a conflict in: fs/btrfs/raid56.c between commit: b4ee1782686d ("Btrfs: add RAID 5/6 BTRFS_RBIO_REBUILD_MISSING operation") from the btrfs tree and commit: 4246a0b63bd8 ("block: add a bi_error field to struct bio") from the block t

linux-next: manual merge of the block tree with the btrfs tree

2015-08-23 Thread Stephen Rothwell
Hi Jens, Today's linux-next merge of the block tree got a conflict in: fs/btrfs/volumes.c between commits: da2f0f74cf7d ("Btrfs: add support for blkio controllers") 3a9508b0221d ("btrfs: fix compile when block cgroups are not enabled") from the btrfs tree and commit: 0e28997ec476 ("bt

Re: drm/layerscape: Add Freescale DCU DRM driver

2015-08-23 Thread Jianwei Wang
Hi Andreas, Sorry for the late reply. Yes, this driver should also work on the arm64 SOCs using DCU in the future. So I did some prepare for adapting arm64 SOCs. But for now, It only support 32bit arm SOCs. Regards, Jianwei. On Fri, Aug 21, 2015 at 9:41 PM, Andreas Ruprecht wrote: > Hi Jianwei

Re: drm/layerscape: Add Freescale DCU DRM driver

2015-08-23 Thread Jianwei Wang
On Fri, Aug 21, 2015 at 9:41 PM, Andreas Ruprecht wrote: > Hi Jianwei, > > your commit 109eee2f2a18 ("drm/layerscape: Add Freescale DCU DRM > driver") showed up in linux-next today (i.e., next-20150821). I noticed > it because we are running a daily analysis on the newest linux-next tree > as part

Re: [PATCH 2/7] selftests: add CFLAGS_EXTRA

2015-08-23 Thread Michael Ellerman
On Fri, 2015-08-14 at 21:43 +0800, Bamvor Jian Zhang wrote: > One may pass the "-I /path/to/headers -L /path/to/lib" through > CFLAGS_EXTRA for cross compiling. mqueue could compile pass > in this way when we provide the popt.h and libpopt.so. And kdbus > could compile pass with sys/capability and

Re: [PATCH 5/7] selftests: disable seccomp for arm64

2015-08-23 Thread Michael Ellerman
On Fri, 2015-08-14 at 21:43 +0800, Bamvor Jian Zhang wrote: > Currently, seccomp need the __NR_poll which is not supported > by arm64(There is only __NR_ppoll). I am not sure we should > skip this test testcase or update the seccomp without __NR_poll. You should fix or skip the test that needs __N

Re: [PATCH] net/wireless: enable wiphy device to suspend/resume asynchronously

2015-08-23 Thread Fu, Zhonghui
On 2015/8/17 16:46, Arend van Spriel wrote: > + Rafael > > On 08/17/2015 09:29 AM, Johannes Berg wrote: >> On Mon, 2015-08-17 at 09:48 +0800, Fu, Zhonghui wrote: >>> >>> The suspend/resume timing of wiphy device and related devices will be >>> ensured by their parent/child relationship. So, enabl

[PATCH v3 2/4] spi: mediatek: replace int with u32, delete TAB and define MTK_SPI_PAUSE_INT_STATUS marco

2015-08-23 Thread Leilk Liu
this patch replaces int with u32, deletes TAB, and defines MTK_SPI_PAUSE_INT_STATUS marco. Signed-off-by: Leilk Liu --- drivers/spi/spi-mt65xx.c | 18 ++ 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/drivers/spi/spi-mt65xx.c b/drivers/spi/spi-mt65xx.c index fe4ed

[PATCH v3 3/4] spi: mediatek: add PM clk_prepare_enable fail flow

2015-08-23 Thread Leilk Liu
This patch adds PM clk_prepare_enable fail flow. Signed-off-by: Leilk Liu --- drivers/spi/spi-mt65xx.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/drivers/spi/spi-mt65xx.c b/drivers/spi/spi-mt65xx.c index f81618c..e14f583 100644 --- a/drivers/spi/spi-mt65xx

[PATCH v3 4/4] spi: mediatek: replace *_time name

2015-08-23 Thread Leilk Liu
This patch replaces *_time name in mtk_spi_prepare_transfer(). Signed-off-by: Leilk Liu --- drivers/spi/spi-mt65xx.c | 20 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/drivers/spi/spi-mt65xx.c b/drivers/spi/spi-mt65xx.c index e14f583..eaadc7e 100644 --- a/d

[PATCHi v3 0/4] Fixup mediatek spi driver

2015-08-23 Thread Leilk Liu
From: Leilk Liu This series are based on 4.2-rc1 and provide four patches to fix mediatek spi driver. Change in v3: 1. The follow patches are applied, so remove them from series: - spi: mediatek: fix spi incorrect endian usage - spi: medaitek: revise quirks compatibility style - spi: medi

[PATCH v3 1/4] spi: mediatek: add linux/io.h include file

2015-08-23 Thread Leilk Liu
mediatek spi driver uses readl/writel, so add linux/io.h, even so it's implicitly imported by spi/spi.h Signed-off-by: Leilk Liu --- drivers/spi/spi-mt65xx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/spi/spi-mt65xx.c b/drivers/spi/spi-mt65xx.c index 43c1dd5..fe4eda3 100644 ---

drm/radeon: take the mode_config mutex when dealing with hpds (v2) crashes

2015-08-23 Thread Joerg Platte
Dear Alex, on my old P4 based non-SMP router your patch (commit 32d12fc20e3c726ca858d0e5055fb596fce2f8bc in linux stable) crashes on Linux 4.1.4 and above. I was only able to take a picture of the whole trace https://ferdi.naasa.net/url/jplatte/IMG_3116.JPG Reverting the patch resolves the i

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

2015-08-23 Thread David Miller
From: Stephen Rothwell Date: Mon, 24 Aug 2015 13:21:11 +1000 > After merging the net-next tree, today's linux-next build (arm > multi_v7_defconfig) failed like this: Fixed by: [PATCH] route: fix breakage after moving lwtunnel state __recnt and related fields need to be in

Re: [PATCH 1/2] watchdog: bcm7038: add device tree binding documentation

2015-08-23 Thread Guenter Roeck
Hi Justin, On 08/20/2015 10:41 AM, Justin Chen wrote: Add device tree binding docmentation for the watchdog hardware block on bcm7038 and newer SoCs. Signed-off-by: Justin Chen --- .../devicetree/bindings/watchdog/brcm,bcm7038-wdt.txt | 19 +++ 1 file changed, 19 insertions(

Re: is this a problem of numactl in RedHat7.0 ?

2015-08-23 Thread Xishi Qiu
On 2015/8/22 4:53, Rik van Riel wrote: > On 08/21/2015 05:27 AM, Xishi Qiu wrote: >> I use numactl(--localalloc) tool run a test case, but it shows that >> the numa policy is prefer, I don't know why. > > The kernel implements MPOL_PREFERRED and MPOL_LOCAL > in the same way. Look at this code in

Re: [PATCH 2/3] kvm: don't register wildcard MMIO EVENTFD on two buses

2015-08-23 Thread Jason Wang
On 08/21/2015 05:29 PM, Cornelia Huck wrote: > On Fri, 21 Aug 2015 16:03:52 +0800 > Jason Wang wrote: > > >> diff --git a/virt/kvm/eventfd.c b/virt/kvm/eventfd.c >> index 9ff4193..834a409 100644 >> --- a/virt/kvm/eventfd.c >> +++ b/virt/kvm/eventfd.c >> @@ -838,11 +838,6 @@ kvm_assign_ioeventfd(

Re: [PATCH 2/2] watchdog: Watchdog driver for Broadcom Set-Top Box

2015-08-23 Thread Guenter Roeck
Hi Justin, On 08/20/2015 10:41 AM, Justin Chen wrote: Watchdog driver for Broadcom 7038 and newer chips. Signed-off-by: Justin Chen Looks pretty good. Couple of comments below. Thanks, Guenter --- drivers/watchdog/Kconfig | 8 ++ drivers/watchdog/Makefile | 1 + drivers

RE: [PATCH] [v2] x86, suspend: Save/restore extra MSR registers for suspend

2015-08-23 Thread Chen, Yu C
Hi, Pavel, > Plus, I acked V2 when V3 was available. > V3 is to only save/restore THERM_CONTRO msr, so I think I'll do some check based on V2, It is more extensible. Thanks, Best Regards, Yu -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to ma

Re: [PATCH v1 3/3] arm64: dts: add Hi6220 mailbox node

2015-08-23 Thread Leo Yan
Hi Mark, On Sat, Aug 22, 2015 at 09:30:50PM +0800, Leo Yan wrote: > On Fri, Aug 21, 2015 at 07:40:59PM +0100, Mark Rutland wrote: > > On Wed, Aug 19, 2015 at 10:37:35AM +0100, Leo Yan wrote: > > > On Hi6220, below memory regions in DDR have specific purpose: > > > > > > 0x05e0, - 0x05ef,fff

RE: [PATCH] [v2] x86, suspend: Save/restore extra MSR registers for suspend

2015-08-23 Thread Chen, Yu C
Hi Ingo, thanks for your reply, > So I like the general structure of the patch and I like the MSR saving > mechanism it introduces, but it is full of typos and small stylistic > uncleanlinesses which need to be fixed before this patch can be applied. > Please don't ack incomplete patches. > Sorr

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

2015-08-23 Thread Stephen Rothwell
Hi all, After merging the net-next tree, today's linux-next build (arm multi_v7_defconfig) failed like this: In function 'dst_hold', inlined from '__ipv6_dev_ac_dec' at /home/sfr/next/next/net/ipv6/anycast.c:328:2: /home/sfr/next/next/include/linux/compiler.h:447:38: error: call to '__compi

Re: [PATCH block/for-linus] writeback: fix syncing of I_DIRTY_TIME inodes

2015-08-23 Thread Eryu Guan
On Mon, Aug 24, 2015 at 11:11:23AM +1000, Dave Chinner wrote: > > Eryu, can you change the way you run the event trace to be: > > $ sudo trace-cmd -o ./check > > rather than running the trace as a background operation elsewhere? > Maybe that will give better results. The results are here ht

Re: [PATCH 1/3] ARM: uniphier: add outer cache support

2015-08-23 Thread Masahiro Yamada
Hi Joe, 2015-08-24 11:29 GMT+09:00 Joe Perches : > On Mon, 2015-08-24 at 11:18 +0900, Masahiro Yamada wrote: >> This commit adds support for UniPhier outer cache controller. >> All the UniPhier SoCs are equipped with the L2 cache, while the L3 >> cache is currently only integrated on PH1-Pro5 SoC

Re: [BUG] arm: kgdb: patch_text() in kgdb_arch_set_breakpoint() may sleep

2015-08-23 Thread Doug Anderson
Aapo, Including the stack trace with this would have been helpful, though it's not too hard to reproduce. Here it is: [ 416.510559] BUG: scheduling while atomic: swapper/0/0/0x00010007 [ 416.516554] Modules linked in: [ 416.519614] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.2.0-rc7-00133-geb

Re: [PATCH v3 06/14] Documentation: drm/bridge: add document for analogix_dp

2015-08-23 Thread Yakir Yang
Hi Krzysztof, 在 08/23/2015 07:43 PM, Krzysztof Kozlowski 写道: 2015-08-24 8:23 GMT+09:00 Rob Herring : On Wed, Aug 19, 2015 at 9:50 AM, Yakir Yang wrote: Analogix dp driver is split from exynos dp driver, so we just make an copy of exynos_dp.txt, and then simplify exynos_dp.txt Beside update s

  1   2   3   >