Re: [PATCH] mm: page_alloc: Fix setting of ZONE_FAIR_DEPLETED on UP

2014-09-07 Thread Leon Romanovsky
Hi Mel, __mod_zone_page_state(zone, NR_ALLOC_BATCH, -(1 order)); - if (zone_page_state(zone, NR_ALLOC_BATCH) == 0 + if (zone_page_state(zone, NR_ALLOC_BATCH) = 0 zone_page_state is declared to return unsigned long value [1], so it should never be below 0. So interesting

Re: [PATCH] arm64: LLVMLinux: Provide __aeabi_* symbols which are needed for clang

2014-09-07 Thread Catalin Marinas
On 7 Sep 2014, at 03:30, Mark Charlebois charl...@gmail.com wrote: On Sat, Sep 6, 2014 at 7:16 AM, Arnd Bergmann a...@arndb.de wrote: On Friday 05 September 2014 16:23:14 beh...@converseincode.com wrote: + * Copyright (C) 2012 Mark Charlebois + */ + +/* + * EABI routines Does EABI

Re: [RFC v2] device coredump: add new device coredump class

2014-09-07 Thread Arik Nemtsov
On Fri, Sep 5, 2014 at 11:50 AM, Johannes Berg johan...@sipsolutions.net wrote: From: Johannes Berg johannes.b...@intel.com Many devices run firmware and/or complex hardware, and most of that can have bugs. When it misbehaves, however, it is often much harder to debug than software running on

Re: /proc/pid/exe symlink behavior change in =3.15.

2014-09-07 Thread Mateusz Guzik
On Sat, Sep 06, 2014 at 11:44:32PM +0200, Piotr Karbowski wrote: Hi, Starting with kernel 3.15 the 'exe' symlink under /proc/pid/ acts diffrent than it used to in all the pre-3.15 kernels. The usecase: run /root/testbin (app that just sleeps) cp /root/testbin /root/testbin.new mv

[PATCH 3/6] blk-mq: don't copy pdu if init_flush_rq is implemented

2014-09-07 Thread Ming Lei
Current copying serves purpose of initializing flush req's pdu, so don't do that if init_flush_rq is implemented. Signed-off-by: Ming Lei ming@canonical.com --- block/blk-mq.c |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/block/blk-mq.c b/block/blk-mq.c index

[PATCH 1/6] blk-mq: allocate flush_rq in blk_mq_init_flush()

2014-09-07 Thread Ming Lei
It is reasonable to allocate flush req in blk_mq_init_flush(). Signed-off-by: Ming Lei ming@canonical.com --- block/blk-flush.c | 11 ++- block/blk-mq.c| 16 ++-- block/blk-mq.h|2 +- 3 files changed, 17 insertions(+), 12 deletions(-) diff --git

[PATCH 4/6] virtio-blk: implement init_flush_rq

2014-09-07 Thread Ming Lei
Now we use init_flush_rq callback to initialize pdu of flush req. Signed-off-by: Ming Lei ming@canonical.com --- drivers/block/virtio_blk.c | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/drivers/block/virtio_blk.c b/drivers/block/virtio_blk.c index

[PATCH 0/6] blk-mq: initialize pdu of flush req explicitly

2014-09-07 Thread Ming Lei
Hi, This patchset introduces init_flush_rq and its pair callback to initialize pdu of flush request explicitly, instead of using copying from request which is inefficient and buggy, and implements them in virtio-blk and scsi-lib. block/blk-flush.c | 22 +-

[PATCH 5/6] scsi-lib: implement init_flush_rq and its pair

2014-09-07 Thread Ming Lei
Now implement init_flush_rq callback to avoid the unnecessary pdu copying done in blk_mq_clone_flush_request(). The sense buffer is introduced to flush req, but it won't be a deal since there is only one flush request per queue. It still may be borrowed from the sence buffer of the request cloned

[PATCH 6/6] blk-mq: don't copy pdu any more for flush req

2014-09-07 Thread Ming Lei
The in-tree drivers which need to handle flush request have implemented init_flush_rq already, so don't copy pdu any more for flush req. Signed-off-by: Ming Lei ming@canonical.com --- block/blk-mq.c |7 --- 1 file changed, 7 deletions(-) diff --git a/block/blk-mq.c b/block/blk-mq.c

[PATCH 2/6] blk-mq: introduce init_flush_rq callback and its pair

2014-09-07 Thread Ming Lei
Currently pdu of the flush rq is simlpy copied from another rq, turns out it isn't a good approach: - it isn't enough to initialize pointer field well, and easy to cause bugs if some pointers filed are included in pdu - the copy isn't necessary, because the pdu

Re: [PATCH 4/5] x86, mm: Add set_memory_wt() for WT

2014-09-07 Thread Yigal Korman
I think that what confused Andy (or at least me) is the documentation in Documentation/x86/pat.txt If it's possible, can you please update pat.txt as part of the patch? Thank you, Yigal On 04/09/2014 21:57, Toshi Kani wrote: On Thu, 2014-09-04 at 11:57 -0700, Andy Lutomirski wrote: On Thu,

Re: [RFC v2] device coredump: add new device coredump class

2014-09-07 Thread Johannes Berg
On Fri, 2014-09-05 at 15:13 -0700, Greg Kroah-Hartman wrote: +MODULE_AUTHOR(Johannes Berg johan...@sipsolutions.net); +MODULE_DESCRIPTION(Device Coredump support); +MODULE_LICENSE(GPL); As you only allow Y or N as build options, it's not really a module :) Umm, yeah. I went back and

Error in scripts/checkpatch.pl

2014-09-07 Thread Daniel Bomar
Hello, I'm new to all this so please correct me if I'm sending this to the wrong place. I'd like to report the following error that shows whenever I run scripts/checkpatch.pl. The error shows at the top of the output after which the script appears to function normally. I'm running Arch Linux

[PATCH v2] staging/lustre: annotate lock/unlock in lov_stripe_lock / lov_stripe_unlock

2014-09-07 Thread Mostyn Bramley-Moore
Annotate the lock/unlock pair in lov_stripe_lock/lov_stripe_unlock to avoid sparse warning about a context imbalance. Part of the eudyptula challenge: http://eudyptula-challenge.org/ Signed-off-by: Mostyn Bramley-Moore mbmc...@gmail.com --- drivers/staging/lustre/lustre/lov/lov_obd.c | 2 ++ 1

Re: [PATCH v3] drbd: fix throttling on newly created DM backing devices

2014-09-07 Thread Lars
On Fri, Sep 05, 2014 at 08:41:18PM +0200, Imre Palik wrote: From: Palik, Imre im...@amazon.de If the drbd backing device is a new device mapper device (e.g., a dm-linear mapping of an existing block device that contains data), the counters are initially 0 even though the device contains

Re: [PATCH] virtio_blk: merge S/G list entries by default

2014-09-07 Thread Paolo Bonzini
Il 07/09/2014 01:09, Christoph Hellwig ha scritto: Most virtio setups have a fairly limited number of ring entries available. Are you disabling indirect descriptors? With indirect descriptors entry merging doesn't buy you any more space, so perhaps you can key the flag off the availability of

Re: /proc/pid/exe symlink behavior change in =3.15.

2014-09-07 Thread Piotr Karbowski
Hi, On 09/07/2014 01:02 AM, Richard Weinberger wrote: Can you please find the offending commit? Using an automated bisect run this should be easily doable. That would be it: da1ce0670c14d8380e423a3239e562a1dc15fa9e is the first bad commit commit da1ce0670c14d8380e423a3239e562a1dc15fa9e

[PATCH] regulator: as3711: Remove unused fields from as3711_regulator_info and as3711_regulator

2014-09-07 Thread Axel Lin
The max_uV is not used, so remove it from struct as3711_regulator_info. Current code is using devm_regulator_register(), so we don't need to store *rdev in struct as3711_regulator for clean up. Also clean up AS3711_REG macro to remove _vshift, _min_uV and _max_uV arguments. _vshift is always 0,

[PATCH v4] ARM: fix debug prints relevant to PCI devices

2014-09-07 Thread Vidya Sagar
From: Vidya Sagar sagar...@gmail.com As per PCIe spec, fast back-to-back transactions feature is not applicable to PCIe devices. Hence, do not print that fast back-to-back trasactions are disabled when there is a PCIe device found on the bus Signed-off-by: Vidya Sagar sagar...@gmail.com --- v4:

Re: [PATCH] virtio_blk: merge S/G list entries by default

2014-09-07 Thread Ming Lei
On Sun, Sep 7, 2014 at 7:09 AM, Christoph Hellwig h...@lst.de wrote: Most virtio setups have a fairly limited number of ring entries available. Enable S/G entry merging by default to fit into less of them. This restores the behavior at time of the virtio-blk blk-mq conversion, which was

[PATCH] regulator: as3711: Remove unused fields from as3711_regulator_info and as3711_regulator

2014-09-07 Thread Axel Lin
The max_uV is not used, so remove it from struct as3711_regulator_info. Current code is using devm_regulator_register(), so we don't need to store *rdev in struct as3711_regulator for clean up. Also clean up AS3711_REG macro to remove _vshift, _min_uV and _max_uV arguments. _vshift is always 0,

[PATCH] regulator: bcm590xx: Remove unused **info field from struct bcm590xx_reg

2014-09-07 Thread Axel Lin
Signed-off-by: Axel Lin axel@ingics.com --- drivers/regulator/bcm590xx-regulator.c | 8 1 file changed, 8 deletions(-) diff --git a/drivers/regulator/bcm590xx-regulator.c b/drivers/regulator/bcm590xx-regulator.c index 5d1fd6f..fe6ac69 100644 ---

Re: [PATCH v2] regulator: hi6421: Fix misleading comment

2014-09-07 Thread Axel Lin
2014-09-06 21:49 GMT+08:00 Mark Brown broo...@kernel.org: On Sat, Sep 06, 2014 at 08:59:36PM +0800, Axel Lin wrote: Signed-off-by: Axel Lin axel@ingics.com Applied, thanks. Please always send incremental patches. Thanks, and sorry that I have limited internet access while traveling. I

Re: WARNING in block layer triggered in 3.17-rc3

2014-09-07 Thread Ming Lei
On Sat, Sep 6, 2014 at 1:45 AM, Alan Stern st...@rowland.harvard.edu wrote: James and Jens: I got a WARNING when unbinding the sd driver from a USB flash drive and then binding it back again. Here's where the flash drive gets probed initially: [ 143.300886] usb-storage 4-8:1.0:

[tip:sched/core] sched/deadline: Fix a precision problem in the microseconds range

2014-09-07 Thread tip-bot for xiaofeng.yan
Commit-ID: 177ef2a6315ea7bf173653182324e1dcd08ffeaa Gitweb: http://git.kernel.org/tip/177ef2a6315ea7bf173653182324e1dcd08ffeaa Author: xiaofeng.yan xiaofeng@huawei.com AuthorDate: Tue, 26 Aug 2014 03:15:41 + Committer: Ingo Molnar mi...@kernel.org CommitDate: Sun, 7 Sep 2014

[GIT pull] timer updates for 3.17

2014-09-07 Thread Thomas Gleixner
Linus, please pull the latest timers-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers-urgent-for-linus Three fixlets from the timer departement: - Update the timekeeper before updating vsyscall and pvclock. This fixes the kvm-clock

[PATCH RFC 1/3] DT: add binding for MXS regulator

2014-09-07 Thread Stefan Wahren
This patch adds the Device tree bindings for the Freescale MXS on-chip regulators. Signed-off-by: Stefan Wahren stefan.wah...@i2se.com --- .../bindings/regulator/mxs-regulator.txt | 38 ++ 1 file changed, 38 insertions(+) create mode 100644

Re: [PATCH] virtio_blk: merge S/G list entries by default

2014-09-07 Thread Michael S. Tsirkin
On Sat, Sep 06, 2014 at 04:09:54PM -0700, Christoph Hellwig wrote: Most virtio setups have a fairly limited number of ring entries available. Seems a bit vague: QEMU at least has pretty large queues. Which hypervisor do you have in mind? This could be a gain everywhere if you manage to make

[PATCH RFC 3/3] DT: ARM: mxs: enable regulator support for i.MX28

2014-09-07 Thread Stefan Wahren
This patch enables the regulator support for i.MX28. Signed-off-by: Stefan Wahren stefan.wah...@i2se.com --- arch/arm/boot/dts/imx28.dtsi | 50 +++- 1 file changed, 49 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx28.dtsi

[PATCH RFC 0/3] ARM: regulator: add Freescale MXS regulator driver

2014-09-07 Thread Stefan Wahren
This patch series draft should adds support for Freescale i.MX23, i.MX28 on-chip regulators. I'm new to regulator drivers and need early feedback for the driver's stage before i go in the wrong direction. The information about the i.MX28 regulators are from chapter 11 of the reference manual

[PATCH RFC 2/3] ARM: regulator: add Freescale MXS regulator driver

2014-09-07 Thread Stefan Wahren
This patch adds driver support for Freescale i.MX23, i.MX28 on-chip regulators. There are 4 voltage regulators: vddd, vdda, vddio, vddmem and 1 overall current regulator. Signed-off-by: Stefan Wahren stefan.wah...@i2se.com --- drivers/regulator/Kconfig | 9 + drivers/regulator/Makefile

Re: [PATCH V2 1/1] Drivers: hv: vmbus: Enable interrupt driven flow control

2014-09-07 Thread Amos Kong
On Sat, Sep 6, 2014 at 8:29 AM, K. Y. Srinivasan k...@microsoft.com wrote: In win8 we have a feature that allows for interrupt driven flow management for host/guest communication. For instance, if the host were blocked because there was no space available in the ringbuffer, the host could

Power Scheduler Design

2014-09-07 Thread Abel Vesa
For a while now, I've started studying the power aware scheduling problem. And like many other rookies out there I took all the lkml mails related and read them all (well, almost all) and I saw that there are some debating on the implementation.I even look over the implementation proposed of

poslední varování

2014-09-07 Thread Pineda Zuñiga Ma De Las Mercedes
-- k rukám naší pošty uživatele! překročili jste kvótu pro vaší poštovní schránky. Jsme odstraňování a pokládání této schránky do 24 hodin, jak je to po-vážil naše relé sítě; Chybové hlášení: 556.CX1G13ZJ. Aktualizujte své poštovní schránky kvótu na následující odkaz, pokud chcete i nadále

[PATCH] ext4: Fixed styling issues

2014-09-07 Thread Daniel Bomar
Fixed styling issues as reported by scripts/checkpatch.pl Signed-off-by: Daniel Bomar dbdanie...@gmail.com --- fs/ext4/ext4.h | 29 ++--- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h index b0c225c..3728c38 100644 ---

Re: [PATCH] ext4: Fixed styling issues

2014-09-07 Thread Richard Weinberger
On Sun, Sep 7, 2014 at 2:45 PM, Daniel Bomar dbdanie...@gmail.com wrote: Fixed styling issues as reported by scripts/checkpatch.pl Signed-off-by: Daniel Bomar dbdanie...@gmail.com Please don't run checkpatch.pl on in-kernel files. The tool is designed to check patches, not files. Such

Re: [PATCH RFC 1/3] DT: add binding for MXS regulator

2014-09-07 Thread Sergei Shtylyov
Hello. On 9/7/2014 3:37 PM, Stefan Wahren wrote: This patch adds the Device tree bindings for the Freescale MXS on-chip regulators. Signed-off-by: Stefan Wahren stefan.wah...@i2se.com --- .../bindings/regulator/mxs-regulator.txt | 38 ++ 1 file changed, 38

Re: [PATCH 1/5] x86, mm, pat: Set WT to PA4 slot of PAT MSR

2014-09-07 Thread Henrique de Moraes Holschuh
On Fri, 05 Sep 2014, Toshi Kani wrote: On Fri, 2014-09-05 at 12:23 +0200, Ingo Molnar wrote: Any reason why we have to create such a sharp boundary, instead of simply saying: 'disable PAT on all x86 CPU families that have at least one buggy model'? That would nicely sort out all the

man-pages-3.72 is released

2014-09-07 Thread Michael Kerrisk (man-pages)
Gidday, The Linux man-pages maintainer proudly announces: man-pages-3.72 - man pages for Linux Tarball download: http://www.kernel.org/doc/man-pages/download.html Git repository: https://git.kernel.org/cgit/docs/man-pages/man-pages.git/ Online changelog:

Re: [PATCH] irq: gic-v3: Tag all low level accessors __maybey_unused

2014-09-07 Thread Jason Cooper
Mark, Stephen, On Sat, Sep 06, 2014 at 01:54:12PM +0100, Mark Brown wrote: On Sun, Aug 17, 2014 at 01:04:53PM -0400, Jason Cooper wrote: On Wed, Jul 30, 2014 at 08:23:14PM +0100, Mark Brown wrote: From: Mark Brown broo...@linaro.org This is only really needed for gic_write_sgi1r in the

Re: Error in scripts/checkpatch.pl

2014-09-07 Thread Joe Perches
On Sun, 2014-09-07 at 04:39 -0500, Daniel Bomar wrote: Hello, I'm new to all this so please correct me if I'm sending this to the wrong place. I'd like to report the following error that shows whenever I run scripts/checkpatch.pl. The error shows at the top of the output after which the

[PATCH] rtl8192u: remove typedef

2014-09-07 Thread Martin Kepplinger
remove a typedef that is not even really used. Signed-off-by: Martin Kepplinger mart...@posteo.de --- builds in next-20140905. drivers/staging/rtl8192u/r8192U_core.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192u/r8192U_core.c

Re: Power Scheduler Design

2014-09-07 Thread Alex Shi
于 9/7/14, 4:47, Abel Vesa 写道: For a while now, I've started studying the power aware scheduling problem. And like many other rookies out there I took all the lkml mails related and read them all (well, almost all) and I saw that there are some debating on the implementation.I even look over the

Re: [PATCH] regulator: as3711: Remove unused fields from as3711_regulator_info and as3711_regulator

2014-09-07 Thread Mark Brown
On Sun, Sep 07, 2014 at 06:34:51PM +0800, Axel Lin wrote: The max_uV is not used, so remove it from struct as3711_regulator_info. Current code is using devm_regulator_register(), so we don't need to store *rdev in struct as3711_regulator for clean up. Also clean up AS3711_REG macro to

Re: [PATCH] regulator: bcm590xx: Remove unused **info field from struct bcm590xx_reg

2014-09-07 Thread Mark Brown
On Sun, Sep 07, 2014 at 06:38:49PM +0800, Axel Lin wrote: Signed-off-by: Axel Lin axel@ingics.com Applied, thanks. signature.asc Description: Digital signature

[PATCH] regulator: tps65217: Remove unused driver_data from of_match table

2014-09-07 Thread Mark Brown
From: Mark Brown broo...@linaro.org We don't ever reference the driver_data we supply so remove it. Signed-off-by: Mark Brown broo...@linaro.org --- drivers/regulator/tps65217-regulator.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git

Re: [PATCH] ext4: Fixed styling issues

2014-09-07 Thread Christoph Hellwig
On Sun, Sep 07, 2014 at 03:16:22PM +0200, Richard Weinberger wrote: On Sun, Sep 7, 2014 at 2:45 PM, Daniel Bomar dbdanie...@gmail.com wrote: Fixed styling issues as reported by scripts/checkpatch.pl Signed-off-by: Daniel Bomar dbdanie...@gmail.com Please don't run checkpatch.pl on

[PATCH 6/7] staging: lustre: obdclass: expand the GOTO macro + break

2014-09-07 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // smpl @@ identifier lbl,rc,f; constant c; @@ - GOTO(lbl,\(rc\|rc-f\|c\)); - break; + goto lbl; @@ identifier lbl; expression rc; @@ - GOTO(lbl,rc); - break; + rc; +

[PATCH 2/7] staging: lustre: libcfs: expand the GOTO macro

2014-09-07 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // smpl @@ identifier lbl; identifier rc; constant c; @@ - GOTO(lbl,\(rc\|c\)); + goto lbl; @@ identifier lbl; expression rc; @@ - GOTO(lbl,rc); + rc; + goto lbl; //

Re: bit fields data tearing

2014-09-07 Thread Paul E. McKenney
On Sat, Sep 06, 2014 at 10:07:22PM -0700, James Bottomley wrote: On Thu, 2014-09-04 at 21:06 -0700, Paul E. McKenney wrote: On Thu, Sep 04, 2014 at 10:47:24PM -0400, Peter Hurley wrote: Hi James, On 09/04/2014 10:11 PM, James Bottomley wrote: On Thu, 2014-09-04 at 17:17 -0700,

[PATCH 1/7] staging: lustre: ptlrpc: expand the GOTO macro

2014-09-07 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // smpl @@ identifier lbl; identifier rc; constant c; @@ - GOTO(lbl,\(rc\|c\)); + goto lbl; @@ identifier lbl; expression rc; @@ - GOTO(lbl,rc); + rc; + goto lbl; //

[PATCH 4/7] staging: lustre: lvfs: expand the GOTO macro

2014-09-07 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // smpl @@ identifier lbl; identifier rc; constant c; @@ - GOTO(lbl,\(rc\|c\)); + goto lbl; @@ identifier lbl; expression rc; @@ - GOTO(lbl,rc); + rc; + goto lbl; //

[PATCH 7/7] staging: lustre: obdclass: expand the GOTO macro

2014-09-07 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // smpl @@ identifier lbl; identifier rc; constant c; @@ - GOTO(lbl,\(rc\|c\)); + goto lbl; @@ identifier lbl; expression rc; @@ - GOTO(lbl,rc); + rc; + goto lbl; //

[PATCH 5/7] staging: lustre: obdclass: expand double GOTO macros

2014-09-07 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // smpl @@ identifier lbl; @@ if (...) GOTO(lbl,...); +else GOTO(lbl,...); @@ identifier lbl; expression e,e1,e2; @@ if (e) - GOTO(lbl,e1); -else GOTO(lbl,e2); +

[PATCH 3/7] staging: lustre: lov: expand the GOTO macro

2014-09-07 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // smpl @@ identifier lbl; identifier rc; constant c; @@ - GOTO(lbl,\(rc\|c\)); + goto lbl; @@ identifier lbl; expression rc; @@ - GOTO(lbl,rc); + rc; + goto lbl; //

Re: [PATCH 4/5] x86, mm: Add set_memory_wt() for WT

2014-09-07 Thread Andy Lutomirski
On Sun, Sep 7, 2014 at 1:49 AM, Yigal Korman yi...@plexistor.com wrote: I think that what confused Andy (or at least me) is the documentation in Documentation/x86/pat.txt If it's possible, can you please update pat.txt as part of the patch? Indeed. That file seems to indicate several times

.contact me

2014-09-07 Thread Harley Wang
I wait for confirmation to transfer US$21.4M to you __ Information from ESET Mail Security, version of virus signature database 10226 (20140808) __ The message was checked by ESET Mail Security. http://www.eset.com -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH tip/core/rcu 0/11] Torture-test changes for 3.18

2014-09-07 Thread Pranith Kumar
On Thu, Aug 28, 2014 at 3:12 PM, Paul E. McKenney paul...@linux.vnet.ibm.com wrote: Hello! This series contains torture-test updates: 1. Fix sparse warning by making boost_mutex static, courtesy of Pranith Kumar. 2. Use bash shell for all torture test scripts, courtesy of

Re: [PATCH tip/core/rcu 1/3] memory-barriers: Fix control-ordering no-transitivity example

2014-09-07 Thread Pranith Kumar
On Thu, Aug 28, 2014 at 2:12 PM, Paul E. McKenney paul...@linux.vnet.ibm.com wrote: From: Paul E. McKenney paul...@linux.vnet.ibm.com The control-ordering example demonstrating lack of transitivity had multiple problems. This commit fixes them. Reported-by: Nikolay Samofatov

Re: [PATCH v2] Add support for always enabled watchdog timers to gpio_wdt driver

2014-09-07 Thread Guenter Roeck
On 09/06/2014 09:47 AM, Evgeny Boger wrote: From: Evgeny Boger bo...@contactless.ru Add option to use with watchdog timers which are always enabled in hardware, i.e. there is no way to enable/disable it via GPIO pin. The driver will start pinging WDT immediately upon loading and will continue

[git pull] several fixes

2014-09-07 Thread Al Viro
Several bugfixes (all of them -stable fodder). Alexey's one deals with double mutex_lock() in UFS (apparently, nobody has tried to test ufs: sb mutex merge + mutex_destroy on something like file creation/removal on ufs - it's a 100%-guaranteed deadlock). Mine deal with two kinds of umount bugs,

[GIT PULL] RCU fix

2014-09-07 Thread Ingo Molnar
Linus, Please pull the latest core-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core-urgent-for-linus # HEAD: 651bc1a474ad5f3a94587117cf509d7fa9247f69 Merge branch 'rcu/urgent' of

Re: [PATCH] perf/x86/intel: Mark initialization code as such

2014-09-07 Thread Mathias Krause
On 26 August 2014 18:49, Mathias Krause mini...@googlemail.com wrote: A few of the initialization functions are missing the __init annotation. Fix this and thereby allow ~680 additional bytes of code to be released after initialization. Signed-off-by: Mathias Krause mini...@googlemail.com

3.16.2: 2TiB Seagate Expansion Desk apparently still broken with both USB mass storage *and* UAS: some debugging output

2014-09-07 Thread Nix
I have a brand new Seagate Expansion Desk drive attached to my x86-64 desktop. (I also have a 4TiB model of the same drive, but I haven't even unboxed it: there seems little point as long as the 2TiB version doesn't work.) I am seeing apparently the same problem as Alexandre Oliva reported in

[PATCH] dmaengine: qcom_bam_dma: add one more optional clock

2014-09-07 Thread Stanimir Varbanov
The BAM is tightly coupled with the peripheral to which it belongs. In that sprit to access the BAM configuration registers the driver needs to enable some peripheral clocks. Currently the DT node enables bamclk which seems is not enough for some peripherals (for example the crypto engine wants

Re: [PATCH 1/4] Documentation: use subdir-y to avoid unnecessary built-in.o files

2014-09-07 Thread Randy Dunlap
On 09/05/14 17:07, Randy Dunlap wrote: On 09/04/14 03:42, Mark Brown wrote: On Wed, Sep 03, 2014 at 04:38:55PM -0700, Randy Dunlap wrote: Hm, it could be a problem with the Index line. I'll disable that option in quilt and see if that helps for the next time. Still seems to be happening

[PATCH v2 0/4] Extending the first version of the patch to the entire directory

2014-09-07 Thread Quentin Lambert
Patch 1 and 2 are straight forward extension from the previous version of the patch. Patch 3 introduces checkpatch warning due to lines surpassing 80 characters. Another warning concerning too many preceding tabs is not fixed either. Patch 4 are less straight forward similar modifications the

[PATCH v2 1/4] PCI: fix a missing space coding style issue

2014-09-07 Thread Quentin Lambert
Modified the files in the directory so that they respect the coding style with regards to parenthesis being preceded by a space. Signed-off-by: Quentin Lambert lambert.quen...@gmail.com --- drivers/pci/hotplug/acpiphp_ibm.c| 2 +- drivers/pci/hotplug/cpcihp_generic.c | 28

[PATCH v2 2/4] PCI: fix a simple if coding style issue

2014-09-07 Thread Quentin Lambert
Removing curly braces in simple if cases. Signed-off-by: Quentin Lambert lambert.quen...@gmail.com --- drivers/pci/hotplug/cpci_hotplug_core.c | 4 ++-- drivers/pci/hotplug/cpcihp_zt5550.c | 11 +-- drivers/pci/hotplug/cpqphp_core.c | 3 +-- drivers/pci/hotplug/cpqphp_ctrl.c

[PATCH v2 3/4] PCI: remove assignement from if conditions

2014-09-07 Thread Quentin Lambert
The following Coccinelle semantic patch was used to find and correct cases of assignements in if conditions: @@ expression var, expr; statement S; @@ + var = expr; if( - (var = expr) + var ) S Signed-off-by: Quentin Lambert lambert.quen...@gmail.com --- drivers/pci/hotplug/acpi_pcihp.c

[PATCH v2 4/4] PCI: remove assignement in non straight forward if condition

2014-09-07 Thread Quentin Lambert
The modifications effectively change the value of len_tmp in the case where the first condition is not met. Signed-off-by: Quentin Lambert lambert.quen...@gmail.com --- drivers/pci/hotplug/ibmphp_res.c | 13 + drivers/pci/pci.c| 6 +- drivers/pci/slot.c

Re: [PATCH v10 net-next 2/2] net: filter: split filter.h and expose eBPF to user space

2014-09-07 Thread Pablo Neira Ayuso
On Sat, Sep 06, 2014 at 09:04:23AM -0700, Alexei Starovoitov wrote: On Sat, Sep 6, 2014 at 7:10 AM, Pablo Neira Ayuso pa...@netfilter.org wrote: On Thu, Sep 04, 2014 at 10:17:18PM -0700, Alexei Starovoitov wrote: allow user space to generate eBPF programs uapi/linux/bpf.h: eBPF

[PATCH 1/4] staging: ozwpan: fix missing blank line after declaration

2014-09-07 Thread anicoara
Signed-off-by: Adrian Nicoara anico...@uwaterloo.ca --- Patch submitted as part of the Eudyptula challenge. drivers/staging/ozwpan/ozcdev.c| 5 + drivers/staging/ozwpan/ozeltbuf.c | 1 + drivers/staging/ozwpan/ozpd.c | 6 ++ drivers/staging/ozwpan/ozproto.c | 4

[PATCH 2/4] staging: ozwpan: fix redundant else after break or return

2014-09-07 Thread anicoara
Signed-off-by: Adrian Nicoara anico...@uwaterloo.ca --- Patch submitted as part of the Eudyptula challenge. drivers/staging/ozwpan/ozhcd.c | 8 +++- drivers/staging/ozwpan/ozpd.c | 10 -- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/drivers/staging/ozwpan/ozhcd.c

[PATCH 3/4] staging: ozwpan: fix redundant return in void function

2014-09-07 Thread anicoara
Signed-off-by: Adrian Nicoara anico...@uwaterloo.ca --- Patch submitted as part of the Eudyptula challenge. drivers/staging/ozwpan/ozproto.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/ozwpan/ozproto.c b/drivers/staging/ozwpan/ozproto.c index cae0e6f..3d3a3a8 100644 ---

[PATCH 4/4] staging: ozwpan: use kmalloc_array over kmalloc with multiply

2014-09-07 Thread anicoara
Signed-off-by: Adrian Nicoara anico...@uwaterloo.ca --- Patch submitted as part of the Eudyptula challenge. drivers/staging/ozwpan/ozhcd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/ozwpan/ozhcd.c b/drivers/staging/ozwpan/ozhcd.c index ba2168f..4cfe56e

[PATCH] x86-64, ptdump: Mark espfix area only if existent

2014-09-07 Thread Mathias Krause
We should classify the espfix area as such only if we actually have enabled the corresponding option. Otherwise the page table dump might look confusing. Signed-off-by: Mathias Krause mini...@googlemail.com Cc: Arjan van de Ven arjan.van.de@intel.com Cc: H. Peter Anvin h...@zytor.com ---

Re: [PATCH] virtio_blk: merge S/G list entries by default

2014-09-07 Thread Christoph Hellwig
On Sun, Sep 07, 2014 at 02:41:53PM +0300, Michael S. Tsirkin wrote: Signed-off-by: Christoph Hellwig h...@lst.de OK so this is an optimization patch right? What kind of performance gain is observed with it? None. I actually wrote it when the block layer had a bug when dm was used on top of

Re: [PATCH 1/4] Documentation: use subdir-y to avoid unnecessary built-in.o files

2014-09-07 Thread Mark Brown
On Sun, Sep 07, 2014 at 10:59:53AM -0700, Randy Dunlap wrote: The quilt-import.log from 20140829 says: $ git am --patch-format=mbox ../quilt/rd-docs/001-docum-use-subdiry-avoid-builtin.patch and in the 20140905 git tree it says: $ git am

Re: [PATCH 0/6] blk-mq: initialize pdu of flush req explicitly

2014-09-07 Thread Christoph Hellwig
This works fine for me, although I still don't really like it very much. If you really want to go down the path of major surgery in this area we should probably allocate a flush request per hw_ctx, and initialize it using the normal init/exit functions. If we want to have proper multiqueue

Re: [PATCH 5/6] scsi-lib: implement init_flush_rq and its pair

2014-09-07 Thread Christoph Hellwig
+static int __scsi_init_request(struct request *rq, int numa_node) Nitpick: Please use a sane name here, e.g. scsi_mq_alloc/free_sense_buffer. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH 4/6] virtio-blk: implement init_flush_rq

2014-09-07 Thread Christoph Hellwig
A couple comments not directly related to this patch, it's just a convenient vehicle for my rants :) @@ -556,6 +555,19 @@ static int virtblk_init_request(void *data, struct request *rq, struct virtio_blk *vblk = data; struct virtblk_req *vbr = blk_mq_rq_to_pdu(rq); +

Re: [PATCH 0/3] Yet another stab at a fpga framework

2014-09-07 Thread Pavel Machek
Hi! [resend with fixed email settings] The idea of the framework is to provide consistent ways of programming raw images into FPGA's. Programming from device tree overlays is supported. The core (fpga-mgr.c) does not include a userspace interface and just exports kernel functions.

[PATCH v2 1/3] PCI/MSI/PPC: Remove arch_msi_check_device()

2014-09-07 Thread Alexander Gordeev
Moving MSI checks from arch_msi_check_device() function to arch_setup_msi_irqs() function makes code more compact and allows removing unnecessary hook arch_msi_check_device() from generic MSI code. Cc: linuxppc-...@lists.ozlabs.org Cc: linux-...@vger.kernel.org Cc: Michael Ellerman

[PATCH v2 2/3] PCI/MSI/Armada-370-xp: Remove arch_msi_check_device()

2014-09-07 Thread Alexander Gordeev
Moving MSI checks from arch_msi_check_device() function to arch_setup_msi_irqs() function makes code more compact and allows removing unnecessary hook arch_msi_check_device() from generic MSI code. Cc: Thomas Gleixner t...@linutronix.de Cc: Jason Cooper ja...@lakedaemon.net Cc:

[PATCH v2 3/3] PCI/MSI: Remove arch_msi_check_device()

2014-09-07 Thread Alexander Gordeev
There are no archs that override arch_msi_check_device() hook. Remove it as it is completely redundant. If an arch would need to check MSI/MSI-X possibility for a device it should make it within arch_setup_msi_irqs() hook. Cc: Michael Ellerman m...@ellerman.id.au Cc:

[PATCH v2 0/3] PCI/MSI: Remove arch_msi_check_device()

2014-09-07 Thread Alexander Gordeev
Hello, This is a cleanup effort to get rid of arch_msi_check_device() function. I am sending v2 series, since kbuild for v1 reports compile errors on ppc4xx and Armada 370. Still, I have not checked the fixes on these platforms. Changes since v1: - patch 1: 'pdev' undeclared compile error

Re: bit fields data tearing

2014-09-07 Thread James Bottomley
On Sun, 2014-09-07 at 09:21 -0700, Paul E. McKenney wrote: On Sat, Sep 06, 2014 at 10:07:22PM -0700, James Bottomley wrote: On Thu, 2014-09-04 at 21:06 -0700, Paul E. McKenney wrote: On Thu, Sep 04, 2014 at 10:47:24PM -0400, Peter Hurley wrote: Hi James, On 09/04/2014 10:11 PM,

Re: [PATCH 0/2] PCI/MSI: Remove arch_msi_check_device()

2014-09-07 Thread Alexander Gordeev
On Fri, Sep 05, 2014 at 03:27:49PM -0600, Bjorn Helgaas wrote: I applied these (with Michael's ack on the first, and v2 of the second) to pci/msi for v3.18, thanks! Hi Bjorn, I resent a series with updates that fix kbuild robot errors. Hopefully, the rebase for pci/msi would not cause

f2fs get_dnode_of_data oops

2014-09-07 Thread Tommi Rantala
Hello, Hit this oops while fuzzing v3.17-rc3-176-g2b12164 with Trinity. Tommi BUG: unable to handle kernel paging request at 8804338717a8 IP: [81779039] get_dnode_of_data+0x3a9/0x440 PGD 4594067 PUD 0 Oops: [#1] SMP DEBUG_PAGEALLOC CPU: 0 PID: 4719 Comm: trinity-c3 Not tainted

Re: f2fs get_dnode_of_data oops

2014-09-07 Thread Tommi Rantala
2014-09-07 22:14 GMT+03:00 Tommi Rantala tt.rant...@gmail.com: Hello, Hit this oops while fuzzing v3.17-rc3-176-g2b12164 with Trinity. Tommi BUG: unable to handle kernel paging request at 8804338717a8 IP: [81779039] get_dnode_of_data+0x3a9/0x440 PGD 4594067 PUD 0 Oops:

Re: ARM kirkwood: 1 Gb memory 25% unusable due to vmalloc region overlap

2014-09-07 Thread jurriaan
From: Russell King - ARM Linux li...@arm.linux.org.uk Date: Sat, Sep 06, 2014 at 07:29:16PM +0100 On Sat, Sep 06, 2014 at 07:32:07PM +0200, Jurriaan wrote: I updated my Qnap TS-212 with 256 Mb memory to a new TS-221 with 1 Gb memory. On booting, I see that a large chunk of that new

Re: 3.16.2: 2TiB Seagate Expansion Desk apparently still broken with both USB mass storage *and* UAS: some debugging output

2014-09-07 Thread Alan Stern
On Sun, 7 Sep 2014, Nix wrote: I have a brand new Seagate Expansion Desk drive attached to my x86-64 desktop. (I also have a 4TiB model of the same drive, but I haven't even unboxed it: there seems little point as long as the 2TiB version doesn't work.) I am seeing apparently the same problem

[PATCH RESEND] x86: Reject x32 executables if x32 ABI not supported

2014-09-07 Thread Ben Hutchings
It is currently possible to execve() an x32 executable on an x86_64 kernel that has only ia32 compat enabled. However all its syscalls will fail, even _exit(). This usually causes it to segfault. Change the ELF compat architecture check so that x32 executables are rejected if we don't support

Re: [PATCH v10 net-next 2/2] net: filter: split filter.h and expose eBPF to user space

2014-09-07 Thread Alexei Starovoitov
On Sun, Sep 7, 2014 at 11:07 AM, Pablo Neira Ayuso pa...@netfilter.org wrote: If the patches that provide the very first user interface don't get in time to this merge window round for whatever reason, we'll have the layout of this exposed to userspace in the next kernel version with no

Re: [PATCH v2] perf tools: Fix build-id matching on vmlinux

2014-09-07 Thread Stephane Eranian
On Fri, Sep 5, 2014 at 5:44 PM, Arnaldo Carvalho de Melo a...@kernel.org wrote: Em Sat, Sep 06, 2014 at 12:16:40AM +0900, Namhyung Kim escreveu: Hi Adrian and Arnaldo, 2014-09-05 (금), 11:11 -0300, Arnaldo Carvalho de Melo: Em Fri, Sep 05, 2014 at 10:22:40AM +0300, Adrian Hunter escreveu:

Re: bit fields data tearing

2014-09-07 Thread Peter Hurley
On 09/07/2014 03:04 PM, James Bottomley wrote: On Sun, 2014-09-07 at 09:21 -0700, Paul E. McKenney wrote: On Sat, Sep 06, 2014 at 10:07:22PM -0700, James Bottomley wrote: On Thu, 2014-09-04 at 21:06 -0700, Paul E. McKenney wrote: On Thu, Sep 04, 2014 at 10:47:24PM -0400, Peter Hurley wrote:

[PATCH] rtc: pcf8563: fix uninitialized use warning

2014-09-07 Thread Arnd Bergmann
gcc-4.9 found a potential condition under which the 'pending' variable may be used uninitialized: drivers/rtc/rtc-pcf8563.c: In function 'pcf8563_irq': drivers/rtc/rtc-pcf8563.c:173:5: warning: 'pending' may be used uninitialized in this function [-Wmaybe-uninitialized] This is because in the

Re: [PATCH 1/4] Documentation: use subdir-y to avoid unnecessary built-in.o files

2014-09-07 Thread Randy Dunlap
On 09/07/14 11:48, Mark Brown wrote: On Sun, Sep 07, 2014 at 10:59:53AM -0700, Randy Dunlap wrote: The quilt-import.log from 20140829 says: $ git am --patch-format=mbox ../quilt/rd-docs/001-docum-use-subdiry-avoid-builtin.patch and in the 20140905 git tree it says: $ git am

  1   2   3   4   >