[RFC PATCH 4/5] s390: Mark bits in allocated_irqs in general code

2014-04-05 Thread Yinghai Lu
Second irq_reserve_irqs calling is from arch s390, and s390 does not use SPARSE_IRQ yet. We could set bits for legacy bits early in !SPARSE_IRQ version early_irq_init() directly instead of calling irq_reserve_irqs later. Adding weak version arch_proble_early_allocate_nr_irqs() for !SPARESE_IRQ,

[RFC PATCH 3/5] irq: Use irq_alloc_desc_at instead of irq_reserve_irq

2014-04-05 Thread Yinghai Lu
irq_reserve_irq actually only set bit allocated_irq, and it is not really "reserve" and cause confusion. For !CONFIG_SPARSE_IRQ path, irq_alloc_desc_at() will only set bit in allocated_irq. We can use that instead, kill one irq_reserve_irq() calling. Signed-off-by: Yinghai Lu ---

[RFC PATCH 1/5] x86, irq: Remove not needed irq_reserve_irqs calling

2014-04-05 Thread Yinghai Lu
Now x86 only support sparseirq path, for that path, calling path like: early_irq_init ==> arch_probe_nr_irqs : return legacy irq number ==> alloc_desc for legacy irqs and set bits in allocated_irqs ==> arch_early_irq_init

[RFC PATCH 2/5] sh: Remove irq_reserve_irq calling

2014-04-05 Thread Yinghai Lu
in sh calling path: register_intc_controller ==> irq_create_identity_mapping/irq_create_strict_mappins ==>irq_alloc_desc: it will set bits on allocate_irq ==> intc_register_irq ==> irq_reserve_irq: set bits

[RFC PATCH 5/5] genirq: Kill irq_reserve_irq/irq_reserve_irqs

2014-04-05 Thread Yinghai Lu
No user any more. Signed-off-by: Yinghai Lu --- include/linux/irq.h | 6 -- kernel/irq/irqdesc.c | 25 - 2 files changed, 31 deletions(-) diff --git a/include/linux/irq.h b/include/linux/irq.h index 7588ee9..84ce41a 100644 --- a/include/linux/irq.h +++

[RFC PATCH 0/5] irq: Kill irq_reserve_irq

2014-04-05 Thread Yinghai Lu
Hi, During reviewing ioapic hotplug patchset, Thomas pointed out that should not extend irq_reserve_irq for that purpose as that is not actually reserve. Neet to clean up old irq_reserve_irq before introduce reserve/alloc_reserved method for ioapic hotplug. So here patchset that kill

3.14.0+/x86: lockdep and mutexes not getting along

2014-04-05 Thread Michael L. Semon
Hi! Starting early in this merge window for 3.15, lockdep has been giving me trouble. Normally, a splat will happen, lockdep will shut itself off, and my i686 Pentium 4 PC will continue. Now, after the splat, it will allow one key of input at either a VGA console or over serial. After that,

Re: [PATCH] autofs4: check dev ioctl size before allocating

2014-04-05 Thread Ian Kent
On Sat, 2014-04-05 at 23:11 -0400, Sasha Levin wrote: > On 04/05/2014 11:03 PM, Ian Kent wrote: > > On Sat, 2014-04-05 at 11:06 -0400, Sasha Levin wrote: > >> Ping? Anyone wants to take this? > > > > Is this causing a problem for users? > > If it is I'll send it to Andrew straight away. > > > >

Re: rb tree hrtimer lockup bug (found by perf_fuzzer)

