Re: [PATCH 7/7] uprobes/x86: Introduce uprobe_xol_ops and arch_uprobe->ops

2014-03-31 Thread Masami Hiramatsu
(2014/04/01 4:44), Oleg Nesterov wrote: > Introduce arch_uprobe->ops pointing to the "struct uprobe_xol_ops", > move the current UPROBE_FIX_{RIP*,IP,CALL} code into the default > set of methods and change arch_uprobe_pre/post_xol() accordingly. > > This way we can add the new uprobe_xol_ops's to h

Re: [GIT PULL] s390 patches for the 3.15 merge window

2014-03-31 Thread Martin Schwidefsky
On Mon, 31 Mar 2014 14:45:32 -0700 Linus Torvalds wrote: > On Mon, Mar 31, 2014 at 12:24 AM, Martin Schwidefsky > wrote: > > > > There are two memory management related changes, the CMMA support for > > KVM to avoid swap-in of freed pages and the split page table lock for > > the PMD level. Thes

[PATCH] madvise: Correct the comment of MADV_DODUMP flag

2014-03-31 Thread Zhang Yanfei
s/MADV_NODUMP/MADV_DONTDUMP/ Signed-off-by: Zhang Yanfei --- include/uapi/asm-generic/mman-common.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/uapi/asm-generic/mman-common.h b/include/uapi/asm-generic/mman-common.h index 4164529..ddc3b36 100644 --- a/inclu

Re: [PATCH 1/2] media: davinci: vpif capture: upgrade the driver with v4l offerings

2014-03-31 Thread Hans Verkuil
On 03/31/2014 07:24 PM, Prabhakar Lad wrote: > Hi Hans, > > On Mon, Mar 31, 2014 at 8:34 PM, Hans Verkuil wrote: >> Hi Prabhakar, >> >> This looks really nice! >> > Writing a video driver has become really easy with almost 90% of work > done by v4l core itself :) That was the idea! >> I'll do a

Re: [PATCH v2] Staging: ft1000-usb: fixed a few code style issues

2014-03-31 Thread Anders Darander
* Greg KH [140401 00:53]: > On Mon, Mar 31, 2014 at 08:26:28AM +0200, Anders Darander wrote: > > Fixed a few code style issues, particularly: > > Add do {} while (0) wrapper around seq_* macros. > > Change printk(KERN_WARN...) to netdev_warn(...). > That's 2 different things, please split this

Re: [PATCH 00/16] timers/hrtimers: Minor cleanups: Part II

2014-03-31 Thread Viresh Kumar
On 31 March 2014 19:08, Thomas Gleixner wrote: > And those cleanups make the compiler generate worse code at least on > x86_64: > >text data bss dec hexfilename >7475 554 080291f5d kernel/hrtimer.o >7706 554 0826020

[PATCH] Staging: ft1000-usb: use netdev_warn

2014-03-31 Thread Anders Darander
Fix coding style issue by replacing printk with netdev_warn. Signed-off-by: Anders Darander --- drivers/staging/ft1000/ft1000-usb/ft1000_proc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/ft1000/ft1000-usb/ft1000_proc.c b/drivers/staging/ft1000/ft1000

[PATCH] Staging: ft1000-usb: wrap macros in do while

2014-03-31 Thread Anders Darander
Fix coding style issue by wrapping the macro in a do {} while (0). Signed-off-by: Anders Darander --- drivers/staging/ft1000/ft1000-usb/ft1000_proc.c | 21 - 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/drivers/staging/ft1000/ft1000-usb/ft1000_proc.c b/driv

Re: [PATCH] ipc,shm: increase default size for shmmax

2014-03-31 Thread Kamezawa Hiroyuki
(2014/04/01 9:05), Andrew Morton wrote: On Mon, 31 Mar 2014 16:25:32 -0700 Davidlohr Bueso wrote: On Mon, 2014-03-31 at 16:13 -0700, Andrew Morton wrote: On Mon, 31 Mar 2014 15:59:33 -0700 Davidlohr Bueso wrote: - Shouldn't there be a way to alter this namespace's shm_ctlmax? Unfortunat

Re: [lm-sensors] [PATCH] misc: (ds1682) replace obsolete simple_strtoull() with kstrtoull()

2014-03-31 Thread Jean Delvare
Hi Sebastien, On Wed, 26 Mar 2014 16:11:04 -0400, Sebastien Bourdelin wrote: > simple_strtoull() is obsolete, use the newer kstrtoull() instead. > > Signed-off-by: Sebastien Bourdelin > --- > drivers/misc/ds1682.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > (...) You are se

Re: [PATCH 1/2] regulator: s2mpa01: Don't check enable_shift before setting enable ramp rate

2014-03-31 Thread Sachin Kamat
Hi Axel, On 21 March 2014 13:45, Axel Lin wrote: > Current code misses updating the register when enable_shift is 0. > e.g. S2MPA01_BUCK4_RAMP_EN_SHIFT is 0. > > Signed-off-by: Axel Lin Acked-by: Sachin Kamat -- With warm regards, Sachin -- To unsubscribe from this list: send the line "unsub

Re: [PATCH RFC v4 2/2] clk: Add handling of clk parent and rate assigned from DT

