[PATCHv8 3/4] sparc: Hook up execveat system call.

2014-11-14 Thread David Drysdale
Signed-off-by: David Drysdale drysd...@google.com --- arch/sparc/include/uapi/asm/unistd.h | 3 ++- arch/sparc/kernel/systbls_32.S | 1 + arch/sparc/kernel/systbls_64.S | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/sparc/include/uapi/asm/unistd.h

Re: [alsa-devel] Question on Compressed offload session

2014-11-14 Thread Pierre-Louis Bossart
On 11/13/14, 10:08 PM, gsant...@codeaurora.org wrote: On 11/12/14, 9:02 PM, gsant...@codeaurora.org wrote: Hi All, The Question is for the compressed offload session. For a generic codec driver during the startup function it will set some of the hw_constraints rule similarly like this.

Re: [PATCH v2] virt: kvm: arm: vgic: Process the failure case when kvm_register_device_ops() fails

2014-11-14 Thread Chen Gang
According to your taste, we need improve 2 contents below: On 11/14/2014 11:55 PM, Marc Zyngier wrote: No. This is completely overdesigned, and fixes something that really cannot happen. What is wrong with: diff --git a/virt/kvm/arm/vgic.c b/virt/kvm/arm/vgic.c index 3aaca49..b7dffa80

Re: BUG in scsi_lib.c due to a bad commit

2014-11-14 Thread Barto
Hello Christoph, I did the new bisect, the first bad commit is : 74665016086615bbaa3fa6f83af410a0a4e029ee scsi: convert host_busy to atomic_t you can find the bisect log here : https://bugzilla.kernel.org/attachment.cgi?id=157621 Le 14/11/2014 08:32, Christoph Hellwig a écrit : On Thu, Nov

Re: [PATCH v2 net-next 1/7] bpf: add 'flags' attribute to BPF_MAP_UPDATE_ELEM command

2014-11-14 Thread Alexei Starovoitov
On Fri, Nov 14, 2014 at 8:06 AM, Hannes Frederic Sowa han...@stressinduktion.org wrote: On Fr, 2014-11-14 at 07:33 -0800, Alexei Starovoitov wrote: On Fri, Nov 14, 2014 at 4:11 AM, Hannes Frederic Sowa han...@stressinduktion.org wrote: On Do, 2014-11-13 at 17:36 -0800, Alexei Starovoitov

Re: [PATCH 0/6] arm64: alternatives runtime patching

2014-11-14 Thread Catalin Marinas
On Fri, Nov 14, 2014 at 04:20:10PM +, Arnd Bergmann wrote: On Friday 14 November 2014 15:54:06 Andre Przywara wrote: This series introduces alternatives runtime patching to arm64. This allows to patch assembly instruction at runtime to either fix hardware bugs or optimize for certain

Re: [PATCH v6 0/7] vfs: Non-blockling buffered fs read (page cache only)

2014-11-14 Thread Jeff Moyer
Dave Chinner da...@fromorbit.com writes: On Mon, Nov 10, 2014 at 11:40:23AM -0500, Milosz Tanski wrote: This patcheset introduces an ability to perform a non-blocking read from regular files in buffered IO mode. This works by only for those filesystems that have data in the page cache. It

[PATCH] Repeated fork() causes SLAB to grow without bound

2014-11-14 Thread Daniel Forrest
There have been a couple of inquiries about the status of this patch over the last few months, so I am going to try pushing it out. Andrea Arcangeli has commented: Agreed. The only thing I don't like about this patch is the hardcoding of number 5: could we make it a variable to tweak with

Re: [RFC PATCH] printk: Use ACCESS_ONCE() instead of a volatile type

2014-11-14 Thread Alex Elder
On 11/13/2014 11:24 PM, Steven Rostedt wrote: On Thu, 13 Nov 2014 23:57:22 -0500 Steven Rostedt rost...@goodmis.org wrote: That assignment is what it is initialized to at boot up. I can't see any optimization that would cause gcc to modify that. Especially since we are hiding its accesses

Re: [PATCH V4 01/14] sh: Eliminate unused irq_reg_{readl,writel} accessors

2014-11-14 Thread Ralf Baechle
On Mon, Nov 10, 2014 at 09:13:49AM +0100, Geert Uytterhoeven wrote: On Fri, Nov 7, 2014 at 7:44 AM, Kevin Cernekee cerne...@gmail.com wrote: Defining these macros way down in arch/sh/.../irq.c doesn't cause kernel/irq/generic-chip.c to use them. As far as I can tell this code has no

Re: [PATCH v6 0/7] vfs: Non-blockling buffered fs read (page cache only)

2014-11-14 Thread Dave Jones
On Fri, Nov 14, 2014 at 11:32:53AM -0500, Jeff Moyer wrote: Can you write a test (or set of) for fstests that exercises this new functionality? I'm not worried about performance, just correctness On the subject of testing, I added support to trinity (attached, untested). That

Re: [PATCH 3.10 000/123] 3.10.60-stable review

2014-11-14 Thread Greg Kroah-Hartman
On Thu, Nov 13, 2014 at 08:25:42AM -0700, Shuah Khan wrote: On 11/11/2014 06:16 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.10.60 release. There are 123 patches in this series, all will be posted as a response to this one. If anyone has any issues

Re: [PATCH 09/11] x86, mpx: on-demand kernel allocation of bounds tables

2014-11-14 Thread Thomas Gleixner
On Fri, 14 Nov 2014, Dave Hansen wrote: * move mm init-time #ifdef to mpx.h +static inline void arch_bprm_mm_init(struct mm_struct *mm, + struct vm_area_struct *vma) +{ + mpx_mm_init(mm); +#ifdef CONFIG_X86_INTEL_MPX + mm-bd_addr = MPX_INVALID_BOUNDS_DIR; +#endif So