2014-04-05 Thread Greg KH
On Mon, Mar 31, 2014 at 01:18:34PM +0200, Thomas Gleixner wrote: > On Thu, 27 Mar 2014, Vince Weaver wrote: > > On Wed, 26 Mar 2014, Thomas Gleixner wrote: > > > Ok. So we know now what we are looking for. > > > > > > [1.579996] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled > > > ÿ[

[PATCH RFC] leds: pca9685: Remove leds-pca9685 driver

2014-04-05 Thread Axel Lin
This driver is replaced by pwm-pca9685 driver and there is no user uses this driver in current tree. So remove it. Signed-off-by: Axel Lin --- Hi, I found there is a modalias conflict between leds-pca9685.ko and pwm-pca9685.ko. I think this conflict will cause problem. After checking the code, I

Re: [PATCH] autofs4: check dev ioctl size before allocating

2014-04-05 Thread Sasha Levin
On 04/05/2014 11:03 PM, Ian Kent wrote: > On Sat, 2014-04-05 at 11:06 -0400, Sasha Levin wrote: >> Ping? Anyone wants to take this? > > Is this causing a problem for users? > If it is I'll send it to Andrew straight away. > > I do have this on my queue but don't have any other patches to send so

Re: [PATCH] autofs4: check dev ioctl size before allocating

2014-04-05 Thread Ian Kent
On Sat, 2014-04-05 at 11:06 -0400, Sasha Levin wrote: > Ping? Anyone wants to take this? Is this causing a problem for users? If it is I'll send it to Andrew straight away. I do have this on my queue but don't have any other patches to send so it's just sitting there. If it worries you I'll

Re: 3.13.?: Strange / dangerous fan policy...

2014-04-05 Thread Guenter Roeck
On 04/05/2014 07:37 PM, Manuel Krause wrote: On 2014-04-01 01:47, Guenter Roeck wrote: On 03/31/2014 04:37 PM, Manuel Krause wrote: On 2014-03-20 21:21, Manuel Krause wrote: On 2014-03-11 22:59, Manuel Krause wrote: On 2014-03-10 02:49, Manuel Krause wrote: On 2014-03-09 18:58, Rafael J.

Re: 3.13.?: Strange / dangerous fan policy...

2014-04-05 Thread Manuel Krause
On 2014-04-01 01:47, Guenter Roeck wrote: On 03/31/2014 04:37 PM, Manuel Krause wrote: On 2014-03-20 21:21, Manuel Krause wrote: On 2014-03-11 22:59, Manuel Krause wrote: On 2014-03-10 02:49, Manuel Krause wrote: On 2014-03-09 18:58, Rafael J. Wysocki wrote: On Sunday, March 09, 2014

[PATCH] staging: ashmem: Fix coding style

2014-04-05 Thread Zi Shen Lim
Keep checkpatch happy by addressing the following: CHECK: Alignment should match open parenthesis CHECK: Blank lines aren't necessary after an open brace '{' CHECK: No space is necessary after a cast Signed-off-by: Zi Shen Lim --- drivers/staging/android/ashmem.c | 12 +--- 1 file

Re: [PATCH] modpost: Fix ressource leak in read_dump()

2014-04-05 Thread Andi Kleen
On Sun, Apr 06, 2014 at 12:36:49AM +0200, Christian Engelmayer wrote: > Function read_dump() memory maps the input via grab_file(), but fails to call > the corresponding unmap function. Add the missing call to release_file(). > Detected by Coverity: CID 1192419 It doesn't matter at all. All

Re: [PATCH v2 2/2] devicetree: Add devicetree bindings documentation for Cadence SPI

2014-04-05 Thread Peter Crosthwaite
On Sat, Apr 5, 2014 at 4:05 PM, Harini Katakam wrote: > Hi Peter, > > On Sat, Apr 5, 2014 at 4:44 AM, Peter Crosthwaite > wrote: >> On Sat, Apr 5, 2014 at 12:30 AM, Harini Katakam >> wrote: >>> Hi, >>> >>> On Fri, Apr 4, 2014 at 7:38 PM, Harini Katakam >>> wrote: Hi Mark, On

Re: [RFC PATCH] cmdline: Hide "debug" from /proc/cmdline

2014-04-05 Thread Theodore Ts'o
On Fri, Apr 04, 2014 at 04:17:49PM -0700, Greg Kroah-Hartman wrote: > > I think you mean "dmesg -T", and unfortunately it seems Debian 6.0.9 > > (or older) doesn ship a new enough linux-util since I've only got > > 2.17.2-9 install. > > No, 'dmesg -H' is the right thing, you just need a modern

[PATCH] modpost: Fix ressource leak in read_dump()

2014-04-05 Thread Christian Engelmayer
Function read_dump() memory maps the input via grab_file(), but fails to call the corresponding unmap function. Add the missing call to release_file(). Detected by Coverity: CID 1192419 Signed-off-by: Christian Engelmayer --- Compile tested - Applies against v3.14 as well as linux-next. ---

[PATCHv2 1/5] Input: add common DT binding for touchscreens

2014-04-05 Thread Sebastian Reichel
Add common DT binding documentation for touchscreen devices and implement input_parse_touchscreen_of_params, which parses the common properties and configures the input device accordingly. Signed-off-by: Sebastian Reichel --- .../bindings/input/touchscreen/touchscreen.txt | 9 ++

[PATCHv2 2/5] Input: tsc2005: use dev_err for error messages

2014-04-05 Thread Sebastian Reichel
Change some dev_dbg() invocations to dev_err() ones, because they are supposed to output error messages. Signed-off-by: Sebastian Reichel --- drivers/input/touchscreen/tsc2005.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/input/touchscreen/tsc2005.c

[PATCHv2 4/5] Input: tsc2005: add DT support

2014-04-05 Thread Sebastian Reichel
This adds DT support to the tsc2005 touchscreen driver. Signed-off-by: Sebastian Reichel --- drivers/input/touchscreen/tsc2005.c | 96 + 1 file changed, 77 insertions(+), 19 deletions(-) diff --git a/drivers/input/touchscreen/tsc2005.c

[PATCHv2 3/5] Input: tsc2005: convert driver to use devm_*

2014-04-05 Thread Sebastian Reichel
Simplify the driver by using managed resources for memory allocation of internal struct, input device allocation and irq request. Signed-off-by: Sebastian Reichel --- drivers/input/touchscreen/tsc2005.c | 30 ++ 1 file changed, 10 insertions(+), 20 deletions(-) diff

[PATCHv2 5/5] Documentation: dt: Document TSC2005 DT binding

2014-04-05 Thread Sebastian Reichel
Add devicetree binding documentation for TSC2005 touchscreen. Signed-off-by: Sebastian Reichel --- .../bindings/input/touchscreen/tsc2005.txt | 39 ++ 1 file changed, 39 insertions(+) create mode 100644

[PATCHv2 0/5] tsc2005 DT binding

2014-04-05 Thread Sebastian Reichel
Hi, This adds device tree support for the tsc2005 touchscreen controller, which is currently only used by the Nokia N900 board. The patch does not update the reset pin handling for platform data based probe to avoid merge conflicts. The n900 platform code will be removed in the near future

Re: [PATCH v2 1/1] staging: comedi: Fix checkpatch warning

2014-04-05 Thread Greg Kroah-Hartman
On Sat, Apr 05, 2014 at 03:09:27PM -0700, Greg Kroah-Hartman wrote: > On Fri, Apr 04, 2014 at 10:55:18PM +0200, Camille Begue wrote: > > Wrap lines > 80 columns. > > This patch is part of eudyptula challenge > > > > Signed-off-by: Camille Begue > > --- > > drivers/staging/comedi/comedi_fops.c |

Re: [PATCH v2 1/1] staging: comedi: Fix checkpatch warning

2014-04-05 Thread Greg Kroah-Hartman
On Fri, Apr 04, 2014 at 10:55:18PM +0200, Camille Begue wrote: > Wrap lines > 80 columns. > This patch is part of eudyptula challenge > > Signed-off-by: Camille Begue > --- > drivers/staging/comedi/comedi_fops.c | 7 +-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > diff --git

Re: 3.13: disagrees about version of symbol

2014-04-05 Thread Thomas Bächler
Am 05.04.2014 19:23, schrieb Tetsuo Handa: > Thomas B臘hler wrote: For convenience, here is a copy-and-paste of the full text: >>> >>> I did some experiments know and I can't find any 32bit modules >>> that do not load with 32bit MODVERSIONS on or off with >>> a current tree. >>> >>> Do you

Re: [PATCH v2] Documentation: spelling error changes

2014-04-05 Thread Randy Dunlap
On 04/04/2014 07:31 PM, Carlos Garcia wrote: > Fixed multiple spelling errors. > > Acked-by: Randy Dunlap > Signed-off-by: Carlos E. Garcia Jiri, Would you merge this thru trivial, please? or would you rather that I merge it? Thanks, Carlos. > --- > Documentation/DMA-attributes.txt

[PATCH 02/10] driver: staging: wlan-ng: Removed unnecessary typedefs from hfa384x_usb.c

2014-04-05 Thread Sherif Shehab Aldin
Removed unnecessary typedefs from hfa384x_usb.c Signed-off-by: Sherif Shehab Aldin --- drivers/staging/wlan-ng/hfa384x_usb.c | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/drivers/staging/wlan-ng/hfa384x_usb.c b/drivers/staging/wlan-ng/hfa384x_usb.c index

[PATCH 0/5] DT support for N900 soundcard (rx51-audio)

2014-04-05 Thread Sebastian Reichel
Hi, This patchset adds DT support in rx51-audio. I tested it on my Nokia N900 and was able to play a wav file using aplay. I have not tested the whole functionality, but output via speakers, headphones and the related enable controls seem to work. The patches can be applied cleanly to

default page size in linux kernel

2014-04-05 Thread Xin Tong
What would be the easiest way to modify the Linux kernel to give out 2MB huge pages by default (instead of 4KB) on X86_64 ? Is this possible without significant changes to the kernel ? Trent -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

[PATCH 3/5] ASoC: RX-51: Add DT support to sound driver

2014-04-05 Thread Sebastian Reichel
This patch adds device tree support to the Nokia N900 audio driver. It also removes GPIO defines and gets them from platform data / device tree, since some GPIO numbers may be different with DT boot. The binding also changes a helper function in omap-mcbsp, which is currently only used by the

[PATCH 4/5] ASoC: RX-51: Convert to table based DAPM setup

2014-04-05 Thread Sebastian Reichel
Use table based setup to register the DAPM widgets and routes. This on one hand makes the code a bit cleaner and on the other hand the board level DAPM elements get registered in the card's DAPM context rather than in the CODEC's DAPM context. This fixes an issue with double prefixing of routes.

[PATCH 5/5] ASoC: tlv320aic3x: fix shared reset pin for DT

2014-04-05 Thread Sebastian Reichel
Currently the second tlv320aic3x instance fails to be probed from DT if the reset pin is shared with the first one. This patch fixes it by moving the list add of the reset pin into the i2c_probe method. Signed-off-by: Sebastian Reichel --- sound/soc/codecs/tlv320aic3x.c | 9 +++-- 1 file

[PATCH 2/5] ASoC: Allow Aux Codecs to be specified using DT

2014-04-05 Thread Sebastian Reichel
This patch adds support for specifying auxiliary codecs and codec configuration via device tree phandles. This change adds new fields to snd_soc_aux_dev and snd_soc_codec_conf and adds support for the changes to SoC core methods. Signed-off-by: Sebastian Reichel Signed-off-by: Pavel Machek ---

[PATCH 1/5] ASoC: omap: rx51: Use devm_snd_soc_register_card

2014-04-05 Thread Sebastian Reichel
From: Pali Rohár This patch converts the rx51 ASoC module to use devm_snd_soc_register_card. It also adds module alias to support driver autoloading. Signed-off-by: Pali Rohár Signed-off-by: Sebastian Reichel --- sound/soc/omap/rx51.c | 48 1

[PATCH 04/10] driver: staging: wlan-ng: Setting character pointers as const

2014-04-05 Thread Sherif Shehab Aldin
changed declaration of ctlx_str to: static const char * const ctlx_str[] Signed-off-by: Sherif Shehab Aldin --- drivers/staging/wlan-ng/hfa384x_usb.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wlan-ng/hfa384x_usb.c

[PATCH 08/10] driver: staging: wlan-ng: Removed multiple assignments

2014-04-05 Thread Sherif Shehab Aldin
Removed multiple assignments from hfa384x_usb.c Signed-off-by: Sherif Shehab Aldin --- drivers/staging/wlan-ng/hfa384x_usb.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/wlan-ng/hfa384x_usb.c b/drivers/staging/wlan-ng/hfa384x_usb.c index

[PATCH 09/10] driver: staging: wlan-ng: Removed #if 0 lines from hfa384x_usb.c

2014-04-05 Thread Sherif Shehab Aldin
Removed lines that were ignored by #if 0 Signed-off-by: Sherif Shehab Aldin --- drivers/staging/wlan-ng/hfa384x_usb.c |6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/staging/wlan-ng/hfa384x_usb.c b/drivers/staging/wlan-ng/hfa384x_usb.c index cf27030..867edb4 100644 ---

[PATCH 10/10] driver: staging: wlan-ng: Removed unnecessary spaces after cast from hfa384x_usb.c

2014-04-05 Thread Sherif Shehab Aldin
Fixed: No space is necessary after a cast Signed-off-by: Sherif Shehab Aldin --- drivers/staging/wlan-ng/hfa384x_usb.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/staging/wlan-ng/hfa384x_usb.c b/drivers/staging/wlan-ng/hfa384x_usb.c

[PATCH 05/10] driver: staging: wlan-ng: Removed Unnecessary space after function pointer name

2014-04-05 Thread Sherif Shehab Aldin
Removed Unnecessary space after function pointer name Signed-off-by: Sherif Shehab Aldin --- drivers/staging/wlan-ng/hfa384x_usb.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wlan-ng/hfa384x_usb.c b/drivers/staging/wlan-ng/hfa384x_usb.c index

[PATCH 03/10] driver: staging: wlan-ng: switched to pr_warn

2014-04-05 Thread Sherif Shehab Aldin
changed printk(KERN_WARNING .. to pr_warn Signed-off-by: Sherif Shehab Aldin --- drivers/staging/wlan-ng/hfa384x_usb.c |7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/staging/wlan-ng/hfa384x_usb.c b/drivers/staging/wlan-ng/hfa384x_usb.c index

[PATCH 07/10] driver: staging: wlan-ng: Fixed white spaces issues

2014-04-05 Thread Sherif Shehab Aldin
In hfa384x_usb.c: Moved Logical continuations to the correct lines Removed unnecessary blank lines Signed-off-by: Sherif Shehab Aldin --- drivers/staging/wlan-ng/hfa384x_usb.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git

[PATCH 01/10] driver: staging: wlan-ng: Fixed Breaking long lines and strings style rule

2014-04-05 Thread Sherif Shehab Aldin
Fixed coding style rule "Breaking long lines and strings" for hfa384x_usb.c Signed-off-by: Sherif Shehab Aldin --- drivers/staging/wlan-ng/hfa384x_usb.c | 47 - 1 file changed, 23 insertions(+), 24 deletions(-) diff --git

[PATCH 06/10] driver: staging: wlan-ng: Fixed Alignment to match open parenthesis

2014-04-05 Thread Sherif Shehab Aldin
Fixed Alignment to match open parenthesis in hfa384x_usb.c Signed-off-by: Sherif Shehab Aldin --- drivers/staging/wlan-ng/hfa384x_usb.c | 121 + 1 file changed, 63 insertions(+), 58 deletions(-) diff --git a/drivers/staging/wlan-ng/hfa384x_usb.c

Re: ktap and ebpf integration

2014-04-05 Thread Jovi Zhangwei
On Sun, Apr 6, 2014 at 1:22 AM, Alexei Starovoitov wrote: > On Sat, Apr 5, 2014 at 7:23 AM, Jovi Zhangwei wrote: >> On Sat, Apr 5, 2014 at 1:28 AM, Alexei Starovoitov wrote: >>> >>> 'ktap syntax' from user space point of view, can use ibpf as-is. >>> Show me the script and I can show how ibpf

[PATCH] ACPI / dock: Drop dock_device_ids[] table

2014-04-05 Thread Rafael J. Wysocki
From: Rafael J. Wysocki There are no references to dock_device_ids[] table anywhere in the code and it is not even useful for module autoloading, because the dock driver can only be built in, so drop it. Signed-off-by: Rafael J. Wysocki --- drivers/acpi/dock.c |6 -- 1 file changed, 6

[PATCH] mfd: ezx-pcap: avoid calling mutex_lock() in irq handler

2014-04-05 Thread Alexey Khoroshilov
pcap_adc_irq() calls mutex_lock(), while it is registered as nonthreaded irq handler. The patch makes a switch to threaded irq handling. Compile tested only. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov --- drivers/mfd/ezx-pcap.c | 4 ++-- 1

[PATCH] input: pcap2: avoid calling mutex_lock() in irq handler

2014-04-05 Thread Alexey Khoroshilov
pcap_keys_handler() calls ezx_pcap_read() that calls mutex_lock(). pcap_keys_handler() is registered as nonthreaded irq handler, that means sleeping function is called in irq handler. The patch makes a switch to threaded irq handling. Compile tested only. Found by Linux Driver Verification

Re: [for-next][PATCH 14/14] tracing: Get trace_array ref counts when accessing trace files

2014-04-05 Thread Sasha Levin
On 04/05/2014 02:33 PM, Steven Rostedt wrote: > On Sat, 05 Apr 2014 10:59:10 -0400 > Sasha Levin wrote: > >> On 07/02/2013 04:22 PM, Steven Rostedt wrote: >>> From: "Steven Rostedt (Red Hat)" >>> >>> When a trace file is opened that may access a trace array, it must >>> increment its ref count

[PATCH 1/1] fs/affs/file.c: Remove unnecessary function parameters

2014-04-05 Thread Fabian Frederick
-affs_do_readpage_ofs is always called with from = 0 ie reading from page->index -File parameter is never used Cc: Andrew Morton Cc: linux-fsde...@vger.kernel.org Signed-off-by: Fabian Frederick --- fs/affs/file.c | 24 +--- 1 file changed, 13 insertions(+), 11 deletions(-)

Re: [PATCH net IPv6]: Fix maximum IPv6 address limit violation

2014-04-05 Thread Hannes Frederic Sowa
Hi! On Sat, Apr 05, 2014 at 05:22:59PM +0530, Balakumaran Kannan wrote: > Kernel doesn't check with max IPv6 address limit before adding IPv6 temporary > address. > > Security fix CVE-2013-0343 removes max_addresses check from > ipv6_create_tempaddr > function as this is handled before in

[GIT PULL 8/8] ARM: SoC: late cleanups

2014-04-05 Thread Arnd Bergmann
The following changes since commit 86feafebbec2b510daf36ffbdbe10228ed890b00: ARM: dts: use macros in clock bindings for exynos5440 (2014-02-26 09:53:31 +0900) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git tags/cleanup2-3.15 for you

[GIT PULL 7/8] ARM: SoC: sh driver changes

2014-04-05 Thread Arnd Bergmann
The following changes since commit 0414855fdc4a40da05221fc6062cccbc0c30f169: Linux 3.14-rc5 (2014-03-02 18:56:16 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git tags/sh-3.15 for you to fetch changes up to

[GIT PULL 6/8] ARM: SoC: driver changes

2014-04-05 Thread Arnd Bergmann
The following changes since commit e063735f9155826ee96a9bbc5407a1ead192f295: ARM: STi: STIH416: Add IR support. (2014-03-11 10:04:38 +) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git tags/drivers-3.15 for you to fetch changes up

[GIT PULL 4/8] ARM: SoC: board changes

2014-04-05 Thread Arnd Bergmann
The following changes since commit 6d0abeca3242a88cab8232e4acd7e2bf088f3bc2: Linux 3.14-rc3 (2014-02-16 13:30:25 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git tags/boards-3.15 for you to fetch changes up to

[GIT PULL 3/8] ARM: SoC specific changes

2014-04-05 Thread Arnd Bergmann
The following changes since commit 0e8b860ac6d65209beea03ee9b718089838476ef: ARM: bcm281xx: Rename board_init() function (2014-03-06 03:18:01 -0500) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git tags/soc-3.15 for you to fetch changes

[GIT PULL 2/8] ARM: SoC: cleanups for 3.15

2014-04-05 Thread Arnd Bergmann
The following changes since commit 6d0abeca3242a88cab8232e4acd7e2bf088f3bc2: Linux 3.14-rc3 (2014-02-16 13:30:25 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git tags/cleanup-3.15 for you to fetch changes up to

[GIT PULL 1/8] ARM: SoC non-critical bug fixes for 3.15

2014-04-05 Thread Arnd Bergmann
The following changes since commit cfbf8d4857c26a8a307fb7cd258074c9dcd8c691: Linux 3.14-rc4 (2014-02-23 17:40:03 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git tags/fixes-non-critical-3.15 for you to fetch changes up to

Re: [PATCH 1/1] staging: sep: Fix coding style

2014-04-05 Thread Greg KH
On Sat, Apr 05, 2014 at 08:24:04PM +0200, Camille Bordignon wrote: > This fixes coding style warning "Missing a blank line after > declarations" in files sep_dev.h and sep_crypto.c. > > Signed-off-by: Camille Bordignon > --- > diff --git a/drivers/staging/sep/sep_crypto.c >

Re: About 'hash' event trigger patchset

2014-04-05 Thread Tom Zanussi
Hi Namhyung, On Fri, 2014-04-04 at 16:36 +0900, Namhyung Kim wrote: > Hi Tom, > > On Wed, 02 Apr 2014 09:51:54 -0500, Tom Zanussi wrote: > > Hi Namhyung, > > > > On Wed, 2014-04-02 at 08:31 +, Namhyung Kim wrote: > >> One thing I noticed in the main logic is that it seems there's no > >>

Re: [for-next][PATCH 14/14] tracing: Get trace_array ref counts when accessing trace files

2014-04-05 Thread Steven Rostedt
On Sat, 05 Apr 2014 10:59:10 -0400 Sasha Levin wrote: > [ 5644.290783] Chain exists of: > trace_types_lock --> >mutex/1 --> >cred_guard_mutex > > [ 5644.290783] Possible unsafe locking scenario: > [ 5644.290783] > [ 5644.290783]CPU0CPU1 > [ 5644.290783]

[RESEND PATCH v2] documentation: docbook: document process of writing an musb glue layer

2014-04-05 Thread Apelete Seketeli
Document the process of writing an musb glue layer by taking the Ingenic JZ4740 glue layer as an example, as it seems more simple than most glue layers due to the basic feature set of the JZ4740 USB device controller. Signed-off-by: Apelete Seketeli --- Documentation/DocBook/Makefile

[RESEND PATCH v2] Add documentation on writing an musb glue layer

2014-04-05 Thread Apelete Seketeli
Hello, Following a few patches already in tree that add support for the USB device controller of the Ingenic JZ4740 MIPS SoC, I documented the process of writing an MUSB glue layer. The JZ4740 MUSB controller offers a basic feature set, which makes the glue layer implementation more simple than

Re: [for-next][PATCH 14/14] tracing: Get trace_array ref counts when accessing trace files

2014-04-05 Thread Steven Rostedt
On Sat, 05 Apr 2014 10:59:10 -0400 Sasha Levin wrote: > On 07/02/2013 04:22 PM, Steven Rostedt wrote: > > From: "Steven Rostedt (Red Hat)" > > > > When a trace file is opened that may access a trace array, it must > > increment its ref count to prevent it from being deleted. > > > > Cc:

[PATCH v3 2/2] watchdog: Remove drivers for W83697HF and W83697UG

2014-04-05 Thread Guenter Roeck
Since both chips are now supported by the w83627hf watchdog driver, the chip specific drivers are no longer needed and can be removed. Signed-off-by: Guenter Roeck --- v3: rebase to latest upstream kernel v2: resend, no change to v1 drivers/watchdog/Kconfig| 30 ---

[PATCH 1/2] watchdog: w83627hf_wdt: Add early_disable module parameter

2014-04-05 Thread Guenter Roeck
Add early_disable module parameter to match functionality previously available in the w83697hf_wdt driver. Signed-off-by: Guenter Roeck --- drivers/watchdog/w83627hf_wdt.c | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/drivers/watchdog/w83627hf_wdt.c

[PATCH 1/1] staging: sep: Fix coding style

2014-04-05 Thread Camille Bordignon
This fixes coding style warning "Missing a blank line after declarations" in files sep_dev.h and sep_crypto.c. Signed-off-by: Camille Bordignon --- diff --git a/drivers/staging/sep/sep_crypto.c b/drivers/staging/sep/sep_crypto.c index 965485f..415f8ec 100644 ---

Re: [PATCH] ipc,shm: disable shmmax and shmall by default

2014-04-05 Thread KOSAKI Motohiro
On Fri, Apr 4, 2014 at 1:00 AM, Davidlohr Bueso wrote: > On Thu, 2014-04-03 at 19:39 -0400, KOSAKI Motohiro wrote: >> On Thu, Apr 3, 2014 at 3:50 PM, Davidlohr Bueso wrote: >> > On Thu, 2014-04-03 at 21:02 +0200, Manfred Spraul wrote: >> >> Hi Davidlohr, >> >> >> >> On 04/03/2014 02:20 AM,

Re: ktap and ebpf integration

2014-04-05 Thread Andi Kleen
> 4) var i = 0; trace *:* { i += 1} > Assign global variable in here, there also can assign other > value not 0, please show me how BPF do this. > (See complex global usage example in samples/schedule/schedtimes.kp) That's what I meant. BPF is essentially a statically typed language. KTAP is

Re: 3.13: disagrees about version of symbol

2014-04-05 Thread Tetsuo Handa
Thomas B臘hler wrote: > >> For convenience, here is a copy-and-paste of the full text: > > > > I did some experiments know and I can't find any 32bit modules > > that do not load with 32bit MODVERSIONS on or off with > > a current tree. > > > > Do you have a specific config? > > Specific

Re: ktap and ebpf integration

2014-04-05 Thread Alexei Starovoitov
On Sat, Apr 5, 2014 at 7:23 AM, Jovi Zhangwei wrote: > On Sat, Apr 5, 2014 at 1:28 AM, Alexei Starovoitov wrote: >> >> 'ktap syntax' from user space point of view, can use ibpf as-is. >> Show me the script and I can show how ibpf can run it. > > Well, please don't engage 'ktap syntax' in here,

Re: [PATCH] topology: Fix compilation warning when not in SMP

2014-04-05 Thread Greg Kroah-Hartman
On Sat, Apr 05, 2014 at 02:30:27PM +0200, Vincent wrote: > On 04/05/2014 01:49 AM, Greg Kroah-Hartman wrote: > > Warnings aren't a stable kernel issue, so why would this be relevant > > there? > > Oh, sorry about that. I'll go re-read the stable kernel rules again. > > Shall I re-post without

[PATCH] staging: dt3155v4l: Fixed global symbol

2014-04-05 Thread Michalis Pappas
Made q_ops static, as suggested by sparse. Signed-off-by: Michalis Pappas --- drivers/staging/media/dt3155v4l/dt3155v4l.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/media/dt3155v4l/dt3155v4l.c b/drivers/staging/media/dt3155v4l/dt3155v4l.c index

net: pptp: bad RCU usage and use after free

2014-04-05 Thread Sasha Levin
Hi all, I've stumbled on the following spew: [ 2513.440938] BUG: unable to handle kernel paging request at 88006dca0e78 [ 2513.442119] IP: pptp_connect (drivers/net/ppp/pptp.c:125 drivers/net/ppp/pptp.c:447) [ 2513.443062] PGD 3c91c067 PUD 102fc82067 PMD 102fb13067 PTE 80006dca0060 [

Re: [RFC] Optimising IS_ERR_OR_NULL

2014-04-05 Thread Alexander Holler
Am 05.04.2014 16:43, schrieb Matthew Wilcox: (4 days too late for April Fools ... oh well :-) I don't like the look of IS_ERR_OR_NULL. It does two tests when (due to the bit patterns used to represent errors and NULL pointers) it could use just one: #define IS_ERR_VALUE(x) unlikely((x) >=

[PATCH] mfd: lpc_ich: Enable GPIO for Panther Point

2014-04-05 Thread Guenter Roeck
Panther Point PCH GPIO configuration is similar to V5 PCHs. Signed-off-by: Guenter Roeck --- drivers/mfd/lpc_ich.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mfd/lpc_ich.c b/drivers/mfd/lpc_ich.c index 37edf9e..d096cca 100644 --- a/drivers/mfd/lpc_ich.c +++

[PATCH v4] ext4: initialize multi-block allocator before checking block descriptors

2014-04-05 Thread Azat Khuzhin
With EXT4FS_DEBUG ext4_count_free_clusters() will call ext4_read_block_bitmap() without s_group_info initialized, so we need to initialize multi-block allocator before. And dependencies that must be solved, to allow this: - multi-block allocator needs in group descriptors - need to install s_op

Re: mm: slub: gpf in deactivate_slab

2014-04-05 Thread Sasha Levin
On 03/26/2014 11:43 AM, Christoph Lameter wrote: > On Tue, 25 Mar 2014, Sasha Levin wrote: > >> I'm not sure if there's anything special about this cache, codewise it's >> created as follows: >> >> >> inode_cachep = kmem_cache_create("inode_cache", >>

f2fs: kernel BUG at fs/f2fs/segment.h:543

2014-04-05 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: [ 1789.220942] kernel BUG at fs/f2fs/segment.h:543! [ 1789.220942] invalid opcode: [#1] PREEMPT SMP DEBUG_PAGEALLOC [ 1789.220942] Dumping ftrace buffer: [

Re: [PATCH] autofs4: check dev ioctl size before allocating

2014-04-05 Thread Sasha Levin
Ping? Anyone wants to take this? On 03/15/2014 09:40 PM, Sasha Levin wrote: > There wasn't any check of the size passed from userspace before > trying to allocate the memory required. > > This meant that userspace might request more space than allowed, > triggering an OOM. > > Signed-off-by:

Re: [for-next][PATCH 14/14] tracing: Get trace_array ref counts when accessing trace files

2014-04-05 Thread Sasha Levin
On 07/02/2013 04:22 PM, Steven Rostedt wrote: > From: "Steven Rostedt (Red Hat)" > > When a trace file is opened that may access a trace array, it must > increment its ref count to prevent it from being deleted. > > Cc: sta...@vger.kernel.org # 3.10 > Reported-by: Alexander Lam >

Re: [PATCH 1/2] nohz: use seqlock to avoid race on idle time stats v2

2014-04-05 Thread Denys Vlasenko
On Sat, Apr 5, 2014 at 12:08 PM, Frederic Weisbecker wrote: >> > Iowait makes sense but not per cpu. Eventually it's a global >> > stat. Or per task. >> >> There a lot of situations where admins want to know >> how much, on average, their CPUs are idle because >> they wait for IO. >> >> If you

[RFC] Optimising IS_ERR_OR_NULL

2014-04-05 Thread Matthew Wilcox
(4 days too late for April Fools ... oh well :-) I don't like the look of IS_ERR_OR_NULL. It does two tests when (due to the bit patterns used to represent errors and NULL pointers) it could use just one: #define IS_ERR_VALUE(x) unlikely((x) >= (unsigned long)-MAX_ERRNO) static inline long

Re: [RFC PATCH] cmdline: Hide "debug" from /proc/cmdline

2014-04-05 Thread John Stoffel
> "Greg" == Greg Kroah-Hartman writes: Greg> On Fri, Apr 04, 2014 at 05:17:09PM -0400, John Stoffel wrote: >> > "Linus" == Linus Torvalds writes: >> Linus> On Fri, Apr 4, 2014 at 11:21 AM, Andy Lutomirski wrote: >> >> >> >> The other thing I've used /dev/kmsg for is to shove a "I'm

Re: 3.13: disagrees about version of symbol

2014-04-05 Thread Thomas Bächler
Am 05.04.2014 03:13, schrieb Andi Kleen: > On Tue, Apr 01, 2014 at 01:38:10AM +0200, Thomas Bächler wrote: >> Am 01.04.2014 01:34, schrieb Andi Kleen: This problem persists in v3.14, i.e. I still have to revert 83460ec8dcac14142e7860a01fa59c267ac4657c in order to get a working

[PATCH] arm64: fix !CONFIG_COMPAT build failures

2014-04-05 Thread Mark Salter
Recent arm64 builds using CONFIG_ARM64_64K_PAGES are failing with: arch/arm64/kernel/perf_regs.c: In function ‘perf_reg_abi’: arch/arm64/kernel/perf_regs.c:41:2: error: implicit declaration of function ‘is_compat_thread’ arch/arm64/kernel/perf_event.c:1398:2: error: unknown type name

Re: ktap and ebpf integration

2014-04-05 Thread Jovi Zhangwei
On Sat, Apr 5, 2014 at 1:28 AM, Alexei Starovoitov wrote: > On Fri, Apr 4, 2014 at 7:20 AM, Andi Kleen wrote: > >> BTW I agree that EBPF won't work for ktap. The models >> (static vs dynamic typing etc.) are just too different. > > If you meant 'static vs dynamic safety checking' then yes. >

Re: NFSv2 directory cannot longer be exported in 3.14, 3.13 works fine

2014-04-05 Thread Toralf Förster
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 04/05/2014 02:51 PM, Jeff Layton wrote: > This was already tracked down earlier this week. Bruce has a patch > queued to fix it in his nfsd-next branch. See this thread from > earlier this week: > > Subject: Re: linux-3.14 nfsd regression yep -

[PATCH 0/2] ARC: unbork nsimosci serial console

2014-04-05 Thread Vineet Gupta
Hi, This is basically stable team fodder. I'll be sending these patches to Linus as part of ARC 3.15 merge window changes early next week. Thx, -Vineet Mischa Jonker (1): ARC: [nsimosci] Change .dts to use generic 8250 UART Vineet Gupta (1): ARC: [nsimosci] Unbork console

[PATCH Resend 1/2] ARC: [nsimosci] Change .dts to use generic 8250 UART

2014-04-05 Thread Vineet Gupta
From: Mischa Jonker The Synopsys APB DW UART has a couple of special features that are not in the System C model. In 3.8, the 8250_dw driver didn't really use these features, but from 3.9 onwards, the 8250_dw driver has become incompatible with our model. Signed-off-by: Mischa Jonker

[PATCH Resend 2/2] ARC: [nsimosci] Unbork console

2014-04-05 Thread Vineet Gupta
Despite the switch to right UART driver (prev patch), serial console still doesn't work due to missing CONFIG_SERIAL_OF_PLATFORM Also fix the default cmdline in DT to not refer to out-of-tree ARC framebuffer driver for console. Signed-off-by: Vineet Gupta Cc:#3.10, 3.12, 3.13, 3.14 Cc:

[PATCH 0/2] ARC: unbork nsimosci serial console

2014-04-05 Thread Vineet Gupta
Hi, This is basically stable team fodder. I'll be sending these patches to Linus as part of ARC 3.15 merge window changes early next week. Thx, -Vineet Mischa Jonker (1): ARC: [nsimosci] Change .dts to use generic 8250 UART Vineet Gupta (1): ARC: [nsimosci] Unbork console

Re: NFSv2 directory cannot longer be exported in 3.14, 3.13 works fine

2014-04-05 Thread Jeff Layton
On Sat, 05 Apr 2014 14:17:27 +0200 Toralf Förster wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > On 04/04/2014 11:57 PM, Toralf Förster wrote: > > At a user mode linux image (32 bit Gentoo Linux) the recent kernel gives > > this error while trying to mount a NFSv2 directory: >

Re: [PATCH v2 9/9] uprobes/x86: Teach arch_uprobe_post_xol() to restart if possible

2014-04-05 Thread Oleg Nesterov
On 04/04, Jim Keniston wrote: > > On Fri, 2014-04-04 at 20:51 +0200, Oleg Nesterov wrote: > > > > Currently only adjust_ret_addr() can fail, and this can only happen if > > another thread unmapped our stack after we executed "call" out-of-line. > > Most probably the application if buggy, but even

Re: [PATCH] topology: Fix compilation warning when not in SMP

2014-04-05 Thread Vincent
On 04/05/2014 01:49 AM, Greg Kroah-Hartman wrote: Warnings aren't a stable kernel issue, so why would this be relevant there? Oh, sorry about that. I'll go re-read the stable kernel rules again. Shall I re-post without the stable Cc:, for only mainline and next? Best regards, V. -- To

Re: NFSv2 directory cannot longer be exported in 3.14, 3.13 works fine

2014-04-05 Thread Toralf Förster
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 04/04/2014 11:57 PM, Toralf Förster wrote: > At a user mode linux image (32 bit Gentoo Linux) the recent kernel gives this > error while trying to mount a NFSv2 directory: > mount.nfs: mount point /mnt/nfsv2 is not a directory > A bisect

Re: WARNING: CPU: 0 PID: 1935 at kernel/timer.c:1621 migrate_timer_list()

2014-04-05 Thread Viresh Kumar
On 5 April 2014 12:48, Jet Chen wrote: > Your patch fixes it! Thanks for all your efforts on reporting/testing this patch.. I have sent the final patch to list. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More

[PATCH] clocksource: register cpu notifier to remove timer from dying CPU

2014-04-05 Thread Viresh Kumar
clocksource core is using add_timer_on() to run clocksource_watchdog() on all CPUs one by one. But when a core is brought down, clocksource core doesn't remove this timer from the dying CPU. And in this case timer core gives this (Gives this only with unmerged code, anyway in the current code as

  1   2   3   >