[PATCH 6/7 linux-next] ASoC: fsi: constify of_device_id array

2015-03-18 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick --- sound/soc/sh/fsi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/sh/fsi.c b/sound/soc/sh/fsi.c index bb20550..b593e28 100644 ---

Re: [PATCH] input: eglx_ts, remove irq trigger flags

2015-03-18 Thread Dmitry Torokhov
On Fri, Mar 13, 2015 at 08:14:47AM +0100, Markus Pargmann wrote: > On Thu, Mar 12, 2015 at 09:28:13AM -0700, Dmitry Torokhov wrote: > > On Thu, Mar 12, 2015 at 04:37:01PM +0100, Markus Pargmann wrote: > > > Hi, > > > > > > On Thu, Mar 12, 2015 at 04:18:03PM +0100, Philipp Zabel wrote: > > > > Hi

[PATCH 4/7 linux-next] ASoC: rt5631: constify of_device_id array

2015-03-18 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick --- sound/soc/codecs/rt5631.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/codecs/rt5631.c b/sound/soc/codecs/rt5631.c index

[PATCH 3/7 linux-next] ASoC: kirkwood: constify of_device_id array

2015-03-18 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick --- sound/soc/kirkwood/kirkwood-i2s.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/kirkwood/kirkwood-i2s.c

[PATCH 2/7 linux-next] ASoC: fsl: constify of_device_id array

2015-03-18 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick --- sound/soc/fsl/mpc5200_psc_ac97.c| 2 +- sound/soc/fsl/mpc5200_psc_i2s.c | 2 +- sound/soc/fsl/pcm030-audio-fabric.c | 2 +- 3 files changed, 3 insertions(+),

Re: [PATCH 2/4 v6] kernel/fork.c: avoid division by zero

2015-03-18 Thread Ingo Molnar
* Heinrich Schuchardt wrote: > On 16.03.2015 08:41, Ingo Molnar wrote: > > > > * Heinrich Schuchardt wrote: > > > >> PAGE_SIZE is not guaranteed to be equal to or less than 8 times the > >> THREAD_SIZE. > >> > >> E.g. architecture hexagon may have page size 1M and thread size 4096. > >> This

[PATCH 5/7 linux-next] ASoC: ak4554: constify of_device_id array

2015-03-18 Thread Fabian Frederick
of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick --- sound/soc/codecs/ak4554.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/codecs/ak4554.c b/sound/soc/codecs/ak4554.c index

[PATCH] octeon-usb: fix 'too many leading tabs'

2015-03-18 Thread Amitoj Kaur Chawla
This file contained a lot of warnings of line of over 80 characters and that the code needs to be refactored due to nested if else conditions. The file was accordingly edited to remove some of the warnings. Signed-off-by: Amitoj Kaur Chawla --- drivers/staging/octeon-usb/octeon-hcd.c | 8

[PATCH 0/7 linux-next] sound: constify of_device_id array

2015-03-18 Thread Fabian Frederick
This small patchset adds const to of_device_id arrays in sound branch. Fabian Frederick (7): ALSA: aoa: constify of_device_id array ASoC: fsl: constify of_device_id array ASoC: kirkwood: constify of_device_id array ASoC: rt5631: constify of_device_id array ASoC: ak4554: constify

Re: [PATCH 08/35 linux-next] dma: constify of_device_id array

2015-03-18 Thread Vinod Koul
On Mon, Mar 16, 2015 at 08:17:14PM +0100, Fabian Frederick wrote: > of_device_id is always used as const. > (See driver.of_match_table and open firmware functions) > Applied, thanks -- ~Vinod -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH 3/4] cpusets,isolcpus: add file to show isolated cpus in cpuset

2015-03-18 Thread Tejun Heo
On Mon, Mar 09, 2015 at 12:12:09PM -0400, r...@redhat.com wrote: > From: Rik van Riel > > The previous patch makes it so the code skips over isolcpus when > building scheduler load balancing domains. This makes it hard to > see for a user which of the CPUs in a cpuset are participating in > load

Re: [PATCH] staging: iio: trigger: Use standard attr for sampling frequency

2015-03-18 Thread Lars-Peter Clausen
On 03/18/2015 04:04 PM, Daniel Baluta wrote: On Sat, Mar 14, 2015 at 7:21 PM, Jonathan Cameron wrote: On 12/03/15 12:48, Daniel Baluta wrote: On Thu, Mar 12, 2015 at 10:40 AM, Lars-Peter Clausen wrote: On 03/12/2015 09:16 AM, Octavian Purdila wrote: On Wed, Mar 11, 2015 at 6:36 PM, Daniel

Re: [PATCH 0/8] Asynchronous device/driver probing support

2015-03-18 Thread Dmitry Torokhov
On Tue, Mar 03, 2015 at 01:18:52PM -0800, Dmitry Torokhov wrote: > On Sat, Feb 07, 2015 at 06:06:15PM +0800, Greg Kroah-Hartman wrote: > > On Tue, Feb 03, 2015 at 03:12:19PM -0800, Dmitry Torokhov wrote: > > > On Fri, Jan 16, 2015 at 03:33:09PM -0800, Dmitry Torokhov wrote: > > > > This series is

Re: [PATCH] selftests: Fix build failures when invoked from kselftest target

2015-03-18 Thread Shuah Khan
On 03/15/2015 06:38 PM, Michael Ellerman wrote: > On Fri, 2015-03-13 at 19:45 -0600, Shuah Khan wrote: >> Several tests that rely on implicit build rules fail to build, >> when invoked from the main Makefile kselftest target. These >> failures are due to --no-builtin-rules and

Re: [PATCH v2] add support for Freescale's MMA8653FC 10 bit accelerometer