Re: [PATCH V3 2/8] xen: Delay remapping memory of pv-domain

2014-11-14 Thread Konrad Rzeszutek Wilk
On Fri, Nov 14, 2014 at 05:53:19AM +0100, Juergen Gross wrote: On 11/13/2014 08:56 PM, Konrad Rzeszutek Wilk wrote: + mfn_save = virt_to_mfn(buf); + + while (xen_remap_mfn != INVALID_P2M_ENTRY) { So the 'list' is constructed by going forward - that is from low-numbered PFNs to higher

Re: [PATCH v6 0/7] vfs: Non-blockling buffered fs read (page cache only)

2014-11-14 Thread Jeff Moyer
Dave Jones da...@redhat.com writes: On Fri, Nov 14, 2014 at 11:32:53AM -0500, Jeff Moyer wrote: Can you write a test (or set of) for fstests that exercises this new functionality? I'm not worried about performance, just correctness On the subject of testing, I added

Re: [RFC][PATCH 14/23 v4] tracing: Convert seq_buf_path() to be like seq_path()

2014-11-14 Thread Petr Mladek
On Thu 2014-11-13 20:12:58, Steven Rostedt wrote: From: Steven Rostedt (Red Hat) rost...@goodmis.org Rewrite seq_buf_path() like it is done in seq_path() and allow it to accept any escape character instead of just \n. Making seq_buf_path() like seq_path() will help prevent problems when

Re: N900 modem support in 3.18-rc1

2014-11-14 Thread Sebastian Reichel
On Fri, Nov 14, 2014 at 08:37:56AM +0100, Pavel Machek wrote: I'm using nfsroot (no modules), .config is attached. Debian v7.7, ofono installed. To launch ofono, I'm using: rmdir /dev/cmt ln -s /sys/bus/hsi/devices/n900-modem/ /dev/cmt At least with Debian as base you can add this to

Re: [RFC PATCH] printk: Use ACCESS_ONCE() instead of a volatile type

2014-11-14 Thread Steven Rostedt
On Fri, 14 Nov 2014 10:39:34 -0600 Alex Elder el...@linaro.org wrote: There is only one read of logbuf_cpu: if (unlikely(logbuf_cpu == this_cpu)) { This is called only while local interrupts are disabled, so if this condition holds it cannot be due to an interrupt--it Unless an NMI

Re: [PATCH 1/3] arch: Introduce load_acquire() and store_release()

2014-11-14 Thread Alexander Duyck
On 11/14/2014 02:45 AM, David Laight wrote: From: Alexander Duyck It is common for device drivers to make use of acquire/release semantics when dealing with descriptors stored in device memory. On reviewing the documentation and code for smp_load_acquire() and smp_store_release() as well as

Re: [PATCH V4 01/14] sh: Eliminate unused irq_reg_{readl,writel} accessors

2014-11-14 Thread Jason Cooper
On Fri, Nov 14, 2014 at 05:38:44PM +0100, Ralf Baechle wrote: On Mon, Nov 10, 2014 at 09:13:49AM +0100, Geert Uytterhoeven wrote: On Fri, Nov 7, 2014 at 7:44 AM, Kevin Cernekee cerne...@gmail.com wrote: Defining these macros way down in arch/sh/.../irq.c doesn't cause

Re: [RFC][PATCH 17/23 v4] tracing: Have seq_buf use full buffer

2014-11-14 Thread Petr Mladek
On Thu 2014-11-13 20:13:01, Steven Rostedt wrote: From: Steven Rostedt (Red Hat) rost...@goodmis.org Currently seq_buf is full when all but one byte of the buffer is filled. Change it so that the seq_buf is full when all of the buffer is filled. Some of the functions would fill the buffer

Re: [alsa-devel] Question on Compressed offload session

2014-11-14 Thread Mark Brown
On Fri, Nov 14, 2014 at 10:28:54AM -0600, Pierre-Louis Bossart wrote: On 11/13/14, 10:08 PM, gsant...@codeaurora.org wrote: 1) in Codec driver avoid adding hw_constraint during startup if compressed session is routed, this recommend for codec driver to know that compress session is routed to

Re: [PATCH V3 3/3] mfd: palmas: Add support for optional wakeup

2014-11-14 Thread Tony Lindgren
* Felipe Balbi ba...@ti.com [141114 08:20]: On Thu, Nov 13, 2014 at 09:40:31AM -0800, Tony Lindgren wrote: +/** + * handle_wakeirq_thread - call device runtime pm calls on wake-up interrupt + * @wakeirq: device specific wake-up interrupt + * @dev_id: struct device entry + */

Re: [RFC][PATCH 12/23 v4] tracing: Remove return values of most trace_seq_*() functions

2014-11-14 Thread Steven Rostedt
On Fri, 14 Nov 2014 14:17:28 +0100 Petr Mladek pmla...@suse.cz wrote: @@ -334,10 +297,7 @@ int trace_seq_putmem_hex(struct trace_seq *s, const void *mem, /* j increments twice per loop */ len -= j / 2; hex[j++] = ' '; - - cnt +=

Re: [PATCHv6 4/5] hwspinlock/core: add common OF helpers

2014-11-14 Thread Suman Anna
Hi Ohad, On 11/14/2014 01:11 AM, Ohad Ben-Cohen wrote: Hi Suman, On Thu, Nov 13, 2014 at 11:02 PM, Suman Anna s-a...@ti.com wrote: OK, lets take an example. I have say 2 device instances, say hwlock1: hwlock@0 { hwlock-num-locks = 32 hwlock-base-id

Re: anon_vma accumulating for certain load still not addressed

2014-11-14 Thread Vlastimil Babka
On 11/14/2014 04:06 PM, Rik van Riel wrote: On 11/14/2014 08:08 AM, Michal Hocko wrote: Hi, back in 2012 [1] there was a discussion about a forking load which accumulates anon_vmas. There was a trivial test case which triggers this and can potentially deplete the memory by local user. We have

Re: [PATCH 09/11] x86, mpx: on-demand kernel allocation of bounds tables

2014-11-14 Thread Dave Hansen
On 11/14/2014 08:47 AM, Thomas Gleixner wrote: On Fri, 14 Nov 2014, Dave Hansen wrote: * move mm init-time #ifdef to mpx.h +static inline void arch_bprm_mm_init(struct mm_struct *mm, +struct vm_area_struct *vma) +{ +mpx_mm_init(mm); +#ifdef CONFIG_X86_INTEL_MPX +

[PATCH] mmu_gather: move minimal range calculations into generic code

2014-11-14 Thread Will Deacon
On architectures with hardware broadcasting of TLB invalidation messages , it makes sense to reduce the range of the mmu_gather structure when unmapping page ranges based on the dirty address information passed to tlb_remove_tlb_entry. arm64 already does this by directly manipulating the

Re: [Patch V1 0/6] Refine generic/PCI MSI irqodmian interfaces

2014-11-14 Thread Lucas Stach
Am Freitag, den 14.11.2014, 16:03 + schrieb Marc Zyngier: On 14/11/14 15:25, Jiang Liu wrote: On 2014/11/14 23:16, Marc Zyngier wrote: On 14/11/14 14:26, Jiang Liu wrote: On 2014/11/14 22:11, Yijing Wang wrote: We have achieved 1 and 2. And seems we could also achieve 3 by

Re: [PATCH V3 2/8] xen: Delay remapping memory of pv-domain

2014-11-14 Thread Juergen Gross
On 11/14/2014 05:47 PM, Konrad Rzeszutek Wilk wrote: On Fri, Nov 14, 2014 at 05:53:19AM +0100, Juergen Gross wrote: On 11/13/2014 08:56 PM, Konrad Rzeszutek Wilk wrote: + mfn_save = virt_to_mfn(buf); + + while (xen_remap_mfn != INVALID_P2M_ENTRY) { So the 'list' is constructed by

Re: [RFC][PATCH 18/23 v4] tracing: Add seq_buf_get_buf() and seq_buf_commit() helper functions

2014-11-14 Thread Petr Mladek
On Thu 2014-11-13 20:13:02, Steven Rostedt wrote: From: Steven Rostedt (Red Hat) rost...@goodmis.org Add two helper functions; seq_buf_get_buf() and seq_buf_commit() that are used by seq_buf_path(). This makes the code similar to the seq_file: seq_path() function, and will help to be able to

Re: [RFC][PATCH 13/23 v4] tracing: Create seq_buf layer in trace_seq

2014-11-14 Thread Steven Rostedt
On Fri, 14 Nov 2014 17:26:52 +0100 Petr Mladek pmla...@suse.cz wrote: On Thu 2014-11-13 20:12:57, Steven Rostedt wrote: From: Steven Rostedt (Red Hat) rost...@goodmis.org Create a seq_buf layer that trace_seq sits on. The seq_buf will not be limited to page size. This will allow other

Re: [RFC PATCH] x86, entry: Switch stacks on a paranoid entry from userspace

2014-11-14 Thread Andy Lutomirski
On Nov 14, 2014 2:34 AM, Borislav Petkov b...@alien8.de wrote: On Wed, Nov 12, 2014 at 07:03:21PM -0800, Andy Lutomirski wrote: printk seems to work just fine in do_machine_check. That must be pure luck. Has anything changed which I missed to make printk NMI-safe? Heh. Probably not. Now

Re: N900 modem support in 3.18-rc1

2014-11-14 Thread Sebastian Reichel
Hi, On Fri, Nov 14, 2014 at 09:04:23AM +0200, Ivaylo Dimitrov wrote: [...] https://gitorious.org/linux-n900/freemangordons-linux-n900/commits/30e9a5c498a89cea4c29523f69e436bf0af3c631 commits 89ce13b, b81d80d, ec4d0dc, 91256e2 and 8022a6d - e29f558 (no idea why gitorious shows those mixed

Re: [PATCH/RFC] workqueue: allow rescuer thread to do more work.

2014-11-14 Thread Tejun Heo
Hello, On Tue, Nov 11, 2014 at 09:04:02AM +1100, NeilBrown wrote: diff --git a/kernel/workqueue.c b/kernel/workqueue.c index 09b685daee3d..f2db6073c498 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c @@ -2235,11 +2235,6 @@ repeat: struct work_struct *work, *n;

Re: [PATCH v2 1/2] kernel: printk: specify alignment for struct printk_log

2014-11-14 Thread Joe Perches
On Fri, 2014-11-14 at 15:50 +0300, Andrey Ryabinin wrote: On architectures that have support for efficient unaligned access struct printk_log has 4-byte alignment. Specify alignment attribute in type declaration. The whole point of this patch is to fix deadlock which happening when UBSan

Re: [PATCH V3 3/3] mfd: palmas: Add support for optional wakeup

2014-11-14 Thread Felipe Balbi
On Fri, Nov 14, 2014 at 09:08:17AM -0800, Tony Lindgren wrote: * Felipe Balbi ba...@ti.com [141114 08:20]: On Thu, Nov 13, 2014 at 09:40:31AM -0800, Tony Lindgren wrote: +/** + * handle_wakeirq_thread - call device runtime pm calls on wake-up interrupt + * @wakeirq:

Re: [RFC][PATCH 19/23 v4] seq_buf: Create seq_buf_used() to find out how much was written

2014-11-14 Thread Petr Mladek
On Thu 2014-11-13 20:13:03, Steven Rostedt wrote: From: Steven Rostedt (Red Hat) rost...@goodmis.org Add a helper function seq_buf_used() that replaces the SEQ_BUF_USED() private macro to let callers have a method to know how much of the seq_buf was written to. Signed-off-by: Steven

Re: [RFC][PATCH 13/23 v4] tracing: Create seq_buf layer in trace_seq

2014-11-14 Thread Steven Rostedt
On Fri, 14 Nov 2014 17:26:52 +0100 Petr Mladek pmla...@suse.cz wrote: The return is redundant. The above mentioned potential overflows happen only if we apply [RFC][PATCH 17/23 v4] tracing: Have seq_buf use full buffer. The code is safe at this stage. The other problems are minor. If

Re: [RFC PATCH] x86, entry: Switch stacks on a paranoid entry from userspace

2014-11-14 Thread Borislav Petkov
On Fri, Nov 14, 2014 at 09:18:51AM -0800, Andy Lutomirski wrote: Grr. Do you or Tony have any pointers for how to test this myself? I don't know enough about the acpi error injection thing, which I assume is that Tony is using. Maybe that would help: Documentation/acpi/apei/einj.txt provided

Re: [PATCH 3/3] fm10k/igb/ixgbe: Use load_acquire on Rx descriptor

2014-11-14 Thread Jeff Kirsher
On Thu, 2014-11-13 at 11:27 -0800, Alexander Duyck wrote: This change makes it so that load_acquire is used when reading the Rx descriptor. The advantage of load_acquire is that it allows for a much lower cost barrier on x86, ia64, powerpc, arm64, and s390 architectures than a traditional

Re: [RFC PATCH] x86, entry: Switch stacks on a paranoid entry from userspace

2014-11-14 Thread Andy Lutomirski
On Fri, Nov 14, 2014 at 9:24 AM, Borislav Petkov b...@alien8.de wrote: On Fri, Nov 14, 2014 at 09:18:51AM -0800, Andy Lutomirski wrote: Grr. Do you or Tony have any pointers for how to test this myself? I don't know enough about the acpi error injection thing, which I assume is that Tony is

Re: [PATCH] PM / domains: Kconfig: always enable PM_RUNTIME when genpd enabled

2014-11-14 Thread Kevin Hilman
Hi Ulf, Ulf Hansson ulf.hans...@linaro.org writes: On 13 November 2014 23:28, Kevin Hilman khil...@kernel.org wrote: From: Kevin Hilman khil...@linaro.org It makes little sense to use generic power domains without runtime PM. Also, since the complexities of handling the !PM_RUNTIME case are

Re: [PATCH v7 03/13] ARM: Berlin: select the reset controller

2014-11-14 Thread Antoine Tenart
Sebastian, On Fri, Nov 14, 2014 at 04:36:50PM +0100, Sebastian Hesselbarth wrote: On 11/14/2014 04:33 PM, Arnd Bergmann wrote: On Friday 14 November 2014 16:25:53 Antoine Tenart wrote: menuconfig ARCH_BERLIN bool Marvell Berlin SoCs if ARCH_MULTI_V7 + select

Linux 3.10.60

2014-11-14 Thread Greg KH
I'm announcing the release of the 3.10.60 kernel. All users of the 3.10 kernel series must upgrade. The updated 3.10.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.10.y and can be browsed at the normal kernel.org git web

Re: Linux 3.10.60

2014-11-14 Thread Greg KH
diff --git a/Makefile b/Makefile index 7baf27f5cf0f..9d4f30d0d201 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 10 -SUBLEVEL = 59 +SUBLEVEL = 60 EXTRAVERSION = NAME = TOSSUG Baby Fish diff --git a/arch/arc/boot/dts/nsimosci.dts b/arch/arc/boot/dts/nsimosci.dts

Linux 3.14.24

2014-11-14 Thread Greg KH
I'm announcing the release of the 3.14.24 kernel. All users of the 3.14 kernel series must upgrade. The updated 3.14.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.14.y and can be browsed at the normal kernel.org git web

Re: [RFC][PATCH 17/23 v4] tracing: Have seq_buf use full buffer

2014-11-14 Thread Steven Rostedt
On Fri, 14 Nov 2014 18:07:16 +0100 Petr Mladek pmla...@suse.cz wrote: On Thu 2014-11-13 20:13:01, Steven Rostedt wrote: From: Steven Rostedt (Red Hat) rost...@goodmis.org Currently seq_buf is full when all but one byte of the buffer is filled. Change it so that the seq_buf is full when

Re: N900 modem support in 3.18-rc1

2014-11-14 Thread Pali Rohár
On Friday 14 November 2014 18:20:09 Sebastian Reichel wrote: Hi, On Fri, Nov 14, 2014 at 09:04:23AM +0200, Ivaylo Dimitrov wrote: [...] https://gitorious.org/linux-n900/freemangordons-linux-n900/c ommits/30e9a5c498a89cea4c29523f69e436bf0af3c631 commits 89ce13b, b81d80d, ec4d0dc,

Re: [RFC][PATCH 19/23 v4] seq_buf: Create seq_buf_used() to find out how much was written

2014-11-14 Thread Steven Rostedt
On Fri, 14 Nov 2014 18:23:06 +0100 Petr Mladek pmla...@suse.cz wrote: On Thu 2014-11-13 20:13:03, Steven Rostedt wrote: From: Steven Rostedt (Red Hat) rost...@goodmis.org Add a helper function seq_buf_used() that replaces the SEQ_BUF_USED() private macro to let callers have a method to

Re: [patch 07/16] genirq: Introduce helper irq_domain_set_info() to reduce duplicated code

2014-11-14 Thread Marc Zyngier
On 14/11/14 15:41, Jiang Liu wrote: On 2014/11/14 23:31, Marc Zyngier wrote: On 12/11/14 13:43, Thomas Gleixner wrote: From: Jiang Liu jiang@linux.intel.com Signed-off-by: Jiang Liu jiang@linux.intel.com Cc: Bjorn Helgaas bhelg...@google.com Cc: Grant Likely grant.lik...@linaro.org

Re: [PATCH] PM / domains: Kconfig: always enable PM_RUNTIME when genpd enabled

2014-11-14 Thread Kevin Hilman
Geert Uytterhoeven ge...@linux-m68k.org writes: Hi Kevin, On Thu, Nov 13, 2014 at 11:28 PM, Kevin Hilman khil...@kernel.org wrote: It makes little sense to use generic power domains without runtime PM. Does it? It still powers down the PM domains on system suspend (at least on my boards

Re: [RFC PATCH 2/3] mmc: omap_hsmmc: add tuning support

2014-11-14 Thread Felipe Balbi
Hi, On Thu, Nov 13, 2014 at 06:26:18PM +0530, Kishon Vijay Abraham I wrote: @@ -233,6 +263,48 @@ struct omap_mmc_of_data { u8 controller_flags; }; +static const u32 ref_tuning_4bits[] = { + 0x00FF0FFF, 0xCCC3CCFF, 0xFFCC3CC3, 0xEFFEFFFE, + 0xDDFFDFFF, 0xFBFFFBFF,

Re: [PATCH v2] virtio_balloon: Convert vballon kthread into a workqueue

2014-11-14 Thread Petr Mladek
On Fri 2014-11-14 08:19:15, Tejun Heo wrote: Hello, Michael, Petr. On Wed, Nov 12, 2014 at 03:32:04PM +0200, Michael S. Tsirkin wrote: + /* The workqueue servicing the balloon. */ + struct workqueue_struct *wq; + struct work_struct wq_work; We could use system_freezable_wq

Re: [BUG] index is out of range for nfnl_group2type[]

2014-11-14 Thread Pablo Neira Ayuso
On Thu, Nov 13, 2014 at 12:00:43PM +0300, Andrey Ryabinin wrote: FYI I've spotted this: [ 180.202810] [ 180.203600] UBSan: Undefined behaviour in ../net/netfilter/nfnetlink.c:467:28 [ 180.204249] index 9

Re: [PATCH] tty: serial: msm_serial: Use DT aliases

2014-11-14 Thread Kevin Hilman
Stephen Boyd sb...@codeaurora.org writes: On 11/13/2014 04:46 PM, Frank Rowand wrote: On 11/13/2014 11:31 AM, Stephen Boyd wrote: Sorry, I'm sort of lost. If there are serial aliases in the dts file, then we should alias all of the serial ports. If there aren't aliases then we're backwards

Re: [PATCH] driver: input :touchscreen : add Raydium I2C touch driver

2014-11-14 Thread Benson Leung
Hi Jeffrey, On Thu, Nov 13, 2014 at 11:19 PM, jeffrey.lin yaj...@gmail.com wrote: this patch is porting Raydium I2C touch driver. Developer can enable Raydium touch driver by modifying define CONFIG_TOUCHSCREEN_RM31100 in config/base.config Change-Id:

Re: [PATCH 3.17 023/319] drivers/net: Disable UFO through virtio

2014-11-14 Thread Greg Kroah-Hartman
On Wed, Nov 12, 2014 at 09:03:59PM +, Ben Hutchings wrote: On Wed, 2014-11-12 at 10:12 +0900, Greg Kroah-Hartman wrote: 3.17-stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings b...@decadent.org.uk [ Upstream commit

Re: [RFC][PATCH 14/23 v4] tracing: Convert seq_buf_path() to be like seq_path()

2014-11-14 Thread Steven Rostedt
On Fri, 14 Nov 2014 17:53:08 +0100 Petr Mladek pmla...@suse.cz wrote: /** diff --git a/kernel/trace/trace_seq.c b/kernel/trace/trace_seq.c index 3c63b619d6b7..475412e31de5 100644 --- a/kernel/trace/trace_seq.c +++ b/kernel/trace/trace_seq.c @@ -342,7 +342,7 @@ int

RE: [RFC PATCH] x86, entry: Switch stacks on a paranoid entry from userspace

2014-11-14 Thread Luck, Tony
Can you also try rebasing onto what will probably be v3? https://git.kernel.org/cgit/linux/kernel/git/luto/linux.git/tag/?id=paranoid-stack-v2.9 Built that - with none of my other changes ... i.e. still use TIF_NOTIFY_MCE etc. No printk() in the MCE context. System ran 736

Re: [RFC PATCH] virtio-mmio: support for multiple irqs

2014-11-14 Thread Pawel Moll
On Thu, 2014-11-13 at 09:39 +, Shannon Zhao wrote: When we use only virtio-mmio or vhost-net without irqfd, the device uses qemu_set_irq(within qemu) to inject interrupt and at the same time qemu update VIRTIO_MMIO_INTERRUPT_STATUS to tell guest driver whom this interrupt to. All these

Re: [RFC 1/4] OOM, PM: Do not miss OOM killed frozen tasks

2014-11-14 Thread Tejun Heo
Hello, Michal. On Wed, Nov 12, 2014 at 07:58:49PM +0100, Michal Hocko wrote: Also change the return value semantic as the current one is little bit awkward. There is just one caller (try_to_freeze_tasks) which checks the return value and it is only interested whether the request was

Re: [PATCH v3 2/5] regulator: rt5033: Add RT5033 Regulator device driver

2014-11-14 Thread Mark Brown
On Wed, Nov 12, 2014 at 09:07:59PM +0900, Beomho Seo wrote: This patch add device driver of Richtek RT5033 PMIC. The driver support multiple regulator like LDO and synchronous Buck. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH 05/11] x86, mpx: add MPX to disaabled features

2014-11-14 Thread Sergei Shtylyov
Hello. On 11/14/2014 06:18 PM, Dave Hansen wrote: From: Dave Hansen dave.han...@linux.intel.com This allows us to use cpu_feature_enabled(X86_FEATURE_MPX) as both a runtime and compile-time check. When CONFIG_X86_INTEL_MPX is disabled, cpu_feature_enabled(X86_FEATURE_MPX) will evaluate

Re: [PATCH] driver: input :touchscreen : add Raydium I2C touch driver

2014-11-14 Thread Dmitry Torokhov
Hi Jeffrey, On Fri, Nov 14, 2014 at 03:19:22PM +0800, jeffrey.lin wrote: From: jeffrey.lin jeffrey@rad-ic.com this patch is porting Raydium I2C touch driver. Thank you for your submission. Developer can enable Raydium touch driver by modifying define CONFIG_TOUCHSCREEN_RM31100 in

[PATCH] serial: 8250: don't attempt a trylock if in sysrq

2014-11-14 Thread Rabin Vincent
Attempting to use SysRq via the 8250 serial port with spin lock debugging on on a uniprocessor system results in the following splat: SysRq : BUG: spinlock trylock failure on UP on CPU#0, swapper/0 lock: serial8250_ports+0x0/0x8c0, .magic: dead4ead, .owner: swapper/0, .owner_cpu: 0 CPU: 0

Re: [PATCH 4/4] arm: dts: omap3-gta04: Add static configuration for devconf1 register

2014-11-14 Thread Tony Lindgren
* Tero Kristo t-kri...@ti.com [141113 23:33]: On 11/14/2014 01:58 AM, Tony Lindgren wrote: The PRCM/clock cleanups that I have under work basically splits the clock inits under their respective IP blocks; currently everything is registered under generic PRCM. System control module will be

Re: [PATCH v4 4/6] ARM: dts: AM335x: Make charge delay a DT parameter for TSC

2014-11-14 Thread Tony Lindgren
* Vignesh R vigne...@ti.com [141113 21:42]: The charge delay value is by default 0x400. But it can be set to lower values on some boards, as long as false pen-ups are avoided. Lowering the value increases the sampling rate (though current sampling rate is sufficient for TSC operation). In some

Re: [RFC PATCH 2/3] mmc: omap_hsmmc: add tuning support

2014-11-14 Thread Russell King - ARM Linux
On Fri, Nov 14, 2014 at 11:41:52AM -0600, Felipe Balbi wrote: Hi, On Thu, Nov 13, 2014 at 06:26:18PM +0530, Kishon Vijay Abraham I wrote: @@ -233,6 +263,48 @@ struct omap_mmc_of_data { u8 controller_flags; }; +static const u32 ref_tuning_4bits[] = { + 0x00FF0FFF,

Re: [RFC][PATCH 10/23 v4] tracing/uprobes: Do not use return values of trace_seq_printf()

2014-11-14 Thread Steven Rostedt
On Fri, 14 Nov 2014 10:37:33 -0500 Steven Rostedt rost...@goodmis.org wrote: On Sat, 15 Nov 2014 00:35:15 +0900 Masami Hiramatsu masami.hiramatsu...@hitachi.com wrote: for (i = 0; i tu-tp.nr_args; i++) { struct probe_arg *parg = tu-tp.args[i]; - if

Re: [RFC][PATCH 02/23 v4] tracing: Add trace_seq_has_overflowed() and trace_handle_return()

2014-11-14 Thread Steven Rostedt
On Fri, 14 Nov 2014 12:25:23 +0100 Petr Mladek pmla...@suse.cz wrote: @@ -193,7 +184,6 @@ int ftrace_raw_output_prep(struct trace_iterator *iter, struct trace_seq *s = iter-seq; struct trace_seq *p = iter-tmp_seq; struct trace_entry *entry; - int ret; event =

Re: [RFC PATCH] printk: Use ACCESS_ONCE() instead of a volatile type

2014-11-14 Thread Pranith Kumar
On 11/14/2014 11:39 AM, Alex Elder wrote: On 11/13/2014 11:24 PM, Steven Rostedt wrote: On Thu, 13 Nov 2014 23:57:22 -0500 Steven Rostedt rost...@goodmis.org wrote: That assignment is what it is initialized to at boot up. I can't see any optimization that would cause gcc to modify that.

Re: [PATCH 1/1] drivers: net: cpsw: Fix TX_IN_SEL offset

2014-11-14 Thread Mugunthan V N
On Friday 14 November 2014 08:12 PM, John Ogness wrote: The TX_IN_SEL offset for the CPSW_PORT/TX_IN_CTL register was incorrect. This caused the Dual MAC mode to never get set when it should. It also caused possible unintentional setting of a bit in the CPSW_PORT/TX_BLKS_REM register. The

Re: [RFC PATCH 1/2] clk: add property for force to update clock setting

2014-11-14 Thread Heiko Stübner
Hi Mike, Am Donnerstag, 13. November 2014, 17:41:02 schrieb Mike Turquette: Quoting Doug Anderson (2014-11-13 15:27:32) [...] All of the above is to say that perhaps the solution to this problem belongs in the driver. In the end we're talking about details for correctly programming

RE: [RFC PATCH] x86, entry: Switch stacks on a paranoid entry from userspace

2014-11-14 Thread Luck, Tony
It adds debugging for inappropriate reschedules from the wrong stack. Setting CONFIG_DEBUG_ATOMIC_SLEEP might also be a good idea. Will add that for next build/test Didn't see anything new. System died at 1108 recoveries with the Timeout synchronization ... panic -Tony

[PATCH 0/4] pwm: kona: Drivers fixes

2014-11-14 Thread Scott Branden
This patchset contains fixes for Broadcom's Kona PWM driver. These changes fix glitch issues when changing settings on different channels. Kconfig change made to allow the driver to work on any Broadcom SoC rather than just mobile devices. Arun Ramamurthy (4): pwm: kona: Remove setting default

Re: [PATCH v6 3/6] irqchip: gic: Support hierarchy irq domain.

2014-11-14 Thread Marc Zyngier
On 13/11/14 15:37, Yingjoe Chen wrote: Add support to use gic as a parent for stacked irq domain. Signed-off-by: Yingjoe Chen yingjoe.c...@mediatek.com --- drivers/irqchip/Kconfig | 1 + drivers/irqchip/irq-gic.c | 80 --- 2 files changed,

[PATCH v3 RESEND 0/2] drm: rework flip-work framework

2014-11-14 Thread Boris Brezillon
Hello Dave, I'm resending this series because I haven't had any news despite for a while. This patch series reworks the flip-work framework to make it safe when calling drm_flip_work_queue from atomic contexts. The 2nd patch of this series is optional, as it only reworks drm_flip_work_init

[PATCH 4/4] pwm: kona: Update dependency to ARCH_BCM

2014-11-14 Thread Scott Branden
From: Arun Ramamurthy arunr...@broadcom.com Signed-off-by: Arun Ramamurthy arunr...@broadcom.com Reviewed-by: Ray Jui r...@broadcom.com Signed-off-by: Scott Branden sbran...@broadcom.com --- drivers/pwm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 3/4] pwm: kona: Fix enable, disable and config procedures

2014-11-14 Thread Scott Branden
From: Arun Ramamurthy arunr...@broadcom.com - Added helper functions to set and clear smooth and trigger bits - Added 400ns delays when clearing and setting trigger bit as requied by spec - Added helper function to write prescale and other settings - Updated config procedure to match spec -

[PATCH 1/4] pwm: kona: Remove setting default smooth type and polarity for all channels

2014-11-14 Thread Scott Branden
From: Arun Ramamurthy arunr...@broadcom.com The probe routine unnecessarily sets the smooth type and polarity for all channels. This causes the channel for the speaker to click at the same time the backlight turns on. The smooth type and polarity should be set individually for each channel as

[PATCH 2/4] pwm: kona: Fix incorrect enable after channel polarity change

2014-11-14 Thread Scott Branden
From: Arun Ramamurthy arunr...@broadcom.com The pwm core code requires a separate call for enabling the channel and hence the driver does not need to set pwm_trigger after a polarity change Signed-off-by: Arun Ramamurthy arunr...@broadcom.com Reviewed-by: Ray Jui r...@broadcom.com Signed-off-by:

Re: [PATCH] serial: 8250: don't attempt a trylock if in sysrq

2014-11-14 Thread Sebastian Andrzej Siewior
On 11/14/2014 07:00 PM, Rabin Vincent wrote: Attempting to use SysRq via the 8250 serial port with spin lock debugging on on a uniprocessor system results in the following splat: SysRq : BUG: spinlock trylock failure on UP on CPU#0, swapper/0 lock: serial8250_ports+0x0/0x8c0, .magic:

[PATCH v3 RESEND 2/2] drm: flip-work: change drm_flip_work_init prototype

2014-11-14 Thread Boris Brezillon
Now that we're using lists instead of kfifo to store drm flip-work tasks we do not need the size parameter passed to drm_flip_work_init function anymore. Moreover this function cannot fail anymore, we can thus remove the return code. Modify drm_flip_work_init users to take account of these

[PATCH v3 RESEND 1/2] drm: rework flip-work helpers to avoid calling func when the FIFO is full

2014-11-14 Thread Boris Brezillon
Make use of lists instead of kfifo in order to dynamically allocate task entry when someone require some delayed work, and thus preventing drm_flip_work_queue from directly calling func instead of queuing this call. This allow drm_flip_work_queue to be safely called even within irq handlers. Add

[PATCH 1/1 net-next] openvswitch: use PTR_ERR_OR_ZERO

2014-11-14 Thread Fabian Frederick
Signed-off-by: Fabian Frederick f...@skynet.be --- net/openvswitch/flow_netlink.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/net/openvswitch/flow_netlink.c b/net/openvswitch/flow_netlink.c index c0d066d..c8fccdd 100644 --- a/net/openvswitch/flow_netlink.c +++

Re: [PATCH] tty: serial: msm_serial: Use DT aliases

2014-11-14 Thread Stephen Boyd
On 11/14, Kevin Hilman wrote: Due to the length of the thread, I haven't followed all the details, and I suspect Greg hasn't either, so I'm not sure if you're discssuing what the right fix is for what's in -next (still broken[1], or what should be done with the device board files. If the

[PATCH 1/1 net-next] Bluetooth: hidp: replace kzalloc/copy_from_user by memdup_user

2014-11-14 Thread Fabian Frederick
use memdup_user for rd_data import. Signed-off-by: Fabian Frederick f...@skynet.be --- net/bluetooth/hidp/core.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/net/bluetooth/hidp/core.c b/net/bluetooth/hidp/core.c index 1b7d605..cc25d0b 100644 ---

[PATCH] mm: do not overwrite reserved pages counter at show_mem()

2014-11-14 Thread Rafael Aquini
Minor fixlet to perform the reserved pages counter aggregation for each node, at show_mem() Signed-off-by: Rafael Aquini aqu...@redhat.com --- lib/show_mem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/show_mem.c b/lib/show_mem.c index 0922579..5e25627 100644 ---

Re: [PATCH v6 4/6] ARM: mediatek: Add sysirq interrupt polarity support

2014-11-14 Thread Marc Zyngier
On 13/11/14 15:37, Yingjoe Chen wrote: Mediatek SoCs have interrupt polarity support in sysirq which allows to invert polarity for given interrupt. Add this support using hierarchy irq domain. Signed-off-by: Yingjoe Chen yingjoe.c...@mediatek.com --- drivers/irqchip/Makefile | 1

[PATCH 1/1 net-next] net: dsa: replace count*size kmalloc by kmalloc_array

2014-11-14 Thread Fabian Frederick
kmalloc_array manages count*sizeof overflow. Signed-off-by: Fabian Frederick f...@skynet.be --- net/dsa/dsa.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/net/dsa/dsa.c b/net/dsa/dsa.c index 4648f12..c00cca3 100644 --- a/net/dsa/dsa.c +++ b/net/dsa/dsa.c @@ -526,7 +526,8

Re: [PATCH 05/11] x86, mpx: add MPX to disaabled features

2014-11-14 Thread Dave Hansen
On 11/14/2014 09:56 AM, Sergei Shtylyov wrote: #define DISABLED_MASK60 #define DISABLED_MASK70 #define DISABLED_MASK80 -#define DISABLED_MASK90 +#define DISABLED_MASK9(DISABLE_MPX) These parens are not really needed. Sorry to be a PITA and not saying this

[PATCH 1/1 net-next] net: dsa: replace count*size kzalloc by kcalloc

2014-11-14 Thread Fabian Frederick
kcalloc manages count*sizeof overflow. Signed-off-by: Fabian Frederick f...@skynet.be --- net/dsa/dsa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/dsa/dsa.c b/net/dsa/dsa.c index 4648f12..e84b656 100644 --- a/net/dsa/dsa.c +++ b/net/dsa/dsa.c @@ -606,8 +606,8 @@

[GIT PULL] arm64 fixes for 3.18

2014-11-14 Thread Catalin Marinas
Hi Linus, Please pull the arm64 fixes below. Thanks. The following changes since commit 206c5f60a3d902bc4b56dab2de3e88de5eb06108: Linux 3.18-rc4 (2014-11-09 14:55:29 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux tags/arm64-fixes

[PATCH] tty: serial: msm_serial: Don't require DT aliases

2014-11-14 Thread Stephen Boyd
If there isn't a DT alias then of_alias_get_id() will return -ENODEV. This will cause the msm_serial driver to fail probe, when we want to keep the previous behavior where we generated a dynamic line number at probe time. Restore this behavior by generating a dynamic id if the line number is still

Re: [PATCH v6 0/7] vfs: Non-blockling buffered fs read (page cache only)

2014-11-14 Thread Milosz Tanski
On Fri, Nov 14, 2014 at 11:39 AM, Dave Jones da...@redhat.com wrote: On Fri, Nov 14, 2014 at 11:32:53AM -0500, Jeff Moyer wrote: Can you write a test (or set of) for fstests that exercises this new functionality? I'm not worried about performance, just correctness On the

Re: [PATCH V2 0/2] spi: IMG SPFI driver

2014-11-14 Thread Andrew Bresticker
On Fri, Nov 14, 2014 at 7:04 AM, Mark Brown broo...@kernel.org wrote: On Thu, Nov 13, 2014 at 05:36:31PM +, Mark Brown wrote: On Wed, Nov 12, 2014 at 07:08:14PM -0800, Andrew Bresticker wrote: This series adds support for the Sychronous Peripheral Flash Interface master found on IMG

Re: [PATCH v6 0/7] vfs: Non-blockling buffered fs read (page cache only)

2014-11-14 Thread Milosz Tanski
On Fri, Nov 14, 2014 at 11:51 AM, Jeff Moyer jmo...@redhat.com wrote: Dave Jones da...@redhat.com writes: On Fri, Nov 14, 2014 at 11:32:53AM -0500, Jeff Moyer wrote: Can you write a test (or set of) for fstests that exercises this new functionality? I'm not worried about performance,

Re: [PATCH 1/1 net-next] net: dsa: replace count*size kmalloc by kmalloc_array

2014-11-14 Thread Joe Perches
On Fri, 2014-11-14 at 19:36 +0100, Fabian Frederick wrote: kmalloc_array manages count*sizeof overflow. Fundamentally correct, but is this necessary or useful? sizeof(s8) isn't often going to be anything other than 1. Would the kernel even work without that assumption? diff --git

Re: [PATCH v7 11/13] ARM: dts: Berlin: enable USB on the BG2Q DMP

2014-11-14 Thread Sergei Shtylyov
Hello. On 11/14/2014 06:26 PM, Antoine Tenart wrote: Enable the 2 available USB PHY and USB nodes on the Marvell Berlin BG2Q DMP. Signed-off-by: Antoine Tenart antoine.ten...@free-electrons.com --- arch/arm/boot/dts/berlin2q-marvell-dmp.dts | 53 ++ 1 file

<    7   8   9   10   11   12   13   14   15   >