Re: [tip:timers/nohz] nohz: Move full nohz kick to its own IPI

2014-05-10 Thread Ingo Molnar
* Frederic Weisbecker wrote: > On Wed, May 07, 2014 at 09:07:14PM +0200, Ingo Molnar wrote: > > > > * Peter Zijlstra wrote: > > > > > On Wed, May 07, 2014 at 06:05:08PM +0200, Frederic Weisbecker wrote: > > > > So we can as well zap these commits and replace them with the > > > >

Re: [GIT PULL] liblockdep fixes for v3.15

2014-05-10 Thread Ingo Molnar
* Sasha Levin wrote: > The following changes since commit d1db0eea852497762cab43b905b879dfcd3b8987: > > Linux 3.15-rc3 (2014-04-27 19:29:27 -0700) > > are available in the git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux.git > liblockdep-fixes-3.15 > >

Re: [PATCH 14/14] cgroup: implement css_tryget()

2014-05-10 Thread Johannes Weiner
On Fri, May 09, 2014 at 05:31:31PM -0400, Tejun Heo wrote: > Implement css_tryget() which tries to grab a cgroup_subsys_state's > reference as long as it already hasn't reached zero. Combined with > the recent css iterator changes to include offline && !released csses > during traversal, this can

Re: [PATCH v2 2/4] dt-bindings: add mtk-timer bindings

2014-05-10 Thread Maxime Ripard
On Sun, May 11, 2014 at 03:41:01AM +0200, Matthias Brugger wrote: > Add binding documentation for the General Porpose Timer driver of > the Mediatek SoCs. > > Signed-off-by: Matthias Brugger > --- > .../devicetree/bindings/timer/mediatek,mtk-timer.txt| 17 > + > 1 file

Re: [PATCH v2 1/4] clocksource: Add support for the Mediatek SoCs

2014-05-10 Thread Maxime Ripard
On Sun, May 11, 2014 at 03:41:00AM +0200, Matthias Brugger wrote: > This patch adds a clock source and clock event for the timer found > on the Mediatek SoCs. > > The Mediatek General Porpose Timer block provides five 32 bit timers and > one 64 bit timer. > > Two 32 bit timers are used: >

[PATCH] lib/crc7: Shift crc7() output left 1 bit

2014-05-10 Thread George Spelvin
This eliminates a 1-bit left shift in every single caller, and also makes the inner loop of the CRC computation more efficient. And purged #include from files that don't use it at all. Signed-off-by: George Spelvin --- Since all of the affected drivers are officially orphaned, this is being

Re: [PATCH v3 2/3] ARM: sunxi: drop CONFIG_COMMON_CLK_DEBUG

2014-05-10 Thread Maxime Ripard
On Fri, May 09, 2014 at 12:27:48PM +0530, Lad, Prabhakar wrote: > From: "Lad, Prabhakar" > > this patch drops CONFIG_COMMON_CLK_DEBUG option > as this config option is now obsolete. > > CC: Maxime Ripard > CC: Olof Johansson > Signed-off-by: Lad, Prabhakar Applied, thanks! Maxime --

Re: [PATCH 01/14] cgroup: remove css_parent()

2014-05-10 Thread David Miller
From: Tejun Heo Date: Fri, 9 May 2014 17:31:18 -0400 > cgroup in general is moving towards using cgroup_subsys_state as the > fundamental structural component and css_parent() was introduced to > convert from using cgroup->parent to css->parent. It was quite some > time ago and we're moving

[PATCH v2 3/4] arm: add basic support for Mediatek MT6589 boards

2014-05-10 Thread Matthias Brugger
This adds a generic devicetree board file and a dtsi for boards based on the MT6589 SoCs from Mediatek. Apart from the generic parts (gic, clocks) the only component currently supported are the timers. Signed-off-by: Matthias Brugger --- .../devicetree/bindings/arm/mediatek-mt65xx.txt| 8

[PATCH v2 4/4] arm: mediatek: add dts for Aquaris5 mobile phone

2014-05-10 Thread Matthias Brugger
The Aquaris5 is a mobile phone based on the mt6589 SoC. Signed-off-by: Matthias Brugger --- arch/arm/boot/dts/mt6589-aquaris5.dts | 25 + 1 file changed, 25 insertions(+) create mode 100644 arch/arm/boot/dts/mt6589-aquaris5.dts diff --git

[PATCH v2 2/4] dt-bindings: add mtk-timer bindings

2014-05-10 Thread Matthias Brugger
Add binding documentation for the General Porpose Timer driver of the Mediatek SoCs. Signed-off-by: Matthias Brugger --- .../devicetree/bindings/timer/mediatek,mtk-timer.txt| 17 + 1 file changed, 17 insertions(+) create mode 100644

[PATCH v2 0/4] arm: Add basic support for Mediatek Cortex-A7 SoCs

2014-05-10 Thread Matthias Brugger
Second round for the basic support of the mt6589 SoC from Mediatek. I droped the patch which introduced low-level-debug for the Soc, because of the missing serial device driver. This would prohibit the use of a multi- platform kernel with this series. I will re-submit the patch for low-level-

[PATCH v2 1/4] clocksource: Add support for the Mediatek SoCs

2014-05-10 Thread Matthias Brugger
This patch adds a clock source and clock event for the timer found on the Mediatek SoCs. The Mediatek General Porpose Timer block provides five 32 bit timers and one 64 bit timer. Two 32 bit timers are used: TIMER1: clock events supporting periodic and oneshot events TIMER2: clock source