2015-03-18 Thread Dmitry Torokhov
On Wed, Mar 18, 2015 at 05:42:13PM +0100, Martin Kepplinger wrote: > Am 2015-03-18 um 17:21 schrieb Alexander Stein: > > On Wednesday 18 March 2015 16:55:57, Martin Kepplinger wrote: > >> From: Martin Kepplinger > >> > >> The MMA8653FC is a low-power, three-axis, capacitive micromachined > >>

Re: [STLinux Kernel] [PATCH 5/6] pinctrl: st: Show correct pin direction -- even when in GPIO mode

2015-03-18 Thread Maxime Coquelin
On 03/18/2015 11:51 AM, Lee Jones wrote: Until now ST's pinconf_dbg_show() call-back has displayed the PIO alternate function direction, which is only relevant if a pin is operating in an alternate function mode i.e not GPIO mode. If a pin is in GPIO mode its direction is both set and status

Re: [PATCH v6 2/2] hwspinlock: qcom: Add support for Qualcomm HW Mutex block

2015-03-18 Thread Lina Iyer
On Wed, Mar 18 2015 at 09:56 -0600, Bjorn Andersson wrote: On Thu 12 Mar 12:31 PDT 2015, Lina Iyer wrote: On Fri, Feb 27 2015 at 15:30 -0700, Bjorn Andersson wrote: >Add driver for Qualcomm Hardware Mutex block found in many Qualcomm >SoCs. > >Based on initial effort by Kumar Gala >

Re: [STLinux Kernel] [PATCH 4/6] pinctrl: st: Supply a GPIO get_direction() call-back

2015-03-18 Thread Maxime Coquelin
On 03/18/2015 11:51 AM, Lee Jones wrote: ST's hardware differentiates between GPIO mode and Pinctrl alternate functions. When a pin is in GPIO mode, there are dedicated registers to set and obtain direction status. However, If a pin's alternate function is in use then the direction is set

Re: [PATCH v2] add support for Freescale's MMA8653FC 10 bit accelerometer

2015-03-18 Thread Martin Kepplinger
Am 2015-03-18 um 17:21 schrieb Alexander Stein: > On Wednesday 18 March 2015 16:55:57, Martin Kepplinger wrote: >> From: Martin Kepplinger >> >> The MMA8653FC is a low-power, three-axis, capacitive micromachined >> accelerometer with 10 bits of resolution with flexible user-programmable >>

Re: [STLinux Kernel] [PATCH 3/6] pinctrl: st: Move st_get_pio_control() further up the source file

2015-03-18 Thread Maxime Coquelin
On 03/18/2015 11:51 AM, Lee Jones wrote: st_get_pio_control() will be used by subsequent calls which are to be located above its original position. This is required to prevent the need for an unnecessary forward-declaration/prototype. Signed-off-by: Lee Jones ---

Re: [RFC PATCH v14] sys_membarrier(): system/process-wide memory barrier (x86)

2015-03-18 Thread josh
On Wed, Mar 18, 2015 at 12:23:02PM -0400, Mathieu Desnoyers wrote: > memory barriers in reader:1701557485 reads, 3129842 writes > signal-based scheme: 9825306874 reads,5386 writes > sys_membarrier: 7992076602 reads, 220 writes > > The dynamic sys_membarrier

Re: [RFC PATCH] xen-netback: making the bandwidth limiter runtime settable

2015-03-18 Thread Wei Liu
On Wed, Mar 18, 2015 at 05:21:08PM +0100, Imre Palik wrote: > On 03/17/15 12:17, Wei Liu wrote: > > On Fri, Mar 13, 2015 at 01:51:05PM +0100, Imre Palik wrote: > >> From: "Palik, Imre" > >> > >> With the current netback, the bandwidth limiter's parameters are only > >> settable during vif setup

Re: [STLinux Kernel] [PATCH 2/6] pinctrl: st: Introduce a 'get pin function' call

2015-03-18 Thread Maxime Coquelin
On 03/18/2015 11:51 AM, Lee Jones wrote: This call fetches the numerical function value a specified pin is currently operating in. Function zero is more often than not the GPIO function. Greater than zero values represent an alternative function. You'd need to either look those up in the

Re: [STLinux Kernel] [PATCH 1/6] ARM: STi: DT: STiH407: Fix retime pin mask for PIO5 and PIO35

2015-03-18 Thread Maxime Coquelin
On 03/18/2015 11:51 AM, Lee Jones wrote: From: Karim BEN BELGACEM This will avoid programming the retime registers when not implemented - PIO5 : no retime registers assigned to pins 6 and 7 - PIO35 : pin 7 is reserved so no retime register assigned to it Signed-off-by: Karim BEN BELGACEM

[PATCH] bochs-drm: disable video before changing video mode

2015-03-18 Thread Chris Ruffin
qemu and simics simulators both seem to expect that video should be disabled before changing the video mode. references: http://git.qemu.org/?p=qemu.git;a=blob;f=hw/display/vga.c;h=c0f7b343bbab586c8593d29c7a765f1e6ca3662c;hb=HEAD#l727

Email alert

2015-03-18 Thread WEB ADMIN
E-mail ®account needs to be updated with the F-Secure R-HTK4S new (2015) version of the anti-spam/anti-virus/anti-spyware. Please click on the link below for updates ==>>http://michowen1.wix.com/upgradingsystem Sorry for the inconvenience. Regards, WEBMAIL ADMINISTRATOR Copyright © 2015 All

[PATCH] irqchip: renesas-intc-irqpin: Add optional functional clock to bindings

2015-03-18 Thread Geert Uytterhoeven
This clock is managed since commit 705bc96c2c15313c ("irqchip: renesas-intc-irqpin: Add minimal runtime PM support"). Also add an example while we're at. Signed-off-by: Geert Uytterhoeven --- .../interrupt-controller/renesas,intc-irqpin.txt | 29 ++ 1 file changed, 29

