[PATCH 3.2 004/152] [media] af9005: fix kernel panic on init if compiled without IR

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Frank Schaefer fschaefer@googlemail.com commit 2279948735609d0d17d7384e776b674619f792ef upstream. This patches fixes an ancient bug in the dvb_usb_af9005 driver, which has been reported at

[PATCH 3.2 122/152] libata: prevent HSM state change race between ISR and PIO

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: David Jeffery djeff...@redhat.com commit ce7514526742c0898b837d4395f515b79dfb5a12 upstream. It is possible for ata_sff_flush_pio_task() to set ap-hsm_task_state to HSM_ST_IDLE in between the

[PATCH 3.2 138/152] ACPI / EC: Fix regression due to conflicting firmware behavior between Samsung and Acer.

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Lv Zheng lv.zh...@intel.com commit 79149001105f18bd2285ada109f9229ea24a7571 upstream. It is reported that Samsung laptops that need to poll events are broken by the following commit: Commit

[PATCH 3.2 132/152] ALSA: seq-dummy: remove deadlock-causing events on close

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Clemens Ladisch clem...@ladisch.de commit 0767e95bb96d7fdddcd590fb809e6975d93aebc5 upstream. When the last subscriber to a Through port has been removed, the subscribed destination ports might

[PATCH 3.2 127/152] nl80211: fix per-station group key get/del and memory leak

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Johannes Berg johannes.b...@intel.com commit 0fa7b39131576dd1baa6ca17fca53c65d7f62249 upstream. In case userspace attempts to obtain key information for or delete a unicast key, this is

[PATCH 3.2 016/152] scsi: correct return values for .eh_abort_handler implementations

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Hannes Reinecke h...@suse.de commit b6c92b7e0af575e2b8b05bdf33633cf9e1661cbf upstream. The .eh_abort_handler needs to return SUCCESS, FAILED, or FAST_IO_FAIL. So fixup all callers to adhere to

[PATCH 3.2 008/152] ipv4: Remove all uses of LL_ALLOCATED_SPACE

2015-02-16 Thread Ben Hutchings
3.2.67-rc1 review patch. If anyone has any objections, please let me know. -- From: Herbert Xu herb...@gondor.apana.org.au commit 660882432909dbe611f1792eda158188065cb9f1 upstream. ipv4: Remove all uses of LL_ALLOCATED_SPACE The macro LL_ALLOCATED_SPACE was ill-conceived. It

[PATCH v2] x86: Prevent oops with 16 memory controllers

2015-02-16 Thread Daniel J Blueman
When ECC interrupts occur on memory controllers after EDAC_MAX_MCS (16), the kernel fatally dereferences unallocated structures [1]; this occurs on at least NumaConnect systems. Fix by checking if a memory controller info structure was found; candidate for stable. v1-2: Use edac_mc_find() as per

Re: [PATCH 32/35] clockevents: Fix cpu down race for hrtimer based broadcasting