Re: vmstat: On demand vmstat workers V4

2014-05-10 Thread Paul E. McKenney
On Sun, May 11, 2014 at 03:30:31AM +0200, Frederic Weisbecker wrote: > On Sat, May 10, 2014 at 06:17:08PM -0700, Paul E. McKenney wrote: > > On Sat, May 10, 2014 at 03:14:25PM +0200, Frederic Weisbecker wrote: > > > On Sat, May 10, 2014 at 02:31:28PM +0200, Thomas Gleixner wrote: > > > > On Sat,

Re: vmstat: On demand vmstat workers V4

2014-05-10 Thread Frederic Weisbecker
On Sat, May 10, 2014 at 06:17:08PM -0700, Paul E. McKenney wrote: > On Sat, May 10, 2014 at 03:14:25PM +0200, Frederic Weisbecker wrote: > > On Sat, May 10, 2014 at 02:31:28PM +0200, Thomas Gleixner wrote: > > > On Sat, 10 May 2014, Frederic Weisbecker wrote: > > > > But I still have the plan to

Re: vmstat: On demand vmstat workers V4

2014-05-10 Thread Paul E. McKenney
On Sat, May 10, 2014 at 03:14:25PM +0200, Frederic Weisbecker wrote: > On Sat, May 10, 2014 at 02:31:28PM +0200, Thomas Gleixner wrote: > > On Sat, 10 May 2014, Frederic Weisbecker wrote: > > > But I still have the plan to make the timekeeper use the full sysidle > > > facility in order to

Re: vmstat: On demand vmstat workers V4

2014-05-10 Thread Paul E. McKenney
On Sat, May 10, 2014 at 02:34:49AM +0200, Frederic Weisbecker wrote: [ . . . ] > So the "only" damage is on bad directions given to Christoph. But you know > how I use GPS... Well, my redundant ACCESS_ONCE() around tick_do_timer_cpu was also quite misleading... :-/

Re: [PATCH 0/5] blk-mq: bitmap tag: fix and cleanup

2014-05-10 Thread Ming Lei
On Sun, May 11, 2014 at 3:39 AM, Jens Axboe wrote: > On 05/10/2014 11:01 AM, Ming Lei wrote: >> Hi Jens and guys, >> >> I just take a look at the new bitmap based tag allocation patches >> in -next tree, and play it for a while. >> >> Some of them are fixes, and some of them are cleanup, please

Re: vmstat: On demand vmstat workers V4

2014-05-10 Thread Paul E. McKenney
On Sat, May 10, 2014 at 02:20:36PM +0200, Thomas Gleixner wrote: > On Fri, 9 May 2014, Paul E. McKenney wrote: > > > On Sat, May 10, 2014 at 12:57:15AM +0200, Thomas Gleixner wrote: > > > On Fri, 9 May 2014, Christoph Lameter wrote: > > > > On Fri, 9 May 2014, Thomas Gleixner wrote: > > > > > I

Re: mm: hangs in collapse_huge_page

2014-05-10 Thread Sasha Levin
On 04/30/2014 11:42 AM, Kirill A. Shutemov wrote: > On Tue, Apr 15, 2014 at 10:06:56PM -0400, Sasha Levin wrote: >> > Hi all, >> > >> > I often see hung task triggering in khugepaged within collapse_huge_page(). >> > >> > I've initially assumed the case may be that the guests are too loaded and

Re: [patch v2] Documentation/email-clients.txt: add a section about git

2014-05-10 Thread Randy Dunlap
On 05/08/2014 01:44 AM, Dan Carpenter wrote: > These days most people use git to send patches so I have added a section > about that. > > Signed-off-by: Dan Carpenter > --- > v2: Fixed changelog > > diff --git a/Documentation/email-clients.txt b/Documentation/email-clients.txt > index

[PATCH] [resend] net: get rid of SET_ETHTOOL_OPS

2014-05-10 Thread Wilfried Klaebe
net: get rid of SET_ETHTOOL_OPS Dave Miller mentioned he'd like to see SET_ETHTOOL_OPS gone. This does that. Mostly done via coccinelle script: @@ struct ethtool_ops *ops; struct net_device *dev; @@ - SET_ETHTOOL_OPS(dev, ops); + dev->ethtool_ops = ops; Compile tested only, but I'd

oprofile: calling debug_smp_processor_id from preemptible code

2014-05-10 Thread Sasha Levin
Hi all, While fuzzing with trinity inside a KVM tools guest running the latest -next kernel I've stumbled on the following spew: [ 358.852124] BUG: using smp_processor_id() in preemptible [] code: kworker/24:1/6824 [ 358.858753] caller is debug_smp_processor_id+0x17/0x20 [

perf: invalid memory access in perf_swevent_del

2014-05-10 Thread Sasha Levin
Hi all, While fuzzing with trinity inside a KVM tools guest running the latest -next kernel I've stumbled on the following spew: [ 6795.260300] BUG: unable to handle kernel paging request at 88002e36b5b8 [ 6795.261530] IP: perf_swevent_del (include/linux/list.h:617

Re: NULL pointer dereference in netfilter

2014-05-10 Thread Mihai Moldovan
Actually, may I be seeing just another incarnation of http://www.spinics.net/lists/netfilter-devel/msg31134.html? If so, applying https://lkml.org/lkml/2014/3/27/294 seems appropriate. Could anybody please confirm this? Mihai smime.p7s Description: S/MIME Cryptographic Signature