2014-03-31 Thread Sascha Hauer
On Mon, Mar 31, 2014 at 06:04:54PM +0100, Ben Dooks wrote: > On 31/03/14 17:41, Sylwester Nawrocki wrote: > >This function adds a helper function to configure clock parents and rates > >as specified in clock-parents, clock-rates DT properties for a consumer > >device and a call to it before driver

[PATCH] ASoC: DAPM: Add support for multi register mux

2014-03-31 Thread Arun Shamanna Lakshmi
Modify soc_enum struct to handle pointers for reg and mask. Add dapm get and put APIs for multi register mux with one hot encoding. Signed-off-by: Arun Shamanna Lakshmi Signed-off-by: Songhee Baek --- include/sound/soc-dapm.h | 10 include/sound/soc.h | 22 +-- sound/soc/soc-c

Re: [RFC 0/5] of: Automatic console registration cleanups

2014-03-31 Thread Sascha Hauer
On Mon, Mar 31, 2014 at 10:41:24AM +0100, Grant Likely wrote: > On Mon, 31 Mar 2014 09:10:15 +0200, Sascha Hauer > wrote: > > On Fri, Mar 28, 2014 at 09:08:00AM -0700, Grant Likely wrote: > > > Hi all, > > > > > > This is a series that I've been playing with over the last few days to > > > clean

RE: [alsa-devel] [PATCH] ASoC: Add support for multi register mux

2014-03-31 Thread Arun Shamanna Lakshmi
> -Original Message- > From: Mark Brown [mailto:broo...@kernel.org] > Sent: Monday, March 31, 2014 5:08 AM > To: Lars-Peter Clausen > Cc: Arun Shamanna Lakshmi; Songhee Baek; 'alsa-de...@alsa-project.org'; > 'swar...@wwwdotorg.org'; 'ti...@suse.de'; 'lgirdw...@gmail.com'; 'linux- > ker...@

tools/liblockdep: Build failure

2014-03-31 Thread Eunbong Song
There is tools/liblockdep build failure. I have been trying to find the cause and i found commit id 63f9a7fde715352e0769302527670542a664b981 is the casue. Author: Andi Kleen Date: Sat Feb 8 08:52:01 2014 +0100 asmlinkage: Make lockdep_sys_exit asmlinkage lockdep_sys_exit can be call

Re: [PATCH] tick, broadcast: Prevent false alarm when force mask contains offline cpus