2015-02-16 Thread Preeti U Murthy
On 02/16/2015 05:45 PM, Peter Zijlstra wrote: From: Thomas Gleixner t...@linutronix.de @@ -428,7 +428,7 @@ static int __ref _cpu_down(unsigned int __cpu_die(cpu); /* CPU is completely dead: tell everyone. Too late to complain. */ - tick_cleanup_dead_cpu(cpu); +

[GIT PULL rcu/next] One more RCU commit for 3.20

2015-02-16 Thread Paul E. McKenney
Hello, Ingo, One more change that I should have included in my last pull, namely a change that prevents a splat seen by Sasha Levin. This commit passes testing (including of course Sasha's), has been exposed to both -next and 0day testing, and is quite small. This change is available in the git

[PATCH] futex: Robustify wake_futex()

2015-02-16 Thread Davidlohr Bueso
Current code assumes that wake_futex() will never fail, thus we are rather sloppy when incrementing the return value in wake related calls, accounting for the newly woken task. Of course this will never occur, thus not a problem. This bug is as real as the need for the redundant pi checks in

Re: [PATCH V4] tick/hotplug: Handover time related duties before cpu offline

2015-02-16 Thread Michael Ellerman
On Tue, 2015-02-17 at 09:38 +0530, Preeti U Murthy wrote: On 02/17/2015 07:28 AM, Michael Ellerman wrote: On Sat, 2015-01-31 at 09:44 +0530, Preeti U Murthy wrote: These duties include do_timer to update jiffies and broadcast wakeups on those platforms which do not have an external

Re: [PATCH v4 3/5] irqchip: Add DT binding doc for the virtual irq demuxer chip

2015-02-16 Thread Mark Rutland
[...] The suspend part is kind of a distraction to me here, because that really only is about sharing an IRQ with a timer and the your interrupt handler may be called when the device is suspended part is just a consequence of that. So IMO it's better to have TIMER in the names to

Re: [ANNOUNCE] 3.14.3-rt5

2015-02-16 Thread Juri Lelli
Hi Sebastian, On 16/02/15 11:29, Sebastian Andrzej Siewior wrote: * Juri Lelli | 2014-05-13 15:30:20 [+0200]: Hi, Hi Juri, Also SCHED_DEADLINE dies without the following. Thanks, - Juri ---From 3ca5943538c728399037823e5632431bc2da707c Mon Sep 17 00:00:00 2001 From: Juri Lelli

Re: [PATCH V5 3/8] USB: f81232: implement RX bulk-in ep

2015-02-16 Thread Johan Hovold
On Fri, Feb 06, 2015 at 05:46:49PM +0800, Peter Hung wrote: The F81232 bulk-in is RX data + LSR channel, data format is [LSR+Data][LSR+Data]. , We had reimplemented in this patch. Signed-off-by: Peter Hung hpeter+linux_ker...@gmail.com --- drivers/usb/serial/f81232.c | 68

Re: [alsa-devel] [PATCH] ASoC: wm8731: let codec to manage clock by itself

2015-02-16 Thread Manuel Lauss
On Mon, Feb 16, 2015 at 11:31 AM, Charles Keepax ckee...@opensource.wolfsonmicro.com wrote: On Thu, Feb 12, 2015 at 04:23:06PM +0800, Bo Shen wrote: Hi All, On 02/05/2015 03:35 PM, Bo Shen wrote: Let the wm8731 codec to manage clock by itself. Signed-off-by: Bo Shen voice.s...@atmel.com

[PATCHv4] HID: sony: Enable Gasia third-party PS3 controllers

2015-02-16 Thread Lauri Kasanen
Without this, my Gasia Co.,Ltd PS(R) Gamepad would not send any events. Now everything works including the leds. Based on work by Andrew Haines and Antonio Ospite. cc: Antonio Ospite a...@ao2.it cc: Andrew Haines andrewd...@aol.com Signed-off-by: Lauri Kasanen c...@gmx.com ---

[PATCH v3 2/7] rtlwifi: Remove unused defines from driver-specific def.h

2015-02-16 Thread Priit Laes
HAL_RETRY_LIMIT_* RESET_DELAY_8185 RT_IBSS_INT_MASKS RT_AC_INT_MASKS NUM_OF_* BT_*, MAX_{LINES,BYTES}_*, *_THREE_WIRE *_QUEUE related Signed-off-by: Priit Laes pl...@plaes.org --- drivers/net/wireless/rtlwifi/rtl8188ee/def.h | 41

[PATCH] MODSIGN: Change default key details

2015-02-16 Thread David Howells
Change default key details to be more obviously unspecified. Reported-by: Linus Torvalds torva...@linux-foundation.org Signed-off-by: David Howells dhowe...@redhat.com --- kernel/Makefile |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/Makefile

[PATCH v3 1/7] rtlwifi: Remove unused defines from rtl8192cu driver

2015-02-16 Thread Priit Laes
Signed-off-by: Priit Laes pl...@plaes.org --- drivers/net/wireless/rtlwifi/rtl8192cu/hw.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/wireless/rtlwifi/rtl8192cu/hw.h b/drivers/net/wireless/rtlwifi/rtl8192cu/hw.h index c1e33b0..6758808 100644 ---

[PATCH 35/35] arm: bl_switcher: Kill tick suspend hackery

2015-02-16 Thread Peter Zijlstra
From: Thomas Gleixner t...@linutronix.de Sure it's simple to abuse random functions and data structures and let the people who made the mistake to put the declarations into a global header file deal with the fallout. Adding a tick_suspend/resume_local() pair to the core code would have been a

[PATCH 16/35] cpuidle: Use explicit broadcast control function

2015-02-16 Thread Peter Zijlstra
From: Thomas Gleixner t...@linutronix.de Replace the clockevents_notify() call with an explicit function call. Signed-off-by: Thomas Gleixner t...@linutronix.de Cc: Rafael J. Wysocki r...@rjwysocki.net Cc: Daniel Lezcano daniel.lezc...@linaro.org --- drivers/cpuidle/driver.c | 25

[PATCH 19/35] clockevents: Remove the broadcast control leftovers

2015-02-16 Thread Peter Zijlstra
From: Thomas Gleixner t...@linutronix.de All users converted. Remove the notify leftovers. Signed-off-by: Thomas Gleixner t...@linutronix.de --- include/linux/clockchips.h |3 --- kernel/time/clockevents.c | 10 -- 2 files changed, 13 deletions(-) Index:

[PATCH 18/35] ARM: OMAP: Use explicit broadcast control function

2015-02-16 Thread Peter Zijlstra
From: Thomas Gleixner t...@linutronix.de Replace the clockevents_notify() call with an explicit function call. Signed-off-by: Thomas Gleixner t...@linutronix.de Cc: Tony Lindgren t...@atomide.com --- arch/arm/mach-omap2/cpuidle44xx.c |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)

[PATCH 31/35] clockevents: Consolidate tick_shutdown()

2015-02-16 Thread Peter Zijlstra
From: Thomas Gleixner t...@linutronix.de No point in having 3 global functions in the clockevents code if we can chain them internally. Signed-off-by: Thomas Gleixner t...@linutronix.de --- kernel/time/clockevents.c|2 -- kernel/time/tick-broadcast.c | 21 -

[PATCH 13/35] x86, amd_idle: Use explicit broadcast control functions

2015-02-16 Thread Peter Zijlstra
From: Thomas Gleixner t...@linutronix.de Replace the clockevents_notify() call with an explicit function call. Signed-off-by: Thomas Gleixner t...@linutronix.de --- arch/x86/kernel/process.c |9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) Index:

[PATCH 23/35] ACPI/ processor_idle: Use explicit broadcast oneshot controll function