NULL pointer dereference in netfilter

2014-05-10 Thread Mihai Moldovan
Hi earlier today, I experienced a kernel panic due to a NULL pointer dereference somewhere in the netfilter subsystem. Full kernel output (may contain typos): [360412.114033] BUG: unable to handle kernel NULL pointer dereference at 0010 [360412.115643] IP: []

[PATCH v2] arm64: Support arch_irq_work_raise() via self IPIs

2014-05-10 Thread Larry Bassel
Support for arch_irq_work_raise() was missing from arm64 (a prerequisite for FULL_NOHZ). This patch is based on the arm32 patches ARM 7872/1 and 7887/1 which port cleanly. commit bf18525fd793101df42a1344ecc48b49b62e48c9 Author: Stephen Boyd Date: Tue Oct 29 20:32:56 2013 +0100 ARM:

[no subject]

2014-05-10 Thread Kerim Gueney
>From fcea4cf1bfac7cd2ae6398bbc15a7d543b238bb1 Mon Sep 17 00:00:00 2001 From: Kerim Gueney Date: Sat, 10 May 2014 23:02:24 +0200 Subject: [PATCH] firmware: Coding style issue Janitorial cleanup of 11 or so (coding style) errors --- firmware/ihex2fw.c | 38 +-

Re: [PATCH] arm64: Support arch_irq_work_raise() via self IPIs

2014-05-10 Thread Larry Bassel
On 09 May 14 16:57, Catalin Marinas wrote: > On Mon, May 05, 2014 at 09:48:27PM +0100, Larry Bassel wrote: > > Support for arch_irq_work_raise() was missing from > > arm64 (a prerequisite for FULL_NOHZ). > > > > This patch is based on the arm32 patch ARM 7872/1 > > which ports cleanly. > [...] >

Re: [PATCH 6/5] watchdog: Document reboot API

2014-05-10 Thread Randy Dunlap
On 05/10/2014 09:23 AM, Guenter Roeck wrote: > Document the new reboot API functionality. > > Signed-off-by: Guenter Roeck > --- > Documentation/watchdog/watchdog-kernel-api.txt | 14 ++ > 1 file changed, 14 insertions(+) > > diff --git

Re: [PATCH 3/3] mm: rename mlocked_vma_newpage to newpage_in_mlocked_vma

2014-05-10 Thread Hugh Dickins
On Sat, 10 May 2014, Jianyu Zhan wrote: > mlocked_vma_newpage is used to determine if a new page is mapped into > a *mlocked* vma. It is poorly named, so rename it to newpage_in_mlocked_vma. > > Signed-off-by: Jianyu Zhan newpage_in_mlocked_vma() is not as bad a name as mlocked_vma_newpage(),

Re: [PATCH 2/3] mm: use a light-weight __mod_zone_page_state in mlocked_vma_newpage()

2014-05-10 Thread Hugh Dickins
On Sat, 10 May 2014, Jianyu Zhan wrote: > mlocked_vma_newpage() is only called in fault path by > page_add_new_anon_rmap(), which is called on a *new* page. > And such page is initially only visible via the pagetables, and the > pte is locked while calling page_add_new_anon_rmap(), so we need not

[PATCH v2 2/5] drivers: staging: ft1000: Fix IOCTL_FT1000_* marcos

2014-05-10 Thread Artem Fetishev
Fixes include: - Add closing brackets; - Remove sizeof (_IOR and _IOW macro can accept types); - Replace _IOW which size of 0 (the last arg) with _IO. - Actually these macros are not used anywhere and might be removed. Signed-off-by: Artem Fetishev ---

[PATCH v2 3/5] drivers: staging: ft1000: Use pr_info instead of printk

