Re: [PATCH v2 0/3] Enable user helper interface for efi capsule update

2014-11-03 Thread Andy Lutomirski
On Mon, Nov 3, 2014 at 1:27 PM, Greg Kroah-Hartman wrote: > On Mon, Nov 03, 2014 at 11:33:23AM -0800, Andy Lutomirski wrote: >> On 11/02/2014 07:07 PM, Kweh Hock Leong wrote: >> > From: "Kweh, Hock Leong" >> > >> > >> > Hi Guys, >> > >> > This patchset is created on top of "efi: Capsule update

Re: bisected regression: qla2xxx endianness on sparc64

2014-11-03 Thread Meelis Roos
> > Between 3.17 and 3.18-rc2, qla2xxx is broken on my sparc64 machines. It > > fails to boot (hangs in firmware rings init). > > > > This is the result of bisect: > > > > 98aee70d19a7e3203649fa2078464e4f402a0ad8 is the first bad commit > > commit 98aee70d19a7e3203649fa2078464e4f402a0ad8 > >

Re: [PATCH v9 11/12] x86, mpx: cleanup unused bound tables

2014-11-03 Thread Thomas Gleixner
On Mon, 3 Nov 2014, Dave Hansen wrote: > On 10/27/2014 01:49 PM, Thomas Gleixner wrote: > > Errm. Before user space can use the bounds table for the new mapping > > it needs to add the entries, right? So: > > > > CPU 0 CPU 1 > > > > down_write(mm->bd_sem); >

[RFC PATCH 3/4 v2] ftracetest: Add helper reset_tracer() function

2014-11-03 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" Add a helper function reset_tracer() that will clear the current_tracer (echo nop > current_tracer). Signed-off-by: Steven Rostedt --- tools/testing/selftests/ftrace/test.d/functions | 4 1 file changed, 4 insertions(+) diff --git

[RFC PATCH 4/4 v2] ftracetest: Add a couple of ftrace test cases

2014-11-03 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" Added three test cases to get the feel of adding tests to ftracetest. The three cases are: function profiling test, to make sure function profiling still works with function tracing (was a regression) function graph filter test to make sure that function

[RFC PATCH 1/4 v2] ftracetest: Add clear_trace() helper to reset the trace file

2014-11-03 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" Created the file tools/testing/ftrace/test.d/functions that will hold helper functions. First function added was clear_trace() that is descriptive in its name to show that "echo > trace" is clearing the trace file. Signed-off-by: Steven Rostedt ---

[RFC PATCH 2/4 v2] ftracetest: Add disable/enable_tracing() helper calls

2014-11-03 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" Add calls that disable and enable tracing respectively by echoing 0 or 1 into tracing_on. Signed-off-by: Steven Rostedt --- tools/testing/selftests/ftrace/test.d/functions | 8 1 file changed, 8 insertions(+) diff --git

[RFC PATCH 0/4 v2] ftracetests: Add ftrace tests to ftracetests