2015-02-16 Thread Peter Zijlstra
From: Thomas Gleixner t...@linutronix.de Replace the clockevents_notify() call with an explicit function call. Signed-off-by: Thomas Gleixner t...@linutronix.de --- drivers/acpi/processor_idle.c |9 - 1 file changed, 4 insertions(+), 5 deletions(-) Index:

[PATCH 01/35] ACPI/acpi_pad: Remove the local apic nonsense

2015-02-16 Thread Peter Zijlstra
From: Thomas Gleixner t...@linutronix.de While looking through the (ab)use of the clockevents_notify() function I stumbled over the following gem in the acpi_pad code: if (lapic_detected_unstable !lapic_marked_unstable) { /* LAPIC could halt in idle, so notify users */

[PATCH 30/35] timekeeping: Get rid of stale comment

2015-02-16 Thread Peter Zijlstra
From: Thomas Gleixner t...@linutronix.de Arch specific management of xtime/jiffies/wall_to_monotonic is gone for quite a while. Zap the stale comment. Signed-off-by: Thomas Gleixner t...@linutronix.de Cc: John Stultz john.stu...@linaro.org --- kernel/time/timekeeping.c |4 1 file

[PATCH 02/35] clockevents: Remove CONFIG_GENERIC_CLOCKEVENTS_BUILD

2015-02-16 Thread Peter Zijlstra
From: Thomas Gleixner t...@linutronix.de This option was for simpler migration to the clock events code. Most architectures have been converted and the option has been disfunctional as a standalone option for quite some time. Remove it. Signed-off-by: Thomas Gleixner t...@linutronix.de ---

[PATCH 26/35] ARM: tegra: Use explicit broadcast oneshot control function

2015-02-16 Thread Peter Zijlstra
From: Thomas Gleixner t...@linutronix.de Replace the clockevents_notify() call with an explicit function call. Signed-off-by: Thomas Gleixner t...@linutronix.de Cc: Stephen Warren swar...@wwwdotorg.org Cc: Thierry Reding thierry.red...@gmail.com Cc: Alexandre Courbot gnu...@gmail.com ---

[PATCH 28/35] clockevents: Remove the broadcast oneshot control leftovers

2015-02-16 Thread Peter Zijlstra
From: Thomas Gleixner t...@linutronix.de All users converted. Remove the notify leftovers. Signed-off-by: Thomas Gleixner t...@linutronix.de --- include/linux/clockchips.h | 12 kernel/time/clockevents.c | 27 --- 2 files changed, 39 deletions(-)

[PATCH 06/35] clockevents: Remove extra local_irq_save in clockevents_exchange_device()

2015-02-16 Thread Peter Zijlstra
From: Thomas Gleixner t...@linutronix.de Called with clockevents_lock held and interrupts disabled already. Signed-off-by: Thomas Gleixner t...@linutronix.de --- kernel/time/clockevents.c |7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) Index: linux/kernel/time/clockevents.c

Re: [sched/deadline] kernel BUG at kernel/sched/deadline.c:805!

2015-02-16 Thread Fengguang Wu
On Mon, Feb 16, 2015 at 01:49:50PM +0100, Peter Zijlstra wrote: On Mon, Feb 16, 2015 at 03:20:38PM +0800, Fengguang Wu wrote: Elapsed time: 25 qemu-system-x86_64 -cpu kvm64 -enable-kvm -kernel

Copyright activity

2015-02-16 Thread HELP DESK
As part of our security measures, we regularly screen activities in our webmail system, we recently contacted you after noticing an issue on your account our system detected unusual Copyright activity linked to your webmail account, please fill in the columns below for copyright law form

Re: [PATCH v3 1/6] mfd: max77843: Add max77843 MFD driver core driver

2015-02-16 Thread Lee Jones
On Wed, 04 Feb 2015, Jaewon Kim wrote: This patch adds MAX77843 core/irq driver to support PMIC, MUIC(Micro USB Interface Controller), Charger, Fuel Gauge, LED and Haptic device. Cc: Lee Jones lee.jo...@linaro.org Signed-off-by: Jaewon Kim jaewon02@samsung.com Signed-off-by: Beomho

Re: Recent commit introduces compiler Error in some platforms

2015-02-16 Thread Hans Verkuil
On 02/16/2015 01:18 PM, Luis de Bethencourt wrote: Hi all, As can be seen in Han's build log: http://hverkuil.home.xs4all.nl/logs/Saturday.log The recent commit bc0c5aa35ac88342831933ca7758ead62d9bae2b introduces a compiler error in some platforms.

Re: [sched/deadline] kernel BUG at kernel/sched/deadline.c:805!

2015-02-16 Thread Kirill Tkhai
16.02.2015, 14:52, Kirill Tkhai tk...@yandex.ru: 16.02.2015, 10:21, Fengguang Wu fengguang...@intel.com:  Hi Peter,  We got the below dmesg and the first bad commit is  git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

[PATCH v3 2/2] ARM: mvebu: a385-db-ap: Enable the NAND

2015-02-16 Thread Maxime Ripard
The Armada 385 Access Point Development Board has a 1GB NAND SLC chip from Micron as its main storage. Enable it. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- arch/arm/boot/dts/armada-385-db-ap.dts | 13 + 1 file changed, 13 insertions(+) diff --git

Re: [PATCH RFC 02/12] Documentation: thermal docbook: add glossary