2014-05-10 Thread Artem Fetishev
Improve coding style by fixing this checkstyle warning: WARNING: Prefer [subsystem eg: netdev]_info([subsystem]dev, ... then dev_info(dev, ... then pr_info(... to printk(KERN_INFO ... Signed-off-by: Artem Fetishev --- drivers/staging/ft1000/ft1000-usb/ft1000_usb.h |2 +- 1 file changed,

[PATCH v2 4/5] drivers: staging: ft1000: Remove typedefs

2014-05-10 Thread Artem Fetishev
Remove typedefs according to the "Chapter 5: Typedefs" from Documentation/CodingStyle. Signed-off-by: Artem Fetishev --- drivers/staging/ft1000/ft1000-usb/ft1000_debug.c | 10 +- drivers/staging/ft1000/ft1000-usb/ft1000_ioctl.h | 18 +- 2 files changed, 14

[PATCH v2 1/5] drivers: staging: ft1000: Fix indentation

2014-05-10 Thread Artem Fetishev
Indentation fixes in header files. Actually only in ft1000-usb/ft1000_ioctl.h. Other headers look good. Signed-off-by: Artem Fetishev --- drivers/staging/ft1000/ft1000-usb/ft1000_ioctl.h | 92 +++--- 1 file changed, 46 insertions(+), 46 deletions(-) diff --git

[PATCH v2 0/5] drivers: staging: ft1000: Improve coding style

2014-05-10 Thread Artem Fetishev
Hey Joe, I've made the changes you requested. Each fix is now made in a separate patch. This patch set fixes the ft1000 header files only. The inclusion of one .c file (ft1000_debug.c) is caused by typedef removal. Patch set includes: - Indentation fixes; - Fixes of IOCTL_FT1000_* marcos;

[PATCH v2 5/5] drivers: staging: ft1000: Fix lines over 80 characters

2014-05-10 Thread Artem Fetishev
...plus some function arg indentation which I haven't noticed at first. Signed-off-by: Artem Fetishev --- drivers/staging/ft1000/ft1000-pcmcia/ft1000.h| 15 +--- drivers/staging/ft1000/ft1000-usb/ft1000_ioctl.h | 40 --

Re: [PATCH 1/3] mm: add comment for __mod_zone_page_stat

2014-05-10 Thread Hugh Dickins
On Sat, 10 May 2014, Jianyu Zhan wrote: > __mod_zone_page_stat() is not irq-safe, so it should be used carefully. > And it is not appropirately documented now. This patch adds comment for > it, and also documents for some of its call sites. > > Suggested-by: Andrew Morton > Signed-off-by:

Re: [PATCH 5/6] usb: host: ehci-tegra: Use devm_ioremap_resource instead of devm_ioremap

2014-05-10 Thread Sergei Shtylyov
Hello. On 05/10/2014 01:57 PM, Vivek Gautam wrote: Using devm_ioremap_resource() API should actually be preferred over devm_ioremap(), since the former request the mem region first and then gives back the ioremap'ed memory pointer. devm_ioremap_resource() calls request_mem_region(), therby

Re: [PATCH 0/5] blk-mq: bitmap tag: fix and cleanup

2014-05-10 Thread Jens Axboe
On 05/10/2014 11:01 AM, Ming Lei wrote: > Hi Jens and guys, > > I just take a look at the new bitmap based tag allocation patches > in -next tree, and play it for a while. > > Some of them are fixes, and some of them are cleanup, please > review. Thanks, applied 1-4, #5 I think you are looking

Re: [PATCH] drivers/char/mem.c: Add /dev/ioports, supporting 16-bit and 32-bit ports

2014-05-10 Thread Josh Triplett
On Sat, May 10, 2014 at 07:18:45PM +0200, Greg Kroah-Hartman wrote: > On Fri, May 09, 2014 at 12:19:16PM -0700, Josh Triplett wrote: > > @@ -827,6 +898,9 @@ static const struct memdev { > > #ifdef CONFIG_PRINTK > > [11] = { "kmsg", 0644, _fops, NULL }, > > #endif > > +#ifdef CONFIG_DEVPORT >

Re: [PATCH tip/core/rcu 32/45] torture: Better summary diagnostics for build failures

2014-05-10 Thread Josh Triplett
On Fri, May 09, 2014 at 05:48:38PM -0700, Paul E. McKenney wrote: > On Wed, May 07, 2014 at 03:11:39PM -0700, j...@joshtriplett.org wrote: > > On Mon, Apr 28, 2014 at 05:25:20PM -0700, Paul E. McKenney wrote: > > > From: "Paul E. McKenney" > > > > > > The reaction of kvm-recheck.sh is obscure at

Re: [PATCH] drivers/char/mem.c: Add /dev/ioports, supporting 16-bit and 32-bit ports

2014-05-10 Thread Josh Triplett
On Sat, May 10, 2014 at 09:07:42AM +0200, Jann Horn wrote: > On Fri, May 09, 2014 at 12:19:16PM -0700, Josh Triplett wrote: > > + if (port > 65535) > > + return 0; > > + switch (count) { > [...] > > + case 4: > > + if (__put_user(inl(port), buf) < 0) > > +

[PATCH] char: Introduce the use of the managed version of kzalloc

2014-05-10 Thread Himangi Saraogi
This patch moves data allocated using kzalloc to managed data allocated using devm_kzalloc and cleans now unnecessary kfrees in probe and remove functions. The NULL assignment to np->units is removed as there is no interaction between this field and sun4v_hvapi_unregister. Also, the labels

Re: [PATCH v10 08/19] qspinlock: Make a new qnode structure to support virtualization

2014-05-10 Thread Peter Zijlstra
On Sat, May 10, 2014 at 04:14:17PM +0200, Peter Zijlstra wrote: > On Fri, May 09, 2014 at 09:08:56PM -0400, Waiman Long wrote: > > On 05/08/2014 03:04 PM, Peter Zijlstra wrote: > > >On Wed, May 07, 2014 at 11:01:36AM -0400, Waiman Long wrote: > > >> /* > > >>+ * To have additional features for

Hello

2014-05-10 Thread jenjenlove
Hello how are you today hope fine and full of life i am Jen by name i come across your account profile and i like it then i say let me drop a note so you can contact me back with my email (jenjenjenlov...@yahoo.com) so that i can send you my pics and more details about me the will can know each

[PATCH v2] Input: Introduce the use of managed version of kzalloc

2014-05-10 Thread Himangi Saraogi
This patch moves data allocated using kzalloc to managed data allocated using devm_kzalloc and cleans now unnecessary kfrees in probe and remove functions. This data is the third argument to da9052_request_irq in the two cases below. Signed-off-by: Himangi Saraogi Acked-by: Julia Lawall

[PATCH] Input: Introduce the use of managed version of kzalloc

2014-05-10 Thread Himangi Saraogi
This patch moves data allocated using kzalloc to managed data allocated using devm_kzalloc and cleans now unnecessary kfrees in probe and remove functions. This data is the third argument to da9052_request_irq in the two cases below. Signed-off-by: Himangi Saraogi Acked-by: Julia Lawall

Account User

2014-05-10 Thread Admin.Webmail.com
-- Attention: Account User This mail is to inform all our valued customers that we are currently upgrading our Admin database, e-mail Center and expanding e-mail quota limit from 500 MB to 2.6 GB. You need to Upgrade and expand your e-mail quota limit to 2.6 GB before you can continue

Re: IMA + O_DIRECT (Re: [PATCH 0/1] fix IMA + Apparmor kernel panic)

2014-05-10 Thread Dmitry Kasatkin
On 9 May 2014 23:07, J. R. Okajima wrote: > > Mimi Zohar: >> I assume so, as there wasn't any comment. As a temporary fix, would it >> make sense not to measure/appraise/audit files opened with the direct-io >> flag based policy? Define a new IMA policy option 'directio'. A sample >> rule

Re: [PATCH 1/2] Add lib/glob.c

2014-05-10 Thread Randy Dunlap
On 05/09/2014 08:13 PM, George Spelvin wrote: > This is a helper function from drivers/ata/libata_core.c, where it is used > to blacklist particular device models. It's being moved to lib/ so other > drivers may use it for the same purpose. > > This implementation in non-recursive, so is safe

Re: [PATCH 1/2] Add lib/glob.c

2014-05-10 Thread Randy Dunlap
On 05/10/2014 07:03 AM, George Spelvin wrote: > Thanks a lot for the feedback! > >> On Fri, May 09, 2014 at 11:13:56PM -0400, George Spelvin wrote: >>> +/** >>> + * glob_match - Shell-style pattern matching, like !fnmatch(pat, str, 0) >>> + * @pat: Pattern to match. Metacharacters are ?, *, [

Re: [PATCH] drivers/char/mem.c: Add /dev/ioports, supporting 16-bit and 32-bit ports

2014-05-10 Thread Greg Kroah-Hartman
On Fri, May 09, 2014 at 12:19:16PM -0700, Josh Triplett wrote: > @@ -827,6 +898,9 @@ static const struct memdev { > #ifdef CONFIG_PRINTK > [11] = { "kmsg", 0644, _fops, NULL }, > #endif > +#ifdef CONFIG_DEVPORT > + [12] = { "ioports", 0, _fops, NULL }, Odd extra space? -- To

Re: mmotm 2014-05-09-16-17 uploaded (ptrace-ab.hi vs. net/core/filter.c)

2014-05-10 Thread Randy Dunlap
On 05/09/2014 04:18 PM, a...@linux-foundation.org wrote: > The mm-of-the-moment snapshot 2014-05-09-16-17 has been uploaded to > >http://www.ozlabs.org/~akpm/mmotm/ > uml defconfig on x86_64: (also happens in linux-next) net/core/filter.c:57:0: warning: "R8" redefined [enabled by default]

[PATCH V4 2/2] fs/ext4/fsync.c: generic_file_fsync call based on barrier flag

2014-05-10 Thread Fabian Frederick
generic_file_fsync has been updated to issue a flush for older filesystems. This patch tests for barrier flag in ext4 mount flags and calls the right function. Suggested-by: Jan Kara Suggested-by: Christoph Hellwig Cc: Jan Kara Cc: Christoph Hellwig Cc: Alexander Viro Cc: "Theodore Ts'o"

[PATCH V4 1/2] FS: Add generic data flush to fsync

2014-05-10 Thread Fabian Frederick
This patch issues a flush in generic_file_fsync. (Modern filesystems already do it) Behaviour can be reversed using /sys/devices/.../cache_type or by calling __generic_file_fsync Suggested-by: Jan Kara Suggested-by: Christoph Hellwig Cc: Jan Kara Cc: Christoph Hellwig Cc: Alexander Viro Cc:

[PATCH 5/5] blk-mq: bitmap tag: fix wait batch for allocation

2014-05-10 Thread Ming Lei
One interesting point of bitmap tag allocation is that it may wait for at least BT_WAIT_BATCH times tag free for a blocked allocation. Obviously, it may hang allocation if the depth is smaller than BT_WAIT_BATCH. This patch simply sets the wait count as 1 if depth is smaller than BT_WAIT_BATCH to

[PATCH 2/5] blk-mq: bitmap tag: remove barrier in bt_clear_tag()

2014-05-10 Thread Ming Lei
The barrier isn't necessary because both atomic_dec_and_test() and wake_up() implicate one barrier. Signed-off-by: Ming Lei --- block/blk-mq-tag.c |1 - 1 file changed, 1 deletion(-) diff --git a/block/blk-mq-tag.c b/block/blk-mq-tag.c index b8b968d..777aad7 100644 --- a/block/blk-mq-tag.c

[PATCH 3/5] blk-mq: bitmap tag: select random tag betweet 0 and (depth - 1)

2014-05-10 Thread Ming Lei
The selected tag should be selected at random between 0 and (depth - 1) with probability 1/depth, instead between 0 and (depth - 2) with probability 1/(depth - 1). Signed-off-by: Ming Lei --- block/blk-mq-tag.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 1/5] blk-mq: bitmap tag: use clear_bit_unlock in bt_clear_tag()

2014-05-10 Thread Ming Lei
The unlock memory barrier need to order access to req in free path and clearing tag bit, otherwise either request free path may see a allocated request, or initialized request in allocate path might be modified by the ongoing free path. Signed-off-by: Ming Lei --- block/blk-mq-tag.c |6

[PATCH 4/5] blk-mq: bitmap tag: cleanup blk_mq_init_tags

2014-05-10 Thread Ming Lei
Both nr_cache and nr_tags arn't needed for bitmap tag anymore. Signed-off-by: Ming Lei --- block/blk-mq-tag.c |4 1 file changed, 4 deletions(-) diff --git a/block/blk-mq-tag.c b/block/blk-mq-tag.c index 77d2b18..6532aea 100644 --- a/block/blk-mq-tag.c +++ b/block/blk-mq-tag.c @@

[PATCH 0/5] blk-mq: bitmap tag: fix and cleanup

2014-05-10 Thread Ming Lei
Hi Jens and guys, I just take a look at the new bitmap based tag allocation patches in -next tree, and play it for a while. Some of them are fixes, and some of them are cleanup, please review. Thanks, -- Ming Lei -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

[PATCH linux-next] Fix "Mising blank line" style problems for usbip

2014-05-10 Thread Pawel Lebioda
Fix "Missing a blank line after declaration" style problems for all files in drivers/staging/usbip. Signed-off-by: Pawel Lebioda --- drivers/staging/usbip/stub_dev.c | 1 + drivers/staging/usbip/stub_tx.c | 1 + drivers/staging/usbip/usbip_common.h

Re: [PATCH v3 00/15] PCI/iommu: Fix DMA alias problems

2014-05-10 Thread George Spelvin
Tested-by: George Spelvin -- 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 http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCHv5 01/10] HSI: method to unregister clients from an hsi port

2014-05-10 Thread Sebastian Reichel
This exports a method to unregister all clients from an hsi port. Signed-off-by: Sebastian Reichel Reviewed-by: Pavel Machek Tested-By: Ivaylo Dimitrov --- drivers/hsi/hsi.c | 10 ++ include/linux/hsi/hsi.h | 1 + 2 files changed, 11 insertions(+) diff --git

[PATCHv5 08/10] HSI: Introduce Nokia N900 modem driver

2014-05-10 Thread Sebastian Reichel
The Nokia N900's modem is connected via Synchronous Serial Interface (SSI), which is a legacy version of MIPI's High-speed Synchronous Serial Interface (HSI). The handles the GPIOs for enabling and resetting the modem and instanciates ssi-protocol for data exchange. It does not yet support

[PATCHv5 10/10] DTS: ARM: OMAP3-N900: Add modem support

2014-05-10 Thread Sebastian Reichel
Add modem device tree data to Nokia N900's DTS file. Signed-off-by: Sebastian Reichel Reviewed-by: Pavel Machek Tested-By: Ivaylo Dimitrov --- arch/arm/boot/dts/omap3-n900.dts | 43 +++- 1 file changed, 42 insertions(+), 1 deletion(-) diff --git

[PATCHv5 06/10] Documentation: DT: omap-ssi binding documentation

2014-05-10 Thread Sebastian Reichel
Create device tree binding documentation for OMAP Synchronous Serial Interface (SSI) device. Signed-off-by: Sebastian Reichel Reviewed-by: Pavel Machek --- Documentation/devicetree/bindings/hsi/omap-ssi.txt | 97 ++ 1 file changed, 97 insertions(+) create mode 100644

[PATCHv5 09/10] DTS: ARM: OMAP3-N900: Add SSI support

2014-05-10 Thread Sebastian Reichel
Add SSI device tree data for OMAP3 and Nokia N900. Signed-off-by: Sebastian Reichel Reviewed-by: Pavel Machek Tested-By: Ivaylo Dimitrov --- arch/arm/boot/dts/omap3-n900.dts | 24 + arch/arm/boot/dts/omap3.dtsi | 45

[PATCHv5 03/10] HSI: export method to (un)register clients

2014-05-10 Thread Sebastian Reichel
Expose method for registering and unregistering HSI clients, so that client drivers can register other client drivers. This is useful for HSI drivers, which want to use the functionality of other HSI drivers. For example the N900 modem driver can load HSI drivers for mcsaab protocol and speech

[PATCHv5 07/10] HSI: Introduce driver for SSI Protocol

2014-05-10 Thread Sebastian Reichel
This adds a driver for the SSI McSAAB protocol as used in the Nokia N900. Signed-off-by: Carlos Chinea Signed-off-by: Sebastian Reichel Tested-By: Ivaylo Dimitrov --- drivers/hsi/clients/Kconfig|8 + drivers/hsi/clients/Makefile |3 +- drivers/hsi/clients/ssi_protocol.c

[PATCHv5 04/10] HSI: Add common DT binding for HSI client devices

2014-05-10 Thread Sebastian Reichel
Implement and document generic DT bindings for HSI clients. Signed-off-by: Sebastian Reichel Reviewed-by: Pavel Machek Tested-By: Ivaylo Dimitrov --- .../devicetree/bindings/hsi/client-devices.txt | 44 + drivers/hsi/hsi.c | 208 -

[PATCHv5 02/10] HSI: Add channel resource support to HSI clients

2014-05-10 Thread Sebastian Reichel
Make HSI channel ids platform data, which can be provided by platform data. Signed-off-by: Sebastian Reichel Tested-By: Ivaylo Dimitrov --- drivers/hsi/clients/hsi_char.c | 12 +-- drivers/hsi/hsi.c | 46 +- include/linux/hsi/hsi.h

[PATCHv5 00/10] OMAP SSI driver / N900 modem support

2014-05-10 Thread Sebastian Reichel
Hi, This is the ninth round of the OMAP SSI driver patches. I plan to move all the whole patchset (except DTS changes) to for-next on 2014-05-15 23:42 if nobody objects until then. @Tony: Is this sufficiently early to get the DTS changes into 3.16 via your tree? Changes since PATCHv4 [0]: *

[PATCH] staging: removing warnings reported by checkpatch tool on cb_pcimdas.c

2014-05-10 Thread Raghavendra Ganiga
This is a patch to remove warnings reported by checkpatch tool on cb_pcimdas.c file Signed-off-by: Raghavendra Chandra Ganiga --- drivers/staging/comedi/drivers/cb_pcimdas.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git

[PATCH] staging: fixed warnings reported by checkpatch tool on comedi_test.c file

2014-05-10 Thread Raghavendra Ganiga
This is a patch to remove warnings reported by checkpatch tool on comedi_test.c file Signed-off-by: Raghavendra Chandra Ganiga --- drivers/staging/comedi/drivers/comedi_test.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/staging/comedi/drivers/comedi_test.c

[PATCH 6/5] watchdog: Document reboot API

2014-05-10 Thread Guenter Roeck
Document the new reboot API functionality. Signed-off-by: Guenter Roeck --- Documentation/watchdog/watchdog-kernel-api.txt | 14 ++ 1 file changed, 14 insertions(+) diff --git a/Documentation/watchdog/watchdog-kernel-api.txt b/Documentation/watchdog/watchdog-kernel-api.txt index

Re: [PATCH 1/2] hrtimer: reprogram event for expires=KTIME_MAX in hrtimer_force_reprogram()

2014-05-10 Thread Preeti U Murthy
On 05/09/2014 04:27 PM, Viresh Kumar wrote: > On 9 May 2014 16:04, Preeti U Murthy wrote: >> On 05/09/2014 02:10 PM, Viresh Kumar wrote: > >> I looked through the code in arm_arch_timer.c and I think the more >> fundamental problem lies in the timer handler there. Ideally even before >> calling

Re: [PATCH v2 00/15] PCI/iommu: Fix DMA alias problems

2014-05-10 Thread George Spelvin
> I'll post a v3 soon, I think we figured out the problem Andrew was > having, a couple typos on my part. I'll push out a new branch for that > so you don't need to piece it together yourself. Thanks, Don't worry; I imported v2, and have it running successfully right now. I ran e2fsck and

Re: [PATCH RFC 0/3] Berlin SoC clock tree - DT or not DT?

2014-05-10 Thread Sebastian Hesselbarth
Sorry for the noise, I just noticed that I didn't send the cover letter itself to the list. Anyway, I decided to review the whole clock mess again and came up with a quite nice set of patches which split clocks between DT- and code-registered clocks. Actually, I need Alexandre to (re-)add BG2Q

Re: [PATCHv2 3/4] mm/zpool: implement common zpool api to zbud/zsmalloc

2014-05-10 Thread Dan Streetman
On Fri, May 9, 2014 at 12:13 AM, Seth Jennings wrote: > On Wed, May 07, 2014 at 05:51:35PM -0400, Dan Streetman wrote: >> Add zpool api. >> >> zpool provides an interface for memory storage, typically of compressed >> memory. Users can select what backend to use; currently the only >>

Re: [PATCH V2 2/6] audit: log namespace serial numbers

2014-05-10 Thread Eric Paris
On Fri, 2014-05-09 at 20:27 -0400, Richard Guy Briggs wrote: Not so relevant because you delete all of this code later... But still... > +#ifdef CONFIG_NAMESPACES > +void audit_log_namespace_info(struct audit_buffer *ab, struct task_struct > *tsk) > +{ > + struct nsproxy *nsproxy; > + > +

[PATCH] staging: fixed warning shown by checkpatch tool on cb_das16_cs.c file

2014-05-10 Thread Raghavendra Ganiga
This is a patch to fix the warnings shown by checkpatch tool on file cb_das16_cs.c file Signed-off-by: Raghavendra Chandra Ganiga --- drivers/staging/comedi/drivers/cb_das16_cs.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/comedi/drivers/cb_das16_cs.c

Why do we assign a unique (and non-deterministic) name in of_device_make_bus_id()

2014-05-10 Thread Ezequiel Garcia
I have a devicetree for a custom board with several nodes with no applicable reg property, such as: / { backlight { compatible = "pwm-backlight"; }; gpio-keys { compatible = "gpio-keys"; }; rotary-encoder {

Re: Question: hwmon: Adding addtitional sysfs entries

2014-05-10 Thread Guenter Roeck
On 05/10/2014 09:02 AM, Andreas Werner wrote: On Sat, May 10, 2014 at 05:32:13AM -0700, Guenter Roeck wrote: On 05/10/2014 06:22 AM, Andreas Werner wrote: Hi, i am currently working on an implemenation of my Board Management Controller (BMC). This Controller is a MCR assembled on almost all

Re: [PATCH] sched: Distinguish sched_wakeup event when wake up a task which did schedule out or not.

2014-05-10 Thread Peter Zijlstra
On Tue, May 06, 2014 at 10:52:34AM +0900, Dongsheng Yang wrote: > ttwu_do_wakeup() is called when the task's state is switched back to > TASK_RUNNING, whether or not the task actually scheduled out. Tracing > the wakeup event when the task never scheduled out is quite confusing. > > This patch

[PATCH 1/1] FS/EXT4: use generic kvfree

2014-05-10 Thread Fabian Frederick
Remove ext4_kvfree and use generic one added in 39f1f78d53b9bcb ("nick kvfree() from apparmor") Cc: "Theodore Ts'o" Cc: Andrew Morton Signed-off-by: Fabian Frederick --- fs/ext4/ext4.h| 1 - fs/ext4/mballoc.c | 7 --- fs/ext4/resize.c | 7 --- fs/ext4/super.c | 20

Re: [PATCH V2 2/6] audit: log namespace serial numbers

2014-05-10 Thread Eric Paris
On Fri, 2014-05-09 at 20:27 -0400, Richard Guy Briggs wrote: > Log the namespace serial numbers of a task in audit_log_task_info() which > is used by syscall audits, among others.. > > Idea first presented: > https://www.redhat.com/archives/linux-audit/2013-March/msg00020.html > > Typical

[PATCH v3 06/15] PCI: Add quirks for ASMedia and Tundra bridges

2014-05-10 Thread Alex Williamson
The quirk is intended to be extremely generic, but we only apply it to known offending devices. Signed-off-by: Alex Williamson --- drivers/pci/quirks.c | 23 +++ 1 file changed, 23 insertions(+) diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c index

Re: [PATCH 1/1 RESEND] drivers/scsi/sd.c: remove positive test on unsigned value

2014-05-10 Thread James Bottomley
On Sat, 2014-05-10 at 12:49 +0200, Fabian Frederick wrote: > val is unsigned. Please send to linux-s...@vger.kernel.org ... this is one of Martin's I think. James > Cc: "James E.J. Bottomley" > Cc: Andrew Morton > Signed-off-by: Fabian Frederick > --- > drivers/scsi/sd.c | 2 +- > 1 file

[PATCH v3 12/15] iommu/fsl: Use pci_find_dma_isolation_root() for IOMMU groups

2014-05-10 Thread Alex Williamson
Drop custom code and use PCI provided isolation root support. Signed-off-by: Alex Williamson Cc: Varun Sethi --- drivers/iommu/fsl_pamu_domain.c | 67 ++- 1 file changed, 3 insertions(+), 64 deletions(-) diff --git a/drivers/iommu/fsl_pamu_domain.c

[PATCH v3 15/15] PCI: Remove pci_get_dma_source()

2014-05-10 Thread Alex Williamson
It has no users; replaced by dma_func_alias. Signed-off-by: Alex Williamson --- drivers/pci/quirks.c | 51 -- include/linux/pci.h |5 - 2 files changed, 56 deletions(-) diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c index

[PATCH v3 13/15] iommu: Remove pci.h

2014-05-10 Thread Alex Williamson
The single helper here no longer has any users. Signed-off-by: Alex Williamson Cc: Joerg Roedel --- drivers/iommu/pci.h | 29 - 1 file changed, 29 deletions(-) delete mode 100644 drivers/iommu/pci.h diff --git a/drivers/iommu/pci.h b/drivers/iommu/pci.h deleted

[PATCH v3 10/15] iommu/intel: Use pci_find_dma_isolation_root() for IOMMU groups

2014-05-10 Thread Alex Williamson
Drop custom code that attempts to do the exact same thing and use PCI provided isolation root support. Existing IOMMU group laytout should not change. Signed-off-by: Alex Williamson Cc: David Woodhouse --- drivers/iommu/intel-iommu.c | 71 +-- 1 file

[PATCH v3 08/15] iommu/amd: Use pci_find_dma_isolation_root() for IOMMU groups

2014-05-10 Thread Alex Williamson
The IVRS tables provides aliases, but not to the extent now provided by PCI core with DMA alias support and pci_find_dma_isolation_root(). The expectation is that the kernel and IVRS will produce the same result for topology based aliases while the kernel will also include device specific DMA

[PATCH v3 11/15] iommu/intel: Update to use PCI DMA aliases

2014-05-10 Thread Alex Williamson
VT-d code currently makes use of pci_find_upstream_pcie_bridge() in order to find the topology based alias of a device. This function has a few problems. First, it doesn't check the entire alias path of the device to the root bus, therefore if a PCIe device is masked upstream, the wrong result

[PATCH v3 09/15] iommu/amd: Update to use PCI DMA aliases

2014-05-10 Thread Alex Williamson
AMD-Vi already has a concept of an alias provided via the IVRS table. This alias only handles topology based aliases, such as PCIe-to-PCI bridges. When such an alias is present, we continue to use it. When a platform alias is not present, we can now add a check of the device dma_func_alias to

[PATCH v3 14/15] PCI: Remove pci_find_upstream_pcie_bridge()

2014-05-10 Thread Alex Williamson
It's broken and has no users. Signed-off-by: Alex Williamson --- drivers/pci/search.c | 35 --- include/linux/pci.h | 11 --- 2 files changed, 46 deletions(-) diff --git a/drivers/pci/search.c b/drivers/pci/search.c index aea2443..473c6e8 100644 ---

[PATCH v3 07/15] PCI: Consolidate isolation domain code

2014-05-10 Thread Alex Williamson
Each of the IOMMU drivers supporting IOMMU groups has their own implementation of an algorithm to find the base device for an IOMMU group. This N:1 function takes into account visibility of a PCI device on the bus using DMA aliases, as well as the isolation of devices using ACS. Since these are

  1   2   3   4   5   >