2014-11-03 Thread Steven Rostedt
Second attempt. I took the advice from Masami Hiramatsu and modified my tests. I also added some helper functions to ftracetests as well. I split the one function graph test into two. One to just test the filtering of the function graph and another to test with stack tracer. Steven Rostedt (Red

Re: [RESUBMIT PATCH v6 1/8] mfd: Add support for Skyworks SKY81452 driver

2014-11-03 Thread Paul Bolle
On Mon, 2014-11-03 at 17:14 +, Lee Jones wrote: >On Fri, 31 Oct 2014, gyun...@gmail.com wrote: > Code looks fine, but what are its dependencies. I'm assuming nothing; > however, did Mark say that something depends on it? That would be REGULATOR_SKY81452. That is currently dangling (since

Re: [PATCHv4 3/6] arm: omap3: twl: use the new lookup method with usb phy

2014-11-03 Thread Tony Lindgren
* Heikki Krogerus [141017 07:43]: > Provide complete association for the phy and it's user > (musb) with the new phy lookup method. > > Signed-off-by: Heikki Krogerus Kishon, this looks OK for you to queue with other PHY patches: Acked-by: Tony Lindgren > --- >

Re: [PATCH v2 0/3] Enable user helper interface for efi capsule update

2014-11-03 Thread Greg Kroah-Hartman
On Mon, Nov 03, 2014 at 11:33:23AM -0800, Andy Lutomirski wrote: > On 11/02/2014 07:07 PM, Kweh Hock Leong wrote: > > From: "Kweh, Hock Leong" > > > > > > Hi Guys, > > > > This patchset is created on top of "efi: Capsule update support" patch: > >

Re: [PATCH v4] tty: serial: men_z135_uart: Fix driver for changes in hardware

2014-11-03 Thread Peter Hurley
On 11/03/2014 04:01 PM, Peter Hurley wrote: > On 11/03/2014 11:05 AM, Johannes Thumshirn wrote: >> * Enable the handling of UART core's automatic flow control feature. >> When AFE is active disable generation of modem status IRQs. > > So HUPCL doesn't work when CRTSCTS is set? Sorry, I meant

FW/BIOS Bug category for oops.kernel.org

2014-11-03 Thread Peter Zijlstra
Hi oops.kernel.org folks, I'm wanting to collect information on FW/BIOS bugs, and I figured that we could use the oops.kernel.org infrastructure to do this. Now, I'd prefer to not use the regular BUG/WARN because it might confuse users and the stacktrace is entirely pointless -- we know were/why

Re: [PATCH v4 8/9] ARM: shmobile: r8a7740 dtsi: Add PM domain support

2014-11-03 Thread Mathieu Poirier
On 3 November 2014 08:34, Geert Uytterhoeven wrote: > Add a device node for the System Controller, with subnodes that > represent the hardware power area hierarchy. > Hook up all devices to their respective PM domains. > > Add a minimal device node for the Coresight-ETM hardware block, and hook >

Re: [PATCH v3 3/6] ima: load x509 certificate from the kernel

2014-11-03 Thread Mimi Zohar
On Fri, 2014-10-10 at 17:09 +0300, Dmitry Kasatkin wrote: > Define configuration option to load X509 certificate into the > IMA trusted kernel keyring. It implements ima_load_x509() hook > to load X509 certificate into the .ima trusted kernel keyring > from root filesystem. > > Changes in v2: >

Re: [PATCH 10/10] added kernel build, configuration, and TODO files

2014-11-03 Thread Greg KH
On Mon, Nov 03, 2014 at 12:42:57PM -0800, Stephanie Wallick wrote: > --- /dev/null > +++ b/drivers/staging/mausb/TODO > @@ -0,0 +1,14 @@ > +TODO: > + - checkpatch.pl cleanups Is this still true? And why does this need to be a staging driver? What's wrong with making it a "real" driver now?

Re: [PATCH 10/10] added kernel build, configuration, and TODO files

2014-11-03 Thread Greg KH
On Mon, Nov 03, 2014 at 12:42:57PM -0800, Stephanie Wallick wrote: > --- /dev/null > +++ b/drivers/staging/mausb/drivers/Makefile > @@ -0,0 +1,20 @@ > +#MY_CFLAGS =-g -O0 -DEBUG_OUTPUT Please remove that line, it's not ever to be used. -- To unsubscribe from this list: send the line

Re: [PATCH 01/10] added media agnostic (MA) USB HCD driver

2014-11-03 Thread Greg KH
On Mon, Nov 03, 2014 at 12:42:48PM -0800, Stephanie Wallick wrote: > +EXPORT_SYMBOL(mausb_register_ms_driver); EXPORT_SYMBOL_GPL()? I have to ask... > +static int mausb_hcd_init(void) > +{ > + int ret; > + > + /* register HCD driver */ > + ret = platform_driver_register(_driver);

Re: [PATCH v13 09/11] pvqspinlock, x86: Add para-virtualization support

2014-11-03 Thread Waiman Long
On 11/03/2014 05:35 AM, Peter Zijlstra wrote: On Wed, Oct 29, 2014 at 04:19:09PM -0400, Waiman Long wrote: arch/x86/include/asm/pvqspinlock.h| 411 + I do wonder why all this needs to live in x86.. I haven't looked into the para-virtualization code in

Re: [PATCH 01/10] added media agnostic (MA) USB HCD driver

2014-11-03 Thread Greg KH
On Mon, Nov 03, 2014 at 12:42:48PM -0800, Stephanie Wallick wrote: > +#define DEBUG I doubt you want this in the driver enabled by default :( -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

[V10 PATCH 2/2] irqchip: gicv2m: Add supports for ARM GICv2m MSI(-X)

2014-11-03 Thread suravee.suthikulpanit
From: Suravee Suthikulpanit ARM GICv2m specification extends GICv2 to support MSI(-X) with a new set of register frame. This patch introduces support for the non-secure GICv2m register frame. Currently, GICV2m is available in certain version of GIC-400. The patch introduces a new property in

[V10 PATCH 1/2] genirq: Add irq_chip_set_type_parent function

2014-11-03 Thread suravee.suthikulpanit
From: Suravee Suthikulpanit Add a helper function to set irq type in parent irq domain. Signed-off-by: Suravee Suthikulpanit --- include/linux/irq.h | 1 + kernel/irq/chip.c | 10 ++ 2 files changed, 11 insertions(+) diff --git a/include/linux/irq.h b/include/linux/irq.h index

[V10 PATCH 0/2] irqchip: gic: Introduce ARM GICv2m MSI(-X) support

2014-11-03 Thread suravee.suthikulpanit
From: Suravee Suthikulpanit This patch set introduces support for MSI(-X) in GICv2m specification, which is implemented in some variation of GIC400. This patch adopt the new hierarchy irq domain, and is rebased from: Git tree :

Re: [PATCH 0/7] perf tools: Add a thread stack for synthesizing call chains

2014-11-03 Thread Arnaldo Carvalho de Melo
Em Thu, Oct 30, 2014 at 04:09:41PM +0200, Adrian Hunter escreveu: > Here are the thread stack patches again. Please let me > know if you want more explanation. > > Changes: > > perf tools: Add a thread stack for synthesizing call chains > Added some error returns >

[PATCH v2 1/2] HID: logitech-hidpp: fix negated returns

2014-11-03 Thread Benjamin Tissoires
Reported by Dan Carpenter: drivers/hid/hid-logitech-hidpp.c:359 hidpp_root_get_protocol_version() warn: should this return really be negated? drivers/hid/hid-logitech-hidpp.c:398 hidpp_devicenametype_get_count() warn: should this return really be negated? drivers/hid/hid-logitech-hidpp.c:417

[PATCH v2 2/2] HID: logitech-hidpp: 2 fixes in hidpp_root_get_protocol_version()

2014-11-03 Thread Benjamin Tissoires
- remove the constant '1' - when the device is not connected, the protocol error HIDPP_ERROR_RESOURCE_ERROR is raised. We should not warn the user about it because it is somewhat expected as an answer when we check if the device is connected. Signed-off-by: Benjamin Tissoires --- Changes

Re: [RFC PATCH 1/2] pinctrl: Add output-disable

2014-11-03 Thread Doug Anderson
Linus, On Fri, Oct 31, 2014 at 1:49 AM, Linus Walleij wrote: > On Tue, Oct 28, 2014 at 9:57 PM, Doug Anderson wrote: >> The pinctrl bindings / API allow you to specify that: >> - a pin should be an output >> - a pin should have its input path enabled / disabled >> >> ...but they don't allow you

Re: [patch 1/3] mm: embed the memcg pointer directly into struct page

2014-11-03 Thread Kirill A. Shutemov
On Sat, Nov 01, 2014 at 11:15:54PM -0400, Johannes Weiner wrote: > Memory cgroups used to have 5 per-page pointers. To allow users to > disable that amount of overhead during runtime, those pointers were > allocated in a separate array, with a translation layer between them > and struct page. >

Re: [PATCH 1/3] media: rc: add driver for Amlogic Meson IR remote receiver

2014-11-03 Thread Mauro Carvalho Chehab
Em Mon, 03 Nov 2014 21:54:53 +0100 Beniamino Galvani escreveu: > On Mon, Nov 03, 2014 at 11:14:10AM -0200, Mauro Carvalho Chehab wrote: > > Em Sun, 12 Oct 2014 22:01:53 +0200 > > Beniamino Galvani escreveu: > > > > > Amlogic Meson SoCs include a infrared remote control receiver that can > > >

Re: [PATCH v4 0/9] ARM: shmobile: R-Mobile: DT PM domain support

2014-11-03 Thread Mathieu Poirier
On 3 November 2014 08:34, Geert Uytterhoeven wrote: > Hi Rafael, Simon, Magnus, > > This patch series enables DT support for PM domains on Renesas R-Mobile SoCs. > > Currently it's limited to R-Mobile A1 (r8a7740), but given the similarity of > the SYSC System-Controller on the various

[PATCH -mm 7/8] slab: introduce slab_free helper

2014-11-03 Thread Vladimir Davydov
Signed-off-by: Vladimir Davydov --- mm/slab.c | 30 ++ 1 file changed, 14 insertions(+), 16 deletions(-) diff --git a/mm/slab.c b/mm/slab.c index a9eb49f40c0a..178a3b733a50 100644 --- a/mm/slab.c +++ b/mm/slab.c @@ -3521,6 +3521,18 @@ void

Re: [PATCH v4] tty: serial: men_z135_uart: Fix driver for changes in hardware

2014-11-03 Thread Peter Hurley
On 11/03/2014 11:05 AM, Johannes Thumshirn wrote: > * Enable the handling of UART core's automatic flow control feature. > When AFE is active disable generation of modem status IRQs. So HUPCL doesn't work when CRTSCTS is set? Is this because there's actually a problem with the IP core that

[PATCH -mm 2/8] slab: charge slab pages to the current memory cgroup

2014-11-03 Thread Vladimir Davydov
Currently, new slabs are charged to the memory cgroup that owns the cache (kmem_cache->memcg_params->memcg), but I'm going to decouple kmem caches from memory cgroups so I make them charged to the current cgroup. Signed-off-by: Vladimir Davydov --- include/linux/memcontrol.h |5 -

[PATCH -mm 1/8] memcg: do not destroy kmem caches on css offline

2014-11-03 Thread Vladimir Davydov
Currently, we try to destroy per memcg kmem caches on css offline. Since a cache can contain active objects when the memory cgroup is removed, we can't destroy all caches immediately and therefore should introduce asynchronous destruction for this scheme to work properly. However, this requires a

[PATCH -mm 5/8] memcg: free kmem cache id on css offline

2014-11-03 Thread Vladimir Davydov
This will allow new kmem active cgroups to reuse the id and therefore the caches used by the dead memory cgroup. Signed-off-by: Vladimir Davydov --- mm/memcontrol.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/mm/memcontrol.c b/mm/memcontrol.c index

[PATCH -mm 3/8] memcg: decouple per memcg kmem cache from the owner memcg

2014-11-03 Thread Vladimir Davydov
Basically, we substitute the reference to the owner memory cgroup in memcg_cache_params with the index in the memcg_caches array. This decouples kmem cache from the memcg it was created for and will allow to reuse it for another cgroup after css offline. Signed-off-by: Vladimir Davydov ---

[PATCH -mm 6/8] memcg: introduce memcg_kmem_should_charge helper

2014-11-03 Thread Vladimir Davydov
We use the same set of checks in both memcg_kmem_newpage_charge and memcg_kmem_get_cache, and I need it in yet another function, which will be introduced by one of the following patches. So let's introduce a helper function for it. Signed-off-by: Vladimir Davydov --- include/linux/memcontrol.h

[PATCH -mm 4/8] memcg: zap memcg_{un}register_cache

2014-11-03 Thread Vladimir Davydov
No need in these helpers any more. We can do the stuff in memcg_create_kmem_cache and kmem_cache_destroy. Signed-off-by: Vladimir Davydov --- include/linux/memcontrol.h |2 - include/linux/slab.h |3 +- mm/memcontrol.c| 115 ++--

[PATCH -mm 0/8] memcg: reuse per cgroup kmem caches

2014-11-03 Thread Vladimir Davydov
Hi, Currently, each kmem active memory cgroup has its own set of kmem caches. The caches are only used by the memory cgroup they were created for, so when the cgroup is taken offline they must be destroyed. However, we can't easily destroy all the caches on css offline, because they still may

[PATCH -mm 8/8] slab: recharge slab pages to the allocating memory cgroup

2014-11-03 Thread Vladimir Davydov
Since we now reuse per cgroup kmem caches, the slab we allocate an object from may be accounted to a dead memory cgroup. If we leave such a slab accounted to a dead cgroup, we risk pinning the cgroup forever, so we introduce a new function, memcg_kmem_recharge_slab, which is to be called in the

Re: [PATCH 1/3] media: rc: add driver for Amlogic Meson IR remote receiver

2014-11-03 Thread Beniamino Galvani
On Mon, Nov 03, 2014 at 11:14:10AM -0200, Mauro Carvalho Chehab wrote: > Em Sun, 12 Oct 2014 22:01:53 +0200 > Beniamino Galvani escreveu: > > > Amlogic Meson SoCs include a infrared remote control receiver that can > > operate in two modes: in "NEC" mode the hardware can decode frames > > using

Re: [PATCH v9 11/12] x86, mpx: cleanup unused bound tables

2014-11-03 Thread Dave Hansen
On 10/27/2014 01:49 PM, Thomas Gleixner wrote: > Errm. Before user space can use the bounds table for the new mapping > it needs to add the entries, right? So: > > CPU 0 CPU 1 > > down_write(mm->bd_sem); > mpx_pre_unmap(); >clear bounds directory entries

[PATCH 09/10] added tools for building/loading media agnostic (MA) USB drivers

2014-11-03 Thread Stephanie Wallick
Adds various scripts for building, loading and unloading the MA USB drivers and a utility that can be used for connecting and disconnecting the host and device drivers. Signed-off-by: Sean O. Stalley Signed-off-by: Stephanie Wallick --- .../staging/mausb/scripts/build_load_connect.sh| 69

[PATCH 02/10] added media agnostic (MA) USB HCD roothubs

2014-11-03 Thread Stephanie Wallick
This is where we implement USB 2.0 and 3.0 roothubs. From the host's perspective, hub state is set and tracked just like any other USB roothub. Likewise, requests to the roothub appear to be handled like any other wired USB request. Signed-off-by: Sean O. Stalley Signed-off-by: Stephanie

[PATCH 03/10] added media agnostic (MA) data structures and handling

2014-11-03 Thread Stephanie Wallick
This is where we create, store and handle endpoint and device structures that are specific to the MA USB drivers. Each MA USB structure maps 1:1 with it's corresponding USB structure (e.g. there is one MA USB endpoint per USB endpoint). Signed-off-by: Sean O. Stalley Signed-off-by: Stephanie

[PATCH 07/10] added media agnostic (MA) USB management packet handling

2014-11-03 Thread Stephanie Wallick
The Media Agnostic USB Specification outlines a number of managment packet types for management and control functions. Each function is initiated with a particular type of managment request packet and completed with the corresponding management response packet. This is where we fill the fields for

[PATCH 01/10] added media agnostic (MA) USB HCD driver

2014-11-03 Thread Stephanie Wallick
This is where we interface with the existing USB stack and implement the functionality of a USB host controller driver. From the host's perspective, we appear as just another USB host controller. However, instead of passing traffic along a wired USB bus, the driver hands USB packets off for

[PATCH 06/10] added media agnostic (MA) UDC

2014-11-03 Thread Stephanie Wallick
This is where we implement the behavior of a USB device controller for the MA USB device-side driver. The MA UDC interfaces with a gadget driver and appears to the driver as a regular UDC. However, instead of sending USB packets over a wired USB bus, the MA UDC hands MA USB packets off to a media

[PATCH 04/10] added media agnostic (MA) USB packet handling

2014-11-03 Thread Stephanie Wallick
This is where we handle MA USB packets. The structure and types of MA USB packets are defined in the MA USB specification. When an MA USB driver receives a USB packet, it translates it into a MA USB packet (or packets if urb exceeds maximum USB packet size). When an MA USB packet is received, the

[PATCH 4/5] hmm: heterogeneous memory management v6

2014-11-03 Thread j . glisse
From: Jérôme Glisse Motivation: Heterogeneous memory management is intended to allow a device to transparently access a process address space without having to lock pages of the process or take references on them. In other word mirroring a process address space while allowing the regular memory

[PATCH 08/10] added media agnostic (MA) USB data packet handling

2014-11-03 Thread Stephanie Wallick
The MA USB Specification outlines packet types and a protocol for bulk and interrupt transfers. This is where we implement that protocol. MA USB transfers are initiated by the host via a TransferRequest packet. The host then either sends data to the device via subsequent TransferRequest packets

[PATCH 10/10] added kernel build, configuration, and TODO files

2014-11-03 Thread Stephanie Wallick
Signed-off-by: Sean O. Stalley Signed-off-by: Stephanie Wallick --- drivers/staging/Kconfig| 2 ++ drivers/staging/Makefile | 1 + drivers/staging/mausb/Kconfig | 16 drivers/staging/mausb/Makefile | 3 +++

[tip:x86/vdso] x86_64, vsyscall: Turn vsyscalls all the way off when vsyscall==none

2014-11-03 Thread tip-bot for Andy Lutomirski
Commit-ID: 87983c66bc02c9cd8e4a42e7924435145d52bb13 Gitweb: http://git.kernel.org/tip/87983c66bc02c9cd8e4a42e7924435145d52bb13 Author: Andy Lutomirski AuthorDate: Wed, 29 Oct 2014 14:33:45 -0700 Committer: Thomas Gleixner CommitDate: Mon, 3 Nov 2014 21:44:57 +0100 x86_64, vsyscall:

[PATCH 3/5] lib: lockless generic and arch independent page table (gpt) v2.

2014-11-03 Thread j . glisse
From: Jérôme Glisse Page table is a common structure format most notably use by cpu mmu. The arch depend page table code has strong tie to the architecture which makes it unsuitable to be use by other non arch specific code. This patch implement a generic and arch independent page table. It is

[PATCH 00/10] MA USB drivers cover letter

2014-11-03 Thread Stephanie Wallick
Media Agnostic (MA) USB enables the USB protocol to be used over a wide range of physical media. MA USB is a relatively new protocol and is currently unsupported in the Linux kernel. This patch set adds the following drivers with the following capabilities: 1) MA USB Host: - provides

[tip:x86/vdso] x86_64,vsyscall: Make vsyscall emulation configurable

2014-11-03 Thread tip-bot for Andy Lutomirski
Commit-ID: 1ad83c858c7d4ea210429142c99a1548e6715a35 Gitweb: http://git.kernel.org/tip/1ad83c858c7d4ea210429142c99a1548e6715a35 Author: Andy Lutomirski AuthorDate: Wed, 29 Oct 2014 14:33:47 -0700 Committer: Thomas Gleixner CommitDate: Mon, 3 Nov 2014 21:44:57 +0100 x86_64,vsyscall:

[tip:x86/vdso] x86_64, vsyscall: Rewrite comment and clean up headers in vsyscall code

2014-11-03 Thread tip-bot for Andy Lutomirski
Commit-ID: 95c46b56922409ed8838b3b420b11cfebb8c6c88 Gitweb: http://git.kernel.org/tip/95c46b56922409ed8838b3b420b11cfebb8c6c88 Author: Andy Lutomirski AuthorDate: Wed, 29 Oct 2014 14:33:46 -0700 Committer: Thomas Gleixner CommitDate: Mon, 3 Nov 2014 21:44:57 +0100 x86_64, vsyscall:

[PATCH 05/10] added media specific (MS) TCP drivers

2014-11-03 Thread Stephanie Wallick
This is where we handle media specific packets and transport. The MS driver interfaces with a media agnostic (MA) driver via a series of transfer pairs. Transfer pairs consist of a set of functions to pass MA USB packets back and forth between MA and MS drivers. There is one transfer pair per

[PATCH 1/5] mmu_notifier: add event information to address invalidation v5

2014-11-03 Thread j . glisse
From: Jérôme Glisse The event information will be usefull for new user of mmu_notifier API. The event argument differentiate between a vma disappearing, a page being write protected or simply a page being unmaped. This allow new user to take different path for different event for instance on

[PATCH 2/5] mmu_notifier: keep track of active invalidation ranges

2014-11-03 Thread j . glisse
From: Jérôme Glisse The mmu_notifier_invalidate_range_start() and mmu_notifier_invalidate_range_end() can be considered as forming an "atomic" section for the cpu page table update point of view. Between this two function the cpu page table content is unreliable for the address range being

[PATCH 5/5] hmm/dummy: dummy driver to showcase the hmm api v3

2014-11-03 Thread j . glisse
From: Jérôme Glisse This is a dummy driver which full fill two purposes : - showcase the hmm api and gives references on how to use it. - provide an extensive user space api to stress test hmm. This is a particularly dangerous module as it allow to access a mirror of a process address space

HMM (heterogeneous memory management) v5

2014-11-03 Thread j . glisse
Andrew i received no feedback since last time i sent this patchset, so i would really like to have it merge for next kernel. While right now there is no kernel driver that leverage this code, the hardware is coming and we still have a long way to go before we have all the features needed. Right

Re: [PATCH 1/4] extcon: gpio: Convert the driver to use gpio desc API's

2014-11-03 Thread Felipe Balbi
Hi, On Mon, Nov 03, 2014 at 10:51:08AM -0800, Guenter Roeck wrote: > On Mon, Nov 03, 2014 at 12:06:02PM -0600, Felipe Balbi wrote: > > On Mon, Nov 03, 2014 at 10:01:50AM -0800, Guenter Roeck wrote: > > > On Mon, Nov 03, 2014 at 10:32:27AM -0600, Felipe Balbi wrote: > > > > From: George Cherian >

Re: [PATCH v2 2/3] x86_64,vsyscall: Rewrite comment and clean up headers in vsyscall code

2014-11-03 Thread Andy Lutomirski
On Mon, Nov 3, 2014 at 12:41 PM, Thomas Gleixner wrote: > On Mon, 3 Nov 2014, Andy Lutomirski wrote: >> On Mon, Nov 3, 2014 at 12:31 PM, Thomas Gleixner wrote: >> > On Wed, 29 Oct 2014, Andy Lutomirski wrote: >> > >> >> vsyscall_64.c is just vsyscall emulation. Tidy it up accordingly. >> >> >>

Re: [PATCH v2 2/3] x86_64,vsyscall: Rewrite comment and clean up headers in vsyscall code

2014-11-03 Thread Thomas Gleixner
On Mon, 3 Nov 2014, Andy Lutomirski wrote: > On Mon, Nov 3, 2014 at 12:31 PM, Thomas Gleixner wrote: > > On Wed, 29 Oct 2014, Andy Lutomirski wrote: > > > >> vsyscall_64.c is just vsyscall emulation. Tidy it up accordingly. > >> > >> If my comment editing offends anyone, let me know and I can

Re: [PATCH 1/2] HID: logitech-hidpp: fix negated returns

2014-11-03 Thread Benjamin Tissoires
On Mon, Nov 3, 2014 at 3:32 PM, Dan Carpenter wrote: > On Mon, Nov 03, 2014 at 02:50:52PM -0500, Benjamin Tissoires wrote: >> @@ -524,8 +541,11 @@ static int hidpp_touchpad_get_raw_info(struct >> hidpp_device *hidpp, >> ret = hidpp_send_fap_command_sync(hidpp, feature_index, >>

Re: [PATCH] pinctrl: baytrail: show output gpio state correctly on Intel Baytrail

2014-11-03 Thread Felipe Balbi
Hi, On Mon, Nov 03, 2014 at 08:42:47PM +0200, Mika Westerberg wrote: > > > > > > > > I think adding the module exit + allowing this driver to be a > > > > > > > > module > > > > > > > > would be a good approach. Then we don't need to force generic > > > > > > > > x86 kernel > > > > > > > >

[PATCH v2] snd-es18xx: Add GPO controls

2014-11-03 Thread Ondrej Zary
Add GPO0 and GPO1 (General Purpose Outputs) controls to mixer. These can be used on some cards to control amplifier mute (seen in ES1868 datasheet) or additional onboard chips such as QX2130 QXpander processor. These GPOs are present on ES1868, ES1869, ES1887 and ES1888 chips. Tested on ES1868

Re: [PATCH] hamradio: 6pack: remove unnecessary check

2014-11-03 Thread David Miller
From: Sudip Mukherjee Date: Mon, 3 Nov 2014 17:42:29 +0530 > this is check for dev is unnecessary, as we are already checking dev > after allocating it via alloc_netdev, and jumping to label: out > if it is NULL. > > Signed-off-by: Sudip Mukherjee Applied, thanks. -- To unsubscribe from this

Re: [PATCH v2 2/3] x86_64,vsyscall: Rewrite comment and clean up headers in vsyscall code

2014-11-03 Thread Andy Lutomirski
On Mon, Nov 3, 2014 at 12:31 PM, Thomas Gleixner wrote: > On Wed, 29 Oct 2014, Andy Lutomirski wrote: > >> vsyscall_64.c is just vsyscall emulation. Tidy it up accordingly. >> >> If my comment editing offends anyone, let me know and I can fix it. >> >> Reviewed-by: Josh Triplett >>

[PATCH] HID: core: cleanup .claimed field on disconnect

2014-11-03 Thread Benjamin Tissoires
When a subdriver is rmmod-ed then re-insmod-ed, the hid device is not destroyed as it is owned by the transport layer. So when we re-probed the device, the hid device is assumed to be already claimed, and can lead to page faults if hid-core tries to forward the emitted data to the to-be-created

Re: [PATCH 1/2] HID: logitech-hidpp: fix negated returns

2014-11-03 Thread Dan Carpenter
On Mon, Nov 03, 2014 at 02:50:52PM -0500, Benjamin Tissoires wrote: > @@ -524,8 +541,11 @@ static int hidpp_touchpad_get_raw_info(struct > hidpp_device *hidpp, > ret = hidpp_send_fap_command_sync(hidpp, feature_index, > CMD_TOUCHPAD_GET_RAW_INFO, NULL, 0, ); > > - if

Re: [PATCH v2 2/3] x86_64,vsyscall: Rewrite comment and clean up headers in vsyscall code

2014-11-03 Thread Thomas Gleixner
On Wed, 29 Oct 2014, Andy Lutomirski wrote: > vsyscall_64.c is just vsyscall emulation. Tidy it up accordingly. > > If my comment editing offends anyone, let me know and I can fix it. > > Reviewed-by: Josh Triplett > Signed-off-by: Andy Lutomirski > --- > arch/x86/kernel/vsyscall_64.c | 51

Re: [RFC v2 1/4] backports: replace CPTCFG prefix for CONFIG_BACKPORT

2014-11-03 Thread Luis R. Rodriguez
On Mon, Nov 3, 2014 at 12:24 PM, Johannes Berg wrote: > On Mon, 2014-11-03 at 12:21 -0800, Luis R. Rodriguez wrote: > >> OK I'll prefix the stuff we copy over with something else then, BPAUTO. > > I still want to keep CPTCFG though :) :*( OK I'll give it a shot... Luis -- To unsubscribe from

Re: [PATCH] VNIC: Adding support for Cavium ThunderX network controller

2014-11-03 Thread Stephen Hemminger
On Mon, 3 Nov 2014 19:33:45 +0100 Robert Richter wrote: > On 03.11.14 10:16:51, Stephen Hemminger wrote: > > On Fri, 31 Oct 2014 22:44:11 +0530 > > Sunil Kovvuri wrote: > > > > > On Fri, Oct 31, 2014 at 8:24 AM, Stephen Hemminger > > > wrote: > > > > On Thu, 30 Oct 2014 17:54:34 +0100 > > > >

Re: [RFC v2 1/4] backports: replace CPTCFG prefix for CONFIG_BACKPORT

2014-11-03 Thread Johannes Berg
On Mon, 2014-11-03 at 12:21 -0800, Luis R. Rodriguez wrote: > OK I'll prefix the stuff we copy over with something else then, BPAUTO. I still want to keep CPTCFG though :) johannes -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [RFC v2 1/4] backports: replace CPTCFG prefix for CONFIG_BACKPORT

2014-11-03 Thread Luis R. Rodriguez
On Mon, Nov 3, 2014 at 12:20 PM, Johannes Berg wrote: > On Mon, 2014-11-03 at 11:56 -0800, Luis R. Rodriguez wrote: > >> With my current code I end up with on a package (not integration): >> >> config BACKPORT_BUILD_AVERAGE >> bool >> depends on !AVERAGE >> default y if

Re: [RFC v2 1/4] backports: replace CPTCFG prefix for CONFIG_BACKPORT

2014-11-03 Thread Johannes Berg
On Mon, 2014-11-03 at 11:56 -0800, Luis R. Rodriguez wrote: > With my current code I end up with on a package (not integration): > > config BACKPORT_BUILD_AVERAGE > bool > depends on !AVERAGE > default y if BACKPORT_USERSEL_BUILD_ALL > default y if

Re: [PATCH V3 00/14] genirq endian fixes; bcm7120/brcmstb IRQ updates

2014-11-03 Thread Thomas Gleixner
On Mon, 3 Nov 2014, Arnd Bergmann wrote: > On Saturday 01 November 2014 18:03:47 Kevin Cernekee wrote: > > V2->V3: > > > > - Move updated irq_reg_{readl,writel} functions back into > >so they can be called by irqchip drivers > > > > - Add gc->reg_{readl,writel} function pointers so that

[PATCH 1/1] ptrace/x86: fix the TIF_FORCED_TF logic in handle_signal()

2014-11-03 Thread Oleg Nesterov
When the TIF_SINGLESTEP tracee dequeues a signal, handle_signal() clears TIF_FORCED_TF and X86_EFLAGS_TF but leaves TIF_SINGLESTEP set. If the tracer does PTRACE_SINGLESTEP again, enable_single_step() sets X86_EFLAGS_TF but not TIF_FORCED_TF. This means that the subsequent PTRACE_CONT doesn't not

[PATCH 0/1] ptrace/x86: fix the TIF_FORCED_TF logic in handle_signal()

2014-11-03 Thread Oleg Nesterov
Hello, This is the very old bug initially reported by Evan in 2010, see https://bugzilla.kernel.org/show_bug.cgi?id=16061 Somehow we forgot to fix it and now Pedro reports it again. >From the changelog: Note: in the longer term we should probably change setup_sigcontext() to use

Re: [patch] mm: move page->mem_cgroup bad page handling into generic code fix

2014-11-03 Thread David Miller
From: Johannes Weiner Date: Mon, 3 Nov 2014 13:27:40 -0500 > Remove unneeded !CONFIG_MEMCG memcg bad_page() dummies as well. > > Signed-off-by: Johannes Weiner Acked-by: David S. Miller -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: bisected regression: qla2xxx endianness on sparc64

2014-11-03 Thread Chad Dupuis
On Sun, 2 Nov 2014, Meelis Roos wrote: Between 3.17 and 3.18-rc2, qla2xxx is broken on my sparc64 machines. It fails to boot (hangs in firmware rings init). This is the result of bisect: 98aee70d19a7e3203649fa2078464e4f402a0ad8 is the first bad commit commit

Re: [0/3] net: Kill skb_copy_datagram_const_iovec

2014-11-03 Thread David Miller
From: Herbert Xu Date: Mon, 3 Nov 2014 13:37:51 +0800 > On Mon, Nov 03, 2014 at 12:45:03AM +, Al Viro wrote: >> >> Note, BTW, that there's a damn good reason to convert the socket side of >> things to iov_iter - as it is, ->splice_write() there is basically done with >> page-by-page mapping

Re: [V9 PATCH 2/2] irqchip: gicv2m: Add supports for ARM GICv2m MSI(-X)

2014-11-03 Thread Suravee Suthikulanit
On 11/3/2014 8:10 AM, Marc Zyngier wrote: On 03/11/14 09:50, Marc Zyngier wrote: @@ -843,10 +847,14 @@ static int gic_irq_domain_alloc(struct irq_domain *domain, unsigned int virq, unsigned int type = IRQ_TYPE_NONE; struct of_phandle_args *irq_data = arg; - ret =

Re: [V9 PATCH 2/2] irqchip: gicv2m: Add supports for ARM GICv2m MSI(-X)

2014-11-03 Thread Suravee Suthikulanit
On 11/3/2014 3:50 AM, Marc Zyngier wrote: diff --git a/drivers/irqchip/irq-gic.c b/drivers/irqchip/irq-gic.c >index a99c211..4069eb3 100644 >--- a/drivers/irqchip/irq-gic.c >+++ b/drivers/irqchip/irq-gic.c >@@ -46,6 +46,7 @@ > #include > > #include "irq-gic-common.h" >+#include

Re: [RFC v2 1/4] backports: replace CPTCFG prefix for CONFIG_BACKPORT

2014-11-03 Thread Luis R. Rodriguez
On Mon, Nov 3, 2014 at 11:40 AM, Johannes Berg wrote: > On Mon, 2014-11-03 at 11:30 -0800, Luis R. Rodriguez wrote: >> On Fri, Oct 31, 2014 at 1:33 PM, Luis R. Rodriguez wrote: >> >> That also makes me think of something else - we currently use BACKPORT_ >> >> as a prefix for some of the other

Re: [V9 PATCH 2/2] irqchip: gicv2m: Add supports for ARM GICv2m MSI(-X)

2014-11-03 Thread Suravee Suthikulanit
On 10/31/2014 4:40 AM, Thomas Gleixner wrote: On Fri, 31 Oct 2014, suravee.suthikulpa...@amd.com wrote: +/* + * alloc_msi_irq - Allocate MSIs from available MSI bitmap. + * @data: Pointer to v2m_data + * @nvec: Number of interrupts to allocate + * @irq: Pointer to the allocated irq + * + *

Re: rt-tester - move under selftests

2014-11-03 Thread Thomas Gleixner
On Tue, 21 Oct 2014, Shuah Khan wrote: > Andrew/Ingo/Thomas, > > You are all on the signed-off list for rt-tester. I have been poking > around the source tree looking for existing test and came across rt-tester. > > What are your thoughts on rt-tester suitability to reside under >

Re: [PATCH] crypto: caam: fix error reporting

2014-11-03 Thread Kim Phillips
On Mon, 3 Nov 2014 11:18:36 +0200 Cristian Stoica wrote: > On 10/31/2014 08:22 PM, Kim Phillips wrote: > > On Fri, 31 Oct 2014 18:57:33 +0200 > > Cristian Stoica wrote: > > > > If this issue was brought up by h/w, the appropriate new error codes > > should be being introduced. > > If you have

[PATCH 1/2] HID: logitech-hidpp: fix negated returns

2014-11-03 Thread Benjamin Tissoires
Reported by Dan Carpenter: drivers/hid/hid-logitech-hidpp.c:359 hidpp_root_get_protocol_version() warn: should this return really be negated? drivers/hid/hid-logitech-hidpp.c:398 hidpp_devicenametype_get_count() warn: should this return really be negated? drivers/hid/hid-logitech-hidpp.c:417

[PATCH 2/2] HID: logitech-hidpp: 2 fixes in hidpp_root_get_protocol_version()

2014-11-03 Thread Benjamin Tissoires
- remove the constant '1' - when the device is not connected, the protocol error HIDPP_ERROR_RESOURCE_ERROR is raised. We should not warn the user about it because it is somewhat expected as an answer when we check if the device is connected. Signed-off-by: Benjamin Tissoires ---

Re: [PATCH v3 3/5] Numachip: Add safe is-present function

2014-11-03 Thread Thomas Gleixner
On Sun, 2 Nov 2014, Daniel J Blueman wrote: > Add safe function to check if Numachip is detected, to be used elsewhere. I cannot find a use case for this. I guess this is a left over of the earlier 2G change, right? Thanks, tglx -- To unsubscribe from this list: send the line

Re: [PATCH] kthread: Fix the race condition when kthread is parked

2014-11-03 Thread Thomas Gleixner
On Sun, 2 Nov 2014, Daniel J Blueman wrote: > I just got a window to test this, and it reliably addresses the boot-time core > onlining race that we've seen occasionally on a 2000-core customer system. > Splendid work, Thomas. > > Tested-by: Daniel J Blueman Well, you forgot to read my follow

Re: [RFC 0/2] drivers: spi/i2c: account completions as iowait

2014-11-03 Thread Wolfram Sang
> > However, researching the net, users currently interpret iowait entirely as > > blkio wait. Furthermore, io_schedule() calls delayacct_blkio_{start|end}() > > which > > worked fine for my tests with I2C but might show that iowait was really > > meant as > > blkiowait? So, should other

Re: [RFC v2 1/4] backports: replace CPTCFG prefix for CONFIG_BACKPORT

2014-11-03 Thread Johannes Berg
On Mon, 2014-11-03 at 11:30 -0800, Luis R. Rodriguez wrote: > On Fri, Oct 31, 2014 at 1:33 PM, Luis R. Rodriguez wrote: > >> That also makes me think of something else - we currently use BACKPORT_ > >> as a prefix for some of the other stuff under compat/Kconfig, and in > >> fact rename some

Re: [PATCH v3 5/5] Use 2GB memory block size on large x86-64 systems

2014-11-03 Thread Thomas Gleixner
On Sun, 2 Nov 2014, Daniel J Blueman wrote: > On larger x64-64 systems, use a 2GB memory block size to reduce sysfs > entry creation time by 16x. Large is defined as 64GB or more memory. This changelog sucks. It neither tells which sysfs entries are meant nor does it explain what the actual

Re: [PATCH v2 0/3] Enable user helper interface for efi capsule update

2014-11-03 Thread Andy Lutomirski
On 11/02/2014 07:07 PM, Kweh Hock Leong wrote: > From: "Kweh, Hock Leong" > > > Hi Guys, > > This patchset is created on top of "efi: Capsule update support" patch: > http://permalink.gmane.org/gmane.linux.kernel.efi/4837 > > It leverages the request_firmware_nowait() to expose the user

[PATCH v4] drivers: s390: net: ctcm: migrate variables to handle y2038 problem

2014-11-03 Thread Aya Mahfouz
This patch is concerned with migrating the time variables for the s390 network driver. The changes handle the y2038 problem where timespec will overflow in the year 2038. timespec was replaced by unsigned long and all time variables get their values from the jiffies global variable. This was done

Re: [RFC v2 1/4] backports: replace CPTCFG prefix for CONFIG_BACKPORT

2014-11-03 Thread Luis R. Rodriguez
On Fri, Oct 31, 2014 at 1:33 PM, Luis R. Rodriguez wrote: >> That also makes me think of something else - we currently use BACKPORT_ >> as a prefix for some of the other stuff under compat/Kconfig, and in >> fact rename some things (like CONFIG_BACKPORT_AVERAGE) so maybe also >> using

<    1   2   3   4   5   6   7   8   9   10   >