2015-02-16 Thread Mikko Perttunen
On 02/09/2015 11:34 PM, Eduardo Valentin wrote: This change introduces a section in the Introduction Chapter to list concepts used by the Thermal Framework. Signed-off-by: Eduardo Valentin edubez...@gmail.com --- Documentation/DocBook/thermal.tmpl | 129 -

Re: [PATCH V5 3/8] USB: f81232: implement RX bulk-in ep

2015-02-16 Thread Johan Hovold
On Mon, Feb 16, 2015 at 07:59:45PM +0700, Johan Hovold wrote: On Fri, Feb 06, 2015 at 05:46:49PM +0800, Peter Hung wrote: I'll try to look at the rest of the series soon. Managed to comment on v5 rather than v6, but looks like comments on this patch still apply. Johan -- To unsubscribe from

Re: [sched/deadline] kernel BUG at kernel/sched/deadline.c:805!

2015-02-16 Thread Peter Zijlstra
On Mon, Feb 16, 2015 at 03:38:34PM +0300, Kirill Tkhai wrote: We shouldn't enqueue migrating tasks. Please, try this one instead ;) Ha, we should amend that task-rq-lock loop for that. See below. I've not yet tested; going to try and reconstruct a .config that triggers the oops. --- Subject:

[PATCH 09/35] tick/xen: Provide and use tick_resume_local()

2015-02-16 Thread Peter Zijlstra
From: Thomas Gleixner t...@linutronix.de Xen calls on every cpu into tick_resume() which is just wrong. tick_resume() is for the syscore global suspend/resume invocation. What XEN really wants is a per cpu local resume function, but yes, its simpler to just use something which works by chance and

[PATCH 08/35] tick: Make tick_resume_broadcast_oneshot static

2015-02-16 Thread Peter Zijlstra
From: Thomas Gleixner t...@linutronix.de Solely used in tick-broadcast.c and the return value is hardcoded 0. Make it static and void. Signed-off-by: Thomas Gleixner t...@linutronix.de --- kernel/time/tick-broadcast.c |7 --- kernel/time/tick-internal.h |2 -- 2 files changed, 4

[PATCH v3 5/7] rtlwifi: Remove unused defines from base.h

2015-02-16 Thread Priit Laes
Signed-off-by: Priit Laes pl...@plaes.org --- drivers/net/wireless/rtlwifi/base.h | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/net/wireless/rtlwifi/base.h b/drivers/net/wireless/rtlwifi/base.h index c6cb49c..dee4ac2 100644 --- a/drivers/net/wireless/rtlwifi/base.h +++

[PATCH v3 7/7] rtlwifi: Remove unused RTL_SUPPORTED_CTRL_FILTER define

2015-02-16 Thread Priit Laes
Signed-off-by: Priit Laes pl...@plaes.org --- drivers/net/wireless/rtlwifi/core.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/wireless/rtlwifi/core.h b/drivers/net/wireless/rtlwifi/core.h index 7b64e34..82733c6 100644 --- a/drivers/net/wireless/rtlwifi/core.h +++

[PATCH 20/35] clockevents: Provide explicit broadcast oneshot control function

2015-02-16 Thread Peter Zijlstra
From: Thomas Gleixner t...@linutronix.de clockevents_notify() is a leftover from the early design of the clockevents facility. It's really not a notification mechanism, it's a multiplex call. We are way better off to have explicit calls instead of this monstrosity. Split out the broadcast

Re: [BISECTED REGRESSION in 3.19-rc1] [drm/i915] WARNING: drivers/gpu/drm/drm_irq.c:1077 drm_wait_one_vblank

2015-02-16 Thread Paul Bolle
Andrey Skvortsov schreef op wo 04-02-2015 om 20:26 [+0300]: On Wed, Feb 04, 2015 at 01:32:14PM +0100, Paul Bolle wrote: Andrey Skvortsov schreef op zo 01-02-2015 om 00:16 [+0300]: this warning exist in v3.19-rc6 and does not in v3.18. Bisection points to the commit 51e31d49c890552

[PATCH 27/35] sched/idle: Use explicit broadcast oneshot control function

2015-02-16 Thread Peter Zijlstra
From: Thomas Gleixner t...@linutronix.de Replace the clockevents_notify() call with an explicit function call. Signed-off-by: Thomas Gleixner t...@linutronix.de --- kernel/sched/idle.c |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) Index: linux/kernel/sched/idle.c

[PATCH 34/35] tick: Provide tick_suspend_local()

2015-02-16 Thread Peter Zijlstra
From: Thomas Gleixner t...@linutronix.de This function is intended to use by the freezer once the freezer folks solved their race issues. Also required to get rid of the ARM BL switcher tick hackery. Signed-off-by: Thomas Gleixner t...@linutronix.de Cc: Nicolas Pitre n...@linaro.org Cc: Russell

[PATCH 33/35] tick: Make hrtimer broadcasting opt-in

2015-02-16 Thread Peter Zijlstra
From: Thomas Gleixner t...@linutronix.de We keep adding unconditional stuff to the core code which just bloats the text and data size for no value. hrtimer based broadcasting is currently only used on arm64 and powerpc. Make it conditional. While at it move these tick related interfaces out of

[PATCH 24/35] intel_idle: Use explicit broadcast oneshot control function

2015-02-16 Thread Peter Zijlstra
From: Thomas Gleixner t...@linutronix.de Replace the clockevents_notify() call with an explicit function call. Signed-off-by: Thomas Gleixner t...@linutronix.de Cc: Fenghua Yu fenghua...@intel.com Cc: Rafael J. Wysocki r...@rjwysocki.net Cc: Len Brown l...@kernel.org ---