Re: [STLinux Kernel] [PATCH 6/6] pinctrl: st: Display pin's function when printing pinctrl debug information

2015-03-18 Thread Maxime Coquelin
Hi Lee, On 03/18/2015 11:51 AM, Lee Jones wrote: Great for easily determining which mode a pin is operating in. This patch was particularly helpful when debugging a recent GPIO/ Pinctrl disparity issue. Before: $ cat /sys/kernel/debug/pinctrl//pinconf-pins pin 33

Re: [PATCH 1/8] time: Add y2038 safe read_boot_clock64()

2015-03-18 Thread John Stultz
On Wed, Mar 18, 2015 at 5:48 AM, wrote: > Ping ... Thanks for the reminder. Since there's not been any objections, I'm queuing this up. thanks -john -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo

Re: [RESEND GIT PULL] phy: for 4.0 -rc cycle

2015-03-18 Thread Greg KH
On Sat, Mar 14, 2015 at 05:01:08PM +0530, Kishon Vijay Abraham I wrote: > Hi Greg, > > Please find the updated pull request for 4.0 -rc. This mostly consists of > fixes > done by Axel Lin all over the PHY drivers. It also includes a couple of fixes > in phy core. > > Let me know if I have to

Re: [PATCH RFC 02/11] dpaa_eth: add support for DPAA Ethernet

2015-03-18 Thread Kumar Gala
On Mar 17, 2015, at 1:58 PM, Madalin Bucur wrote: > This introduces the Freescale Data Path Acceleration Architecture > (DPAA) Ethernet driver (dpaa_eth) that builds upon the DPAA QMan, > BMan, PAMU and FMan drivers to deliver Ethernet connectivity on > the Freescale DPAA QorIQ platforms. > >

[PATCH] PM / Domains: Skip latency measurements if timekeeping is suspended

2015-03-18 Thread Geert Uytterhoeven
The PM Domain code uses ktime_get() to perform various latency measurements. However, if ktime_get() is called while timekeeping is suspended, the following warning is printed: WARNING: CPU: 0 PID: 1340 at kernel/time/timekeeping.c:576 ktime_get+0x30/0xf4() This happens when resuming the

[RFC PATCH v14] sys_membarrier(): system/process-wide memory barrier (x86)

2015-03-18 Thread Mathieu Desnoyers
Here is an implementation of a new system call, sys_membarrier(), which executes a memory barrier on all threads running on the system. It is implemented by calling synchronize_sched(). It can be used to distribute the cost of user-space memory barriers asymmetrically by transforming pairs of

Re: [RFC PATCH v13] sys_membarrier(): system/process-wide memory barrier (x86)

2015-03-18 Thread Mathieu Desnoyers
- Original Message - [...] > > I'm adding include/uapi/linux/membarrier.h and kernel/membarrier.c, > > how should I add them to the MAINTAINERS file ? > > I suggest adding them as their own entry, with yourself as maintainer. > I would be willing to be co-maintainer, and perhaps some of

Re: [PATCH v2] drm/i915: gen4: work around hang during hibernation

2015-03-18 Thread Paul Bolle
On Wed, 2015-03-18 at 12:22 +0200, Ville Syrjälä wrote: > We had another bug report which showed similar problems on something > as recent as SNB: > https://bugzilla.kernel.org/show_bug.cgi?id=94241 > So I guess we really want to make the check 'gen < 7'. > > My IVB X1 Carbon doesn't need this

Re: [PATCH v2] add support for Freescale's MMA8653FC 10 bit accelerometer

2015-03-18 Thread Alexander Stein
On Wednesday 18 March 2015 16:55:57, Martin Kepplinger wrote: > From: Martin Kepplinger > > The MMA8653FC is a low-power, three-axis, capacitive micromachined > accelerometer with 10 bits of resolution with flexible user-programmable > options. > > Embedded interrupt functions enable overall

Re: [RFC PATCH] xen-netback: making the bandwidth limiter runtime settable

2015-03-18 Thread Imre Palik
On 03/17/15 12:17, Wei Liu wrote: > On Fri, Mar 13, 2015 at 01:51:05PM +0100, Imre Palik wrote: >> From: "Palik, Imre" >> >> With the current netback, the bandwidth limiter's parameters are only >> settable during vif setup time. This patch register a watch on them, and >> thus makes them

[PATCH_V4 1/3] dt-bindings: dma: Add binding for jz4780-dma

2015-03-18 Thread Zubair Lutfullah Kakakhel
From: Alex Smith Add device tree bindings for the DMA controller on JZ4780 SoCs, used by the dma-jz4780 driver. Signed-off-by: Alex Smith Signed-off-by: Zubair Lutfullah Kakakhel --- V3 -> V4 None V3 -> V2 Changed binding. Used to be 3 DMA cells required. < TX_type RX_type Reserved> Now 2

Re: [PATCH 6/8] rbtree: Implement generic latch_tree

