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, kmsg_fops, NULL }, #endif +#ifdef CONFIG_DEVPORT +

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

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 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 a...@linux-foundation.org

[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 wwctr...@gmail.com --- drivers/staging/ft1000/ft1000-usb/ft1000_debug.c | 10 +- drivers/staging/ft1000/ft1000-usb/ft1000_ioctl.h | 18 +- 2 files

[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 wwctr...@gmail.com --- drivers/staging/ft1000/ft1000-usb/ft1000_ioctl.h | 92 +++--- 1 file changed, 46 insertions(+), 46 deletions(-) diff

[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 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 wwctr...@gmail.com --- drivers/staging/ft1000/ft1000-usb/ft1000_usb.h |2 +-

[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 wwctr...@gmail.com --- drivers/staging/ft1000/ft1000-pcmcia/ft1000.h| 15 +--- drivers/staging/ft1000/ft1000-usb/ft1000_ioctl.h | 40 --

[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 wwctr...@gmail.com ---

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

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 nasa4...@gmail.com newpage_in_mlocked_vma() is not as bad a name as

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 li...@roeck-us.net --- Documentation/watchdog/watchdog-kernel-api.txt | 14 ++ 1 file changed, 14 insertions(+) diff --git

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. [...] +#ifdef

[no subject]

2014-05-10 Thread Kerim Gueney
From fcea4cf1bfac7cd2ae6398bbc15a7d543b238bb1 Mon Sep 17 00:00:00 2001 From: Kerim Gueney gueneyke...@gmail.com 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

[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 sb...@codeaurora.org Date: Tue Oct 29 20:32:56 2013

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: [81865efe]

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

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

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 [

[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

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 dan.carpen...@oracle.com --- v2: Fixed changelog diff --git a/Documentation/email-clients.txt b/Documentation/email-clients.txt

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

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

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 ax...@kernel.dk 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: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: 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 adaptively get

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

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, 10 May

[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

[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 matthias@gmail.com --- .../devicetree/bindings/timer/mediatek,mtk-timer.txt| 17 + 1 file changed, 17 insertions(+) create mode 100644

[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 matthias@gmail.com ---

[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 matthias@gmail.com --- 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

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

2014-05-10 Thread David Miller
From: Tejun Heo t...@kernel.org 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

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 prabhakar.cse...@gmail.com this patch drops CONFIG_COMMON_CLK_DEBUG option as this config option is now obsolete. CC: Maxime Ripard maxime.rip...@free-electrons.com CC: Olof Johansson o...@lixom.net

[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 linux/crc7.h from files that don't use it at all. Signed-off-by: George Spelvin li...@horizon.com --- Since all of the affected drivers are

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: TIMER1: clock

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 matthias@gmail.com --- .../devicetree/bindings/timer/mediatek,mtk-timer.txt| 17 +

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 be

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

2014-05-10 Thread Ingo Molnar
* Sasha Levin sasha.le...@oracle.com 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

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

2014-05-10 Thread Ingo Molnar
* Frederic Weisbecker fweis...@gmail.com wrote: On Wed, May 07, 2014 at 09:07:14PM +0200, Ingo Molnar wrote: * Peter Zijlstra pet...@infradead.org 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

<    1   2   3   4   5