2014-03-31 Thread Preeti U Murthy
On 03/28/2014 02:17 PM, Srivatsa S. Bhat wrote: > On 03/27/2014 03:44 PM, Preeti U Murthy wrote: >> On 03/27/2014 11:58 AM, Srivatsa S. Bhat wrote: >>> >>> Actually, my suggestion was to remove the dying CPU from the force_mask >>> alone, >>> in the CPU_DYING notifier. The rest of the cleanup (rem

Re: [PATCH 2/2] arm: socfpga: Add support for Altera SoC SDRAM controller

2014-03-31 Thread Steffen Trumtrar
On Mon, Mar 31, 2014 at 05:07:07PM -0500, ttha...@altera.com wrote: > From: Thor Thayer > > Addition of the Altera SDRAM controller registers to the > Altera SoC project. These registers are shared by future > drivers such as ECC and the FPGA bridge. > > Signed-off-by: Thor Thayer > To: Rob Her

Re: VDSO pvclock may increase host cpu consumption, is this a problem?

2014-03-31 Thread Andy Lutomirski
On Mar 31, 2014 8:45 PM, "Marcelo Tosatti" wrote: > > On Mon, Mar 31, 2014 at 10:52:25AM -0700, Andy Lutomirski wrote: > > On 03/29/2014 01:47 AM, Zhanghailiang wrote: > > > Hi, > > > I found when Guest is idle, VDSO pvclock may increase host consumption. > > > We can calcutate as follow, Correct

[PATCHv3 1/2] watchdog: imx2_wdt: Sort the header files alphabetically

2014-03-31 Thread Xiubo Li
Signed-off-by: Xiubo Li --- drivers/watchdog/imx2_wdt.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/watchdog/imx2_wdt.c b/drivers/watchdog/imx2_wdt.c index dd51d95..1795922 100644 --- a/drivers/watchdog/imx2_wdt.c +++ b/drivers/watchdog/imx2_wdt.c @@ -

[PATCHv3 2/2] watchdog: imx2_wdt: convert to use regmap API.

2014-03-31 Thread Xiubo Li
Signed-off-by: Xiubo Li Cc: Guenter Roeck --- drivers/watchdog/imx2_wdt.c | 50 + 1 file changed, 32 insertions(+), 18 deletions(-) diff --git a/drivers/watchdog/imx2_wdt.c b/drivers/watchdog/imx2_wdt.c index 1795922..76fa724 100644 --- a/drivers/watc

[PATCHv3 0/2] imx2-wdt: Add regmap-mmio support

2014-03-31 Thread Xiubo Li
This patches are preparing for Vybird, LS1 and LS2. And on LS1 the IP will in BE mode. And this has been test on Vybird. This patch series is based the following regmap patches: 1, https://patchwork.kernel.org/patch/3896321/ ===> regmap: mmio: add regmap_mmio_{regsize, count}_check. h

Re: [PATCH 1/2] dts: socfpga: Add bindings for Altera SoC SDRAM controller

2014-03-31 Thread Steffen Trumtrar
Hi! On Mon, Mar 31, 2014 at 05:07:06PM -0500, ttha...@altera.com wrote: > From: Thor Thayer > > Addition of the Altera SDRAM controller bindings and device > tree changes to the Altera SoC project. > > Signed-off-by: Thor Thayer > To: Rob Herring > To: Pawel Moll > To: Mark Rutland > To: Ia

Announce loop-AES-v3.7b file/swap crypto package

2014-03-31 Thread Jari Ruusu
loop-AES changes since previous release: - Worked around block layer interface changes on 3.14 kernels. bzip2 compressed tarball is here: http://loop-aes.sourceforge.net/loop-AES/loop-AES-v3.7b.tar.bz2 md5sum 204572f246eddd08705f88189dd3b44d http://loop-aes.sourceforge.net/loop-AES/l

[PATCH v4] x86, mm: Probe memory block size for generic x86 64bit

2014-03-31 Thread Yinghai Lu
On system with 2TiB ram, current x86_64 have 128M as section size, and one memory_block only include one section. So will have 16400 entries under /sys/devices/system/memory/. Current code try to use block id to find block pointer in /sys for any section, and reuse that block pointer. that finding

[PATCH] perf probe: Fix --line option behavior

2014-03-31 Thread Namhyung Kim
The commit 5a62257a3ddd1 ("perf probe: Replace line_list with intlist") replaced line_list to intlist but it has a problem that if a same line was added again, it'd return -EEXIST rather than 1. Since line_range_walk_cb() only checks the result being negative, it resulted in failure or segfault so

Re: [PATCH] perf probe: Fix --line option behavior

2014-03-31 Thread Masami Hiramatsu
(2014/04/01 13:47), Namhyung Kim wrote: > The commit 5a62257a3ddd1 ("perf probe: Replace line_list with > intlist") replaced line_list to intlist but it has a problem that if a > same line was added again, it'd return -EEXIST rather than 1. Ah, right! that's a different behavior. > Since line_ran

Re: [RFC PATCH 00/28] ktap: A lightweight dynamic tracing tool for Linux

2014-03-31 Thread Jovi Zhangwei
Hi Alexei, On Tue, Apr 1, 2014 at 5:29 AM, Alexei Starovoitov wrote: > On Mon, Mar 31, 2014 at 3:01 AM, Jovi Zhangwei > wrote: >> Hi Ingo, >> >> On Mon, Mar 31, 2014 at 3:17 PM, Ingo Molnar wrote: >>> >>> * Jovi Zhangwei wrote: >>> Hi All, The following set of patches add ktap

Re: [RFC 2/4] timer: don't migrate pinned timers

2014-03-31 Thread Viresh Kumar
On 31 March 2014 21:26, Kevin Hilman wrote: > Viresh Kumar writes: >> + if (is_pinned) { >> + pr_warn("%s: can't migrate pinned timer: %p, removing >> it\n", >> + __func__, timer); > > printk message will be confusing: removing

Re: NUMA node information for pages

2014-03-31 Thread David Rientjes
On Mon, 31 Mar 2014, Naoya Horiguchi wrote: > > I might be missing something but I couldn't find a way to use the > > pagemap information to then look up the NUMA node the respective page is > > located on. Especially when analyzing anomalities this is really > > useful. The /proc/kpageflags and

[PATCH 3.4 2/6] ext4: atomically set inode->i_flags in ext4_set_inode_flags()

2014-03-31 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Theodore Ts'o commit 00a1a053ebe5febcfc2ec498bd894f035ad2aa06 upstream. Use cmpxchg() to atomically set i_flags instead of clearing out the S_IMMUTABLE, S_APPEND, etc. flags and then setting th

netfilter: NULL ptr deref on boot in xt_register_table

2014-03-31 Thread Sasha Levin
: [ 28.469426](ftrace buffer empty) [ 28.469809] Modules linked in: [ 28.470075] CPU: 8 PID: 1 Comm: swapper/0 Tainted: GW 3.14.0-rc8-next-20140331-sasha-00013-g7a8780f #351 [ 28.470075] task: 88096c5c8000 ti: 88003e298000 task.ti: 88003e298000 [ 28.470075] RIP: strcm

[PATCH 3.10 2/9] Input: mousedev - fix race when creating mixed device

2014-03-31 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Torokhov commit e4dbedc7eac7da9db363a36f2bd4366962eeefcc upstream. We should not be using static variable mousedev_mix in methods that can be called before that singleton gets assigned.

Re: [PATCH] pata_arasan_cf: fix ata_host_activate() failure handling

2014-03-31 Thread Viresh Kumar
On Mon, Mar 31, 2014 at 11:19 PM, Bartlomiej Zolnierkiewicz wrote: > Add missing cf_exit() and clk_put() calls to ata_host_activate() > failure path. > > Cc: Viresh Kumar > Cc: Shiraz Hashim > Signed-off-by: Bartlomiej Zolnierkiewicz > --- > drivers/ata/pata_arasan_cf.c | 10 -- > 1

[PATCH 3.13 09/22] i2c: cpm: Fix build by adding of_address.h and of_irq.h

2014-03-31 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Scott Wood commit 5f12c5eca6e6b7aeb4b2028d579f614b4fe7a81f upstream. Fixes a build break due to the undeclared use of irq_of_parse_and_map() and of_iomap(). This build break was apparently in

RE: [PATCH bisect 2/2] ASoC: fsl_sai: Separately enable interrupts for Tx and Rx streams

2014-03-31 Thread dongsheng.w...@freescale.com
> -Original Message- > From: Nicolin Chen [mailto:guangyu.c...@freescale.com] > Sent: Tuesday, April 01, 2014 11:38 AM > To: Wang Dongsheng-B40534 > Cc: broo...@kernel.org; alsa-de...@alsa-project.org; Xiubo Li-B47053; > linuxppc- > d...@lists.ozlabs.org; linux-kernel@vger.kernel.org; ti

[PATCH 3.13 16/22] resizable namespace.c hashes

2014-03-31 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Al Viro commit 0818bf27c05b2de56c5b2bd08cfae2a939bd5f52 upstream. * switch allocation to alloc_large_system_hash() * make sizes overridable by boot parameters (mhash_entries=, mphash_entries=)

[PATCH 3.13 04/22] Input: synaptics - add manual min/max quirk

2014-03-31 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Benjamin Tissoires commit 421e08c41fda1f0c2ff6af81a67b491389b653a5 upstream. The new Lenovo Haswell series (-40's) contains a new Synaptics touchpad. However, these new Synaptics devices repor

[PATCH 3.13 11/22] x86: fix boot on uniprocessor systems

2014-03-31 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Artem Fetishev commit 825600c0f20e595daaa7a6dd8970f84fa2a2ee57 upstream. On x86 uniprocessor systems topology_physical_package_id() returns -1 which causes rapl_cpu_prepare() to leave rapl_pmu

[PATCH 3.13 19/22] switch mnt_hash to hlist

2014-03-31 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Al Viro commit 38129a13e6e71f666e0468e99fdd932a687b4d7e upstream. fixes RCU bug - walking through hlist is safe in face of element moves, since it's self-terminating. Cyclic lists are not - i

[PATCH 3.13 21/22] cgroup: protect modifications to cgroup_idr with cgroup_mutex

2014-03-31 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Li Zefan commit 0ab02ca8f887908152d1a96db5130fc661d36a1e upstream. Setup cgroupfs like this: # mount -t cgroup -o cpuacct xxx /cgroup # mkdir /cgroup/sub1 # mkdir /cgroup/sub2 Then run

[PATCH 3.13 17/22] keep shadowed vfsmounts together

2014-03-31 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Al Viro commit 1d6a32acd70ab18499829c0a9a5dbe2bace72a13 upstream. preparation to switching mnt_hash to hlist Signed-off-by: Al Viro Signed-off-by: Greg Kroah-Hartman --- fs/namespace.c |

[PATCH 3.13 22/22] netfilter: nf_conntrack_dccp: fix skb_header_pointer API usages

2014-03-31 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Borkmann commit b22f5126a24b3b2f15448c3f2a254fc10cbc2b92 upstream. Some occurences in the netfilter tree use skb_header_pointer() in the following way ... struct dccp_hdr _dh, *dh;

[PATCH 3.13 15/22] random32: avoid attempt to late reseed if in the middle of seeding

2014-03-31 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Sasha Levin commit 05efa8c943b1d5d90fa8c8147571837573338bb6 upstream. Commit 4af712e8df ("random32: add prandom_reseed_late() and call when nonblocking pool becomes initialized") has added a l

[PATCH 3.13 18/22] dont bother with propagate_mnt() unless the target is shared

2014-03-31 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Al Viro commit 0b1b901b5a98bb36943d10820efc796f7cd45ff3 upstream. If the dest_mnt is not shared, propagate_mnt() does nothing - there's no mounts to propagate to and thus no copies to create.

[PATCH 3.13 20/22] mm: close PageTail race

2014-03-31 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: David Rientjes commit 668f9abbd4334e6c29fa8acd71635c4f9101caa7 upstream. Commit bf6bddf1924e ("mm: introduce compaction and migration for ballooned pages") introduces page_count(page) into mem

[PATCH 3.13 14/22] net: mvneta: fix usage as a module on RGMII configurations

2014-03-31 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Petazzoni commit e3a8786c10e75903f1269474e21fe8cb49c3a670 upstream. Commit 5445eaf309ff ('mvneta: Try to fix mvneta when compiled as module') fixed the mvneta driver to make it work pro

[PATCH 3.13 08/22] Revert "xen: properly account for _PAGE_NUMA during xen pte translations"

2014-03-31 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: David Vrabel commit 5926f87fdaad4be3ed10cec563bf357915e55a86 upstream. This reverts commit a9c8e4beeeb64c22b84c803747487857fe424b68. PTEs in Xen PV guests must contain machine addresses if _P

[PATCH 3.13 12/22] make prepend_name() work correctly when called with negative *buflen

2014-03-31 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Al Viro commit e825196d48d2b89a6ec3a8eff280098d2a78207e upstream. In all callchains leading to prepend_name(), the value left in *buflen is eventually discarded unused if prepend_name() has re

[PATCH 3.13 13/22] net: mvneta: rename MVNETA_GMAC2_PSC_ENABLE to MVNETA_GMAC2_PCS_ENABLE

2014-03-31 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Petazzoni commit a79121d3b57e7ad61f0b5d23eae05214054f3ccd upstream. Bit 3 of the MVNETA_GMAC_CTRL_2 is actually used to enable the PCS, not the PSC: there was a typo in the name of the

[PATCH 3.13 10/22] drm/i915: Undo gtt scratch pte unmapping again

2014-03-31 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Vetter commit 8ee661b505613ef2747b350ca2871a31b3781bee upstream. It apparently blows up on some machines. This functionally reverts commit 828c79087cec61eaf4c76bb32c222fbe35ac3930 Auth

[PATCH 3.13 07/22] xen/balloon: flush persistent kmaps in correct position

2014-03-31 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Wei Liu commit 09ed3d5ba06137913960f9c9385f71fc384193ab upstream. Xen balloon driver will update ballooned out pages' P2M entries to point to scratch page for PV guests. In 24f69373e2 ("xen/ba

[PATCH 3.13 06/22] Input: cypress_ps2 - dont report as a button pads

2014-03-31 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Hans de Goede commit 6797b39e6f6f34c74177736e146406e894b9482b upstream. The cypress PS/2 trackpad models supported by the cypress_ps2 driver emulate BTN_RIGHT events in firmware based on the f

[PATCH 3.13 05/22] Input: synaptics - add manual min/max quirk for ThinkPad X240

2014-03-31 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Hans de Goede commit 8a0435d958fb36d93b8df610124a0e91e5675c82 upstream. This extends Benjamin Tissoires manual min/max quirk table with support for the ThinkPad X240. Signed-off-by: Hans de G

linux-next: manual merge of the audit tree with the net-next tree

2014-03-31 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the audit tree got a conflict in kernel/seccomp.c between commit bd4cf0ed331a ("net: filter: rework/optimize internal BPF interpreter's instruction set") from the net-next tree and commit 5e937a9ae913 ("syscall_get_arch: remove useless function arguments") from

[PATCH 3.13 00/22] 3.13.9-stable review

2014-03-31 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 3.13.9 release. There are 22 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Thu Apr 3 04:06:39 UTC 2014. Anything receive

[PATCH 3.13 03/22] Input: mousedev - fix race when creating mixed device

2014-03-31 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Torokhov commit e4dbedc7eac7da9db363a36f2bd4366962eeefcc upstream. We should not be using static variable mousedev_mix in methods that can be called before that singleton gets assigned.

[PATCH 3.13 02/22] rcuwalk: recheck mount_lock after mountpoint crossing attempts

2014-03-31 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Al Viro commit b37199e626b31e1175fb06764c5d1d687723aac2 upstream. We can get false negative from __lookup_mnt() if an unrelated vfsmount gets moved. In that case legitimize_mnt() is guarantee

[PATCH 3.13 01/22] ext4: atomically set inode->i_flags in ext4_set_inode_flags()

2014-03-31 Thread Greg Kroah-Hartman
3.13-stable review patch. If anyone has any objections, please let me know. -- From: Theodore Ts'o commit 00a1a053ebe5febcfc2ec498bd894f035ad2aa06 upstream. Use cmpxchg() to atomically set i_flags instead of clearing out the S_IMMUTABLE, S_APPEND, etc. flags and then setting t

[PATCH 3.10 8/9] mm: close PageTail race

2014-03-31 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: David Rientjes commit 668f9abbd4334e6c29fa8acd71635c4f9101caa7 upstream. Commit bf6bddf1924e ("mm: introduce compaction and migration for ballooned pages") introduces page_count(page) into mem

[PATCH 3.10 9/9] netfilter: nf_conntrack_dccp: fix skb_header_pointer API usages

2014-03-31 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Borkmann commit b22f5126a24b3b2f15448c3f2a254fc10cbc2b92 upstream. Some occurences in the netfilter tree use skb_header_pointer() in the following way ... struct dccp_hdr _dh, *dh;

[PATCH 3.10 4/9] Input: synaptics - add manual min/max quirk for ThinkPad X240

2014-03-31 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Hans de Goede commit 8a0435d958fb36d93b8df610124a0e91e5675c82 upstream. This extends Benjamin Tissoires manual min/max quirk table with support for the ThinkPad X240. Signed-off-by: Hans de G

[PATCH 3.10 1/9] ext4: atomically set inode->i_flags in ext4_set_inode_flags()

2014-03-31 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Theodore Ts'o commit 00a1a053ebe5febcfc2ec498bd894f035ad2aa06 upstream. Use cmpxchg() to atomically set i_flags instead of clearing out the S_IMMUTABLE, S_APPEND, etc. flags and then setting t

[PATCH 3.10 6/9] x86: fix boot on uniprocessor systems

2014-03-31 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Artem Fetishev commit 825600c0f20e595daaa7a6dd8970f84fa2a2ee57 upstream. On x86 uniprocessor systems topology_physical_package_id() returns -1 which causes rapl_cpu_prepare() to leave rapl_pmu

[PATCH 3.10 7/9] net: mvneta: rename MVNETA_GMAC2_PSC_ENABLE to MVNETA_GMAC2_PCS_ENABLE

2014-03-31 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Petazzoni commit a79121d3b57e7ad61f0b5d23eae05214054f3ccd upstream. Bit 3 of the MVNETA_GMAC_CTRL_2 is actually used to enable the PCS, not the PSC: there was a typo in the name of the

[PATCH 3.10 5/9] Input: cypress_ps2 - dont report as a button pads

2014-03-31 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Hans de Goede commit 6797b39e6f6f34c74177736e146406e894b9482b upstream. The cypress PS/2 trackpad models supported by the cypress_ps2 driver emulate BTN_RIGHT events in firmware based on the f

[PATCH 3.10 3/9] Input: synaptics - add manual min/max quirk

2014-03-31 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Benjamin Tissoires commit 421e08c41fda1f0c2ff6af81a67b491389b653a5 upstream. The new Lenovo Haswell series (-40's) contains a new Synaptics touchpad. However, these new Synaptics devices repor

linux-next: manual merge of the audit tree with Linus' tree

2014-03-31 Thread Stephen Rothwell
Hi Eric, Today's linux-next merge of the audit tree got a conflict in kernel/audit.c between commit aa4af831bb4f ("AUDIT: Allow login in non-init namespaces") from Linus' tree and commit 5a3cb3b6c3a0 ("audit: allow user processes to log from another PID namespace") from the audit tree. I fixed it

[PATCH 3.4 0/6] 3.4.86-stable review

2014-03-31 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 3.4.86 release. There are 6 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Thu Apr 3 03:28:04 UTC 2014. Anything received

[PATCH 3.10 0/9] 3.10.36-stable review

2014-03-31 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 3.10.36 release. There are 9 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Thu Apr 3 04:07:29 UTC 2014. Anything receive

[PATCH 3.4 5/6] x86: fix boot on uniprocessor systems

2014-03-31 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Artem Fetishev commit 825600c0f20e595daaa7a6dd8970f84fa2a2ee57 upstream. On x86 uniprocessor systems topology_physical_package_id() returns -1 which causes rapl_cpu_prepare() to leave rapl_pmu

[PATCH 3.4 4/6] Input: synaptics - add manual min/max quirk for ThinkPad X240

2014-03-31 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Hans de Goede commit 8a0435d958fb36d93b8df610124a0e91e5675c82 upstream. This extends Benjamin Tissoires manual min/max quirk table with support for the ThinkPad X240. Signed-off-by: Hans de Go

[PATCH 3.4 3/6] Input: synaptics - add manual min/max quirk

2014-03-31 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Benjamin Tissoires commit 421e08c41fda1f0c2ff6af81a67b491389b653a5 upstream. The new Lenovo Haswell series (-40's) contains a new Synaptics touchpad. However, these new Synaptics devices report

[PATCH 3.4 6/6] netfilter: nf_conntrack_dccp: fix skb_header_pointer API usages

2014-03-31 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Borkmann commit b22f5126a24b3b2f15448c3f2a254fc10cbc2b92 upstream. Some occurences in the netfilter tree use skb_header_pointer() in the following way ... struct dccp_hdr _dh, *dh;

RE: [PATCH bisect 2/2] ASoC: fsl_sai: Separately enable interrupts for Tx and Rx streams

2014-03-31 Thread dongsheng.w...@freescale.com
> -Original Message- > From: Nicolin Chen [mailto:guangyu.c...@freescale.com] > Sent: Tuesday, April 01, 2014 11:14 AM > To: Wang Dongsheng-B40534 > Cc: broo...@kernel.org; alsa-de...@alsa-project.org; Xiubo Li-B47053; > linuxppc- > d...@lists.ozlabs.org; linux-kernel@vger.kernel.org; ti

Re: [PATCH 1/2] regulator: s2mpa01: Don't check enable_shift before setting enable ramp rate

2014-03-31 Thread Axel Lin
2014-03-21 16:15 GMT+08:00 Axel Lin : > Current code misses updating the register when enable_shift is 0. > e.g. S2MPA01_BUCK4_RAMP_EN_SHIFT is 0. Hi Sachin and Krzysztof, I think these 2 patches are bug fix. Any comment on this patch serial? Regards, Axel -- To unsubscribe from this list: send

Re: [PATCH bisect 2/2] ASoC: fsl_sai: Separately enable interrupts for Tx and Rx streams

2014-03-31 Thread Nicolin Chen
On Tue, Apr 01, 2014 at 11:48:16AM +0800, Wang Dongsheng-B40534 wrote: > > > > -Original Message- > > From: Nicolin Chen [mailto:guangyu.c...@freescale.com] > > Sent: Tuesday, April 01, 2014 11:14 AM > > To: Wang Dongsheng-B40534 > > Cc: broo...@kernel.org; alsa-de...@alsa-project.org; Xi

[map_pages] 5449f33f982: +1.7% netperf.Throughput_Mbps

2014-03-31 Thread Fengguang Wu
Hi Kirill, FYI, we noticed the below (good) changes on commit 5449f33f982905593117556d9d368d85eea8d13b ("mm: implement ->map_pages for page cache") d6c1ccefdbdf13a 5449f33f982905593117556d9 --- - 5044 ~ 0% +1.7% 5128 ~ 0% lkp-nex05/mi

[PATCH 2/2] bus: omap_l3_smx: Use devm_* managed allocators

2014-03-31 Thread Axel Lin
This simplifies error and cleanup code paths. Signed-off-by: Axel Lin --- drivers/bus/omap_l3_smx.c | 53 +++ 1 file changed, 12 insertions(+), 41 deletions(-) diff --git a/drivers/bus/omap_l3_smx.c b/drivers/bus/omap_l3_smx.c index acc2164..90840cf 1

[PATCH 1/2] bus: omap_l3_noc: Use devm_* managed allocators

2014-03-31 Thread Axel Lin
This simplifies error and cleanup code paths. Also uses of_match_ptr() around of_match_table. Signed-off-by: Axel Lin --- drivers/bus/omap_l3_noc.c | 94 ++- 1 file changed, 19 insertions(+), 75 deletions(-) diff --git a/drivers/bus/omap_l3_noc.c b/dr

Re: VDSO pvclock may increase host cpu consumption, is this a problem?

2014-03-31 Thread Marcelo Tosatti
On Mon, Mar 31, 2014 at 10:52:25AM -0700, Andy Lutomirski wrote: > On 03/29/2014 01:47 AM, Zhanghailiang wrote: > > Hi, > > I found when Guest is idle, VDSO pvclock may increase host consumption. > > We can calcutate as follow, Correct me if I am wrong. > > (Host)250 * update_pvclock_gtod = 1

Re: tty: hang on ldisc_sem

2014-03-31 Thread Sasha Levin
On 03/29/2014 09:24 PM, Sasha Levin wrote: On 03/27/2014 12:30 PM, Peter Hurley wrote: Hi Sasha, On 03/27/2014 12:08 PM, Sasha Levin wrote: Hi all, While fuzzing with trinity inside a KVM tools guest running latest -next kernel, I've encountered a lockup on ldisc_sem. Can you send me the w

Re: [PATCH bisect 2/2] ASoC: fsl_sai: Separately enable interrupts for Tx and Rx streams

2014-03-31 Thread Nicolin Chen
On Tue, Apr 01, 2014 at 11:25:02AM +0800, Wang Dongsheng-B40534 wrote: > > Subject: [PATCH bisect 2/2] ASoC: fsl_sai: Separately enable interrupts for > > Tx > > and Rx streams > > > > We only enable one side interrupt for each stream since over/underrun > > on the opposite stream would be result

Re: [PATCH] sched: update_rq_clock() must skip ONE update

2014-03-31 Thread Mike Galbraith
On Mon, 2014-03-31 at 11:37 -0700, Linus Torvalds wrote: > On Mon, Mar 31, 2014 at 11:27 AM, Mike Galbraith > wrote: > > > > Oh, I didn't cc you because I wanted it applied instantly as ultra > > critical, only because the chain of events might be of interest. > > Ok. That was my main worry, sin

Re: [PATCH] sched: update_rq_clock() must skip ONE update

2014-03-31 Thread Steven Rostedt
On Tue, 01 Apr 2014 05:10:14 +0200 Mike Galbraith wrote: > Maybe it should just die as more potential trouble than it's worth. It > has saved a pile of fastpath cycles, losing those again would be a > shame. Accounting doesn't need to be perfect (is the enemy of good), > but it does need to be a

Re: [PATCH 6/7] uprobes/x86: move the UPROBE_FIX_{RIP,IP,CALL} code at the end of pre/post hooks

2014-03-31 Thread Masami Hiramatsu
(2014/04/01 4:44), Oleg Nesterov wrote: > No functional changes. Preparation to simplify the review of the next > change. Just reorder the code in arch_uprobe_pre/post_xol() functions > so that UPROBE_FIX_{RIP_*,IP,CALL} logic goes to the end. > > Also change arch_uprobe_pre_xol() to use utask ins

RE: [PATCH bisect 2/2] ASoC: fsl_sai: Separately enable interrupts for Tx and Rx streams

2014-03-31 Thread dongsheng.w...@freescale.com
> -Original Message- > From: Linuxppc-dev [mailto:linuxppc-dev- > bounces+b40534=freescale@lists.ozlabs.org] On Behalf Of Nicolin Chen > Sent: Tuesday, April 01, 2014 11:17 AM > To: broo...@kernel.org > Cc: alsa-de...@alsa-project.org; Xiubo Li-B47053; > linuxppc-...@lists.ozlabs.org

Re: [PATCH 5/7] uprobes/x86: Gather "riprel" functions together

2014-03-31 Thread Masami Hiramatsu
(2014/04/01 4:44), Oleg Nesterov wrote: > Cosmetic. Move pre_xol_rip_insn() and handle_riprel_post_xol() up > to the closely related handle_riprel_insn(). > > This way it is simpler to read and understand this code, and this > lessens the number of ifdef's. > > TODO: rename them somehow to make t

Re: [PATCH v5 3/3] memstick: Add realtek USB memstick host driver

2014-03-31 Thread Roger
On 03/25/2014 06:44 PM, rogera...@realtek.com wrote: From: Roger Tseng Realtek USB memstick host driver provides memstick host support based on the Realtek USB card reader MFD driver. Signed-off-by: Roger Tseng --- drivers/memstick/host/Kconfig | 10 + drivers/memstick/host/Makefile

[PATCH V2] printk: add sleep time into timestamp

2014-03-31 Thread Neil Zhang
Add sleep time into timestamp to reflect the actual time since sched_clock will be stopped during suspend. Thanks John Stultz for suggestion to use monotonic_to_bootbased. Signed-off-by: Neil Zhang --- kernel/printk/printk.c | 16 ++-- 1 file changed, 14 insertions(+), 2 deletions

Re: [PATCH 3/7] uprobes/x86: Conditionalize the usage of handle_riprel_insn()

2014-03-31 Thread Masami Hiramatsu
(2014/04/01 4:44), Oleg Nesterov wrote: > arch_uprobe_analyze_insn() calls handle_riprel_insn() at the start, > but only "0xff" and "default" cases need the UPROBE_FIX_RIP_ logic. > Move the callsite into "default" case and change the "0xff" case to > fall-through. > > We are going to add the vari

[PATCH bisect 2/2] ASoC: fsl_sai: Separately enable interrupts for Tx and Rx streams

2014-03-31 Thread Nicolin Chen
We only enable one side interrupt for each stream since over/underrun on the opposite stream would be resulted from what we previously did, enabling TERE but remaining FRDE disabled, even though the xrun on the opposite direction will not break the current stream. Signed-off-by: Nicolin Chen Acke

[PATCH bisect 0/2] ASoC: fsl_sai: Overwrite trigger()

2014-03-31 Thread Nicolin Chen
This series of patches are bisected from the preivous version so as to apply the PATCH-1 onto asoc-v3.15-4. * The patches are generated by using '-U2' because the default '-U3' would conflict the baseline without fsl_sai_isr patches. Nicolin Chen (2): ASoC: fsl_sai: Fix buggy configurations i

[PATCH bisect 1/2] ASoC: fsl_sai: Fix buggy configurations in trigger()

2014-03-31 Thread Nicolin Chen
The current trigger() has two crucial problems: 1) The DMA request enabling operations (FSL_SAI_CSR_FRDE) for Tx and Rx are now totally exclusive: It would fail to run simultaneous Tx-Rx cases. 2) The TERE disabling operation depends on an incorrect condition -- active reference count that on

Re: [BUGREPORT] Tasklet scheduled issue in Linux 3.4.x-rt

2014-03-31 Thread Yijing Wang
Hi Thomas, Thanks for your reply! >> nf_defrag_ipv4 xt_state nf_conntrack usr_cache(O) acpi_cpufreq mperf >> processor thermal_sys sg hwmon iptable_filter ip_tables x_tables ixgbe(O) >> igb(O) bonding(O) tg(O) netmgmt(O) drvinstall(PO) dal(PO) dca usb_storage(O) >> uhci_hcd ehci_hcd usbcor

Re: [PATCH 4/7] uprobes/x86: Kill the "ia32_compat" check in handle_riprel_insn(), remove "mm" arg

2014-03-31 Thread Masami Hiramatsu
(2014/04/01 4:44), Oleg Nesterov wrote: > Kill the "mm->context.ia32_compat" check in handle_riprel_insn(), if > it is true insn_rip_relative() must return false. validate_insn_bits() > passed "ia32_compat" as !x86_64 to insn_init(), and insn_rip_relative() > checks insn->x86_64. > > Also, remove

Re: [PATCH] sched: update_rq_clock() must skip ONE update

2014-03-31 Thread Mike Galbraith
On Mon, 2014-03-31 at 12:00 -0400, Steven Rostedt wrote: > On Mon, Mar 31, 2014 at 06:20:36AM +0200, Mike Galbraith wrote: > > > > Cc: > > Signed-off-by: Mike Galbraith > > --- > > kernel/sched/core.c |2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > --- a/kernel/sched

Re: [PATCH 4/6 V2] perf, sort: Add physid sorting based on mmap2 data

2014-03-31 Thread Don Zickus
On Sat, Mar 29, 2014 at 06:11:52PM +0100, Jiri Olsa wrote: > On Mon, Mar 24, 2014 at 04:57:18PM -0400, Don Zickus wrote: > > In order for the c2c tool to work correctly, it needs to properly > > sort all the records on uniquely identifiable data addresses. These > > unique addresses are converted

Re: [PATCH] fs: ext4: Sign-extend tv_sec after ORing in epoch bits

2014-03-31 Thread Theodore Ts'o
On Mon, Mar 31, 2014 at 08:42:06AM -0700, Conrad Meyer wrote: > The problem exists in mainline (v3.14) and linux-next (20140328), so > it looks like it didn't land. Unless it's queued in an ext4 tree and > didn't get selected for Linus for some reason? There were some proposals for a different enc

Re: [PATCH 06/15 V3] perf, c2c: Add in new options to configure latency and stores

2014-03-31 Thread Don Zickus
On Sat, Mar 29, 2014 at 06:11:38PM +0100, Jiri Olsa wrote: > On Mon, Mar 24, 2014 at 03:36:57PM -0400, Don Zickus wrote: > > Modified the code to allow latency settings to be tweaked on the command > > line > > and also the ability to dynamically profile stores (or disable using > > stores). > >

  1   2   3   4   5   6   7   >