[PATCH] USB: legotower: use msecs_to_jiffies for time conversion

2015-02-06 Thread Nicholas Mc Guire
This is only an API consolidation and should make things more readable it replaces var * HZ / 1000 by msecs_to_jiffies(var). Signed-off-by: Nicholas Mc Guire --- Patch was only compile tested with x86_64_defconfig + CONFIG_USB_LEGOTOWER=m Patch is against 3.19.0-rc7 (localversion-next is

Re: [PATCH] ARM: dts: mvebu: add ethernet to the cm-a510 board

2015-02-06 Thread Sebastian Hesselbarth
On 06.02.2015 10:19, Gabriel Dobato wrote: On 05/02/15 23:13, Sebastian Hesselbarth wrote: great you can boot a recent kernel. I guess you had to quite heavily modify current dove-cm-a510.dts? Can you upload the one you use now to any pastebin and send the link? Not, I only had to include eth

[PATCH 1/1] iommu/vt-d: Convert non-returned local variable to boolean when relevant

2015-02-06 Thread Quentin Lambert
This patch was produced using Coccinelle. A simplified version of the semantic patch is: @r exists@ identifier f; local idexpression u8 x; identifier xname; @@ f(...) { ...when any ( x@xname = 1; | x@xname = 0; ) ...when any } @bad exists@ identifier r.f; local idexpression u8 r.x

[PATCH] USB: image: use msecs_to_jiffies for time conversion

2015-02-06 Thread Nicholas Mc Guire
This is only an API consolidation and should make things more readable it replaces var * HZ / 1000 by msecs_to_jiffies(var). Signed-off-by: Nicholas Mc Guire --- Note that the indentation is not aligned with the correct ( here due to lines going over 80 char - not sure if this is the right way

Re: [PATCH 1/2] clk: Fix __clk_get access to already freed owner field.

2015-02-06 Thread Alban Browaeys
Le jeudi 05 février 2015 à 13:45 -0800, Stephen Boyd a écrit : > On 02/05/15 13:30, Alban Browaeys wrote: > >> Thanks for the information. Can you please try the patch in this other > >> thread[1]? I think you're seeing the same problem. > >> > >> [1] https://lkml.org/lkml/2015/2/5/595 > > > >

[PATCH V5 1/8] USB: f81232: Rename private struct member name

2015-02-06 Thread Peter Hung
Change private struct member name from line_status to modem_status. It will store MSR for some functions used Signed-off-by: Peter Hung --- drivers/usb/serial/f81232.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/usb/serial/f81232.c

[PATCH V5 4/8] USB: f81232: implement set_termios

2015-02-06 Thread Peter Hung
The original driver had do not any h/w change in driver. This patch implements with configure H/W for baud/parity/word length/stop bits functional. Some init step extract to f81232_port_init(), called once with open(). And refine baudrate setting to f81232_set_baudrate() Signed-off-by: Peter

[PATCH V5 3/8] USB: f81232: implement RX bulk-in ep

2015-02-06 Thread Peter Hung
The F81232 bulk-in is RX data + LSR channel, data format is [LSR+Data][LSR+Data]. , We had reimplemented in this patch. Signed-off-by: Peter Hung --- drivers/usb/serial/f81232.c | 68 +++-- 1 file changed, 35 insertions(+), 33 deletions(-) diff --git

[PATCH V5 5/8] USB: f81232: implement MCR/MSR function

2015-02-06 Thread Peter Hung
This patch implement relative MCR/MSR function, such like tiocmget()/tiocmset()/dtr_rts(). The f81232_set_mctrl() replace set_control_lines() to do MCR control so we clean-up the set_control_lines() function. Signed-off-by: Peter Hung --- drivers/usb/serial/f81232.c | 98

[PATCH V5 8/8] USB: f81232: modify/add author

2015-02-06 Thread Peter Hung
Add me to co-author and fix no '>' in greg kh's email Signed-off-by: Peter Hung --- drivers/usb/serial/f81232.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/usb/serial/f81232.c b/drivers/usb/serial/f81232.c index 07abf0c..8799b66 100644 ---

[PATCH V5 7/8] USB: f81232: fix error in f81232_carrier_raised()

2015-02-06 Thread Peter Hung
It's should compared with UART_MSR_DCD, not UART_DCD. also we clean-up some non-used define to avoid impropriety use. Signed-off-by: Peter Hung --- drivers/usb/serial/f81232.c | 16 +--- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/drivers/usb/serial/f81232.c

[PATCH V5 6/8] USB: f81232: clarify f81232_ioctl()

2015-02-06 Thread Peter Hung
We extract TIOCGSERIAL section in f81232_ioctl() to f81232_get_serial_info() to make it clarify The f81232_set_mctrl() replace set_control_lines() to do MCR control so we clean-up the set_control_lines() function. Signed-off-by: Peter Hung --- drivers/usb/serial/f81232.c | 34

[PATCH V5 0/8] USB: f81534: v5 patch

2015-02-06 Thread Peter Hung
This series patch V5 is improvement from V4 as following: 1. transform all function not to use private data as parameter, using usb_serial_port instead. 2. Some init step we extract it from set_term() to f81232_port_init() and run it when open port only. 3. We'll force re-read msr in

[PATCH V5 2/8] USB: f81232: implement read IIR/MSR with endpoint

2015-02-06 Thread Peter Hung
The interrupt Endpoint will report current IIR. If we got IIR with MSR Changed , We will do read MSR with interrupt_work worker to do f81232_read_msr() func. Signed-off-by: Peter Hung --- drivers/usb/serial/f81232.c | 109 1 file changed, 100

Re: [RFT/PATCH] Input: bfin_rotary - introduce open and close methods

2015-02-06 Thread Sonic Zhang
Hi Dmitry, After apply your patch manually to my blackfin kernel tree, I got kernel panic when probe the rotary. NULL pointer access Kernel OOPS in progress Deferred Exception context CURRENT PROCESS: COMM=swapper PID=1 CPU=0 invalid mm return address: [0x00167648]; contents of: 0x00167620:

Re: [PATCH V4] acpi:apd:add AMD ACPI2Platform device support for x86 system.

2015-02-06 Thread mika.westerb...@linux.intel.com
On Fri, Feb 06, 2015 at 08:34:52AM +0800, Ken Xue wrote: > >From 1a6a3a5c0815cb1f52ec0a2b9601edfa9bfebe81 Mon Sep 17 00:00:00 2001 > From: Ken Xue > Date: Fri, 6 Feb 2015 08:27:51 +0800 > Subject: [PATCH] acpi:apd:add AMD ACPI2Platform device support for x86 system. > > This new feature is to

[PATCH 1/1] coccinelle: misc: Semantic patch to find attempts at comparing struct clk pointers

2015-02-06 Thread Quentin Lambert
This semantic patches find instances where struct clk pointers are compared. This was proposed by Stephen Boyd. Signed-off-by: Quentin Lambert --- This patch was discussed in this thread: https://lkml.org/lkml/2015/2/2/629 scripts/coccinelle/misc/structclk.cocci | 44

davinci-mcasp: extension to use AHCLKX pin as external clock source

2015-02-06 Thread Urs Fässler
The AHCLKX pin seems not to be supported as external source. The first patch is a general fix to allow external clock. The second allows you to select the AHCLKX pin as clock source. Patch built against v3.19-rc7 signature.asc Description: OpenPGP digital signature

[PATCH 1/2] davinci-mcasp: use bclk_master flag to decide if the SOC is clock master

2015-02-06 Thread Urs Fässler
Signed-off-by: Urs Fässler --- sound/soc/davinci/davinci-mcasp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/davinci/davinci-mcasp.c b/sound/soc/davinci/davinci-mcasp.c index 30b94d4..396cdec 100644 --- a/sound/soc/davinci/davinci-mcasp.c +++

[PATCH 2/2] davinci-mcasp: add option to use AHCLKX pin as clock in

2015-02-06 Thread Urs Fässler
Signed-off-by: Urs Fässler --- .../bindings/sound/davinci-mcasp-audio.txt | 1 + sound/soc/davinci/davinci-mcasp.c | 26 +++--- 2 files changed, 24 insertions(+), 3 deletions(-) diff --git

Re: [PATCH] mtd: denali: Disable sub-page writes in Denali NAND driver

2015-02-06 Thread Richard Weinberger
Am 06.02.2015 um 09:29 schrieb Ricard Wanderlof: > > On Thu, 5 Feb 2015, Graham Moore wrote: > >> Actually, we made this change to make UBIFS work. So, yes, the driver >> never worked for UBI. Worked fine for JFFS2, raw data. >> >> A customer reported an issue with ECC errors when using UBIFS

Re: [PATCH v2] drm/nouveau/clk: Change rate from u32 to u64 in gk20a_pllg_calc_rate()

2015-02-06 Thread Alexandre Courbot
On 02/06/2015 06:20 PM, Geert Uytterhoeven wrote: On 32-bit platforms using asm-generic/div64.h: drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c: In function 'gk20a_pllg_calc_rate': drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c:147:79: warning: comparison of distinct pointer types lacks a

Re: [RFT/PATCH] Input: bfin_rotary - introduce open and close methods

2015-02-06 Thread Sonic Zhang
Hi Dmitry, On Fri, Feb 6, 2015 at 2:56 PM, Dmitry Torokhov wrote: > Introduce open and close methods for the input device to postpone enabling > the device until it is needed. > > Signed-off-by: Dmitry Torokhov > --- > > Hi Sonic, > > Could you please tell me if the driver still works with this

[PATCH v2] drm/nouveau/clk: Change rate from u32 to u64 in gk20a_pllg_calc_rate()

2015-02-06 Thread Geert Uytterhoeven
On 32-bit platforms using asm-generic/div64.h: drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c: In function 'gk20a_pllg_calc_rate': drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c:147:79: warning: comparison of distinct pointer types lacks a cast do_div(rate, divider);

Re: [RFC PATCH 0/3] Fix power domains handling on exynos542x

2015-02-06 Thread Javier Martinez Canillas
Hello Joonyoung, On 02/06/2015 06:27 AM, Joonyoung Shim wrote: > On 02/05/2015 11:45 PM, Javier Martinez Canillas wrote: >> >> I also tested on an Exynos5420 Peach Pit Chromebook and both the "Power >> domain power-domain disable failed" message and the system crash are gone. >> > > Really

[PATCH] video: fbdev: use msecs_to_jiffies for time conversion

2015-02-06 Thread Nicholas Mc Guire
This is only an API consolidation and should make things more readable it replaces var * HZ / 1000 by msecs_to_jiffies(var). Signed-off-by: Nicholas Mc Guire --- Patch was only compile tested with viper_defconfig (implies CONFIG_FB_PXA=m) Patch is against 3.19.0-rc7 (localversion-next is

Re: [Cocci] [PATCH v13 3/6] clk: Make clk API return per-user struct clk instances

2015-02-06 Thread Julia Lawall
On Fri, 6 Feb 2015, Quentin Lambert wrote: > > On 06/02/2015 03:15, Stephen Boyd wrote: > > Thanks for the coccinelle patch. Thinking more about it, I don't think > > we care if the pointer is dereferenced because that would require a > > definition of struct clk and that is most likely not the

Re: [PATCH v3 1/3] genirq: Allow the irqchip state of an IRQ to be save/restored

2015-02-06 Thread Marc Zyngier
On 05/02/15 23:33, Bjorn Andersson wrote: > On Wed, Jan 7, 2015 at 9:51 AM, Marc Zyngier wrote: >> There is a number of cases where a kernel subsystem may want to >> introspect the state of an interrupt at the irqchip level: >> >> - When a peripheral is shared between virtual machines, >> its

Re: [PATCH] Input: bfin_rotary - mark suspend and resume code as __maybe_unused

2015-02-06 Thread Sonic Zhang
Hi Dmitry, On Fri, Feb 6, 2015 at 2:09 PM, Dmitry Torokhov wrote: > Instead of using #ifdef to guard potentially unused suspend and resume code > let's mark them as __maybe_unused so they still get discarded if they are > not used but we do not get warning. This allows for better compile

Re: [PATCH 3/3] arm64: dts: Add dts files for Hisilicon Hi6220 SoC

2015-02-06 Thread Marc Zyngier
On 06/02/15 08:42, Brent Wang wrote: [...] >> >>> + <0x0 0xf6802000 0x0 0x2000>, /* GICC */ >>> + <0x0 0xf6804000 0x0 0x2000>, /* GICH */ >>> + <0x0 0xf6806000 0x0 0x2000>; /* GICV */ >> >> I guess no-one's bothered to consider 64k pages? >>

Re: [Cocci] [PATCH v13 3/6] clk: Make clk API return per-user struct clk instances

2015-02-06 Thread Quentin Lambert
On 06/02/2015 03:15, Stephen Boyd wrote: Thanks for the coccinelle patch. Thinking more about it, I don't think we care if the pointer is dereferenced because that would require a definition of struct clk and that is most likely not the case outside of the clock framework. Did you scan the

Re: [PATCH 6/6 v2] perf: Make perf aware of tracefs

2015-02-06 Thread Arnaldo Carvalho de Melo
Em Tue, Feb 03, 2015 at 11:45:50AM -0500, Steven Rostedt escreveu: > On Tue, 3 Feb 2015 15:16:25 +0100 > Jiri Olsa wrote: > > I guess you ommited the fprint(stderr... ) warning on purpose > > (like in find_debugfs), because the tracefs is not upstream yet, right? > Right, because I didn't want

Re: [PATCH] linux-firmware: update firmware for Intel Broadwell SST DSP

2015-02-06 Thread Kyle McMartin
On Thu, Feb 05, 2015 at 11:27:04PM +0800, Jie Yang wrote: > Update firmware intel/IntcSST2.bin from Version 8.4.1.68 to 8.4.1.77 > Fix for freeing capture stream just after resetting it. > > Signed-off-by: Jie Yang applied, thanks Jie. regards, Kyle > --- > WHENCE | 1 + >

Re: [PATCH 3/3] arm64: dts: Add dts files for Hisilicon Hi6220 SoC

2015-02-06 Thread Brent Wang
Hello Mark, 2015-02-06 3:30 GMT+08:00 Mark Rutland : > On Thu, Feb 05, 2015 at 09:24:37AM +, Bintian Wang wrote: >> Add initial dtsi file to support Hisilicon Hi6220 SoC with >> support of Octal core CPUs in two clusters and each cluster >> has quard Cortex-A53. >> >> We now use the

[PATCH] ARM: at91: dts: sama5d4: add dts for sama5d4 xplained board

2015-02-06 Thread Josh Wu
add at91 sama5d4 xplained board support. Signed-off-by: Josh Wu --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/at91-sama5d4_xplained.dts | 234 2 files changed, 235 insertions(+) create mode 100644

Re: [PATCH v2 1/2] mtd: nand: pxa3xx: Fix PIO FIFO draining

2015-02-06 Thread Brian Norris
On Fri, Feb 06, 2015 at 09:13:07AM +0100, Boris Brezillon wrote: > Hi Brian, > > On Thu, 5 Feb 2015 17:08:35 -0800 > Brian Norris wrote: > > On Wed, Feb 04, 2015 at 11:10:28AM +0100, Boris Brezillon wrote: > > > On Mon, 26 Jan 2015 15:56:03 +0100 > > > Maxime Ripard wrote: > > > > +

Re: [PATCH] mtd: denali: Disable sub-page writes in Denali NAND driver

2015-02-06 Thread Ricard Wanderlof
On Thu, 5 Feb 2015, Graham Moore wrote: > Actually, we made this change to make UBIFS work. So, yes, the driver > never worked for UBI. Worked fine for JFFS2, raw data. > > A customer reported an issue with ECC errors when using UBIFS on NAND > flash with Altera SoC. > > We debugged it and

Re: [PATCH] thermal: int340x: fix sparse warning

2015-02-06 Thread Zhang Rui
On Thu, 2015-02-05 at 13:43 +, Lad Prabhakar wrote: > From: "Lad, Prabhakar" > > this patch fixes following sparse warning: > > processor_thermal_device.c:188:6: warning: symbol 'proc_thermal_remove' was > not declared. Should it be static? > > Signed-off-by: Lad, Prabhakar applied.

RE: [f2fs-dev] [PATCH 5/5 v4] f2fs: introduce a batched trim

2015-02-06 Thread Chao Yu
Hi Jaegeuk, > -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Friday, February 06, 2015 2:19 PM > To: Chao Yu > Cc: 'Changman Lee'; linux-fsde...@vger.kernel.org; > linux-kernel@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Subject: Re: [f2fs-dev]

Re: [PATCH] drm: atmel-hlcdc: Atomic mode-setting conversion

2015-02-06 Thread Daniel Vetter
On Thu, Feb 05, 2015 at 04:37:56PM +0100, Boris Brezillon wrote: > On Thu, 5 Feb 2015 14:08:32 +0100 > Daniel Vetter wrote: > > > On Wed, Feb 04, 2015 at 09:20:51PM +0100, Boris Brezillon wrote: > > > Convert the HLCDC driver to atomic mode-setting. > > > > > > Signed-off-by: Boris Brezillon >

Re: [PATCH v2 1/2] mtd: nand: pxa3xx: Fix PIO FIFO draining

2015-02-06 Thread Boris Brezillon
Hi Brian, On Thu, 5 Feb 2015 17:08:35 -0800 Brian Norris wrote: > + Rob > > This patch has conflicts with an ARM64-preparation from Rob. I'd like to > get this patch in first, as it's a bugfix. But I'd like to settle > Boris's comments first. > > (Regarding the request to get this into 3.19:

Re: [PATCH RFC v8 11/21] Documentation: dt-bindings: Add bindings for Synopsys DW MIPI DSI DRM bridge driver

2015-02-06 Thread Liu Ying
On Thu, Feb 05, 2015 at 11:10:04AM +0100, Philipp Zabel wrote: > Am Mittwoch, den 31.12.2014, 16:23 +0800 schrieb Liu Ying: > > This patch adds device tree bindings for Synopsys DesignWare MIPI DSI > > host controller DRM bridge driver. > > > > Signed-off-by: Liu Ying > > --- > > v7->v8: > > *

Re: [GIT PULL] at91: cleanup/soc for 3.20 #4 (bis)

2015-02-06 Thread Olof Johansson
On Mon, Feb 02, 2015 at 08:27:54PM +0100, Nicolas Ferre wrote: > Arnd, Olof, Kevin, > > As advised by Olof, here is a second attempt with this pull-request but this > time with the at91-3.19-fixes branch as a base. Here is how I did it: > - took v3.19-rc4 > - merged my at91-3.19-fixes branch that

Re: [PATCH] drm: atmel-hlcdc: Atomic mode-setting conversion

2015-02-06 Thread Daniel Vetter
On Thu, Feb 05, 2015 at 04:37:56PM +0100, Boris Brezillon wrote: On Thu, 5 Feb 2015 14:08:32 +0100 Daniel Vetter dan...@ffwll.ch wrote: On Wed, Feb 04, 2015 at 09:20:51PM +0100, Boris Brezillon wrote: Convert the HLCDC driver to atomic mode-setting. Signed-off-by: Boris Brezillon

RE: [f2fs-dev] [PATCH 5/5 v4] f2fs: introduce a batched trim

2015-02-06 Thread Chao Yu
Hi Jaegeuk, -Original Message- From: Jaegeuk Kim [mailto:jaeg...@kernel.org] Sent: Friday, February 06, 2015 2:19 PM To: Chao Yu Cc: 'Changman Lee'; linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.net Subject: Re: [f2fs-dev] [PATCH

Re: [PATCH v2 1/2] mtd: nand: pxa3xx: Fix PIO FIFO draining

2015-02-06 Thread Brian Norris
On Fri, Feb 06, 2015 at 09:13:07AM +0100, Boris Brezillon wrote: Hi Brian, On Thu, 5 Feb 2015 17:08:35 -0800 Brian Norris computersforpe...@gmail.com wrote: On Wed, Feb 04, 2015 at 11:10:28AM +0100, Boris Brezillon wrote: On Mon, 26 Jan 2015 15:56:03 +0100 Maxime Ripard

Re: [PATCH RFC v8 11/21] Documentation: dt-bindings: Add bindings for Synopsys DW MIPI DSI DRM bridge driver

2015-02-06 Thread Liu Ying
On Thu, Feb 05, 2015 at 11:10:04AM +0100, Philipp Zabel wrote: Am Mittwoch, den 31.12.2014, 16:23 +0800 schrieb Liu Ying: This patch adds device tree bindings for Synopsys DesignWare MIPI DSI host controller DRM bridge driver. Signed-off-by: Liu Ying ying@freescale.com --- v7-v8:

Re: [PATCH v2 1/2] mtd: nand: pxa3xx: Fix PIO FIFO draining

2015-02-06 Thread Boris Brezillon
Hi Brian, On Thu, 5 Feb 2015 17:08:35 -0800 Brian Norris computersforpe...@gmail.com wrote: + Rob This patch has conflicts with an ARM64-preparation from Rob. I'd like to get this patch in first, as it's a bugfix. But I'd like to settle Boris's comments first. (Regarding the request to

Re: [PATCH] mtd: denali: Disable sub-page writes in Denali NAND driver

2015-02-06 Thread Ricard Wanderlof
On Thu, 5 Feb 2015, Graham Moore wrote: Actually, we made this change to make UBIFS work. So, yes, the driver never worked for UBI. Worked fine for JFFS2, raw data. A customer reported an issue with ECC errors when using UBIFS on NAND flash with Altera SoC. We debugged it and found

Re: [PATCH] thermal: int340x: fix sparse warning

2015-02-06 Thread Zhang Rui
On Thu, 2015-02-05 at 13:43 +, Lad Prabhakar wrote: From: Lad, Prabhakar prabhakar.cse...@gmail.com this patch fixes following sparse warning: processor_thermal_device.c:188:6: warning: symbol 'proc_thermal_remove' was not declared. Should it be static? Signed-off-by: Lad,

Re: [GIT PULL] at91: cleanup/soc for 3.20 #4 (bis)

2015-02-06 Thread Olof Johansson
On Mon, Feb 02, 2015 at 08:27:54PM +0100, Nicolas Ferre wrote: Arnd, Olof, Kevin, As advised by Olof, here is a second attempt with this pull-request but this time with the at91-3.19-fixes branch as a base. Here is how I did it: - took v3.19-rc4 - merged my at91-3.19-fixes branch that is

Re: [PATCHv6 4/5] edac: altera: Add Altera L2 Cache and OCRAM EDAC Support

2015-02-06 Thread Mark Rutland
On Fri, Jan 09, 2015 at 02:53:55AM +, ttha...@opensource.altera.com wrote: From: Thor Thayer ttha...@opensource.altera.com Adding L2 Cache and On-Chip RAM EDAC support for the Altera SoCs using the EDAC device model. The SDRAM controller is using the Memory Controller model. Each

[PATCH 1/2] tracing: Add condition check to RCU lockdep checks

2015-02-06 Thread Steven Rostedt
From: Steven Rostedt (Red Hat) rost...@goodmis.org The trace_tlb_flush() tracepoint can be called when a CPU is going offline. When a CPU is offline, RCU is no longer watching that CPU and since the tracepoint is protected by RCU, it must not be called. To prevent the tlb_flush tracepoint from

[PATCH 0/2] tracing/tlb/x85: Fix splat of calling RCU trace code on offline CPU

2015-02-06 Thread Steven Rostedt
Paul, I found a much better fix than adding the rcu_nocheck(). Simply have the rcu check inside the condition check as well. This way the rcu splat will only happen if the condition is set too. The condition doesn't need the tracepoint enabled. Now I'm thinking that I should push the first patch

Re: [PATCH 2/2] x86/tbl/trace: Do not trace on CPU that is offline

2015-02-06 Thread Steven Rostedt
On Fri, 6 Feb 2015 21:11:57 +0100 Sedat Dilek sedat.di...@gmail.com wrote: On Fri, Feb 6, 2015 at 9:06 PM, Steven Rostedt rost...@goodmis.org wrote: From: Steven Rostedt (Red Hat) rost...@goodmis.org Subject: x86/tbl/trace: --- .../tlb/... But I wanted To Be Loved. -- Steve -- To

[PATCH resend] spi: sc18is602: Support multiple devices on a single I2C bus if DT is configured

2015-02-06 Thread Guenter Roeck
The driver currently only supports a single device per I2C bus since it uses the I2C bus number to set the SPI bus number. This makes it impossible to connect more than one chip to a single I2C bus. We don't want to use dynamic bus numbers unconditionally since this would result in every

Re: [PATCH 1/2] kernel/fork: handle put_user errors for CLONE_CHILD_SETTID/CLEARTID

2015-02-06 Thread Konstantin Khlebnikov
On Fri, Feb 6, 2015 at 10:55 PM, Oleg Nesterov o...@redhat.com wrote: On 02/06, Oleg Nesterov wrote: On 02/06, Konstantin Khlebnikov wrote: Whole sequence looks like: task calls fork, glibc calls syscall clone with CLONE_CHILD_SETTID and passes pointer to TLS THREAD_SELF-tid as argument.

Re: [PATCH] livepatch: add missing newline to error message

2015-02-06 Thread Jiri Kosina
On Fri, 6 Feb 2015, Josh Poimboeuf wrote: Signed-off-by: Josh Poimboeuf jpoim...@redhat.com --- kernel/livepatch/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/livepatch/core.c b/kernel/livepatch/core.c index 9adf86b..ff7f47d 100644 ---

Re: [PATCH 1/1] ARM: dts: Use more descriptive names for Exynos5420 PDs

2015-02-06 Thread Javier Martinez Canillas
Hello Sergei, Thanks a lot for your feedback. On 02/06/2015 08:09 PM, Sergei Shtylyov wrote: Hello. On 02/06/2015 08:37 PM, Javier Martinez Canillas wrote: All the device nodes for the Exynos5420 power-domains have a quite generic power-domain name. And this is in conformance to

[PATCH v1] clk: qcom: Add MSM8916 Global Clock Controller support

2015-02-06 Thread Georgi Djakov
This is preliminary and not fully tested patch which adds support for the global clock controller found on the MSM8916 based devices. It allows the various device drivers to probe and control their clocks and resets. Signed-off-by: Georgi Djakov georgi.dja...@linaro.org ---

Re: [PATCH v13 3/6] clk: Make clk API return per-user struct clk instances

2015-02-06 Thread Russell King - ARM Linux
On Fri, Feb 06, 2015 at 11:30:18AM -0800, Stephen Boyd wrote: Why don't we make the legacy lookup more specific and actually indicate internal for the con_id? Then the external clock would fail to be found, but we can detect that case and figure out that it's not due to probe defer, but

[PATCH v2 2/3] clk: Rename child_node to clks_node to avoid confusion

2015-02-06 Thread Stephen Boyd
The child_node member of struct clk is named the same as the child_node member of struct clk_core. Let's rename the struct clk's member to clks_node to avoid getting confused with the child_node member of struct clk_core and to match the name of the list head, clks. Reviewed-by: Tomeu Vizoso

[PATCH 3/8] x86, fpu: kill save_init_fpu(), change math_error() to use unlazy_fpu()

2015-02-06 Thread riel
From: Oleg Nesterov o...@redhat.com math_error() calls save_init_fpu() after conditional_sti(), this means that the caller can be preempted. If !use_eager_fpu() we can hit the WARN_ON_ONCE(!__thread_has_fpu(tsk)) and/or save the wrong FPU state. Change math_error() to use unlazy_fpu() and kill

[PATCH 1/8] x86, fpu: unlazy_fpu: don't reset thread.fpu_counter

2015-02-06 Thread riel
From: Oleg Nesterov o...@redhat.com It is not clear why the else branch clears -fpu_counter, this makes no sense. If use_eager_fpu() then this has no effect. Otherwise, if we actually wanted to prevent fpu preload after the context switch we would need to reset it unconditionally, even if

[PATCH 4/8] x86,fpu: move lazy restore functions up a few lines

2015-02-06 Thread riel
From: Rik van Riel r...@redhat.com We need another lazy restore related function, that will be called from a function that is above where the lazy restore functions are now. It would be nice to keep all three functions grouped together. Signed-off-by: Rik van Riel r...@redhat.com ---

[PATCH 6/8] x86,fpu: use an explicit if/else in switch_fpu_prepare

2015-02-06 Thread riel
From: Rik van Riel r...@redhat.com Use an explicit if/else branch after __save_init_fpu(old) in switch_fpu_prepare. This makes substituting the assignment with a call to task_disable_lazy_fpu() in the next patch easier to review. Signed-off-by: Rik van Riel r...@redhat.com ---

Re: [PATCH 2/2] x86/tbl/trace: Do not trace on CPU that is offline

2015-02-06 Thread Sedat Dilek
On Fri, Feb 6, 2015 at 9:06 PM, Steven Rostedt rost...@goodmis.org wrote: From: Steven Rostedt (Red Hat) rost...@goodmis.org Subject: x86/tbl/trace: --- .../tlb/... - Sedat - When taking a CPU down for suspend and resume, a tracepoint may be called when the CPU has been designated offline.

Re: [PATCH 1/2] tracing: Add condition check to RCU lockdep checks

2015-02-06 Thread Steven Rostedt
diff --git a/include/linux/tracepoint.h b/include/linux/tracepoint.h index e08e21e5f601..68a346b8328a 100644 --- a/include/linux/tracepoint.h +++ b/include/linux/tracepoint.h @@ -173,7 +173,7 @@ extern void syscall_unregfunc(void); TP_PROTO(data_proto),

Re: MADV_DONTNEED semantics? Was: [RFC PATCH] mm: madvise: Ignore repeated MADV_DONTNEED hints

2015-02-06 Thread Michal Hocko
On Fri 06-02-15 16:57:50, Michael Kerrisk wrote: [...] Yes, this wording is better because many users are not aware of MAP_ANON|MAP_SHARED being file backed in fact and mmap man page doesn't mention that. (Michal, would you have a text to propose to add to the mmap(2) page? Maybe it

Re: [PATCH 0/2] tracing/tlb/x85: Fix splat of calling RCU trace code on offline CPU

2015-02-06 Thread Steven Rostedt
On Fri, 6 Feb 2015 16:18:03 -0500 Steven Rostedt rost...@goodmis.org wrote: But the first patch is a much broader change and more generic which could affect many other locations as well. It is specific to tracepoints, where the tlb one is specific to a single instance. As the first patch

[GIT PULL] please pull infiniband.git

2015-02-06 Thread Roland Dreier
Hi Linus, Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git tags/rdma-for-linus One more last-second RDMA change for 3.19: - Yann realized that the previous revert of new userspace ABI did

Re: [PATCH 1/5] rcu,nohz: add state parameter to context_tracking_user_enter/exit

2015-02-06 Thread Rik van Riel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/06/2015 01:23 PM, Frederic Weisbecker wrote: On Fri, Feb 06, 2015 at 01:20:21PM -0500, Rik van Riel wrote: On 02/06/2015 12:22 PM, Frederic Weisbecker wrote: On Thu, Feb 05, 2015 at 03:23:48PM -0500, r...@redhat.com wrote: From: Rik van

Re: [PATCHv6 1/5] arm: socfpga: Enable L2 Cache ECC on startup.

2015-02-06 Thread Mark Rutland
On Fri, Jan 09, 2015 at 02:53:52AM +, ttha...@opensource.altera.com wrote: From: Thor Thayer ttha...@opensource.altera.com This patch enables the ECC for L2 cache on machine startup. The ECC has to be enabled before data is is stored in memory otherwise the ECC will fail on reads. I

Re: [PATCH 1/1] ARM: dts: Use more descriptive names for Exynos5420 PDs

2015-02-06 Thread Sergei Shtylyov
Hello. On 02/06/2015 08:37 PM, Javier Martinez Canillas wrote: All the device nodes for the Exynos5420 power-domains have a quite generic power-domain name. And this is in conformance to the ePAPR standard. So in case of an error, the Exynos PD driver shows the following (not very

Re: [PATCH 0/2] ARM: omap2+: omap_hwmod: Fix false lockdep warning

2015-02-06 Thread Peter Ujfalusi
On 02/06/2015 08:32 PM, Peter Zijlstra wrote: On Fri, Feb 06, 2015 at 06:05:32PM +0200, Peter Ujfalusi wrote: Certainly looks much simpler, but it adds quite a bit of data to the omap_hwmod struct, and we have a _lot_ of them for omap2plus configuration. ls -al vmlinux w/o any the lockdep

[PATCH 7/8] x86,fpu: use disable_task_lazy_fpu_restore helper

2015-02-06 Thread riel
From: Rik van Riel r...@redhat.com Replace magic assignments of fpu.last_cpu = ~0 with more explicit disable_task_lazy_fpu_restore calls. This also fixes the lazy FPU restore disabling in drop_fpu, which only really works when !use_eager_fpu(). This is fine for now, because fpu_lazy_restore()

[PATCH 0/8] x86,fpu: various small FPU cleanups and optimizations

2015-02-06 Thread riel
This includes the three patches by Oleg that are not in -tip yet, and five more by myself. I believe the changes to my patches address all the comments by reviewers on the previous version. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

[PATCH 5/8] x86,fpu: introduce task_disable_lazy_fpu_restore helper

2015-02-06 Thread riel
From: Rik van Riel r...@redhat.com Currently there are a few magic assignments sprinkled through the code that disable lazy FPU state restoring, some more effective than others, and all equally mystifying. It would be easier to have a helper to explicitly disable lazy FPU state restoring for a

[PATCH 2/8] x86, fpu: unlazy_fpu: don't do __thread_fpu_end() if use_eager_fpu()

2015-02-06 Thread riel
From: Oleg Nesterov o...@redhat.com unlazy_fpu()-__thread_fpu_end() doesn't look right if use_eager_fpu(). Unconditional __thread_fpu_end() is only correct if we know that this thread can't return to user-mode and use FPU. Fortunately it has only 2 callers. fpu_copy() checks use_eager_fpu(), and

[PATCH 8/8] x86,fpu: also check fpu_lazy_restore when use_eager_fpu

2015-02-06 Thread riel
From: Rik van Riel r...@redhat.com With Oleg's patch x86, fpu: don't abuse FPU in kernel threads if use_eager_fpu(), kernel threads no longer have an FPU state even on systems with use_eager_fpu() That in turn means that a task may still have its FPU state loaded in the FPU registers, if the

[PATCH 2/2] x86/tbl/trace: Do not trace on CPU that is offline

2015-02-06 Thread Steven Rostedt
From: Steven Rostedt (Red Hat) rost...@goodmis.org When taking a CPU down for suspend and resume, a tracepoint may be called when the CPU has been designated offline. As tracepoints require RCU for protection, they must not be called if the current CPU is offline. Unfortunately,

Re: [PATCH 2/2] KVM: x86: optimize delivery of TSC deadline timer interrupt

2015-02-06 Thread Marcelo Tosatti
On Fri, Feb 06, 2015 at 01:16:59PM +0100, Paolo Bonzini wrote: The newly-added tracepoint shows the following results on the tscdeadline_latency test: qemu-kvm-8387 [002] 6425.558974: kvm_vcpu_wakeup: poll time 10407 ns qemu-kvm-8387 [002] 6425.558984:

Re: [PATCH 1/1] drivers/base: Remove unnecessary OOM message

2015-02-06 Thread Pavel Machek
On Fri 2015-02-06 16:39:12, Quentin Lambert wrote: This patch fix checkpatch warnings concerning the possible duplication of an out of memory message. So, instead of nice and readable not enough memory for clock... we get OOM, stackdump, and backtrace...? Not sure it is improvement.

Re: [PATCH 0/2] tracing/tlb/x85: Fix splat of calling RCU trace code on offline CPU

2015-02-06 Thread Steven Rostedt
On Fri, 6 Feb 2015 22:07:56 +0100 Sedat Dilek sedat.di...@gmail.com wrote: Your patchset fixes the issue for me (look at the attached files for more detailed information). So I can add your Tested-by tag? I tested the To Be Loved (TBL VS. TLB flushes) edition against Linux-next

Re: [BUG] Kernel Panic in squashfs

2015-02-06 Thread Tim Tassonis
On Fri, Feb 6, 2015 at 5:55 PM, Tim Tassonis st...@decentral.ch wrote: Hi all Just found out that squashfs panics when compiled in statically instead of as a module, when mounting an sqf file. The sequence I did was: # mkdir /mnt/gaia-ro # mount /gaiarule.sqf /mnt/gaia-ro -t squashfs -o

Re: [PATCH] x86 spinlock: Fix memory corruption on completing completions

2015-02-06 Thread Sasha Levin
On 02/06/2015 09:49 AM, Raghavendra K T wrote: Paravirt spinlock clears slowpath flag after doing unlock. As explained by Linus currently it does: prev = *lock; add_smp(lock-tickets.head, TICKET_LOCK_INC); /* add_smp() is a full mb() */

Re: [PATCHv6 5/5] arm: dts: Add Altera L2 Cache and OCRAM EDAC entries

2015-02-06 Thread Mark Rutland
On Fri, Jan 09, 2015 at 02:53:56AM +, ttha...@opensource.altera.com wrote: From: Thor Thayer ttha...@opensource.altera.com Adding the device tree entries and bindings needed to support the Altera L2 cache and On-Chip RAM EDAC. This patch relies upon an earlier patch to declare and setup

Re: [PATCH 1/2] kernel/fork: handle put_user errors for CLONE_CHILD_SETTID/CLEARTID

2015-02-06 Thread Oleg Nesterov
On 02/06, Konstantin Khlebnikov wrote: Whole sequence looks like: task calls fork, glibc calls syscall clone with CLONE_CHILD_SETTID and passes pointer to TLS THREAD_SELF-tid as argument. Child task gets read-only copy of VM including TLS. Child calls put_user() to handle CLONE_CHILD_SETTID

Re: [PATCH v5 3/5] x86: Split syscall_trace_enter into two phases

2015-02-06 Thread Kees Cook
On Fri, Feb 6, 2015 at 11:32 AM, Andy Lutomirski l...@amacapital.net wrote: On Fri, Feb 6, 2015 at 11:23 AM, Kees Cook keesc...@chromium.org wrote: On Thu, Feb 5, 2015 at 6:38 PM, Andy Lutomirski l...@amacapital.net wrote: On Thu, Feb 5, 2015 at 6:32 PM, Dmitry V. Levin l...@altlinux.org wrote:

[PATCH v2 1/7] Input: synaptics - fix middle button on Lenovo 2015 products

2015-02-06 Thread Benjamin Tissoires
From: Dmitry Torokhov dmitry.torok...@gmail.com On the X1 Carbon 3rd gen (with a 2015 broadwell cpu), the physical middle button of the trackstick (attached to the touchpad serio device, of course) seems to get lost. Actually, the touchpads reports 3 extra buttons, which falls in the switch

[PATCH] spi: sc18is602: Support multiple devices on a single I2C bus if DT is configured

2015-02-06 Thread Guenter Roeck
The driver currently only supports a single device per I2C bus since it uses the I2C bus number to set the SPI bus number. This makes it impossible to connect more than one chip to a single I2C bus. We don't want to use dynamic bus numbers unconditionally since this would result in every

Re: [PATCH 2/2] x86/tbl/trace: Do not trace on CPU that is offline

2015-02-06 Thread Steven Rostedt
On Fri, 6 Feb 2015 21:23:13 +0100 Sedat Dilek sedat.di...@gmail.com wrote: On Fri, Feb 6, 2015 at 9:21 PM, Steven Rostedt rost...@goodmis.org wrote: On Fri, 6 Feb 2015 21:11:57 +0100 Sedat Dilek sedat.di...@gmail.com wrote: On Fri, Feb 6, 2015 at 9:06 PM, Steven Rostedt

Re: [PATCH] ARM: print cma-reserved pages from show_mem

2015-02-06 Thread Gregory Fong
On Thu, Feb 5, 2015 at 4:41 PM, Laura Abbott lau...@codeaurora.org wrote: On 2/4/2015 3:22 PM, Gregory Fong wrote: Add cma reserved information to the ARM-specific show_mem. It was added to the generic implementation by commit 49abd8c28046adf77c5ce1949549aa64d7221881 lib/show_mem.c: add cma

Re: [PATCH 2/2] iser-target: Remove duplicate function names

2015-02-06 Thread Nicholas A. Bellinger
On Fri, 2015-02-06 at 01:09 +0100, Rasmus Villemoes wrote: The macro isert_dbg already ensures that __func__ is part of the output, so there's no reason to duplicate the function name in the format string itself. Signed-off-by: Rasmus Villemoes li...@rasmusvillemoes.dk ---

Re: [RFC][PATCH v2 6/7] trace: constify filter_parse_regex(), match_records(), ftrace_match() and ftrace_match_record()

2015-02-06 Thread Steven Rostedt
On Fri, 6 Feb 2015 04:00:14 + Al Viro v...@zeniv.linux.org.uk wrote: +const char **search, int *not) { int type = MATCH_FULL; int i; @@ -345,12 +346,11 @@ enum regex_type filter_parse_regex(char *buff, int *len, char **search, int *not

Re: [GIT PULL rcu/next] RCU commits for 3.20

2015-02-06 Thread Paul E. McKenney
On Fri, Feb 06, 2015 at 07:28:23PM +0100, Ingo Molnar wrote: * Paul E. McKenney paul...@linux.vnet.ibm.com wrote: On Tue, Feb 03, 2015 at 03:34:45PM +0100, David Hildenbrand wrote: * Paul E. McKenney paul...@linux.vnet.ibm.com wrote: Hello, Ingo, The changes in

Re: [PATCH] regulator: Support different config and dev of_nodes in regulator_register

2015-02-06 Thread Tim Bird
On 02/06/2015 03:49 AM, Mark Brown wrote: On Thu, Feb 05, 2015 at 04:52:40PM -0800, Bjorn Andersson wrote: On Thu 05 Feb 16:32 PST 2015, Mark Brown wrote: On Thu, Feb 05, 2015 at 02:08:54PM -0800, Bjorn Andersson wrote: However this only works for the non-supply regulator properties - and

Re: [BUG] Kernel Panic in squashfs

2015-02-06 Thread Tim Tassonis
On Fri, Feb 6, 2015 at 5:55 PM, Tim Tassonis st...@decentral.ch wrote: Hi all Just found out that squashfs panics when compiled in statically instead of as a module, when mounting an sqf file. The sequence I did was: # mkdir /mnt/gaia-ro # mount /gaiarule.sqf /mnt/gaia-ro -t squashfs -o

Re: [PATCH 1/2] kernel/fork: handle put_user errors for CLONE_CHILD_SETTID/CLEARTID

2015-02-06 Thread Oleg Nesterov
On 02/06, Oleg Nesterov wrote: On 02/06, Konstantin Khlebnikov wrote: Whole sequence looks like: task calls fork, glibc calls syscall clone with CLONE_CHILD_SETTID and passes pointer to TLS THREAD_SELF-tid as argument. Child task gets read-only copy of VM including TLS. Child calls

[PATCH v2 7/7] Input: synaptics - Remove X1 Carbon 3rd gen from the topbuttonpad list

2015-02-06 Thread Benjamin Tissoires
Lenovo decided to switch back to physical buttons for the trackstick on their latest series. The PNPId list was provided before they reverted back to physical buttons, so it contains the new models too. We can know from the touchpad capabilities that the touchpad has physical buttons, so removing

<    3   4   5   6   7   8   9   10   11   12   >