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

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

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 ---

[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.

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:

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

[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

[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

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

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

[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

netfilter: NULL ptr deref on boot in xt_register_table

2014-03-31 Thread Sasha Levin
](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: strcmp (lib/string.c

[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

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

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;

[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=,

[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

[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

[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 -

[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

[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

[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

[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

[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

[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

[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

[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

[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

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

[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

[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

[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

[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

[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

[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

[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

[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

[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

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

[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

[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

[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

[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

[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;

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;

[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%

[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

[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

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 =

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

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

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,

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

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

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; >

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

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 +

[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

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

[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

[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

[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

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

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(-) > > > > ---

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

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). > >

Re: [PATCH 05/15 V3] perf, c2c: Rework setup code to prepare for features

2014-03-31 Thread Don Zickus
On Sat, Mar 29, 2014 at 06:10:18PM +0100, Jiri Olsa wrote: > On Mon, Mar 24, 2014 at 03:36:56PM -0400, Don Zickus wrote: > > SNIP > > > > > static int perf_c2c__process_load_store(struct perf_c2c *c2c, > > + struct addr_location *al, > >

Re: [PATCH 2/4] perf, kmem: Utilize the new generic cpunode_map

2014-03-31 Thread Don Zickus
On Sat, Mar 29, 2014 at 06:10:47PM +0100, Jiri Olsa wrote: > On Mon, Mar 24, 2014 at 03:32:55PM -0400, Don Zickus wrote: > > Use the previous patch implementation of cpunode_map for builtin-kmem.c > > Should not be any functional difference. > > > > Cc: Li Zefan > > Signed-off-by: Don Zickus >

Re: [PATCH 1/4] perf: Allow ability to map cpus to nodes easily

2014-03-31 Thread Don Zickus
On Sat, Mar 29, 2014 at 06:10:33PM +0100, Jiri Olsa wrote: > > +/* Determine highest possible node in the system for sparse allocation */ > > +static void set_max_node_num(void) > > +{ > > + FILE *fp; > > + int ret = -1; > > + > > + /* set up default */ > > + max_node_num = 8; > > + > > +

Re: [PATCH] virtio-blk: make the queue depth the max supportable by the hypervisor

2014-03-31 Thread Theodore Ts'o
On Mon, Mar 31, 2014 at 02:22:50PM +1030, Rusty Russell wrote: > > It's head of my virtio-next tree. Hey Rusty, While we have your attention --- what's your opinion about adding TRIM support to virtio-blk. I understand that you're starting an OASIS standardization process for virtio --- what

Re: [GIT PULL] x86 LTO changes for v3.15

2014-03-31 Thread Linus Torvalds
On Mon, Mar 31, 2014 at 6:09 PM, Andi Kleen wrote: > > I think SYSCALL_DEFINE actually doesn't need it, as the syscall > tables are visible in C. Only the syscall table itself > needs to be visible. Ahh, good point. The table used to be in asm for x86-32, but that got fixed long ago so I guess

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

2014-03-31 Thread Yijing Wang
>> Because this patch does not exist in the latest Linus kernel, so I >> have not reported this issue to kernel bugzilla. > > This patch exists in all -RT releases up to 3.12. If there is an issue > with it, it should be solved. > > If the sched bit set is and you can't get lock later then the

RE: [PATCHv2 2/2] watchdog: imx2_wdt: Add big-endian support

2014-03-31 Thread li.xi...@freescale.com
> > It's actually the following ones first, which will support 16-bits > > Values for regmap-mmio: > > > > https://patchwork.kernel.org/patch/3896321/ > > https://patchwork.kernel.org/patch/3896331/ > > https://patchwork.kernel.org/patch/3901021/ > > > > And the then the following one, which will

Re: [f2fs-dev] [PATCH 2/2] f2fs: use list_for_each_entry{_safe} for simplyfying code

2014-03-31 Thread Gu Zheng
Hi Yu, On 04/01/2014 09:45 AM, Chao Yu wrote: > Hi Gu, > >> -Original Message- >> From: Gu Zheng [mailto:guz.f...@cn.fujitsu.com] >> Sent: Monday, March 31, 2014 6:07 PM >> To: Chao Yu >> Cc: ???; linux-f2fs-de...@lists.sourceforge.net; >> linux-fsde...@vger.kernel.org; >>

[STATUS] mmc: disable UHS on broadcom sdhci

2014-03-31 Thread Sebastián E . Peyrott
Hi, I believe this patch [1] didn't make it in. How can I help getting it merged? Please put me in CC, I am not subscribed. Thanks. [1]: https://lkml.org/lkml/2013/11/15/469 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

crash dev_hard_start_xmi

2014-03-31 Thread javen lee
Kernel version: linux 3.0.35 Platform: Freescale IMX6Q / # cat /proc/cpuinfo Processor : ARMv7 Processor rev 10 (v7l) processor : 0 BogoMIPS : 1988.29 processor : 1 BogoMIPS : 1988.29 processor : 2 BogoMIPS : 1988.29 processor : 3 BogoMIPS : 1988.29 Features : swp half thumb fastmult

Re: [PATCH 2/7] uprobes/x86: Fold prepare_fixups() into arch_uprobe_analyze_insn()

2014-03-31 Thread Masami Hiramatsu
(2014/04/01 4:43), Oleg Nesterov wrote: > No functional changes, preparation. > > Shift the code from prepare_fixups() to arch_uprobe_analyze_insn() > with the following modifications: > > - Do not call insn_get_opcode() again, it was already called > by validate_insn_bits(). > >

Re: linux-next: build warning after merge of the tip tree

2014-03-31 Thread H. Peter Anvin
On 03/31/2014 05:26 PM, Stephen Rothwell wrote: > > And today from Linus' tree I get these: > > x86_64_allmodconfig: > > arch/x86/crypto/sha1_ssse3_glue.c:43:1: warning: > 'externally_visible' attribute have effect only on public objects > [-Wattributes] static asmlinkage void

[PATCH] swiotlb: Correct kernel command line handler

2014-03-31 Thread Jungseok Lee
This patch corrects kernel command line handler when io_tlb_nslabs is set to 0. A current implementation allocates default size memory (64MB) when 0 is given to io_tlb_nslabs ("swiotlb=0") by kernel command line. In other words, memory is allocated unintentionally. Signed-off-by: Jungseok Lee

[PATCH] mtd: fsl_ifc_nand: Recover corrupted empty page for preventing read-only mount in UBIFS

2014-03-31 Thread Eunbong Song
Even if the meaning of EUCLEAN was changed by commit edbc4540. There is still possibility of read-only mount in UBIFS with ubifs_scan() "corrupt empty space at LEB". So i made this patch for fix that problem. This patch do as follow. - If there are ecc errors which is equal to or less than

RE: [PATCH] ASoC: fsl_sai: Fix buggy configurations in trigger()

2014-03-31 Thread li.xi...@freescale.com
> Subject: [PATCH] ASoC: fsl_sai: Fix buggy configurations in trigger() > > 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

Re: [PATCH] mtd: diskonchip: mem resource name is not optional

2014-03-31 Thread Brian Norris
On Sat, Mar 29, 2014 at 08:31:52PM -0400, Sasha Levin wrote: > On 03/22/2014 04:39 AM, Alexander Shiyan wrote: > >Wed, 19 Mar 2014 18:24:37 -0400 от Sasha Levin : > >>Passing a name to request_mem_region() isn't optional and can't just > >>be NULL. Passing NULL causes a NULL ptr deref later in the

  1   2   3   4   5   6   7   8   9   10   >