Re: [PATCH v2] ARM: dts: imx6qdl-sabresd.dtsi: Add red led

2014-03-06 Thread Sascha Hauer
On Wed, Mar 05, 2014 at 07:39:26PM +, Russell King - ARM Linux wrote: > On Wed, Mar 05, 2014 at 07:42:28PM +0800, Shawn Guo wrote: > > It's not a hog pin, so shouldn't be added here. (Right, most of the > > existing pins shouldn't be here from the beginning) > > On the subject of that kind of

Re: [PATCH] abort secondary CPU bring-up gracefully if do_boot_cpu timed out on cpu_callin_mask

2014-03-06 Thread Igor Mammedov
On Thu, 6 Mar 2014 08:08:32 +0100 Ingo Molnar wrote: > > * Igor Mammedov wrote: > > > Master CPU may timeout before cpu_callin_mask is set and cancel > > booting CPU, but being onlined CPU still continues to boot, sets > > cpu_active_mask (CPU_STARTING notifiers) and spins in > > check_tsc_syn

[PATCH V4] support Thinkpad X1 Carbon 2nd generation's adaptive keyboard

2014-03-06 Thread Shuduo Sang
Submit patch V4 to support Adaptive Keyboard on Thinkpad X1 Carbon 2nd generation according to Tobias's comments. Thanks, Shuduo >From b153a7b14791c6e01892c0e274e23eefd625fb8d Mon Sep 17 00:00:00 2001 From: Shuduo Sang Date: Mon, 3 Mar 2014 14:29:32 +0800 Subject: [PATCH] support thinkpad X1 C

Re: [PATCH] mm/compaction: Break out of loop on !PageBuddy in isolate_freepages_block

2014-03-06 Thread Vlastimil Babka
On 03/06/2014 03:26 AM, Laura Abbott wrote: We received several reports of bad page state when freeing CMA pages previously allocated with alloc_contig_range: <1>[ 1258.084111] BUG: Bad page state in process Binder_A pfn:63202 <1>[ 1258.089763] page:d21130b0 count:0 mapcount:1 mapping: (null)

Re: [PATCH] x86, fix x86 fixup_irqs() error handling

2014-03-06 Thread Thomas Gleixner
On Wed, 5 Mar 2014, David Rientjes wrote: > On Wed, 5 Mar 2014, Prarit Bhargava wrote: > > > diff --git a/arch/x86/kernel/irq.c b/arch/x86/kernel/irq.c > > index d99f31d..55fab61 100644 > > --- a/arch/x86/kernel/irq.c > > +++ b/arch/x86/kernel/irq.c > > @@ -351,6 +351,7 @@ void fixup_irqs(void)

Re: [PATCH v2] [media] v4l: omap4iss: Add DEBUG compiler flag

2014-03-06 Thread Paul Bolle
On Wed, 2014-03-05 at 20:45 -0800, Greg Kroah-Hartman wrote: > On Thu, Mar 06, 2014 at 01:48:29AM +0100, Laurent Pinchart wrote: > > Would you recommend to drop driver-specific Kconfig options related to > > debugging and use CONFIG_DYNAMIC_DEBUG instead ? > > Yes, please do that, no one wants to

RE: [PATCH v9 0/4] phy: Add new Exynos USB 2.0 PHY driver

2014-03-06 Thread Kamil Debski
Hi Tobias, > From: Tobias Jakobi [mailto:tjak...@math.uni-bielefeld.de] > Sent: Thursday, March 06, 2014 12:08 AM > > Hello Kamil, > > this looks very good. I just tested the patchset on my ODROID-X2 > (Exynos4412-based board) and the USB stability issues I mentioned to > you before (with the ol

RE: Linux does not use more than the startup RAM under Hyper-V with dynamic memory enabled RE: [PATCH 2/2] Drivers: hv: balloon: Online the hot-added memory "in context" Re: [PATCH 1/1] Drivers: hv:

2014-03-06 Thread KY Srinivasan
Victor, I will try to get my in-context onlining patches accepted upstream. K. Y > -Original Message- > From: Victor Miasnikov [mailto:v...@tut.by] > Sent: Thursday, March 6, 2014 3:38 PM > To: linux-kernel@vger.kernel.org; Brian Wong > Cc: Abhishek Gupta (LIS); KY Srinivasan > Subject:

RE: [PATCH v9 3/4] phy: Add new Exynos USB 2.0 PHY driver

2014-03-06 Thread Kamil Debski
Hi Anton, Kishon, > From: Anton Tikhomirov [mailto:av.tikhomi...@samsung.com] > Sent: Thursday, March 06, 2014 9:26 AM > > Hi Kamil, > > ... > > > +| 3. Supporting SoCs > > ++ > > + > > +To support a new SoC a new file should be added to the drivers/phy > > +directory. Each

[PATCH 0/6] Drivers: net: hyperv: Enable various offloads

2014-03-06 Thread K. Y. Srinivasan
This patch set enables both checksum as well as segmentation offload. As part of this effort I have enabled scatter gather I/O a well. K. Y. Srinivasan (6): Drivers: net: hyperv: Enable scatter gather I/O Drivers: net: hyperv: Cleanup the send path Drivers: net: hyperv: Enable offloads on th

[PATCH 2/6] Drivers: net: hyperv: Cleanup the send path

2014-03-06 Thread K. Y. Srinivasan
In preparation for enabling offloads, cleanup the send path. Signed-off-by: K. Y. Srinivasan Reviewed-by: Haiyang Zhang --- drivers/net/hyperv/hyperv_net.h |7 +--- drivers/net/hyperv/netvsc_drv.c | 87 +--- drivers/net/hyperv/rndis_filter.c | 66

[PATCH 6/6] Drivers: net: hyperv: Enable large send offload

2014-03-06 Thread K. Y. Srinivasan
Enable segmentation offload. Signed-off-by: K. Y. Srinivasan Reviewed-by: Haiyang Zhang --- drivers/net/hyperv/hyperv_net.h | 40 +++ drivers/net/hyperv/netvsc_drv.c | 38 +--- 2 files changed, 74 insertions(+), 4 deletions

[PATCH 1/6] Drivers: net: hyperv: Enable scatter gather I/O

2014-03-06 Thread K. Y. Srinivasan
Cleanup the code and enable scatter gather I/O. Signed-off-by: K. Y. Srinivasan Reviewed-by: Haiyang Zhang --- drivers/net/hyperv/netvsc_drv.c | 155 +-- 1 files changed, 116 insertions(+), 39 deletions(-) diff --git a/drivers/net/hyperv/netvsc_drv.c b/driv

[PATCH 5/6] Drivers: net: hyperv: Enable send side checksum offload

2014-03-06 Thread K. Y. Srinivasan
Enable send side checksum offload. Signed-off-by: K. Y. Srinivasan Reviewed-by: Haiyang Zhang --- drivers/net/hyperv/netvsc_drv.c | 70 +- 1 files changed, 68 insertions(+), 2 deletions(-) diff --git a/drivers/net/hyperv/netvsc_drv.c b/drivers/net/hyperv/n

[PATCH 3/6] Drivers: net: hyperv: Enable offloads on the host

2014-03-06 Thread K. Y. Srinivasan
Prior to enabling guest side offloads, enable the offloads on the host. Signed-off-by: K. Y. Srinivasan Reviewed-by: Haiyang Zhang --- drivers/net/hyperv/hyperv_net.h | 55 drivers/net/hyperv/rndis_filter.c | 83 + 2 files chang

[PATCH 4/6] Drivers: net: hyperv: Enable receive side IP checksum offload

2014-03-06 Thread K. Y. Srinivasan
Enable receive side checksum offload. Signed-off-by: K. Y. Srinivasan Reviewed-by: Haiyang Zhang --- drivers/net/hyperv/hyperv_net.h | 33 - drivers/net/hyperv/netvsc_drv.c | 20 drivers/net/hyperv/rndis_filter.c |4 +++- 3 files

Re: [PATCH 1/4] tile: Add support for handling PMC hardware

2014-03-06 Thread Peter Zijlstra
On Thu, Mar 06, 2014 at 10:12:54AM +, Tony Lu wrote: > >One thing I didn't spot is a tile irq_work implementation; perf likes to > >have one. > > We do not have tile irq_work for now. It seems like perf works fine > even without the arch irq_work. Anyway, we will investigate it, and > submit i

Re: [PATCH] video: fbdev: uvesafb: use CONFIG_X86_PAE surround _PAGE_NX check code

2014-03-06 Thread Wang YanQing
On Thu, Mar 06, 2014 at 11:56:37AM +0200, Tomi Valkeinen wrote: > I don't like this, I think this makes the code more messy, just to avoid > that warning. > > And it might even be buggy. For your patch to work correctly, you need > to know the internals of _PAGE_NX, i.e. that when CONFIG_X86_PAE i

Re: [PATCH v6 1/3] Fix ioport_map() for !CONFIG_GENERIC_IOMAP cases.

2014-03-06 Thread Liviu Dudau
On Wed, Mar 05, 2014 at 11:31:35PM +, Russell King - ARM Linux wrote: > On Wed, Mar 05, 2014 at 11:49:08AM +, Liviu Dudau wrote: > > The inline version of ioport_map() that gets used when !CONFIG_GENERIC_IOMAP > > is wrong. It returns a mapped (i.e. virtual) address that can start from > >

[tip:timers/urgent] clocksource: vf_pit_timer: use complement for sched_clock reading

2014-03-06 Thread tip-bot for Stefan Agner
Commit-ID: 224aa3ed45c8735ae02bb2ecca002409fa6aa772 Gitweb: http://git.kernel.org/tip/224aa3ed45c8735ae02bb2ecca002409fa6aa772 Author: Stefan Agner AuthorDate: Wed, 5 Mar 2014 23:11:08 +0100 Committer: Thomas Gleixner CommitDate: Thu, 6 Mar 2014 11:34:14 +0100 clocksource: vf_pit_timer

[tip:core/locking] m68k: Skip futex_atomic_cmpxchg_inatomic() test

2014-03-06 Thread tip-bot for Finn Thain
Commit-ID: e571c58f313d35c56e0018470e3375ddd1fd320e Gitweb: http://git.kernel.org/tip/e571c58f313d35c56e0018470e3375ddd1fd320e Author: Finn Thain AuthorDate: Thu, 6 Mar 2014 10:29:27 +1100 Committer: Thomas Gleixner CommitDate: Thu, 6 Mar 2014 11:35:17 +0100 m68k: Skip futex_atomic_cmp

Re: [PATCH v3 Resend 2/3] regulator: Add support for S2MPA01 regulator

2014-03-06 Thread Krzysztof Kozlowski
On Thu, 2014-03-06 at 15:30 +0530, Sachin Kamat wrote: > Add support for S2MPA01 voltage and current regulator. > > Signed-off-by: Sachin Kamat > Acked-by: Mark Brown > --- > drivers/regulator/Kconfig |7 + > drivers/regulator/Makefile |1 + > drivers/regulator/s2mpa01.c | 483 > ++

[tip:irq/core] irqchip: gic: Silence sparse warnings

2014-03-06 Thread tip-bot for Stephen Boyd
Commit-ID: 6859358e4b0bf2e599027dc4c6317e0bc25ff339 Gitweb: http://git.kernel.org/tip/6859358e4b0bf2e599027dc4c6317e0bc25ff339 Author: Stephen Boyd AuthorDate: Tue, 4 Mar 2014 17:02:01 -0800 Committer: Thomas Gleixner CommitDate: Thu, 6 Mar 2014 11:40:47 +0100 irqchip: gic: Silence spa

[tip:irq/core] irqchip: Silence sparse warning

2014-03-06 Thread tip-bot for Stephen Boyd
Commit-ID: 559ba4b153acfbfe49007def9d0efc475d5f937c Gitweb: http://git.kernel.org/tip/559ba4b153acfbfe49007def9d0efc475d5f937c Author: Stephen Boyd AuthorDate: Tue, 4 Mar 2014 17:01:21 -0800 Committer: Thomas Gleixner CommitDate: Thu, 6 Mar 2014 11:40:47 +0100 irqchip: Silence sparse w

[GIT Pull] irq updates for 3.14

2014-03-06 Thread Thomas Gleixner
Linus, please pull the latest irq-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq-urgent-for-linus This contains: * A bugfix for a long standing waitqueue race * A trivial fix for a missing include Thanks, tglx --

Re: [PATCH v9 3/4] phy: Add new Exynos USB 2.0 PHY driver

2014-03-06 Thread Kishon Vijay Abraham I
Hi, On Thursday 06 March 2014 03:54 PM, Kamil Debski wrote: Hi Anton, Kishon, From: Anton Tikhomirov [mailto:av.tikhomi...@samsung.com] Sent: Thursday, March 06, 2014 9:26 AM Hi Kamil, ... +| 3. Supporting SoCs ++ + +To support a new SoC a new file should be added to th

Re: [PATCH] sched/clock: prevent tracing recursion in sched_clock_cpu()

2014-03-06 Thread Steven Rostedt
On Thu, 06 Mar 2014 14:25:28 +0900 Fernando Luis Vázquez Cao wrote: > From: Fernando Luis Vazquez Cao > > Prevent tracing of preempt_disable/enable() in sched_clock_cpu(). > When CONFIG_DEBUG_PREEMPT is enabled, preempt_disable/enable() are > traced and this causes trace_clock() users (and prob

Re: [PATCH] sched/clock: prevent tracing recursion in sched_clock_cpu()

2014-03-06 Thread Peter Zijlstra
On Thu, Mar 06, 2014 at 02:25:28PM +0900, Fernando Luis Vázquez Cao wrote: > From: Fernando Luis Vazquez Cao > > Prevent tracing of preempt_disable/enable() in sched_clock_cpu(). > When CONFIG_DEBUG_PREEMPT is enabled, preempt_disable/enable() are > traced and this causes trace_clock() users (and

Re: [PATCH v4 0/8] wilink: add device tree support

2014-03-06 Thread Yegor Yefremov
On Fri, Feb 28, 2014 at 10:22 AM, Alexandre Belloni wrote: > On 28/02/2014 at 08:26:46 +0100, Yegor Yefremov wrote : >> >> What is the state of the series? Who is now responsible for the >> patches? What issues were still not handled? >> > > We probably want to end that discussion before taking th

Re: [PATCH v2] [media] v4l: omap4iss: Add DEBUG compiler flag

2014-03-06 Thread Laurent Pinchart
Hi Joe, On Wednesday 05 March 2014 19:25:47 Joe Perches wrote: > On Thu, 2014-03-06 at 02:52 +0100, Laurent Pinchart wrote: > > I've thought about that, but it would require iss.h to be included before > > all other headers. I've also thought about creating an iss-debug.h header > > to be included

Re: Patch[Kernel 3.13.5]

2014-03-06 Thread Borislav Petkov
On Thu, Mar 06, 2014 at 04:00:04AM +, Nick Krause wrote: > Here is my first patch, adding a break point to fix bug 60845, case fallout > through on switch > in arch/mips/pci/msi-octeon.c. > > --- //home/nick/linux-3.13.5/arch/mips/pci/msi-octeon.c.orig    2014-03-05 > 22:48:19.084372515 -05

Re: [PATCH v2] [media] v4l: omap4iss: Add DEBUG compiler flag

2014-03-06 Thread Laurent Pinchart
Hi Greg, On Wednesday 05 March 2014 20:45:29 Greg Kroah-Hartman wrote: > On Thu, Mar 06, 2014 at 01:48:29AM +0100, Laurent Pinchart wrote: > > On Wednesday 05 March 2014 16:28:03 Joe Perches wrote: > > > On Thu, 2014-03-06 at 00:50 +0100, Laurent Pinchart wrote: > > > > Please note that -DDEBUG is

Re: [tip:x86/urgent] x86, trace: Fix CR2 corruption when tracing page faults

2014-03-06 Thread Steven Rostedt
On Thu, 6 Mar 2014 09:40:50 +0100 Peter Zijlstra wrote: > On Wed, Mar 05, 2014 at 01:37:25PM -0800, H. Peter Anvin wrote: > > > OK, I have to admit to having lost track of this thread. Please let me > > know when there is anything actionable for me. > > lkml.kernel.org/r/20140305130749.gr3...@

Re: [PATCH 1/3] phy: omap-usb2: Adapt phy-omap-usb2 for AM437x

2014-03-06 Thread Kishon Vijay Abraham I
George, On Monday 03 March 2014 03:40 PM, George Cherian wrote: Adapt phy-omap-usb2 driver for AM437x. - Add new comaptible "ti,am437x-usb2" for AM437x - Pass proper data to differentiate AM437x and others. - AM437x doesnot support set_vbus and start_srp. - Also

Re: Linux does not use more than the startup RAM under Hyper-V with dynamic memory enabled RE: [PATCH 2/2] Drivers: hv: balloon: Online the hot-added memory "in context" Re: [PATCH 1/1] Drivers: hv:

2014-03-06 Thread Victor Miasnikov
Hi! VVM>> Question to Linux kernel team: may be patch VVM>> >>> [PATCH 2/2] Drivers: hv: balloon: Online the hot-added memory "in context" VVM>> can solve problems with dynamic memory hot add in Hyper-V VMs with Linux OS ? K.Y.S> I will try to get my in-context onlining patches accepted upst

Re: [RFC] [PATCH] Pre-emption control for userspace

2014-03-06 Thread Thomas Gleixner
On Wed, 5 Mar 2014, Khalid Aziz wrote: > On 03/05/2014 04:10 AM, Peter Zijlstra wrote: > > On Tue, Mar 04, 2014 at 04:51:15PM -0800, Andi Kleen wrote: > > > Anything else? > > > > Proxy execution; its a form of PI that works for arbitrary scheduling > > policies (thus also very much including fair

[PATCH] mm: Fix 'ERROR: do not initialise globals to 0 or NULL' and coding style

2014-03-06 Thread Choi Gi-yong
Signed-off-by: Choi Gi-yong --- mm/nommu.c | 16 ++-- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/mm/nommu.c b/mm/nommu.c index 8740213..78970d2 100644 --- a/mm/nommu.c +++ b/mm/nommu.c @@ -296,7 +296,7 @@ long vwrite(char *buf, char *addr, unsigned long count)

[PATCH v10 0/4] phy: Add new Exynos USB 2.0 PHY driver

2014-03-06 Thread Kamil Debski
Hi, This is the tenth version of this patchset. The only difference since v9 is correction in the documentation. Best wishes, Kamil Debski -- Changes from v9: 1) phy: core: Add an exported of_phy_get function - No changes since v9. 2) phy: core: Add devm_of_phy_get to phy-core

Build regressions/improvements in v3.14-rc5

2014-03-06 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v3.14-rc5[1] compared to v3.13[2]. Summarized: - build errors: +6/-29 - build warnings: +243/-80 JFYI, when comparing v3.14-rc5[1] to v3.14-rc4[3], the summaries are: - build errors: +2/-3 - build warnings: +121/-76 As

[PATCH v10 1/4] phy: core: Add an exported of_phy_get function

2014-03-06 Thread Kamil Debski
Previously the of_phy_get function took a struct device * and was declared static. It was impossible to call it from another driver and thus it was impossible to get phy defined for a given node. The old function was renamed to _of_phy_get and was left for internal use. of_phy_get function was adde

[PATCH v4 0/2] Add Xilinx AXI Video DMA Engine driver

2014-03-06 Thread Srikanth Thokala
Hi, This is the driver for Xilinx AXI Video Direct Memory Access Engine. It is a soft IP core, which provides high-bandwidth direct memory access between memory and AXI4-Stream video type target peripherals including peripherals which support AXI4-Stream Video Protocol. The core provides efficient

[PATCH v4 2/2] dma: Add Xilinx AXI Video Direct Memory Access Engine driver support

2014-03-06 Thread Srikanth Thokala
This is the driver for the AXI Video Direct Memory Access (AXI VDMA) core, which is a soft Xilinx IP core that provides high- bandwidth direct memory access between memory and AXI4-Stream type video target peripherals. The core provides efficient two dimensional DMA operations with independent asyn

[PATCH v4 1/2] dma: Add Xilinx Video DMA DT Binding Documentation

2014-03-06 Thread Srikanth Thokala
Device-tree binding documentation of Xilinx Video DMA Engine Signed-off-by: Srikanth Thokala --- Changes in v4: None Changes in v3: None Changes in v2: - Removed device-id DT property, as suggested by Arnd Bergmann - Properly documented DT bindings as suggested by Arnd Bergmann --- .../devicet

[PATCH v10 4/4] phy: Add Exynos 5250 support to the Exynos USB 2.0 PHY driver

2014-03-06 Thread Kamil Debski
Add support for Exynos 5250. This driver is to replace the old USB 2.0 PHY driver. Signed-off-by: Kamil Debski --- .../devicetree/bindings/phy/samsung-phy.txt|1 + drivers/phy/Kconfig| 11 + drivers/phy/Makefile |1 +

[PATCH v10 2/4] phy: core: Add devm_of_phy_get to phy-core

2014-03-06 Thread Kamil Debski
Adding devm_of_phy_get will allow to get phys by supplying a pointer to the struct device_node instead of struct device. Signed-off-by: Kamil Debski --- drivers/phy/phy-core.c | 31 +++ include/linux/phy/phy.h |8 2 files changed, 39 insertions(+) dif

[PATCH v10 3/4] phy: Add new Exynos USB 2.0 PHY driver

2014-03-06 Thread Kamil Debski
Add a new driver for the Exynos USB 2.0 PHY. The new driver uses the generic PHY framework. The driver includes support for the Exynos 4x10 and 4x12 SoC families. Signed-off-by: Kamil Debski --- .../devicetree/bindings/phy/samsung-phy.txt| 53 Documentation/phy/samsung-usb2.txt

Re: Build regressions/improvements in v3.14-rc5

2014-03-06 Thread Geert Uytterhoeven
On Thu, Mar 6, 2014 at 12:17 PM, Geert Uytterhoeven wrote: > JFYI, when comparing v3.14-rc5[1] to v3.14-rc4[3], the summaries are: > - build errors: +2/-3 + error: No rule to make target /etc/sound/msndinit.bin: => N/A + error: No rule to make target /etc/sound/msndperm.bin: => N/A i386

Re: [PATCH 3/4] mtd: block2mtd: check device size

2014-03-06 Thread Ezequiel Garcia
On Mar 06, Brian Norris wrote: [..] > > I'm not sure block2mtd would have many users, but the hunk above looks > reasonable. Feel free to send a patch. > I've bounced you the original patch from Fabian. -- Ezequiel García, Free Electrons Embedded Linux, Kernel and Android Engineering http://fre

Re: [PATCH] virtio-scsi: Change sense buffer size to 252

2014-03-06 Thread Hannes Reinecke
On 03/06/2014 11:09 AM, Paolo Bonzini wrote: > Il 06/03/2014 09:47, Fam Zheng ha scritto: >> According to SPC-4, section 4.5.2.1, 252 is the limit of sense >> data. So >> increase the value. >> >> Signed-off-by: Fam Zheng >> --- >> include/linux/virtio_scsi.h | 2 +- >> 1 file changed, 1 insertio

Re: [PATCH v3 Resend 2/3] regulator: Add support for S2MPA01 regulator

2014-03-06 Thread Sachin Kamat
Hi Krzysztof, On 6 March 2014 16:10, Krzysztof Kozlowski wrote: > On Thu, 2014-03-06 at 15:30 +0530, Sachin Kamat wrote: >> Add support for S2MPA01 voltage and current regulator. >> + >> +struct s2mpa01_info { >> + struct regulator_dev *rdev[S2MPA01_REGULATOR_MAX]; > > Hi, > > It seems that

Re: [PATCHv9 0/7] add compressing abstraction and multi stream support

2014-03-06 Thread Sergey Senozhatsky
Hello Minchan, On (03/06/14 17:11), Minchan Kim wrote: > Hello Sergey, > > Sorry for the late. > > Today, I tested this patch and confirm that it's really good. > I send result for the record. > > In x86(4core and x2 hyper threading, i7, 2.8GHz), I did parallel 4 dd > test with 200m file like b

Re: [PATCH] zram: move comp allocation out of init_lock

2014-03-06 Thread Sergey Senozhatsky
Hello Minchan, On (03/06/14 17:26), Minchan Kim wrote: > Hello Sergey, > > On Tue, Mar 04, 2014 at 01:10:56PM +0300, Sergey Senozhatsky wrote: > > While fixing lockdep spew of ->init_lock reported by Sasha Levin [1], > > Minchan > > Kim noted [2] that it's better to move compression backend allo

Re: [PATCH 1/3] perf tests: Introduce perf_regs_load function on ARM

2014-03-06 Thread Will Deacon
On Wed, Mar 05, 2014 at 02:17:00AM +, Jean Pihet wrote: > On 4 March 2014 12:00, Will Deacon wrote: > > On Mon, Mar 03, 2014 at 09:53:21AM +, Jean Pihet wrote: > >> + str lr, [r0, #PC] @ Save caller PC > > > > This isn't necessarily the `caller PC' (depending on how you define it

Re: [PATCH 3/3] perf: Use 64-bit value when comparing sample_regs

2014-03-06 Thread Gabriel Paubert
On Thu, Mar 06, 2014 at 09:44:47AM +, David Laight wrote: > From: Sukadev Bhattiprolu > > When checking whether a bit representing a register is set in > > sample_regs, a 64-bit mask, use 64-bit value (1LL). > > > > Signed-off-by: Sukadev Bhattiprolu > > --- > > tools/perf/util/unwind.c |

Re: [PATCH] virtio-scsi: Change sense buffer size to 252

2014-03-06 Thread Paolo Bonzini
Il 06/03/2014 12:22, Hannes Reinecke ha scritto: On 03/06/2014 11:09 AM, Paolo Bonzini wrote: Il 06/03/2014 09:47, Fam Zheng ha scritto: According to SPC-4, section 4.5.2.1, 252 is the limit of sense data. So increase the value. Signed-off-by: Fam Zheng --- include/linux/virtio_scsi.h | 2 +-

Re: [PATCH v2 1/2] i2c: add DMA support for freescale i2c driver

2014-03-06 Thread Marek Vasut
On Thursday, March 06, 2014 at 06:02:03 AM, Yao Yuan wrote: > On Thu, March 06, 2014 at 12:44:14 PM, Marek Vasut wrote: > > On Thursday, March 06, 2014 at 05:36:14 AM, Yao Yuan wrote: > > > On Thu, March 06, 2014 at 11:23:50 AM, Marek Vasut wrote: > > > > On Wednesday, March 05, 2014 at 07:52:31 AM

Re: [PATCH linux-next] sched: Fix broken setscheduler()

2014-03-06 Thread Peter Zijlstra
On Wed, Mar 05, 2014 at 11:29:31PM -0500, Steven Rostedt wrote: > I decided to run my tests on linux-next, and my wakeup_rt tracer was > broken. After running a bisect, I found that the problem commit was: > >linux-next commit c365c292d059 >"sched: Consider pi boosting in setscheduler()" >

[PATCH v3] mfd: max8997: use regmap to access registers

2014-03-06 Thread Robert Baldyga
This patch modifies max8997 driver and each associated function driver, to use regmap instead of operating directly on i2c bus. It will allow to simplify IRQ handling using regmap-irq. Signed-off-by: Robert Baldyga --- Changelog: v3: - remove unused variables - use regmap_* functions to access

Re: [PATCH v2] [media] v4l: omap4iss: Add DEBUG compiler flag

2014-03-06 Thread Mauro Carvalho Chehab
Em Thu, 06 Mar 2014 12:00:30 +0100 Laurent Pinchart escreveu: > Hi Greg, > > On Wednesday 05 March 2014 20:45:29 Greg Kroah-Hartman wrote: > > On Thu, Mar 06, 2014 at 01:48:29AM +0100, Laurent Pinchart wrote: > > > On Wednesday 05 March 2014 16:28:03 Joe Perches wrote: > > > > On Thu, 2014-03-06

[PATCH] ARM: mvebu: add Device Tree for the Armada 385 RD board

2014-03-06 Thread Gregory CLEMENT
The Armada 385 RD board is the reference design board from Marvell for the Armada 385 SoC. This commit adds a Device Tree description for this board, which enables the following features: * Network interfaces * I2C bus * Serial port * SPI bus, with a SPI flash * PCIe interface Signed-off-by:

Re: [RFC] [PATCH] Pre-emption control for userspace

2014-03-06 Thread Kevin Easton
On Tue, Mar 04, 2014 at 04:51:15PM -0800, Andi Kleen wrote: > Anything else? If it was possible to make the time remaining in the current timeslice available to userspace through the vdso, the thread could do something like: if (sys_timeleft() < CRITICAL_SECTION_SIZE) yield(); lock(); to avo

Re: [PATCH] cpufreq: use cpufreq_cpu_get to avoid cpufreq_get race conditions

2014-03-06 Thread Rafael J. Wysocki
On Wednesday, March 05, 2014 05:14:26 PM Aaron Plattner wrote: > On 03/05/14 17:23, Rafael J. Wysocki wrote: > > On Tuesday, March 04, 2014 12:42:15 PM Aaron Plattner wrote: > >> If a module calls cpufreq_get while cpufreq is initializing, it's possible > >> for > >> it to be called after cpufreq_

Re: [PATCH 00/11] SimpleDRM & Sysfb

2014-03-06 Thread David Herrmann
Hi Tomi On Mon, Mar 3, 2014 at 12:22 PM, Tomi Valkeinen wrote: > On 03/03/14 13:09, David Herrmann wrote: > >>> What do you think, would it be possible to keep the sysfb stuff in >>> arch/x86, and still be able to do the rest of the stuff here? And then >>> move the sysfs from arch/x86 to drivers

Re: [PATCH v2] ACPI / EC: Clear stale EC events on Samsung systems

2014-03-06 Thread Rafael J. Wysocki
On Thursday, March 06, 2014 11:54:28 AM Kieran Clancy wrote: > On Thu, Mar 6, 2014 at 11:22 AM, Rafael J. Wysocki wrote: > > On Thursday, March 06, 2014 11:04:14 AM Kieran Clancy wrote: > >> > >> Rafael, is it a separate process to get this in the stable tree or > >> will it naturally happen after

Re: [PATCH V2 3/3] cpufreq: initialize governor for a new policy under policy->rwsem

2014-03-06 Thread Rafael J. Wysocki
On Thursday, March 06, 2014 10:24:38 AM Viresh Kumar wrote: > On 6 March 2014 09:04, Rafael J. Wysocki wrote: > > I've rebased this one on top of 3.14-rc5 and queued it up for 3.14-rc6. > > > > Please check the bleeding-edge branch for the result. > > Yeah, it looks fine. And I assume that you ar

Re: [PATCH linux-next] sched: Fix broken setscheduler()

2014-03-06 Thread Juri Lelli
On Thu, 6 Mar 2014 12:58:25 +0100 Peter Zijlstra wrote: > On Wed, Mar 05, 2014 at 11:29:31PM -0500, Steven Rostedt wrote: > > I decided to run my tests on linux-next, and my wakeup_rt tracer was > > broken. After running a bisect, I found that the problem commit was: > > > >linux-next commit

[PATCH] drm: fix bochs kconfig dependencies

2014-03-06 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/bochs/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/bochs/Kconfig b/drivers/gpu/drm/bochs/Kconfig index c8fcf12..5f8b0c2 100644 --- a/drivers/gpu/drm/bochs/Kconfig +++ b/drivers/gpu/drm/bochs/Kconfig @@ -2,6 +2,7 @@ co

Re: [PATCH 2/5] ARM: dts: AM4372: Add USB nodes

2014-03-06 Thread George Cherian
Hi Roger, On 3/6/2014 2:19 PM, Roger Quadros wrote: Hi George, On 03/03/2014 03:53 PM, George Cherian wrote: Add nodes for 2 instances each of - ocp2scp - USB PHY control module - USB PHY - dwc3_omap - USB for AM43xx. Signed-off-by: George Cherian ---

Re: [PATCH 5/5] doc: Add "ti,am437x-dwc3" comaptible for dwc3 glue

2014-03-06 Thread George Cherian
Hi Roger, On 3/6/2014 2:25 PM, Roger Quadros wrote: On 03/03/2014 03:53 PM, George Cherian wrote: Add the compatible "ti,am437x-dwc3" for dwc3 glue driver. Signed-off-by: George Cherian --- Documentation/devicetree/bindings/usb/omap-usb.txt | 4 +++- 1 file changed, 3 insertions(+), 1 delet

Re: [PATCH] Add option to build with -O3

2014-03-06 Thread Austin S Hemmelgarn
On 2014-03-05 02:36, j...@ringle.org wrote: > From: Jon Ringle > > Signed-off-by: Jon Ringle > --- > Makefile | 2 ++ > init/Kconfig | 19 --- > 2 files changed, 18 insertions(+), 3 deletions(-) > > diff --git a/Makefile b/Makefile > index 78209ee..e7f0b3c 100644 > --- a/M

Re: [RFC 0/6] rework sched_domain topology description

2014-03-06 Thread Dietmar Eggemann
On 06/03/14 09:04, Vincent Guittot wrote: On 6 March 2014 07:17, Dietmar Eggemann wrote: On 05/03/14 07:18, Vincent Guittot wrote: This patchset was previously part of the larger tasks packing patchset [1]. I have splitted the latter in 3 different patchsets (at least) to make the thing easie

[RESEND PATCH 1/1] arm: dts: am33xx: correcting dt node unit address for usb

2014-03-06 Thread Mugunthan V N
DT node's unit address should be its own register offset address to make it a unique across the system. This patch corrects the incorrect USB entries with correct register offset for unit address. Cc: Sebastian Andrzej Siewior Cc: Felipe Balbi Signed-off-by: Mugunthan V N --- This patch was pos

Re: [PATCH net-next v6 8/10] xen-netback: Add stat counters for frag_list skbs

2014-03-06 Thread Zoltan Kiss
On 05/03/14 12:35, Wei Liu wrote: On Tue, Mar 04, 2014 at 10:32:19PM +, Zoltan Kiss wrote: These counters help determine how often the guest sends a packet with more than MAX_SKB_FRAGS frags. NOTE: if bisect brought you here, you should apply the series up until #9, otherwise malicious gues

Re: [RESEND PATCH 1/1] arm: dts: am33xx: correcting dt node unit address for usb

2014-03-06 Thread Sebastian Andrzej Siewior
On 03/06/2014 01:31 PM, Mugunthan V N wrote: > DT node's unit address should be its own register offset address to make it a > unique across the system. This patch corrects the incorrect USB entries with > correct register offset for unit address. > > Cc: Sebastian Andrzej Siewior > Cc: Felipe Ba

[PATCH v2 3/3] phy: omap-usb2: Add different compatible for OMAP5

2014-03-06 Thread George Cherian
Add a new compatible for OMAP5 since it does not use any of the OTG operations as of now. HAS_SRP and SET_VBUS functionalities are used only for OMAP4. Update the Documentation also to add new comaptible. Signed-off-by: George Cherian --- Documentation/devicetree/bindings/usb/usb-phy.txt | 3 ++

[PATCH v2 0/3] phy-omap-usb2 driver enhancements

2014-03-06 Thread George Cherian
This series * Adds suport for AM437x USB2 PHY driver * Address DRA7 PHY errata for false disconnect * New compatible for OMAP5 Changelog v1 -> v2 * Refreshed the whole series on top of linux-phy/next * u32 flags changed to u8 flags in Patch1 * cha

[PATCH v2 1/3] phy: omap-usb2: Adapt phy-omap-usb2 for AM437x

2014-03-06 Thread George Cherian
Adapt phy-omap-usb2 driver for AM437x. - Add new comaptible "ti,am437x-usb2" for AM437x - Pass proper data to differentiate AM437x and others. - AM437x doesnot support set_vbus and start_srp. - Also update the Documentation to add new compatible. Signed-off-by: Geo

Re: [PATCH 1/3] phy: omap-usb2: Adapt phy-omap-usb2 for AM437x

2014-03-06 Thread George Cherian
On 3/6/2014 4:43 PM, Kishon Vijay Abraham I wrote: George, On Monday 03 March 2014 03:40 PM, George Cherian wrote: Adapt phy-omap-usb2 driver for AM437x. - Add new comaptible "ti,am437x-usb2" for AM437x - Pass proper data to differentiate AM437x and others. - AM437x doesnot support

[PATCH v2 2/3] phy: omap-usb2: Provide workaround for USB2PHY false disconnect

2014-03-06 Thread George Cherian
From: Austin Beam Enable the dra7x errata workaround for false disconnect problem with USB2PHY. False disconnects were detected with some of the devices. Reduce the sensitivity of the disconnect logic within the USB2PHY subsystem to enusre these false disconnects are not registered. [george.cher

[PATCH 2/8] af_rxrpc: Prevent RxRPC peers from ABORT-storming one another [ver #2]

2014-03-06 Thread David Howells
From: Tim Smith When an ABORT is sent, aborting a connection, the sender quite reasonably forgets about the connection. If another frame is received, another ABORT will be sent. When the receiver gets it, it no longer applies to an extant connection, so an ABORT is sent, and so on... Prevent t

[PATCH 1/8] af_rxrpc: Remove incorrect checksum calculation from rxrpc_recvmsg() [ver #2]

2014-03-06 Thread David Howells
From: Tim Smith The UDP checksum was already verified in rxrpc_data_ready() - which calls skb_checksum_complete() - as the RxRPC packet header contains no checksum of its own. Subsequent calls to skb_copy_and_csum_datagram_iovec() are thus redundant and are, in any case, being passed only a subs

[PATCH 3/8] af_rxrpc: Fix UDP MTU calculation from ICMP_FRAG_NEEDED [ver #2]

2014-03-06 Thread David Howells
AF_RXRPC sends UDP packets with the "Don't Fragment" bit set in an attempt to determine the maximum packet size between the local socket and the peer by invoking the generation of ICMP_FRAG_NEEDED packets. Once a packet is sent with the "Don't Fragment" bit set, it is then inconvenient to break it

[PATCH 4/8] af_rxrpc: Add sysctls for configuring RxRPC parameters [ver #2]

2014-03-06 Thread David Howells
Add sysctls for configuring RxRPC protocol handling, specifically controls on delays before ack generation, the delay before resending a packet, the maximum lifetime of a call and the expiration times of calls, connections and transports that haven't been recently used. More info added in Document

[PATCH 7/8] af_rxrpc: Request an ACK for every alternate DATA packet [ver #2]

2014-03-06 Thread David Howells
Set the RxRPC header flag to request an ACK packet for every odd-numbered DATA packet unless it's the last one (which implicitly requests an ACK anyway). This is similar to how librx appears to work. If we don't do this, we'll send out a full window of packets and then just sit there until the oth

[PATCH 8/8] af_rxrpc: Keep rxrpc_call pointers in a hashtable [ver #2]

2014-03-06 Thread David Howells
From: Tim Smith Keep track of rxrpc_call structures in a hashtable so they can be found directly from the network parameters which define the call. This allows incoming packets to be routed directly to a call without walking through hierarchy of peer -> transport -> connection -> call and all th

[PATCH 5/8] af_rxrpc: Improve ACK production [ver #2]

2014-03-06 Thread David Howells
Improve ACK production by the following means: (1) Don't send an ACK_REQUESTED ack immediately even if the RXRPC_MORE_PACKETS flag isn't set on a data packet that has also has RXRPC_REQUEST_ACK set. MORE_PACKETS just means that the sender just emptied its Tx data buffer. More data

[PATCH 6/8] af_rxrpc: Expose more RxRPC parameters via sysctls [ver #2]

2014-03-06 Thread David Howells
Expose RxRPC parameters via sysctls to control the Rx window size, the Rx MTU maximum size and the number of packets that can be glued into a jumbo packet. More info added to Documentation/networking/rxrpc.txt. Signed-off-by: David Howells --- Documentation/networking/rxrpc.txt | 19

[PATCH 0/8] AF_RXRPC fixes and development [ver #2]

2014-03-06 Thread David Howells
Hi Dave, Here are some AF_RXRPC fixes (to tag rxrpc-20140226): (1) Fix to remove incorrect checksum calculation made during recvmsg(). It's unnecessary to try to do this there since we check the checksum before reading the RxRPC header from the packet. (2) Fix to prevent the sendin

Re: [PATCH][RESEND 3] hwrng: add randomness to system from rng sources

2014-03-06 Thread Jason Cooper
On Wed, Mar 05, 2014 at 06:52:27PM -0600, Matt Mackall wrote: > On Wed, 2014-03-05 at 16:11 -0500, Jason Cooper wrote: > > > In other words, if there are 4096 bits of "unknownness" in X to start > > > with, and I can get those same 4096 bits of "unknownness" back by > > > unmixing X' and Y, then th

Re: [PATCH][RESEND 3] hwrng: add randomness to system from rng sources

2014-03-06 Thread Jason Cooper
On Mon, Mar 03, 2014 at 03:51:48PM -0800, Kees Cook wrote: > When bringing a new RNG source online, it seems like it would make sense > to use some of its bytes to make the system entropy pool more random, > as done with all sorts of other devices that contain per-device or > per-boot differences.

[PATCH] net: use raw_cpu ops in snmp stats bh

2014-03-06 Thread Sergey Senozhatsky
caller is __this_cpu_preempt_check+0x2b/0x2d CPU: 3 PID: 4661 Comm: ssh Not tainted 3.14.0-rc5-next-20140306-dbg-dirty #162 Hardware name: Acer Aspire 5741G/Aspire 5741G, BIOS V1.20 02/08/2011 880094939be0 813b8305 0003 88

Re: [PATCH] staging: dgap: remove useless cast on kzalloc()

2014-03-06 Thread Mark Hounschell
On 03/06/2014 01:17 AM, Daeseok Youn wrote: coccinelle warning: drivers/staging/dgap/dgap.c:782:3-7: WARNING: casting value returned by k[cmz]alloc to (char *) is useless. drivers/staging/dgap/dgap.c:776:2-16: WARNING: casting value returned by k[cmz]alloc to (struct board_t *) is useless.

[PATCH RFT] regulator: pbias: Convert to use regmap helper functions

2014-03-06 Thread Axel Lin
This patch converts this driver to use the regmap helper functions provided by regulator core. This fixes a few issues in current implementation: 1) In original code, the set voltage does not check max_uV, which means if request max_uV < 180, it will still set the voltage to 180. 2

[PATCH] x86, fix x86 fixup_irqs() error handling [v2]

2014-03-06 Thread Prarit Bhargava
fixup_irqs() calls chip->set_irq_affinity which eventually calls __assign_irq_vector(). Errors are not propogated back from this function call and this results in silent irq relocation failures. This patch fixes this issue and prints out a warning if there is a relocation failure. [v2]: modified

Re: [PATCH 2/5] ARM: dts: AM4372: Add USB nodes

2014-03-06 Thread Roger Quadros
On 03/06/2014 02:27 PM, George Cherian wrote: > Hi Roger, > > On 3/6/2014 2:19 PM, Roger Quadros wrote: >> Hi George, >> >> On 03/03/2014 03:53 PM, George Cherian wrote: >>> Add nodes for 2 instances each of >>> - ocp2scp >>> - USB PHY control module >>> - USB PHY >>> - dwc3_omap >

Re: [PATCH 3.5 61/62] powerpc/le: Ensure that the 'stop-self' RTAS token is handled correctly

2014-03-06 Thread Luís Henriques
On Wed, Mar 05, 2014 at 02:37:05PM +, Luis Henriques wrote: > 3.5.7.32 -stable review patch. If anyone has any objections, please let me > know. > As requested by Tony Breeds, I'm dropping this from the 3.5 kernel. Looks like its applicable only to kernels >= 3.10. Cheers, -- Luís >

Re: [PATCH 2/2] i2c: Add message transfer tracepoints for SMBUS

2014-03-06 Thread David Howells
David Howells wrote: > > Can we have something like this for 'flags'? > > There's a __print_flags() which should work. One thing I'm concerned about > there is how do we handle more flags being added - does that count as an ABI > break if the printed format changes? > > SMBus flags are basical

Re: [PATCH] ARM: mvebu: add Device Tree for the Armada 385 RD board

2014-03-06 Thread Andrew Lunn
On Thu, Mar 06, 2014 at 01:11:08PM +0100, Gregory CLEMENT wrote: > The Armada 385 RD board is the reference design board from Marvell > for the Armada 385 SoC. This commit adds a Device Tree description for > this board, which enables the following features: > > * Network interfaces > * I2C bus

Re: [PATCH 2/2] i2c: Add message transfer tracepoints for SMBUS

2014-03-06 Thread Wolfram Sang
On Thu, Mar 06, 2014 at 01:13:55PM +, David Howells wrote: > David Howells wrote: > > > > Can we have something like this for 'flags'? > > > > There's a __print_flags() which should work. One thing I'm concerned about > > there is how do we handle more flags being added - does that count as

Re: [RFC] [PATCH] Pre-emption control for userspace

2014-03-06 Thread Rasmus Villemoes
"H. Peter Anvin" writes: > I have several issues with this interface: > > 1. First, a process needs to know if it *should* have been preempted > before it calls sched_yield(). So there needs to be a second flag set > by the scheduler when granting amnesty. > > 2. A process which fails to call sc

<    1   2   3   4   5   6   7   8   >