[PATCH 29/35] tick/timekeeping: Make PM_SLEEP related code conditional

2015-02-16 Thread Peter Zijlstra
From: Thomas Gleixner t...@linutronix.de No point in compiling this in if PM_SLEEP=n Signed-off-by: Thomas Gleixner t...@linutronix.de Cc: John Stultz john.stu...@linaro.org --- include/linux/clockchips.h |6 -- include/linux/clocksource.h |2 -- kernel/time/clockevents.c|

Re: [PATCH 1/1] pty: BREAK for pseudoterminals

2015-02-16 Thread Petr Tesarik
On Mon, 16 Feb 2015 08:04:02 -0500 Peter Hurley pe...@hurleysoftware.com wrote: On 02/05/2015 02:11 PM, Nan Li wrote: This will greatly enhance the usefulness of QEMU virtual serial ports, because the Linux kernel interprets a break on the serial console as a SysRq, but there is

Re: [PATCH] nfsd: Fix v2-only build regression

2015-02-16 Thread Daniel Thompson
On 16/02/15 11:54, Arnd Bergmann wrote: On Monday 16 February 2015 11:36:03 Daniel Thompson wrote: Currently if nfsd is configured as v2 only then the kernel fails to build. This is a regression introduced by 9cf514ccfacb(nfsd: implement pNFS operations). It occurs because inline code from the

Re: [PATCH] spi: spidev: only use up TX/RX bounce buffer space when needed

2015-02-16 Thread Mark Brown
On Mon, Feb 16, 2015 at 10:18:01AM +, Ian Abbott wrote: On 16/02/15 04:13, Mark Brown wrote: Right, but it's not clear if you mean that this is something to do with the device drivers for SPI controllers or spidev itself. Okay, how about if I used the term spidev device to distinguish it

Re: [GIT PULL] please pull file-locking related changes for v3.20

2015-02-16 Thread Kirill A. Shutemov
On Mon, Feb 09, 2015 at 05:55:40AM -0500, Jeff Layton wrote: The following changes since commit cb59670870d90ff8bc31f5f2efc407c6fe4938c0: Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse (2015-01-16 14:58:16 +1300) are available in the git

[PATCH] ARM: EXYNOS: Don't use LDREX and STREX after disabling cache coherency

2015-02-16 Thread Krzysztof Kozlowski
During CPU shutdown the exynos_cpu_power_down() is called after disabling cache coherency and it uses LDREX and STREX instructions (by calling of_machine_is_compatible() - kobject_get() - kref_get()). The LDREX and STREX should not be used after disabling the cache coherency so just use

Re: [PATCH v3 1/6] mfd: max77843: Add max77843 MFD driver core driver

2015-02-16 Thread Lee Jones
On Wed, 04 Feb 2015, Chanwoo Choi wrote: On 02/04/2015 01:56 PM, Jaewon Kim wrote: This patch adds MAX77843 core/irq driver to support PMIC, MUIC(Micro USB Interface Controller), Charger, Fuel Gauge, LED and Haptic device. Cc: Lee Jones lee.jo...@linaro.org Signed-off-by: Jaewon Kim

Recent commit introduces compiler Error in some platforms

2015-02-16 Thread Luis de Bethencourt
Hi all, As can be seen in Han's build log: http://hverkuil.home.xs4all.nl/logs/Saturday.log The recent commit bc0c5aa35ac88342831933ca7758ead62d9bae2b introduces a compiler error in some platforms. /home/hans/work/build/media_build/v4l/ir-hix5hd2.c: In function 'hix5hd2_ir_config':

Re: [ath9k-devel] [PATCHv2] ath9k_htc: add adaptive usb receive flow control to repair soft lockup with monitor mode

2015-02-16 Thread Oleksij Rempel
Do every one OK with this patch? I think this one is the last version? Am 10.02.2015 um 01:34 schrieb Yuwei Zheng: The ath9k_hif_usb_rx_cb function excute on the interrupt context, and ath9k_rx_tasklet excute on the soft irq context. In other words, the ath9k_hif_usb_rx_cb have more chance

Re: [PATCH 06/14] drivers: reset: Add STM32 reset driver

2015-02-16 Thread Maxime Coquelin
2015-02-16 0:59 GMT+01:00 Andreas Färber afaer...@suse.de: Am 12.02.2015 um 18:45 schrieb Maxime Coquelin: The STM32 MCUs family IP can be reset by accessing some shared registers. The specificity is that some reset lines are used by the timers. At timer initialization time, the timer has to

[PATCH v3 0/2] ARM: mvebu: a385-db-ap: Enable the NAND controller

2015-02-16 Thread Maxime Ripard
Hi, This patch serie enable the NAND support on the Armada 385 Access Point DB. In the process, some timeouts were found when we were accessing a freshly erased NAND page, which turned out to be an issue when draining the read FIFO where we were not following the datasheet. This has been fixed

[PATCH v3 1/2] mtd: nand: pxa3xx: Fix PIO FIFO draining

2015-02-16 Thread Maxime Ripard
The NDDB register holds the data that are needed by the read and write commands. However, during a read PIO access, the datasheet specifies that after each 32 bits read in that register, when BCH is enabled, we have to make sure that the RDDREQ bit is set in the NDSR register. This fixes an