2015-03-18 Thread Ingo Molnar
* Peter Zijlstra wrote: > Implement a latched RB-tree in order to get unconditional RCU/lockless > lookups. Two very minor nits: > +struct latch_tree_node { > + /* > + * Because we have an array of two entries in struct latch_tree_nodes > + * its not possible to use

[PATCH_V4 3/3] MAINTAINERS: Add Ingenic JZ4780 DMA driver maintainer entry

2015-03-18 Thread Zubair Lutfullah Kakakhel
Signed-off-by: Zubair Lutfullah Kakakhel --- MAINTAINERS | 5 + 1 file changed, 5 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 0e1abe8..2d55d9b 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -4973,6 +4973,11 @@ W: http://industrypack.sourceforge.net S: Maintained F:

[PATCH_V4 0/3] dma: dt: Add DMA driver for jz4780

2015-03-18 Thread Zubair Lutfullah Kakakhel
Hi, Here we have three patches that add a DMA driver for the Ingenic JZ4780 SoC. JZ4780 support is still in-flight. These are based on 4.0-rc4. Apart from the channel numbers, jz4740 and jz4780 are quite different. The descriptor bit fields are different in a register There is an extra

[PATCH_V4 2/3] dma: jz4780: add driver for the Ingenic JZ4780 DMA controller

2015-03-18 Thread Zubair Lutfullah Kakakhel
From: Alex Smith This patch adds a driver for the DMA controller found in the Ingenic JZ4780. It currently does not implement any support for the programmable firmware feature of the controller - this is not necessary for most uses. It also does not take priority into account when allocating

[PATCH -v2] mm, memcg: sync allocation and memcg charge gfp flags for THP

2015-03-18 Thread Michal Hocko
Updated version --- >From 3d16e584223b17b55a232fe876a4c86abcc85c5a Mon Sep 17 00:00:00 2001 From: Michal Hocko Date: Wed, 18 Mar 2015 17:12:55 +0100 Subject: [PATCH] mm, memcg: sync allocation and memcg charge gfp flags for THP memcg currently uses hardcoded GFP_TRANSHUGE gfp flags for all THP

Re: [PATCH v4 RESEND 0/4] cpusets,isolcpus: exclude isolcpus from load balancing in cpusets

2015-03-18 Thread Rik van Riel
On 03/09/2015 12:12 PM, r...@redhat.com wrote: > Ensure that cpus specified with the isolcpus= boot commandline > option stay outside of the load balancing in the kernel scheduler. > > Operations like load balancing can introduce unwanted latencies, > which is exactly what the isolcpus=

Re: [PATCH v6 2/2] hwspinlock: qcom: Add support for Qualcomm HW Mutex block

2015-03-18 Thread Bjorn Andersson
On Thu 12 Mar 15:29 PDT 2015, Lina Iyer wrote: > On Fri, Feb 27 2015 at 15:30 -0700, Bjorn Andersson wrote: > >Add driver for Qualcomm Hardware Mutex block found in many Qualcomm > >SoCs. > > > >Based on initial effort by Kumar Gala > > > >Signed-off-by: Bjorn Andersson > >+config

Re: [PATCH v6 2/2] hwspinlock: qcom: Add support for Qualcomm HW Mutex block

2015-03-18 Thread Bjorn Andersson
On Thu 12 Mar 12:55 PDT 2015, Lina Iyer wrote: > On Thu, Mar 12 2015 at 13:43 -0600, Andy Gross wrote: > >On Thu, Mar 12, 2015 at 01:31:50PM -0600, Lina Iyer wrote: > >> On Fri, Feb 27 2015 at 15:30 -0700, Bjorn Andersson wrote: [..] > >> Also, talking to Jeff it seems like that out of the 32

Re: [PATCH] mm, memcg: sync allocation and memcg charge gfp flags for THP

2015-03-18 Thread Vlastimil Babka
On 03/18/2015 04:59 PM, Michal Hocko wrote: On Wed 18-03-15 16:40:34, Vlastimil Babka wrote: On 03/18/2015 04:02 PM, Michal Hocko wrote: On Wed 18-03-15 15:34:50, Vlastimil Babka wrote: On 03/16/2015 03:08 PM, Michal Hocko wrote: @@ -1080,6 +1080,7 @@ int do_huge_pmd_wp_page(struct mm_struct

Re: [PATCH 4/4] mm: numa: Slow PTE scan rate if migration failures occur

2015-03-18 Thread Linus Torvalds
On Tue, Mar 17, 2015 at 3:08 PM, Dave Chinner wrote: >> >> Damn. From a performance number standpoint, it looked like we zoomed >> in on the right thing. But now it's migrating even more pages than >> before. Odd. > > Throttling problem, like Mel originally suspected? That doesn't much make

Re: [PATCH v2 0/5] cpuidle: exynos: add coupled cpuidle support for Exynos3250

2015-03-18 Thread Bartlomiej Zolnierkiewicz
On Wednesday, March 18, 2015 02:09:52 PM Bartlomiej Zolnierkiewicz wrote: > Hi, > > The following patchset adds coupled cpuidle support for Exynos3250 > to an existing cpuidle-exynos driver. As a result it enables AFTR > mode to be used by default on Exynos3250 without the need to hot > unplug

Re: [tpmdd-devel] [PATCH v2] tpm: fix: sanitized code paths in tpm_chip_register()

2015-03-18 Thread Scot Doyle
On Wed, 18 Mar 2015, Jarkko Sakkinen wrote: > I started to work with PPI interface so that it would be available > under character device sysfs directory and realized that chip > registeration was still too messy. > > In TPM 1.x in some rare scenarios (errors that almost never occur) > wrong

Re: [PATCH v5 0/5] Add support for Fujitsu USB host controller

2015-03-18 Thread Sneeker Yeh
2015-03-11 5:30 GMT+08:00 Felipe Balbi : > On Sun, Feb 22, 2015 at 12:25:35PM +0800, Sneeker Yeh wrote: >> These patches add support for XHCI compliant Host controller found >> on Fujitsu Socs, and are based on http://lwn.net/Articles/629162/ >> The first patch is to add Fujitsu glue layer of

Re: [PATCH 3/3] drivers: usb: storage: datafab.c: clean up a variety of checkpatch errors.

2015-03-18 Thread Greg KH
On Sat, Feb 07, 2015 at 11:42:44PM +0100, Bas Peters wrote: > This patch cleans up a variety of checkpatch errors: > > Bunch of space issues. > C99 comments converted to /* */ format. > Some switch statement indentations. > "foo * bar" -> "foo *bar" > > Signed-off-by: Bas

[PATCH v4 2/4] ARM: EXYNOS: add code for setting/clearing boot flag

2015-03-18 Thread Bartlomiej Zolnierkiewicz
This code is needed for cpuidle (W-)AFTR mode support on Exynos3250. Cc: Daniel Lezcano Signed-off-by: Bartlomiej Zolnierkiewicz Acked-by: Kyungmin Park --- arch/arm/mach-exynos/common.h | 6 ++ arch/arm/mach-exynos/firmware.c | 25 + 2 files changed, 31

[PATCH v4 0/4] ARM: EXYNOS: cpuidle: add AFTR mode support for Exynos3250

2015-03-18 Thread Bartlomiej Zolnierkiewicz
Hi, This patch series adds support for AFTR idle mode on boards with Exynos3250 SoC and allows EXYNOS cpuidle driver usage on these boards. It has been tested on Samsung Rinato board (Gear 2). Depends on: - for-next branch (commit: 77105c882ba6) of linux-samsung.git kernel tree Changes since

[PATCH v4 1/4] ARM: EXYNOS: fix CPU1 hotplug on Exynos3250

2015-03-18 Thread Bartlomiej Zolnierkiewicz
CPU1 hotplug may hang when AFTR is used. Fix it by: - setting AUTOWAKEUP_EN bit in ARM_COREx_CONFIGURATION register in exynos_cpu_power_up() - not clearing reserved bits of ARM_COREx_CONFIGURATION register in exynos_cpu_power_down() - waiting while an undocumented register 0x0908 becomes

[PATCH v4 4/4] ARM: EXYNOS: cpuidle: allow driver usage on Exynos3250 SoC

2015-03-18 Thread Bartlomiej Zolnierkiewicz
Register cpuidle platform device on Exynos3250 SoC allowing EXYNOS cpuidle driver usage on this SoC. Cc: Daniel Lezcano Signed-off-by: Bartlomiej Zolnierkiewicz Reviewed-by: Krzysztof Kozlowski Acked-by: Kyungmin Park --- arch/arm/mach-exynos/exynos.c | 1 + 1 file changed, 1 insertion(+)

[PATCH] ARM: tegra: support big-endian kernel

2015-03-18 Thread Dmitry Osipenko
Now, after making drivers and arch code aware of big-endian CPU mode, NVIDIA Tegra SoC supports big-endian kernel across all generations. Enable it in Kconfig. Signed-off-by: Dmitry Osipenko --- arch/arm/mach-tegra/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [BUG/PATCH] kernel RNG and its secrets

2015-03-18 Thread Stephan Mueller
Am Mittwoch, 18. März 2015, 16:09:34 schrieb Hannes Frederic Sowa: Hi Hannes, >On Wed, Mar 18, 2015, at 13:42, Daniel Borkmann wrote: >> On 03/18/2015 01:20 PM, Stephan Mueller wrote: >> > Am Mittwoch, 18. März 2015, 13:19:07 schrieb Hannes Frederic Sowa: >> My proposal would be to add a >>

[PATCH v4 3/4] ARM: EXYNOS: cpuidle: add AFTR mode support for Exynos3250

2015-03-18 Thread Bartlomiej Zolnierkiewicz
AFTR mode support brings reduced energy consumption and is a prerequisite for more advanced W-AFTR/LPA power saving modes. AFTR mode has been already supported on other Exynos SoCs for few years and this patch adds its support for Exynos3250 SoC. The differences in Exynos3250 SoC AFTR mode

[PATCH] ARM: tegra: Maintain CPU endianness for asm code

2015-03-18 Thread Dmitry Osipenko
This patch adds support for big-endian CPU mode to assembler code, which is required for booting secondary CPU's, cpuidle drivers and machine suspend/resume functionality with big-endian kernel. Signed-off-by: Dmitry Osipenko --- Tested on Tegra 2 and 3. arch/arm/mach-tegra/reset-handler.S |

Re: [PATCH] mm, memcg: sync allocation and memcg charge gfp flags for THP

2015-03-18 Thread Michal Hocko
On Wed 18-03-15 16:40:34, Vlastimil Babka wrote: > On 03/18/2015 04:02 PM, Michal Hocko wrote: > >On Wed 18-03-15 15:34:50, Vlastimil Babka wrote: > >>On 03/16/2015 03:08 PM, Michal Hocko wrote: > >>>@@ -1080,6 +1080,7 @@ int do_huge_pmd_wp_page(struct mm_struct *mm, struct > >>>vm_area_struct

Re: [PATCH v6 2/2] hwspinlock: qcom: Add support for Qualcomm HW Mutex block

2015-03-18 Thread Bjorn Andersson
On Thu 12 Mar 12:31 PDT 2015, Lina Iyer wrote: > On Fri, Feb 27 2015 at 15:30 -0700, Bjorn Andersson wrote: > >Add driver for Qualcomm Hardware Mutex block found in many Qualcomm > >SoCs. > > > >Based on initial effort by Kumar Gala > > > >Signed-off-by: Bjorn Andersson > >--- > > > > [...] >

[PATCH v2] add support for Freescale's MMA8653FC 10 bit accelerometer

2015-03-18 Thread Martin Kepplinger
From: Martin Kepplinger The MMA8653FC is a low-power, three-axis, capacitive micromachined accelerometer with 10 bits of resolution with flexible user-programmable options. Embedded interrupt functions enable overall power savings, by relieving the host processor from continuously polling data,

Re: [PATCH 2/2] selftests/timers: change to use shared logic to run and install tests

2015-03-18 Thread Shuah Khan
On 03/15/2015 08:48 PM, Michael Ellerman wrote: > On Fri, 2015-03-13 at 20:14 -0700, John Stultz wrote: >> On Fri, Mar 13, 2015 at 3:57 PM, Shuah Khan wrote: >>> Change the timers Makefile to make use of shared run and install >>> logic in lib.mk. Destructive tests are installed. Regular tests

[PATCH v3] ARM: l2c: Maintain CPU endianness for early resume function

2015-03-18 Thread Dmitry Osipenko
In big-endian CPU mode l2x0_saved_regs structure stores registers values in BE format. In order to maintain BE CPU mode, these values and immediate constants must be converted back to LE format before writing them to cache controller. Signed-off-by: Dmitry Osipenko Acked-by: Russell King ---

[PATCH 07/13] clocksource: tcb_clksrc: make IO endian agnostic

2015-03-18 Thread Ben Dooks
Change the __raw read and write to use readl/writel_relaxed to make the code endian agnostic. Signed-off-by: Ben Dooks -- CC: Daniel Lezcano CC: Thomas Gleixner CC: Linux Kernel CC: Linux ARM Kernel CC: Andrew Victor CC: Nicolas Ferre CC: Jean-Christophe Plagniol-Villard ---

[PATCH 06/13] ARM: at91: PIT: make IO endian agnostic

2015-03-18 Thread Ben Dooks
Fix the use of __raw IO accessor with the readl/writel_relaxed versions to allow the code to be used on a system running in big endian. Signed-off-by: Ben Dooks -- CC: Daniel Lezcano CC: Thomas Gleixner CC: Linux Kernel CC: Linux ARM Kernel CC: Andrew Victor CC: Nicolas Ferre CC:

[PATCH] kselftest/timers: Set default threadtest values to simplify execution scripts

2015-03-18 Thread John Stultz
In order to keep the kselftest Makefiles simpler, set the threadtest default values to the ones used in standard run_tests Cc: Shuah Khan Cc: Prarit Bhargava Cc: Thomas Gleixner Cc: Richard Cochran Signed-off-by: John Stultz --- tools/testing/selftests/timers/threadtest.c | 8 ++-- 1

Re: [PATCH] mm: Use GFP_KERNEL allocation for the page cache in page_cache_read

2015-03-18 Thread Michal Hocko
What do you think about this v2? I cannot say I would like it but I really dislike the whole mapping_gfp_mask API to be honest. --- >From d88010d6f5f59d7eb87b691e27e201d12cab9141 Mon Sep 17 00:00:00 2001 From: Michal Hocko Date: Wed, 18 Mar 2015 16:06:40 +0100 Subject: [PATCH] mm: Allow __GFP_FS

[PATCH] clocksource: tegra: Maintain CPU endianness

2015-03-18 Thread Dmitry Osipenko
Support big-endian kernel by using endian-aware register access functions. Signed-off-by: Dmitry Osipenko --- drivers/clocksource/tegra20_timer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clocksource/tegra20_timer.c b/drivers/clocksource/tegra20_timer.c

Re: [PATCH RFC] mm: protect suid binaries against rowhammer with copy-on-read mappings

2015-03-18 Thread Dave Hansen
On 03/18/2015 08:08 AM, Konstantin Khlebnikov wrote: > It seems the only option is memory zoning: kernel should allocate all > normal memory for userspace from isolated area which is kept far far > away from important data. Yeah, except that the kernel has a pretty hard time telling which data is

Re: [PATCH 2/2] selftests/timers: change to use shared logic to run and install tests

2015-03-18 Thread Shuah Khan
On 03/13/2015 09:14 PM, John Stultz wrote: > On Fri, Mar 13, 2015 at 3:57 PM, Shuah Khan wrote: >> Change the timers Makefile to make use of shared run and install >> logic in lib.mk. Destructive tests are installed. Regular tests >> are emited to run_kselftest script to match the run_tests

Re: [PATCH V5] Allow compaction of unevictable pages

2015-03-18 Thread Steven Rostedt
On Mon, Mar 16, 2015 at 09:49:56AM -0400, Eric B Munson wrote: > On Mon, 16 Mar 2015, Vlastimil Babka wrote: > > > [CC += linux-api@] > > > > Since this is a kernel-user-space API change, please CC linux-api@. > > The kernel source file Documentation/SubmitChecklist notes that all > > Linux

Re: [PATCH] mm, memcg: sync allocation and memcg charge gfp flags for THP

2015-03-18 Thread Vlastimil Babka
On 03/18/2015 04:02 PM, Michal Hocko wrote: On Wed 18-03-15 15:34:50, Vlastimil Babka wrote: On 03/16/2015 03:08 PM, Michal Hocko wrote: @@ -1080,6 +1080,7 @@ int do_huge_pmd_wp_page(struct mm_struct *mm, struct vm_area_struct *vma, unsigned long haddr; unsigned long

Re: [RFC PATCH 0/7] evacuate struct page from the block layer

2015-03-18 Thread Dan Williams
On Wed, Mar 18, 2015 at 3:47 AM, Boaz Harrosh wrote: > On 03/16/2015 10:25 PM, Dan Williams wrote: >> Avoid the impending disaster of requiring struct page coverage for what >> is expected to be ever increasing capacities of persistent memory. > > If you are saying "disaster", than we need to

Re: [PATCH 3/3] mailbox: Add support for ST's Mailbox IP

2015-03-18 Thread Lee Jones
On Wed, 18 Mar 2015, Jassi Brar wrote: > On Wed, Mar 18, 2015 at 6:47 PM, Lee Jones wrote: > > On Tue, 03 Mar 2015, Jassi Brar wrote: > > > >> On 3 March 2015 at 17:04, Arnd Bergmann wrote: > >> > On Tuesday 03 March 2015 10:41:23 Lee Jones wrote: > >> >> + > >> >> +/* > >> >> + * struct

Re: [PATCH v2] phy: Add a driver for dm816x USB PHY

2015-03-18 Thread Tony Lindgren
* Kishon Vijay Abraham I [150318 08:09]: > On Wednesday 18 March 2015 05:42 AM, Tony Lindgren wrote: > >+ > >+/* > >+ * We have phy-core.c handle pm_runtime calls for us. We implement > >+ * these functions for phy-core.c to keep track of power_count. > >+ * Note that we may want to remove these

[PATCH] doc:pci: Fix typo in Documentation/PCI

2015-03-18 Thread Masanari Iida
This patch fix spelling typo in Documentation/PCI. Signed-off-by: Masanari Iida --- Documentation/PCI/MSI-HOWTO.txt | 6 +++--- Documentation/PCI/pci-error-recovery.txt | 2 +- Documentation/PCI/pcieaer-howto.txt | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff

Re: [PATCH 3/3] mailbox: Add support for ST's Mailbox IP

2015-03-18 Thread Lee Jones
On Wed, 18 Mar 2015, Jassi Brar wrote: > On Wed, Mar 18, 2015 at 6:42 PM, Lee Jones wrote: > > On Wed, 04 Mar 2015, Jassi Brar wrote: > > > >> > + > >> > + if ((!data) || (!sti_mbox_chan_is_tx(mbox))) > >> > > >> nit: too much protection. > > > > What makes you think that? > > > Usually we

Re: [PATCHv2] mm/slub: fix lockups on PREEMPT && !SMP kernels

2015-03-18 Thread Mark Rutland
Hi, > > do { > > tid = this_cpu_read(s->cpu_slab->tid); > > c = raw_cpu_ptr(s->cpu_slab); > > - } while (IS_ENABLED(CONFIG_PREEMPT) && unlikely(tid != c->tid)); > > + } while (IS_ENABLED(CONFIG_PREEMPT) && > > +unlikely(tid !=

Re: [PATCH v2 4/5] ARM: EXYNOS: add exynos_get_boot_addr() helper

2015-03-18 Thread Krzysztof Kozlowski
On śro, 2015-03-18 at 16:18 +0100, Bartlomiej Zolnierkiewicz wrote: > On Wednesday, March 18, 2015 02:43:49 PM Krzysztof Kozlowski wrote: > > 2015-03-18 14:09 GMT+01:00 Bartlomiej Zolnierkiewicz > > : > > > Add get_cpu_boot_addr() firmware operation and then > > > exynos_get_boot_addr() helper. >

Re: [PATCH] Avoid null-pointer access in w1/slaves/w1_therm

2015-03-18 Thread Evgeniy Polyakov
Hi 18.03.2015, 07:20, "David Fries" : >  static void w1_therm_remove_slave(struct w1_slave *sl) >  { > + int refcnt = atomic_sub_return(1, THERM_REFCNT(sl->family_data)); > + while(refcnt) { > + msleep(1000); > + refcnt = atomic_read(THERM_REFCNT(sl->family_data)); > + } >  

Re: [PATCH v2 4/5] ARM: EXYNOS: add exynos_get_boot_addr() helper

2015-03-18 Thread Bartlomiej Zolnierkiewicz
On Wednesday, March 18, 2015 02:43:49 PM Krzysztof Kozlowski wrote: > 2015-03-18 14:09 GMT+01:00 Bartlomiej Zolnierkiewicz > : > > Add get_cpu_boot_addr() firmware operation and then > > exynos_get_boot_addr() helper. > > > > This is a preparation for adding coupled cpuidle support > > for

Re: [PATCH 0/2] serial: 8250_pci: Fintek products patches

2015-03-18 Thread Greg KH
On Mon, Mar 16, 2015 at 09:35:34AM +0800, Peter Hung wrote: > Hello, > > Greg KH 於 2015/3/15 下午 05:25 寫道: > >Why did you cc: the linux-usb@vger mailing list on these? Don't you > >mean linux-serial@vger? > > > > Sorry for my fault. Should I resend it with correct mail-list with V2 ?? > or just

Re: [PATCH v0 01/11] stm class: Introduce an abstraction for System Trace Module devices

2015-03-18 Thread Mathieu Poirier
On 17 March 2015 at 04:37, Alexander Shishkin wrote: > Mathieu Poirier writes: > >> On 7 March 2015 at 04:35, Alexander Shishkin >> wrote: >>> A System Trace Module (STM) is a device exporting data in System Trace >>> Protocol (STP) format as defined by MIPI STP standards. Examples of such >>>

Re: [BUG/PATCH] kernel RNG and its secrets

2015-03-18 Thread Hannes Frederic Sowa
On Wed, Mar 18, 2015, at 13:42, Daniel Borkmann wrote: > On 03/18/2015 01:20 PM, Stephan Mueller wrote: > > Am Mittwoch, 18. März 2015, 13:19:07 schrieb Hannes Frederic Sowa: > My proposal would be to add a > > #define OPTIMIZER_HIDE_MEM(ptr, len) __asm__ __volatile__ ("" : : >

Re: [PATCH v2] phy: Add a driver for dm816x USB PHY

2015-03-18 Thread Kishon Vijay Abraham I
Hi Tony, On Wednesday 18 March 2015 05:42 AM, Tony Lindgren wrote: Add a minimal driver for dm816x USB. This makes USB work on dm816x without any other changes needed as it can use the existing musb_dsps glue layer for the USB controller. Note that this phy is different from dm814x and am335x.

Re: [PATCH RFC] mm: protect suid binaries against rowhammer with copy-on-read mappings

2015-03-18 Thread Konstantin Khlebnikov
On Wed, Mar 18, 2015 at 5:11 PM, Dave Hansen wrote: > On 03/18/2015 01:30 AM, Konstantin Khlebnikov wrote: >> + /* >> + * Read-only SUID/SGID binares are mapped as copy-on-read >> + * this protects them against exploiting with Rowhammer. >> + */

Re: PANIC: double fault, error_code: 0x0 in 4.0.0-rc3-2, kvm related?

2015-03-18 Thread Takashi Iwai
At Wed, 18 Mar 2015 15:16:42 +0100, Takashi Iwai wrote: > > IIRC, this didn't happen with the early 4.0-rc, but can't say 100% > sure. I could reproduce the panic on 4.0-rc1, so scratch this comment. Takashi -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

Re: [PATCH v3 3/4] ARM: EXYNOS: cpuidle: add AFTR mode support for Exynos3250

2015-03-18 Thread Bartlomiej Zolnierkiewicz
On Wednesday, March 18, 2015 02:38:26 PM Krzysztof Kozlowski wrote: > 2015-03-18 13:51 GMT+01:00 Bartlomiej Zolnierkiewicz > : > > The patchset itself looks good... but it's missing commit message. > What benefits does the AFTR bring? AFTR support brings reduced energy consumption and is a

Re: [PATCH] acpi: battery: make warning greppable

2015-03-18 Thread Rafael J. Wysocki
On Friday, March 13, 2015 12:48:17 AM Martin Kepplinger wrote: > Signed-off-by: Martin Kepplinger > --- > I was so angry now, I had to write a change. Please keep things greppable and > save unnecessary questions and time this way. Queued up for 4.1, thanks! > drivers/acpi/battery.c | 4 ++-- >

Re: [PATCH] staging: iio: trigger: Use standard attr for sampling frequency

2015-03-18 Thread Daniel Baluta
On Sat, Mar 14, 2015 at 7:21 PM, Jonathan Cameron wrote: > On 12/03/15 12:48, Daniel Baluta wrote: >> On Thu, Mar 12, 2015 at 10:40 AM, Lars-Peter Clausen wrote: >>> On 03/12/2015 09:16 AM, Octavian Purdila wrote: On Wed, Mar 11, 2015 at 6:36 PM, Daniel Baluta wrote: > >

Re: [PATCH] selftests: Fix kcmp build to not require headers install

2015-03-18 Thread Shuah Khan
On 03/16/2015 05:00 AM, Michael Ellerman wrote: > On Fri, 2015-03-13 at 19:45 -0600, Shuah Khan wrote: >> Change CFLAGS to look in uapi to allow kcmp to be built without >> requiring headers install. This will make it easier to run tests >> without going through the headers install step. >> >>

Re: [PATCH] mm, memcg: sync allocation and memcg charge gfp flags for THP

2015-03-18 Thread Michal Hocko
On Wed 18-03-15 15:34:50, Vlastimil Babka wrote: > On 03/16/2015 03:08 PM, Michal Hocko wrote: > >memcg currently uses hardcoded GFP_TRANSHUGE gfp flags for all THP > >charges. THP allocations, however, might be using different flags > >depending on

Re: [PATCH] ACPI: Add acpi_device_uid() for convenience

2015-03-18 Thread Rafael J. Wysocki
On Tuesday, March 17, 2015 11:48:30 AM Adrian Hunter wrote: > Add a nicer way to get the ACPI _UID. > > Signed-off-by: Adrian Hunter Queued up for 4.1, thanks! > --- > include/acpi/acpi_bus.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/acpi/acpi_bus.h

Re: [PATCH v2] phy: Add a driver for dm816x USB PHY

2015-03-18 Thread Tony Lindgren
* Paul Bolle [150318 04:13]: > Two trivialities I failed the spot the first time. > > On Tue, 2015-03-17 at 17:12 -0700, Tony Lindgren wrote: > > diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig > > index 2962de2..c858c2b 100644 > > --- a/drivers/phy/Kconfig > > +++ b/drivers/phy/Kconfig >

Re: [RFC 07/19] dwc3: core: cleanup suspend/resume code

2015-03-18 Thread Sergei Shtylyov
Hello. On 3/18/2015 5:04 PM, Robert Baldyga wrote: Remove unused cases from switch-case statement and place dwc3_event_buffers_cleanup() function outside switch-case as it's called in each case anyway. Signed-off-by: Robert Baldyga --- drivers/usb/dwc3/core.c | 8 ++-- 1 file

Re: [PATCH v3] PM-Trace: add pm-trace support for suspending phase

2015-03-18 Thread Rafael J. Wysocki
On Tuesday, March 03, 2015 10:11:57 PM Fu, Zhonghui wrote: > Occasionally, the system can't come back up after suspend/resume > due to problems of device suspending phase. This patch make > PM_TRACE infrastructure cover device suspending phase of > suspend/resume process, and the information in

Re: [PATCH] mm: Use GFP_KERNEL allocation for the page cache in page_cache_read

2015-03-18 Thread Michal Hocko
On Wed 18-03-15 10:44:11, Rik van Riel wrote: > On 03/18/2015 10:09 AM, Michal Hocko wrote: > > page_cache_read has been historically using page_cache_alloc_cold to > > allocate a new page. This means that mapping_gfp_mask is used as the > > base for the gfp_mask. Many filesystems are setting this

Re: [PATCH 1/1] UBIFS: fix incorrect unlocking handling

2015-03-18 Thread Ben Shelton
On 03/17, Brian Norris wrote: > On Tue, Mar 17, 2015 at 10:09:26PM -0400, Taesoo Kim wrote: > > When ubifs_init_security() fails, 'ui_mutex' is incorrectly > > unlocked and incorrectly restores 'i_size'. There are four > > such places that were introduce by the last commit. > > "The last commit"

<    1   2   3   4   5   6   7   8   9   10   >