Re: [PATCH 04/17] fs/btrfs: remove unnecessary new_valid_dev check

2015-09-29 Thread David Sterba
On Mon, Sep 28, 2015 at 09:39:00PM +0800, Yaowei Bai wrote: > As new_valid_dev always returns 1, so !new_valid_dev check is not > needed, remove it. > > Signed-off-by: Yaowei Bai Acked-by: David Sterba -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: [PATCH V2 1/3] EDAC, amd64_edac: Extend scrub rate programmability feature for F15hM60h

2015-09-29 Thread Aravind Gopalakrishnan
On 9/29/2015 6:45 AM, Borislav Petkov wrote: @@ -216,12 +223,17 @@ static int set_scrub_rate(struct mem_ctl_info *mci, u32 bw) if (pvt->fam == 0xf) min_scrubrate = 0x0; + else if (pvt->fam == 0x15 && pvt->model == 0x60) + min_scrubrate = 0x6; /*

Re: [PATCH] sched/fair: Skip wake_affine() for core siblings

2015-09-29 Thread Mike Galbraith
On Mon, 2015-09-28 at 18:36 +0300, Kirill Tkhai wrote: > --- > diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c > index 4df37a4..dfbe06b 100644 > --- a/kernel/sched/fair.c > +++ b/kernel/sched/fair.c > @@ -4930,8 +4930,13 @@ select_task_rq_fair(struct task_struct *p, int > prev_cpu, int

Re: [PATCH v8 00/41] Richacls

2015-09-29 Thread Andreas Grünbacher
2015-09-28 19:46 GMT+02:00 J. Bruce Fields : > On Mon, Sep 28, 2015 at 07:10:06PM +0200, Andreas Grünbacher wrote: >> 2015-09-28 18:35 GMT+02:00 J. Bruce Fields : >> > On Mon, Sep 28, 2015 at 12:08:51AM +0200, Andreas Gruenbacher wrote: >> >> Open issues in nfs: >> >> >> >> * When a user or group

Re: [tip:perf/core] tools: Add err.h with ERR_PTR PTR_ERR interface

2015-09-29 Thread Arnaldo Carvalho de Melo
gt;>>gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-16) > > >>>>>>Copyright (C) 2010 Free Software Foundation, Inc. > > >>>>>>This is free software; see the source for copying conditions. There > > >>>>>>is NO > > >>&g

Re: [RFC][PATCH 01/11] sched: Simplify INIT_PREEMPT_COUNT

2015-09-29 Thread Peter Zijlstra
On Tue, Sep 29, 2015 at 10:43:32AM -0400, Steven Rostedt wrote: > > [ Resend with a "Reply-all" this time! ] > > On Tue, 29 Sep 2015 11:28:26 +0200 > Peter Zijlstra wrote: > > > As per commit d86ee4809d03 ("sched: optimize cond_resched()") we need > > PREEMPT_ACTIVE to avoid cond_resched()

Re: [PATCH v9 2/5] dt-bindings: Add a binding for Mediatek xHCI host controller

2015-09-29 Thread Sergei Shtylyov
On 09/29/2015 06:01 AM, Chunfeng Yun wrote: add a DT binding documentation of xHCI host controller for the MT8173 SoC from Mediatek. Signed-off-by: Chunfeng Yun --- .../devicetree/bindings/usb/mt8173-xhci.txt| 52 ++ 1 file changed, 52 insertions(+) create

Re: [PATCH 0/3] blk-mq & nvme: introduce .map_changed

2015-09-29 Thread Jens Axboe
On 09/29/2015 08:26 AM, Keith Busch wrote: On Mon, 28 Sep 2015, Ming Lei wrote: This patchset introduces .map_changed callback into 'struct blk_mq_ops', and use this callback to get NVMe notified about the mapping changed event, then NVMe can update the irq affinity hint for its queues. I

[PATCH 1/8] kernel/trace: report_latency in trace_sched_wakeup.c can be boolean

2015-09-29 Thread Yaowei Bai
This patch makes report_latency return bool to improve readability, indicating whether this new latency should be reported/recorded. No functional change. Signed-off-by: Yaowei Bai --- kernel/trace/trace_sched_wakeup.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH 7/8] kernel/trace: is_legal_op can be boolean

2015-09-29 Thread Yaowei Bai
This patch makes is_legal_op return bool to improve readability due to this particular function only using either one or zero as its return value. No functional change. Signed-off-by: Yaowei Bai --- kernel/trace/trace_events_filter.c | 8 1 file changed, 4 insertions(+), 4

[PATCH 0/8] cleanups for trace

2015-09-29 Thread Yaowei Bai
This patchset just make some functions return bool to improve readability and/or simplicity. No functional change. Yaowei Bai (8): kernel/trace: report_latency in trace_sched_wakeup.c can be boolean kernel/trace: report_latency in trace_irqsoff.c can be boolean kernel/trace:

[PATCH 2/8] kernel/trace: report_latency in trace_irqsoff.c can be boolean

2015-09-29 Thread Yaowei Bai
This patch makes report_latency return bool due to this particular function only using either one or zero as its return value. No functional change. Signed-off-by: Yaowei Bai --- kernel/trace/trace_irqsoff.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

Re: First kernel patch (optimization)

2015-09-29 Thread Eric Curtin
On 29 September 2015 at 14:51, Austin S Hemmelgarn wrote: > On 2015-09-26 09:28, Eric Curtin wrote: >> >> Hi Dimitry, >> >>> Is it Debian-derivative by any chance? Their capslock setup is wonky >>> because CapsLock key does no actually set up as a CapsLock but another >>> modifier. Also is it in

[PATCH 8/8] kernel/trace: ftrace_event_is_function can be boolean

2015-09-29 Thread Yaowei Bai
This patch makes ftrace_event_is_function return bool to improve readability due to this particular function only using either one or zero as its return value. No functional change. Signed-off-by: Yaowei Bai --- kernel/trace/trace.h| 2 +- kernel/trace/trace_export.c | 2 +- 2 files

[PATCH 6/8] kernel/trace: rb_event_is_commit can be boolean

2015-09-29 Thread Yaowei Bai
This patch makes rb_event_is_commit return bool to improve readability due to this particular function only using either one or zero as its return value. No functional change. Signed-off-by: Yaowei Bai --- kernel/trace/ring_buffer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[PATCH 5/8] kernel/ring_buffer: rb_per_cpu_empty can be boolean

2015-09-29 Thread Yaowei Bai
This patch makes rb_per_cpu_empty return bool to improve readability. No functional change. Signed-off-by: Yaowei Bai --- kernel/trace/ring_buffer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/trace/ring_buffer.c b/kernel/trace/ring_buffer.c index

[PATCH 3/8] kernel/trace: rb_is_reader_page can be boolean

2015-09-29 Thread Yaowei Bai
This patch makes rb_is_reader_page return bool to improve readability due to this particular function only using either one or zero as its return value. No functional change. Signed-off-by: Yaowei Bai --- kernel/trace/ring_buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[RESEND PATCH v2 1/1] ASoC: dwc: fix dma stop transferring issue

2015-09-29 Thread yitian
Designware I2S uses tx empty and rx available signals as the DMA handshaking signals. during music playing, if XRUN occurs, i2s_stop() function will be executed and both tx and rx irq are masked, when music continues to be played, i2s_start() is executed but both tx and rx irq are not unmasked

[PATCH 4/8] kernel/ring_buffer: ring_buffer_empty{cpu} can be boolean

2015-09-29 Thread Yaowei Bai
This patch makes ring_buffer_empty and ring_buffer_empty_cpu return bool to improve readability. No functional change. Signed-off-by: Yaowei Bai --- include/linux/ring_buffer.h | 4 ++-- kernel/trace/ring_buffer.c | 10 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git

Re: [RFC][PATCH 01/11] sched: Simplify INIT_PREEMPT_COUNT

2015-09-29 Thread Steven Rostedt
[ Resend with a "Reply-all" this time! ] On Tue, 29 Sep 2015 11:28:26 +0200 Peter Zijlstra wrote: > As per commit d86ee4809d03 ("sched: optimize cond_resched()") we need > PREEMPT_ACTIVE to avoid cond_resched() from working before the > scheduler is setup. > > However, keeping preemption

Re: [PATCH v9 1/5] dt-bindings: Add usb3.0 phy binding for MT65xx SoCs

2015-09-29 Thread Sergei Shtylyov
Hello. On 09/29/2015 06:01 AM, Chunfeng Yun wrote: add a DT binding documentation of usb3.0 phy for MT65xx SoCs from Mediatek. Acked-by: Rob Herring Signed-off-by: Chunfeng Yun --- .../devicetree/bindings/phy/phy-mt65xx-usb.txt | 68 ++ 1 file changed, 68

Re: [PATCH v3 2/7] irqchip/acpi: Add probing infrastructure for ACPI-based irqchips

2015-09-29 Thread Hanjun Guo
On 09/28/2015 10:49 PM, Marc Zyngier wrote: DT enjoys a rather nice probing infrastructure for irqchips, while ACPI is so far stuck into a very distant past. This patch introduces a declarative API, allowing irqchips to be self-contained and be called when a particular entry is matched in the

[PATCH v3 1/1] Introducing domain transition mechanism into Smack.

2015-09-29 Thread Zbigniew Jasinski
This feature consists of two, new kernel interfaces: - /relabel-possible - for setting transition privilege This flag can be set only by process to itself and only with CAP_MAC_ADMIN capability. With this flag on, process can change it's label without CAP_MAC_ADMIN but only once. After label

[RFC 6/6] drm/i915: add oa_event_min_timer_exponent sysctl

2015-09-29 Thread Robert Bragg
The minimal sampling period is now configurable via a dev.i915.oa_event_min_timer_exponent sysctl parameter. Following the precedent set by perf, the default is the minimum that won't (on its own) exceed the default kernel.perf_event_max_sample_rate default of 10 samples/s. Signed-off-by:

[PATCH linux-next v3 1/1] ASoC: ad193x: add support to ad1934

2015-09-29 Thread Cyrille Pitchen
The AD1934 codec has no DAC feature. Hence it register mapping is slightly different from the register mapping of other members of the AD193x family. Some ASoC controls and widgets are related to the DAC feature so are not relevant in the case of an AD1934 codec. Signed-off-by: Cyrille Pitchen

Re: [PATCH v3 1/7] acpi: Add early device probing infrastructure

2015-09-29 Thread Hanjun Guo
On 09/28/2015 10:49 PM, Marc Zyngier wrote: IRQ controllers and timers are the two types of device the kernel requires before being able to use the device driver model. ACPI so far lacks a proper probing infrastructure similar to the one we have with DT, where we're able to declare IRQ chips

[PATCH v2 0/1] Introducing domain transition mechanism into Smack

2015-09-29 Thread Zbigniew Jasinski
This patch introduce domain transition mechanism into Smack. The idea was to give a process limited ability to change its Smack label without giving that process CAP_MAC_ADMIN capabilities. Moreover, this ability is granted without any additional Smack policy rules. This feature consists of two,

[RFC 5/6] drm/i915: Add dev.i915.perf_event_paranoid sysctl option

2015-09-29 Thread Robert Bragg
Consistent with the kernel.perf_event_paranoid sysctl option that can allow non-root users to access system wide cpu metrics, this can optionally allow non-root users to access system wide OA counter metrics from Gen graphics hardware. Signed-off-by: Robert Bragg ---

Re: [RFC][PATCH 02/11] sched: Create preempt_count invariant

2015-09-29 Thread Steven Rostedt
On Tue, 29 Sep 2015 15:02:01 +0200 Peter Zijlstra wrote: > On Tue, Sep 29, 2015 at 02:55:13PM +0200, Frederic Weisbecker wrote: > > On Tue, Sep 29, 2015 at 11:28:27AM +0200, Peter Zijlstra wrote: > > > #define init_task_preempt_count(p) do { \ > > > - task_thread_info(p)->preempt_count =

[RESEND PATCH 1/1] ASoC: dwc: correct irq clear method

2015-09-29 Thread yitian
from Designware I2S datasheet, irq is cleared by reading from TOR/ROR registers, rather than by writing into them. Signed-off-by: Yitian Bu --- sound/soc/dwc/designware_i2s.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/dwc/designware_i2s.c

[RFC 4/6] drm/i915: Add i915 perf event for Haswell OA unit

2015-09-29 Thread Robert Bragg
Gen graphics hardware can be set up to periodically write snapshots of performance counters into a circular buffer via its Observation Architecture and this patch exposes that capability to userspace via the i915 perf interface. Cc: Chris Wilson Signed-off-by: Robert Bragg Signed-off-by: Zhenyu

[RFC 2/6] drm/i915: rename OACONTROL GEN7_OACONTROL

2015-09-29 Thread Robert Bragg
OACONTROL changes quite a bit for gen8, with some bits split out into a per-context OACTXCONTROL register Signed-off-by: Robert Bragg --- drivers/gpu/drm/i915/i915_cmd_parser.c | 4 ++-- drivers/gpu/drm/i915/i915_reg.h| 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git

[RFC 3/6] drm/i915: Add static '3D' Haswell OA unit config

2015-09-29 Thread Robert Bragg
Adds a static OA unit, MUX + B Counter configuration for basic '3D' metrics on Haswell. This is autogenerated from an internal XML description of metric sets. Signed-off-by: Robert Bragg --- drivers/gpu/drm/i915/Makefile | 3 +- drivers/gpu/drm/i915/i915_drv.h| 5 ++

Re: [PATCH v5 1/2] PM / sleep: Go direct_complete if driver has no callbacks

2015-09-29 Thread Alan Stern
On Tue, 29 Sep 2015, Tomeu Vizoso wrote: > If a suitable prepare callback cannot be found for a given device and > its driver has no PM callbacks at all, assume that it can go direct to > complete when the system goes to sleep. > > The reason for this is that there's lots of devices in a system

[RFC 1/6] drm/i915: Add i915 perf infrastructure

2015-09-29 Thread Robert Bragg
This adds a DRM_IOCTL_I915_PERF_OPEN ioctl comparable to perf_event_open that opens a file descriptor for an event source. Based on our initial experience aiming to use the core perf infrastructure, this interface is inspired by perf, but focused on exposing metrics about work running on Gen

[RFC 0/6] Non perf based Gen Graphics OA unit driver

2015-09-29 Thread Robert Bragg
After some recent progress enabling the Observation Architecture unit for Gen8+, we can hopefully paint a fairly complete picture of the requirements for supporting the unit from Haswell to Skylake and so I'm looking again at the challenges in upstreaming this work. Considering this, it looked

Re: [PATCH RESEND] ARM: dts: Fix Makefile target for sun4i-a10-itead-iteaduino-plus

2015-09-29 Thread Josh Boyer
On Sun, Sep 6, 2015 at 7:20 AM, Maxime Ripard wrote: > On Fri, Sep 04, 2015 at 08:49:34AM -0400, Josh Boyer wrote: >> Commit 79ae3e66f8d (ARM: dts: sun4i: Add Iteaduino Plus A10) added a new >> make target for the sun4i-a10-itead-iteaduino-plus dts file, but mistakenly >> used .dts instead of the

Re: [PATCH 2/2] arm64/efi: Don't pad between EFI_MEMORY_RUNTIME regions

2015-09-29 Thread Matt Fleming
On Sun, 27 Sep, at 12:40:14PM, Borislav Petkov wrote: > On Sun, Sep 27, 2015 at 09:06:44AM +0200, Ingo Molnar wrote: > > Could we please re-list all the arguments pro and contra of 1:1 physical > > mappings, > > in a post that also explains the background so that more people can chime > > in,

Re: [RFC PATCH 0/3] iommu: Add range flush operation

2015-09-29 Thread Russell King - ARM Linux
On Tue, Sep 29, 2015 at 03:20:38PM +0100, Robin Murphy wrote: > A single callback doesn't really generalise well enough: If we wanted to > implement this in the ARM SMMU drivers to optimise the unmap() case [ask > Will how long he spends waiting for a software model to tear down an entire > VFIO

Re: [PATCH] Patch to integrate RapidDisk and RapidCache RAM Drive / Caching modules into the kernel

2015-09-29 Thread Austin S Hemmelgarn
On 2015-09-28 12:45, Petros Koutoupis wrote: Christoph, See my replies below On 9/28/15 11:29 AM, Christoph Hellwig wrote: Hi Petros, On Mon, Sep 28, 2015 at 09:12:13AM -0500, Petros Koutoupis wrote: 1. Unlike the already mainline ramdisk driver, RapidDisk is designed to be managed

Re: [RFC][PATCH 03/11] sched: Robustify preemption leak checks

2015-09-29 Thread Frederic Weisbecker
On Tue, Sep 29, 2015 at 04:24:00PM +0200, Peter Zijlstra wrote: > On Tue, Sep 29, 2015 at 03:25:53PM +0200, Frederic Weisbecker wrote: > > On Tue, Sep 29, 2015 at 11:28:28AM +0200, Peter Zijlstra wrote: > > > > + if (unlikely(in_atomic_preempt_off() && prev->state != TASK_DEAD)) { > > >

Re: [PATCH v2 0/7] hwrng: Add support for STMicroelectronics' RNG IP

2015-09-29 Thread Lee Jones
On Fri, 18 Sep 2015, Lee Jones wrote: > On Fri, 18 Sep 2015, Herbert Xu wrote: > > On Fri, Sep 18, 2015 at 03:53:50PM +0100, Lee Jones wrote: > > > On 18 September 2015 at 15:07, Herbert Xu > > > wrote: > > > > On Thu, Sep 17, 2015 at 02:45:50PM +0100, Lee Jones wrote: > > > >> v1 => v2: > > >

Re: [RFC][PATCH 03/11] sched: Robustify preemption leak checks

2015-09-29 Thread Peter Zijlstra
On Tue, Sep 29, 2015 at 03:25:53PM +0200, Frederic Weisbecker wrote: > On Tue, Sep 29, 2015 at 11:28:28AM +0200, Peter Zijlstra wrote: > > + if (unlikely(in_atomic_preempt_off() && prev->state != TASK_DEAD)) { > > __schedule_bug(prev); > > +

Re: [RFC PATCH 0/3] iommu: Add range flush operation

2015-09-29 Thread Robin Murphy
Hi Tomasz, On 29/09/15 06:25, Tomasz Figa wrote: Currently the IOMMU subsystem provides 3 basic operations: iommu_map(), iommu_map_sg() and iommu_unmap(). iommu_map() can be used to map memory page by page, however it involves flushing the caches (CPU and IOMMU) for every mapped page

Re: [PATCH cgroup/for-4.3-fixes] cgroup, writeback: don't enable cgroup writeback on traditional hierarchies

2015-09-29 Thread Tejun Heo
Hello, Artem. On Tue, Sep 29, 2015 at 02:37:36PM +0300, Artem Bityutskiy wrote: > On Sat, 2015-09-26 at 18:14 -0400, Tejun Heo wrote: > > Hello, Artem. > > > > Thanks a lot for the debug dump. Can you please test whether the > > below patch fixes the issue? > > Hi, > > I've tested this, 7 out

Re: [PATCH 0/3] blk-mq & nvme: introduce .map_changed

2015-09-29 Thread Keith Busch
On Mon, 28 Sep 2015, Ming Lei wrote: This patchset introduces .map_changed callback into 'struct blk_mq_ops', and use this callback to get NVMe notified about the mapping changed event, then NVMe can update the irq affinity hint for its queues. I think this is going the wrong direction.

[PATCH] mm: swap: Use swap_lock to prevent parallel swapon activations instead of i_mutex

2015-09-29 Thread Mel Gorman
Jerome Marchand reported a lockdep warning as follows [ 6819.501009] = [ 6819.501009] [ INFO: inconsistent lock state ] [ 6819.501009] 4.2.0-rc1-shmacct-babka-v2-next-20150709+ #255 Not tainted [ 6819.501009] - [

[PATCH -mm 1/3] mm/oom_kill: remove the wrong fatal_signal_pending()

2015-09-29 Thread Oleg Nesterov
The fatal_signal_pending() was added to suppress unnecessary "sharing same memory" message, but it can't 100% help anyway because it can be false-negative; SIGKILL can be already dequeued. And worse, it can be false-positive due to exec or coredump. exec is mostly fine, but coredump is not. It is

[PATCH -mm 2/3] mm/oom_kill: cleanup the "kill sharing same memory"

2015-09-29 Thread Oleg Nesterov
Purely cosmetic, but the complex "if" condition looks annoying to me. Especially because it is not consistent with OOM_SCORE_ADJ_MIN check which adds another if/continue. Signed-off-by: Oleg Nesterov --- mm/oom_kill.c | 22 +- 1 file changed, 13 insertions(+), 9 deletions(-)

[PATCH -mm 3/3] mm/oom_kill: fix the wrong task->mm == mm checks in

2015-09-29 Thread Oleg Nesterov
Both "child->mm == mm" and "p->mm != mm" checks in oom_kill_process() are wrong. ->mm can be if task is the exited group leader. This means in particular that "kill sharing same memory" loop can miss a process with a zombie leader which uses the same ->mm. Note: the process_has_mm(child, p->mm)

[PATCH -mm 0/3] mm/oom_kill: ensure we actually kill all tasks sharing the same mm

2015-09-29 Thread Oleg Nesterov
Michal, Tetsuo, David, sorry for delay. I'll try to read and answer your emails in "can't oom-kill zap the victim's memory" thread later. Let me send some initial changes which imo makes sense regardless, but if we want to zap the victim's memory we need to ensure that all tasks which share this

[PATCH 2/3] kernel/audit: audit_string_contains_control can be boolean

2015-09-29 Thread Yaowei Bai
This patch makes audit_string_contains_control return bool to improve readability due to this particular function only using either one or zero as its return value. Signed-off-by: Yaowei Bai --- include/linux/audit.h | 2 +- kernel/audit.c| 6 +++--- 2 files changed, 4 insertions(+), 4

Re: [PATCH 3.10 08/56] Input: synaptics - fix handling of disabling gesture mode

2015-09-29 Thread Greg Kroah-Hartman
On Tue, Sep 29, 2015 at 06:57:22AM -0700, Dmitry Torokhov wrote: > On September 29, 2015 6:46:56 AM PDT, Greg Kroah-Hartman > wrote: > >3.10-stable review patch. If anyone has any objections, please let me > >know. > > Please drop. Ok, also dropped from 3.14, 4.1, and 4.2-stable trees.

[PATCH 3/3] kernel/audit: audit_tree_match can be boolean

2015-09-29 Thread Yaowei Bai
This patch makes audit_tree_match return bool to improve readability due to this particular function only using either one or zero as its return value. No functional change. Signed-off-by: Yaowei Bai --- kernel/audit.h | 2 +- kernel/audit_tree.c | 6 +++--- 2 files changed, 4

[PATCH 1/3] kernel/audit: audit_dummy_context can be boolean

2015-09-29 Thread Yaowei Bai
This patch makes audit_dummy_context return bool due to this particular function only using either one or zero as its return value. No functional change. Signed-off-by: Yaowei Bai --- include/linux/audit.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

Re: [PATCH 1/2] x86/efi: Map EFI memmap entries in-order at runtime

2015-09-29 Thread Matt Fleming
On Tue, 29 Sep, at 12:41:23PM, Ard Biesheuvel wrote: > > OK, fair enough. I agree that setting the flag for 32-bit would be > semantically correct. I will leave it to Matt to comment whether it is > reasonable in terms of changes to other parts of the code. It should be pretty minimal. Let me

Re: [PATCH 21/25] mm: implement new mprotect_key() system call

2015-09-29 Thread Dave Hansen
On 09/28/2015 11:39 PM, Michael Ellerman wrote: > On Mon, 2015-09-28 at 12:18 -0700, Dave Hansen wrote: >> From: Dave Hansen >> >> mprotect_key() is just like mprotect, except it also takes a >> protection key as an argument. On systems that do not support >> protection keys, it still works, but

Re: [PATCH v2 1/9] dmaengine: st_fdma: Add STMicroelectronics FDMA DT binding documentation

2015-09-29 Thread Arnd Bergmann
On Tuesday 29 September 2015 14:42:15 Peter Griffin wrote: > On Tue, 29 Sep 2015, Arnd Bergmann wrote: > > On Tuesday 29 September 2015 13:11:55 Peter Griffin wrote: > > > Does it? I didn't think it did. > > > > > > Using the instance number as a DT property defers the decision over what > > >

Re: [RFC][PATCH 02/11] sched: Create preempt_count invariant

2015-09-29 Thread Peter Zijlstra
On Tue, Sep 29, 2015 at 03:11:56PM +0200, Thomas Gleixner wrote: > On Tue, 29 Sep 2015, Peter Zijlstra wrote: > > + /* > > +* Still have preempt_count() == 2, from: > > +* > > +* schedule() > > +*preempt_disable();// 1 > > +*

Re: [PATCH] HID: hid-multitouch.c: fix formatting warnings

2015-09-29 Thread Brent Adam
On 9/29/15, 6:59 AM, "Jiri Kosina" wrote: >On Mon, 28 Sep 2015, Brent Adam wrote: > >> Fixed the following checkpatch.pl warnings: >> WARNING: line over 80 characters: line 163 >> WARNING: Missing a blank line after declarations: line 359 >> WARNING: Missing a blank line after declarations:

[PATCH v2 2/2] ASoC: atmel-i2s: add driver for the new Atmel I2S controller

2015-09-29 Thread Cyrille Pitchen
This patch adds support for the Atmel I2S controller embedded into sama5d2x SoCs. Signed-off-by: Cyrille Pitchen --- sound/soc/atmel/Kconfig | 10 + sound/soc/atmel/Makefile| 2 + sound/soc/atmel/atmel-i2s.c | 760 3 files changed, 772

[PATCH v2 0/2] ASoC: add driver for Atmel I2S controller

2015-09-29 Thread Cyrille Pitchen
This series of patches adds support to the new Atmel I2S controller embedded on sama5d2 SoCs. ChangeLog v2: - initialize dev->dev before calling dev->caps->mck_init(). Cyrille Pitchen (2): ASoC: atmel-i2s: add DT bindings for I2S controller ASoC: atmel-i2s: add driver for the new Atmel I2S

[PATCH v2 1/2] ASoC: atmel-i2s: add DT bindings for I2S controller

2015-09-29 Thread Cyrille Pitchen
This patch adds DT bindings for the new Atmel I2S controller embedded inside sama5d2x SoCs. Signed-off-by: Cyrille Pitchen --- .../devicetree/bindings/sound/atmel-i2s.txt| 43 ++ 1 file changed, 43 insertions(+) create mode 100644

[PATCH] fs/ubifs: remove unnecessary new_valid_dev check

2015-09-29 Thread Yaowei Bai
As currently new_valid_dev always returns 1, so new_valid_dev check is not needed, remove it. Signed-off-by: Yaowei Bai --- fs/ubifs/dir.c | 3 --- fs/ubifs/misc.h | 9 ++--- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/fs/ubifs/dir.c b/fs/ubifs/dir.c index

[PATCH 3.10 16/56] NFSv4: dont set SETATTR for O_RDONLY|O_EXCL

2015-09-29 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: NeilBrown commit efcbc04e16dfa95fef76309f89710dd1d99a5453 upstream. It is unusual to combine the open flags O_RDONLY and O_EXCL, but it appears that libre-office does just that. [pid 3250]

[PATCH 3.10 11/56] powerpc/mm: Fix pte_pagesize_index() crash on 4K w/64K hash

2015-09-29 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Michael Ellerman commit 74b5037baa2011a2799e2c43adde7d171b072f9e upstream. The powerpc kernel can be built to have either a 4K PAGE_SIZE or a 64K PAGE_SIZE. However when built with a 4K

[PATCH 3.10 18/56] parisc: Filter out spurious interrupts in PA-RISC irq handler

2015-09-29 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Helge Deller commit b1b4e435e4ef7de77f07bf2a42c8380b960c2d44 upstream. When detecting a serial port on newer PA-RISC machines (with iosapic) we have a long way to go to find the right IRQ

Re: PCIe bus (re-)numbering

2015-09-29 Thread Ruud
>> >> Thus the procedure that works is: >> 1) Chassis off >> 2) Boot linux >> 3) Chassis on >> 4) setpci busnrs to 0 >> 5) remove switch >> 6) rescan > > 4, 5 is reversed? I can not setpci on a removed device, afaik for that reason I reset the busses before removing the switch (not physically

[PATCH 3.10 12/56] powerpc/rtas: Introduce rtas_get_sensor_fast() for IRQ handlers

2015-09-29 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Huth commit 1c2cb594441d02815d304cccec9742ff5c707495 upstream. The EPOW interrupt handler uses rtas_get_sensor(), which in turn uses rtas_busy_delay() to wait for RTAS becoming ready

[PATCH 3.10 13/56] Add radeon suspend/resume quirk for HP Compaq dc5750.

2015-09-29 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Jeffery Miller commit 09bfda10e6efd7b65bcc29237bee1765ed779657 upstream. With the radeon driver loaded the HP Compaq dc5750 Small Form Factor machine fails to resume from suspend. Adding a

[PATCH 3.10 19/56] vmscan: fix increasing nr_isolated incurred by putback unevictable pages

2015-09-29 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Jaewon Kim commit c54839a722a02818677bcabe57e957f0ce4f841d upstream. reclaim_clean_pages_from_list() assumes that shrink_page_list() returns number of pages removed from the candidate list.

[PATCH 3.10 21/56] mmc: core: fix race condition in mmc_wait_data_done

2015-09-29 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Jialing Fu commit 71f8a4b81d040b3d094424197ca2f1bf811b1245 upstream. The following panic is captured in ker3.14, but the issue still exists in latest kernel.

[PATCH 3.10 26/56] IB/uverbs: Fix race between ib_uverbs_open and remove_one

2015-09-29 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Yishai Hadas commit 35d4a0b63dc0c6d1177d4f532a9deae958f0662c upstream. Fixes: 2a72f212263701b927559f6850446421d5906c41 ("IB/uverbs: Remove dev_table") Before this commit there was a device

[PATCH 3.10 03/56] tg3: Fix temperature reporting

2015-09-29 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Jean Delvare commit d3d11fe08ccc9bff174fc958722b5661f0932486 upstream. The temperature registers appear to report values in degrees Celsius while the hwmon API mandates values to be exposed

[PATCH 3.10 20/56] fs: if a coredump already exists, unlink and recreate with O_EXCL

2015-09-29 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Jann Horn commit fbb1816942c04429e85dbf4c1a080accc534299e upstream. It was possible for an attacking user to trick root (or another user) into writing his coredumps into an attacker-readable,

[PATCH 3.10 22/56] md/raid10: always set reshape_safe when initializing reshape_position.

2015-09-29 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: NeilBrown commit 299b0685e31c9f3dcc2d58ee3beca761a40b44b3 upstream. 'reshape_position' tracks where in the reshape we have reached. 'reshape_safe' tracks where in the reshape we have safely

[PATCH 3.10 24/56] hfs: fix B-tree corruption after insertion at position 0

2015-09-29 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Hin-Tak Leung commit b4cc0efea4f0bfa2477c56af406cfcf3d3e58680 upstream. Fix B-tree corruption when a new record is inserted at position 0 in the node in hfs_brec_insert(). This is an

[PATCH 3.10 07/56] arm64: head.S: initialise mdcr_el2 in el2_setup

2015-09-29 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Will Deacon commit d10bcd473301888f957ec4b6b12aa3621be78d59 upstream. When entering the kernel at EL2, we fail to initialise the MDCR_EL2 register which controls debug access and PMU

[PATCH 3.10 37/56] net: pktgen: fix race between pktgen_thread_worker() and kthread_stop()

2015-09-29 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Oleg Nesterov [ Upstream commit fecdf8be2d91e04b0a9a4f79ff06499a36f5d14f ] pktgen_thread_worker() is obviously racy, kthread_stop() can come between the kthread_should_stop() check and

[PATCH 3.10 06/56] arm64: compat: fix vfp save/restore across signal handlers in big-endian

2015-09-29 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Will Deacon commit bdec97a855ef1e239f130f7a11584721c9a1bf04 upstream. When saving/restoring the VFP registers from a compat (AArch32) signal frame, we rely on the compat registers forming a

[PATCH 3.10 08/56] Input: synaptics - fix handling of disabling gesture mode

2015-09-29 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Torokhov commit e51e38494a8ecc18650efb0c840600637891de2c upstream. Bit 2 of the mode byte has dual meaning: it can disable reporting of gestures when touchpad works in Relative mode or

Re: [PATCH v2 1/1] ASoC: ad193x: add support to ad1934

2015-09-29 Thread kbuild test robot
Hi Cyrille, [auto build test results on v4.3-rc3 -- if it's inappropriate base, please ignore] config: x86_64-allmodconfig (attached as .config) reproduce: git checkout b88bda3bf6b85650c3a00c734d5e27905daa7c27 # save the attached .config to linux build tree make ARCH=x86_64 All

[PATCH 3.10 38/56] net: call rcu_read_lock early in process_backlog

2015-09-29 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Julian Anastasov [ Upstream commit 2c17d27c36dcce2b6bf689f41a46b9e909877c21 ] Incoming packet should be either in backlog queue or in RCU read-side section. Otherwise, the final sequence of

[PATCH 3.10 40/56] net: Fix skb csum races when peeking

2015-09-29 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Herbert Xu [ Upstream commit 89c22d8c3b278212eef6a8cc66b570bc840a6f5a ] When we calculate the checksum on the recv path, we store the result in the skb as an optimisation in case we need the

[PATCH 3.10 43/56] isdn/gigaset: reset tty->receive_room when attaching ser_gigaset

2015-09-29 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Tilman Schmidt [ Upstream commit fd98e9419d8d622a4de91f76b306af6aa627aa9c ] Commit 79901317ce80 ("n_tty: Don't flush buffer when closing ldisc"), first merged in kernel release 3.10, caused

[PATCH 3.10 39/56] net: Clone skb before setting peeked flag

2015-09-29 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Herbert Xu [ Upstream commit 738ac1ebb96d02e0d23bc320302a6ea94c612dec ] Shared skbs must not be modified and this is crucial for broadcast and/or multicast paths where we use it as an

Re: [PATCH 3.10 08/56] Input: synaptics - fix handling of disabling gesture mode

2015-09-29 Thread Dmitry Torokhov
On September 29, 2015 6:46:56 AM PDT, Greg Kroah-Hartman wrote: >3.10-stable review patch. If anyone has any objections, please let me >know. Please drop. > >-- > >From: Dmitry Torokhov > >commit e51e38494a8ecc18650efb0c840600637891de2c upstream. > >Bit 2 of the mode byte has

[PATCH 3.10 42/56] bridge: mdb: fix double add notification

2015-09-29 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Nikolay Aleksandrov [ Upstream commit 5ebc784625ea68a9570d1f70557e7932988cd1b4 ] Since the mdb add/del code was introduced there have been 2 br_mdb_notify calls when doing br_mdb_add()

Re: [PATCH] ARM: exynos_defconfig: Enable WiFi-Ex as a module instead built-in

2015-09-29 Thread Javier Martinez Canillas
Hello Andreas, On 09/29/2015 03:20 PM, Andreas Färber wrote: > Am 29.09.2015 um 14:42 schrieb Javier Martinez Canillas: >> diff --git a/arch/arm/configs/exynos_defconfig >> b/arch/arm/configs/exynos_defconfig >> index d4f6063d8a72..5aad617f02c7 100644 >> --- a/arch/arm/configs/exynos_defconfig

[PATCH 3.10 45/56] bonding: fix destruction of bond with devices different from arphrd_ether

2015-09-29 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Nikolay Aleksandrov [ Upstream commit 06f6d1094aa0992432b1e2a0920b0ee86ccd83bf ] When the bonding is being unloaded and the netdevice notifier is unregistered it executes NETDEV_UNREGISTER

[PATCH 3.10 54/56] fib_rules: fix fib rule dumps across multiple skbs

2015-09-29 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Wilson Kok [ Upstream commit 41fc014332d91ee90c32840bf161f9685b7fbf2b ] dump_rules returns skb length and not error. But when family == AF_UNSPEC, the caller of dump_rules assumes that it

Re: [PATCH 4.1 026/159] Input: synaptics - fix handling of disabling gesture mode

2015-09-29 Thread Dmitry Torokhov
On September 29, 2015 6:44:52 AM PDT, Greg Kroah-Hartman wrote: >On Tue, Sep 29, 2015 at 09:36:15AM -0400, Josh Boyer wrote: >> On Tue, Sep 29, 2015 at 8:53 AM, Greg Kroah-Hartman >> wrote: >> > On Tue, Sep 29, 2015 at 08:27:14AM -0400, Josh Boyer wrote: >> >> On Sat, Sep 26, 2015 at 4:54 PM,

[PATCH 3.10 48/56] rds: fix an integer overflow test in rds_info_getsockopt()

2015-09-29 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter [ Upstream commit 468b732b6f76b138c0926eadf38ac88467dcd271 ] "len" is a signed integer. We check that len is not negative, so it goes from zero to INT_MAX. PAGE_SIZE is

[PATCH 3.10 46/56] inet: frags: fix defragmented packets IP header for af_packet

2015-09-29 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Edward Hyunkoo Jee [ Upstream commit 0848f6428ba3a2e42db124d41ac6f548655735bf ] When ip_frag_queue() computes positions, it assumes that the passed sk_buff does not contain L2 headers.

[PATCH 3.10 29/56] stmmac: fix check for phydev being open

2015-09-29 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Alexey Brodkin commit dfc50fcaad574e5c8c85cbc83eca1426b2413fa4 upstream. Current check of phydev with IS_ERR(phydev) may make not much sense because of_phy_connect() returns NULL on failure

[PATCH 3.10 53/56] sctp: fix race on protocol/netns initialization

2015-09-29 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Marcelo Ricardo Leitner [ Upstream commit 8e2d61e0aed2b7c4ecb35844fe07e0b2b762dee4 ] Consider sctp module is unloaded and is being requested because an user is creating a sctp socket. During

[PATCH 3.10 52/56] net/ipv6: Correct PIM6 mrt_lock handling

2015-09-29 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Richard Laing [ Upstream commit 25b4a44c19c83d98e8c0807a7ede07c1f28eab8b ] In the IPv6 multicast routing code the mrt_lock was not being released correctly in the MFC iterator, as a result

[PATCH 3.10 47/56] netlink: dont hold mutex in rcu callback when releasing mmapd ring

2015-09-29 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Florian Westphal [ Upstream commit 0470eb99b4721586ccac954faac3fa4472da0845 ] Kirill A. Shutemov says: This simple test-case trigers few locking asserts in kernel: int main(int argc, char

Re: [PATCH 2/2] iommu/vt-d: Adjsut the return value of the parse_ioapics_under_ir

2015-09-29 Thread Joerg Roedel
On Tue, Sep 29, 2015 at 03:26:09PM +0800, Baoquan He wrote: > diff --git a/drivers/iommu/intel_irq_remapping.c > b/drivers/iommu/intel_irq_remapping.c > index 37b93f5..0f441b7 100644 > --- a/drivers/iommu/intel_irq_remapping.c > +++ b/drivers/iommu/intel_irq_remapping.c > @@ -672,7 +672,7 @@

[PATCH 3.10 56/56] Revert "iio: bmg160: IIO_BUFFER and IIO_TRIGGERED_BUFFER are required"

2015-09-29 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- This reverts commit 35c45e8bce3c92fb1ff94d376f1d4bfaae079d66 which was commit 06d2f6ca5a38abe92f1f3a132b331eee773868c3 upstream as it should not have been applied. Reported-by: Luis Henriques Cc:

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