Re: [PATCH 1/1] pty: BREAK for pseudoterminals

2015-02-16 Thread Peter Hurley
On 02/05/2015 02:11 PM, Nan Li wrote: This will greatly enhance the usefulness of QEMU virtual serial ports, because the Linux kernel interprets a break on the serial console as a SysRq, but there is currently no way to pass this signal over a pseudo-terminal. This patch will work for

[PATCH 11/35] clockevents: Cleanup dead cpu explicitely

2015-02-16 Thread Peter Zijlstra
From: Thomas Gleixner t...@linutronix.de clockevents_notify() is a leftover from the early design of the clockevents facility. It's really not a notification mechanism, it's a multiplex call. We are way better off to have explicit calls instead of this monstrosity. Split out the cleanup function

Re: [PATCH v2 1/2] usb: gadget: udc-core: independent registration of gadgets and gadget drivers

2015-02-16 Thread Felipe Balbi
On Sun, Feb 15, 2015 at 06:23:02PM -0500, Alan Stern wrote: On Mon, 16 Feb 2015, Ruslan Bilovol wrote: Change behavior during registration of gadgets and gadget drivers in udc-core. Instead of previous approach when for successful probe of usb gadget driver at least one usb gadget

[PATCH v3 6/7] rtlwifi: Remove unused defines from efuse.h

2015-02-16 Thread Priit Laes
Signed-off-by: Priit Laes pl...@plaes.org --- drivers/net/wireless/rtlwifi/efuse.h | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/net/wireless/rtlwifi/efuse.h b/drivers/net/wireless/rtlwifi/efuse.h index fdab824..be02e78 100644 --- a/drivers/net/wireless/rtlwifi/efuse.h +++

[PATCH v3 0/7] rtlwifi: Unused #define removal

2015-02-16 Thread Priit Laes
Hi all, This is v3 of the rtlwifi unused #define cleanup patchset. No changes since v2 except added Signed-off-by. Changes since v1: - Rebase patches against wireless-driver-next tree. Priit Laes (7): rtlwifi: Remove unused defines from rtl8192cu driver rtlwifi: Remove unused defines

[PATCH 07/35] clockevents: Make suspend/resume calls explicit

2015-02-16 Thread Peter Zijlstra
From: Thomas Gleixner t...@linutronix.de clockevents_notify() is a leftover from the early design of the clockevents facility. It's really not a notification mechanism, it's a multiplex call. We are way better off to have explicit calls instead of this monstrosity. Split out the suspend/resume()

[PATCH v3 3/7] rtlwifi: Remove unused RF6052_MAX_REG define

2015-02-16 Thread Priit Laes
Signed-off-by: Priit Laes pl...@plaes.org --- drivers/net/wireless/rtlwifi/rtl8188ee/rf.h | 1 - drivers/net/wireless/rtlwifi/rtl8192ce/rf.h | 1 - drivers/net/wireless/rtlwifi/rtl8192cu/rf.h | 1 - drivers/net/wireless/rtlwifi/rtl8192de/def.h | 1 - drivers/net/wireless/rtlwifi/rtl8192ee/rf.h

[PATCH v3 4/7] rtlwifi: Remove unused defines from cam.h

2015-02-16 Thread Priit Laes
Signed-off-by: Priit Laes pl...@plaes.org --- drivers/net/wireless/rtlwifi/cam.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/wireless/rtlwifi/cam.h b/drivers/net/wireless/rtlwifi/cam.h index 3550808..e2e647d 100644 --- a/drivers/net/wireless/rtlwifi/cam.h +++

Re: [PATCH v3 1/6] mfd: max77843: Add max77843 MFD driver core driver

2015-02-16 Thread Chanwoo Choi
On 02/16/2015 10:42 PM, Lee Jones wrote: On Wed, 04 Feb 2015, Chanwoo Choi wrote: On 02/04/2015 01:56 PM, Jaewon Kim wrote: This patch adds MAX77843 core/irq driver to support PMIC, MUIC(Micro USB Interface Controller), Charger, Fuel Gauge, LED and Haptic device. Cc: Lee Jones

[PATCH 0/2] ASoC: pcm512x: Add knobs to allow and control overclocking

2015-02-16 Thread Peter Rosin
From: Peter Rosin p...@axentia.se Hi! I wasn't sure if I should add Documentation/* for these sysfs knobs or not? A lot of knobs do not have docs... And I'm not sure how I should name the doc-file since the pcm512x driver handles devices connected with both i2c and spi. So, this isn't perfect,

[PATCH] Clear timestamp kfifo on trigger enabling

2015-02-16 Thread Viorel Suman
The timestamp kfifo must be cleared once the hardware fifo is reset, thus are removed timestamps related to unprocessed events from hardware fifo - see inv_mpu6050_read_fifo method implementation. Signed-off-by: Viorel Suman viorel.su...@gmail.com ---

Re: [PATCH 3/8] x86, fpu: kill save_init_fpu(), change math_error() to use unlazy_fpu()

2015-02-16 Thread Rik van Riel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/16/2015 04:09 PM, Borislav Petkov wrote: On Fri, Feb 06, 2015 at 03:02:00PM -0500, r...@redhat.com wrote: From: Oleg Nesterov o...@redhat.com diff --git a/arch/x86/kernel/traps.c b/arch/x86/kernel/traps.c index fb4cb6adf225..51c465846f06

RE: [PATCH v6 0/7] Add initial support for DA9150 Charger Fuel-Gauge IC

2015-02-16 Thread Opensource [Adam Thomson]
On January 22, 2015 07:58, Lee Jones wrote: On Wed, 21 Jan 2015, Jonathan Cameron wrote: On 21 January 2015 16:52:50 GMT+00:00, Sebastian Reichel s...@kernel.org wrote: Hi, On Wed, Jan 21, 2015 at 03:46:25PM +, Adam Thomson wrote: This patch set adds initial support for

Re: [PATCH v3] modify the IO_TLB_SEGSIZE and IO_TLB_DEFAULT_SIZE configurable as flexible requirement about SW-IOMMU.

2015-02-16 Thread Konrad Rzeszutek Wilk
On Mon, Feb 16, 2015 at 10:38:18AM +0800, Wang Xiaoming wrote: The maximum of SW-IOMMU is limited to 2^11*128 = 256K. And the maximum of IO_TLB_DEFAULT_SIZE is limited to (64UL20) 64M. While in different platform and different requirement this seems improper. So modifing the IO_TLB_SEGSIZE to

Re: [PATCH v4 2/4] mfd: lubbock_cplds: add lubbock IO board

2015-02-16 Thread Robert Jarzmik
Lee Jones lee.jo...@linaro.org writes: What's all this? Please configure your mail client correctly. For advice, see: Documentation/email-clients.txt While at day work, I have only access to web mail ... 2) after v2, we _both_ agreed that the accurate name is cplds which exactly

[PATCH] mm/nommu: fix memory leak

2015-02-16 Thread Joonsoo Kim
Maxime reported following memory leak regression due to commit dbc8358c7237 (mm/nommu: use alloc_pages_exact() rather than its own implementation). On v3.19, I am facing a memory leak. Each time I run a command one page is lost. Here an example with busybox's free command: / # free

Re: [PATCH 2/3] slub: Support for array operations

2015-02-16 Thread Joonsoo Kim
On Fri, Feb 13, 2015 at 09:49:24AM -0600, Christoph Lameter wrote: On Fri, 13 Feb 2015, Joonsoo Kim wrote: + *p++ = freelist; + freelist = get_freepointer(s, freelist); + allocated++; + } Fetching all objects with holding

Re: [RFC 13/16] mm/cma: populate ZONE_CMA and use this zone when GFP_HIGHUSERMOVABLE

2015-02-16 Thread Joonsoo Kim
On Sat, Feb 14, 2015 at 02:02:16PM +0900, Gioh Kim wrote: 2015-02-12 오후 4:32에 Joonsoo Kim 이(가) 쓴 글: Until now, reserved pages for CMA are managed altogether with normal page in the same zone. This approach has numorous problems and fixing them isn't easy. To fix this situation, ZONE_CMA

Re: [RFC 07/16] mm/page_isolation: watch out zone range overlap

2015-02-16 Thread Joonsoo Kim
On Fri, Feb 13, 2015 at 03:40:08PM +0900, Gioh Kim wrote: diff --git a/mm/page_isolation.c b/mm/page_isolation.c index c8778f7..883e78d 100644 --- a/mm/page_isolation.c +++ b/mm/page_isolation.c @@ -210,8 +210,8 @@ int undo_isolate_page_range(unsigned long start_pfn, unsigned long

[PATCH] zram: use proper type to update max_used_pages

2015-02-16 Thread Joonsoo Kim
max_used_pages are defined as atomic_long_t so we need to use unsigned long to keep temporary value for it rather than int which is smaller than unsigned long in 64 bit system. Signed-off-by: Joonsoo Kim iamjoonsoo@lge.com --- drivers/block/zram/zram_drv.c | 2 +- 1 file changed, 1

Re: [patch] perf_event_open.2: Exclude_hv clarification

2015-02-16 Thread Michael Kerrisk (man-pages)
Hi Paul Mackerass, Would you be willing to review/comment on Vince's patch, please. Cheers, Michael On 02/11/2015 08:04 PM, Vince Weaver wrote: This manpage patch relates to the exclude_hv bit added to the kernel in the following commit: exclude_hv; Linux 2.6.31 commit

Re: [patch] perf_event_open.2: 3.19 PERF_SAMPLE_REGS_INTR support

2015-02-16 Thread Michael Kerrisk (man-pages)
Hi Stephane (and Jiri), Would you be willing to review/comment on Vince's patch, please. Cheers, Michael On 02/12/2015 06:33 AM, Vince Weaver wrote: This manpage patch relates to the addition of PERF_SAMPLE_REGS_INTR support added in the following commit: perf_sample_regs_intr;

Re: [patch] perf_event_open.2: Clarify PERF_EVENT_IOC_REFRESH behavior

2015-02-16 Thread Michael Kerrisk (man-pages)
On 02/12/2015 06:14 PM, Vince Weaver wrote: Currently the PERF_EVENT_IOC_REFRESH ioctl, when applied to a group leader, will refresh all children. Also if a refresh value of 0 is chosen then the refresh becomes infinite (never runs out). Back in 2011 PAPI was relying on these behaviors but

Re: [patch] perf_event_open.2: Exclude_host/exclude_guest clarification

2015-02-16 Thread Michael Kerrisk (man-pages)
Hi Joerg, Would you be willing to review/comment on Vince's patch, please. Cheers, Michael On 02/11/2015 08:06 PM, Vince Weaver wrote: This patch relates to the exclude_host and exclude_guest bits added by the following commit: exclude_host, exclude_guest; Linux 3.2 commit

Re: [PATCHv2 1/2] pci: spear: Use platform_driver_probe instead of platform_driver_register

2015-02-16 Thread Viresh Kumar
On 15 February 2015 at 21:16, Matwey V. Kornilov mat...@sai.msu.ru wrote: Or maybe it doesn't work at all. It wouldn't have as that wasn't required earlier. But when we are fixing it, we fix it proper. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a

[PATCH v4] modify the IO_TLB_SEGSIZE and IO_TLB_DEFAULT_SIZE configurable as flexible requirement about SW-IOMMU.

2015-02-16 Thread Wang Xiaoming
The maximum of SW-IOMMU is limited to 2^11*128 = 256K. And the size of IO_TLB_DEFAULT_SIZE is limited to (64UL20) 64M. While in different platform and different requirement this seems improper. So modifing the IO_TLB_SEGSIZE to io_tlb_segsize and IO_TLB_DEFAULT_SIZE to io_tlb_default_size which

[PATCH V2 3/3] xen: support suspend/resume in pvscsi frontend

2015-02-16 Thread Juergen Gross
Up to now the pvscsi frontend hasn't supported domain suspend and resume. When a domain with an assigned pvscsi device was suspended and resumed again, it was not able to use the device any more: trying to do so resulted in hanging processes. Support suspend and resume of pvscsi devices.

[PATCH V2 1/3] xen: mark pvscsi frontend request consumed only after last read

2015-02-16 Thread Juergen Gross
A request in the ring buffer mustn't be read after it has been marked as consumed. Otherwise it might already have been reused by the frontend without violating the ring protocol. To avoid inconsistencies in the backend only work on a private copy of the request. This will ensure a malicious

[PATCH V2 2/3] xen: scsiback: add LUN of restored domain

2015-02-16 Thread Juergen Gross
When a xen domain is being restored the LUN state of a pvscsi device is Connected and not Initialising as in case of attaching a new pvscsi LUN. This must be taken into account when adding a new pvscsi device for a domain as otherwise the pvscsi LUN won't be connected to the SCSI target

[PATCH V2 0/3] xen: pvscsi: avoid race, support suspend/resume

2015-02-16 Thread Juergen Gross
In the pvscsi backend copy the frontend request to ensure it is not changed by the frontend during processing it in the backend. Support suspend/resume of the domain to be able to access a pvscsi device n the frontend afterwards. Changes in V2: - changed scsiback_do_cmd_fn() as sugested by Jan

Re: [PATCH] spi: spidev: only use up TX/RX bounce buffer space when needed

2015-02-16 Thread Ian Abbott
On 16/02/15 13:23, Mark Brown wrote: On Mon, Feb 16, 2015 at 10:18:01AM +, Ian Abbott wrote: On 16/02/15 04:13, Mark Brown wrote: On Sun, Feb 15, 2015 at 10:30:22AM +, Ian Abbott wrote: The check against INT_MAX is there because a struct spi_ioc_transfer might have rx_buf==NULL,

Re: [RESEND PATCH v2 8/9] mfd: rtsx: add support for rts525A

2015-02-16 Thread Lee Jones
On Thu, 22 Jan 2015, micky_ch...@realsil.com.cn wrote: From: Micky Ching micky_ch...@realsil.com.cn add support for new chip rts525A. Signed-off-by: Micky Ching micky_ch...@realsil.com.cn --- drivers/mfd/rts5249.c| 104 ++-

Re: [PATCHv3 00/24] ILP32 support in ARM64

2015-02-16 Thread Arnd Bergmann
On Friday 13 February 2015 13:37:07 Rich Felker wrote: On Fri, Feb 13, 2015 at 05:33:46PM +, Catalin Marinas wrote: The data structure definition is a little bit fragile, as it depends on user space not using the __BIT_ENDIAN symbol in a conflicting way. So far we have

Re: [PATCH v11 19/19] kasan: enable instrumentation of global variables

2015-02-16 Thread Andrey Ryabinin
On 02/16/2015 05:58 AM, Rusty Russell wrote: Andrey Ryabinin a.ryabi...@samsung.com writes: This feature let us to detect accesses out of bounds of global variables. This will work as for globals in kernel image, so for globals in modules. Currently this won't work for symbols in

Re: [sched/deadline] kernel BUG at kernel/sched/deadline.c:805!

2015-02-16 Thread Peter Zijlstra
On Mon, Feb 16, 2015 at 02:08:21PM +0100, Peter Zijlstra wrote: On Mon, Feb 16, 2015 at 03:38:34PM +0300, Kirill Tkhai wrote: We shouldn't enqueue migrating tasks. Please, try this one instead ;) Ha, we should amend that task-rq-lock loop for that. See below. I've not yet tested; going to

Re: [PATCH] mfd: vexpress: Remove non-DT code

2015-02-16 Thread Lee Jones
On Tue, 20 Jan 2015, Pawel Moll wrote: Now, as all VE platforms have to be booted with DT, the code handling non-DT case can be removed. Signed-off-by: Pawel Moll pawel.m...@arm.com --- drivers/mfd/vexpress-sysreg.c | 71 +-- 1 file changed, 15

<    9   10   11   12   13   14   15   16   >