Re: [PATCH 2/3] thermal: Add Mediatek thermal controller support

2015-08-11 Thread Daniel Kurtz
Hi Sascha, I think this patch looks very good now, just some very tiny things inline... On Fri, Aug 7, 2015 at 9:55 PM, Sascha Hauer wrote: > This adds support for the Mediatek thermal controller found on MT8173 > and likely other SoCs. > The controller is a bit special. It does not have its own

Re: [PATCH RFC] serial: mxs-auart: fix baud rate range

2015-08-11 Thread Stefan Wahren
Hi Janusz, > Janusz Użycki hat am 10. August 2015 um > 19:01 geschrieben: > > > > > W dniu 2015-08-10 o 14:22, Fabio Estevam pisze: > > On Mon, Aug 10, 2015 at 9:12 AM, Stefan Wahren > > wrote: > > > >> /* set baud rate */ > >> - baud = uart_get_baud_rate(u, termios, old, 0, u->uartclk); > >> +

Re: [PATCH v1 1/5] clk: rockchip: rk3288: Add the clock id of eFuse

2015-08-11 Thread Heiko Stübner
Am Dienstag, 11. August 2015, 14:15:02 schrieb Shunqian Zheng: > From: ZhengShunQian > > The clock id is necessary item, changing it from 0 > then can be referred in driver and device tree. > > Signed-off-by: ZhengShunQian Reviewed-by: Heiko Stuebner Patch is missing the clock maintainers a

Re: [PATCH v4 06/10] irqchip / GICv3: Add ACPI support for GICv3+ initialization

2015-08-11 Thread Hanjun Guo
Hi Marc, On 08/07/2015 12:42 AM, Marc Zyngier wrote: On 05/08/15 15:00, Hanjun Guo wrote: On 08/04/2015 09:17 PM, Marc Zyngier wrote: On 29/07/15 11:08, Hanjun Guo wrote: From: Tomasz Nowicki With the refator of gic_of_init(), GICv3/4 can be initialized by gic_init_bases() with gic distribu

Re: [PATCH v1 1/5] clk: rockchip: rk3288: Add the clock id of eFuse

2015-08-11 Thread Heiko Stübner
Am Dienstag, 11. August 2015, 09:16:32 schrieb Heiko Stübner: > Am Dienstag, 11. August 2015, 14:15:02 schrieb Shunqian Zheng: > > From: ZhengShunQian > > > > The clock id is necessary item, changing it from 0 > > then can be referred in driver and device tree. > > > > Signed-off-by: ZhengShunQi

Re: [PATCH v1 1/5] clk: rockchip: rk3288: Add the clock id of eFuse

2015-08-11 Thread Shunqian Zheng
On 2015年08月11日 15:16, Heiko Stübner wrote: Am Dienstag, 11. August 2015, 14:15:02 schrieb Shunqian Zheng: From: ZhengShunQian The clock id is necessary item, changing it from 0 then can be referred in driver and device tree. Signed-off-by: ZhengShunQian Reviewed-by: Heiko Stuebner Patc

Re: [KVM x86 vPMU Patch 1/2] KVM: x86/vPMU: Move the definition of kvm_pmu_ops to arch-specific files

2015-08-11 Thread Andrew Jones
On Fri, Aug 07, 2015 at 03:53:29PM -0400, Wei Huang wrote: > Instead of being defined in a common header file, the kvm_pmu_ops struct > is arch (vmx/svm) specific. This trivial patch relocates two extern > variable definition to their arch-specific files. > > Signed-off-by: Wei Huang > --- > arc

[PATCH 2/2] memory-hotplug: remove reset_node_managed_pages() and reset_node_managed_pages() in hotadd_new_pgdat()

2015-08-11 Thread Xishi Qiu
After hotadd_new_pgdat()->free_area_init_node(), the pgdat and zone's spanned/present are both 0, so remove reset_node_managed_pages() and reset_node_managed_pages(). Signed-off-by: Xishi Qiu --- mm/memory_hotplug.c | 25 - 1 file changed, 25 deletions(-) diff --git a/

Re: [KVM x86 vPMU Patch 2/2] KVM: x86/vPMU: Fix unnecessary signed extension for AMD PERFCTRn

2015-08-11 Thread Andrew Jones
On Fri, Aug 07, 2015 at 03:53:30PM -0400, Wei Huang wrote: > According to AMD programmer's manual, AMD PERFCTRn is 64-bit MSR which, > unlike Intel perf counters, doesn't require signed extension. This > patch removes the unnecessary conversion in SVM vPMU code when PERFCTRn > is being updated. >

Re: [PATCH v3 0/2] ioatdma: fix overflow of u16 variables

2015-08-11 Thread Vinod Koul
On Wed, Aug 05, 2015 at 12:40:58PM -0400, Allen Hubbe wrote: > Fix overflow of u16 variables in ioatdma. This fails for me, was it generated on top of Dave's series -- ~Vinod -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.ker

Re: [PATCH v2 2/2] watchdog: add wdt shutdown callback to disable wdt if enabled

2015-08-11 Thread Daniel Kurtz
On Tue, Aug 11, 2015 at 12:42 PM, Guenter Roeck wrote: > On 08/10/2015 09:28 PM, Daniel Kurtz wrote: >> >> Hi Guenter, Matthias, >> >> On Fri, Jul 24, 2015 at 1:37 AM, Matthias Brugger >> wrote: >>> >>> On Thursday, July 23, 2015 01:49:11 PM Eddie Huang wrote: From: Greta Zhang >>

Re: [PATCH v1 1/5] clk: rockchip: rk3288: Add the clock id of eFuse

2015-08-11 Thread Shunqian Zheng
Heiko, On 2015年08月11日 15:22, Heiko Stübner wrote: Am Dienstag, 11. August 2015, 09:16:32 schrieb Heiko Stübner: Am Dienstag, 11. August 2015, 14:15:02 schrieb Shunqian Zheng: From: ZhengShunQian The clock id is necessary item, changing it from 0 then can be referred in driver and device tree

Re: Kernel crashes in VirtualBox module after commit 2ecd9d29abb1

2015-08-11 Thread Peter Zijlstra
On Mon, Aug 10, 2015 at 04:49:49PM -0500, Larry Finger wrote: > A problem with the VirtualBox kernel module vboxdrv.ko has been bisected to > commit 2ecd9d29abb1 "sched, preempt_notifier: separate notifier registration > from static_key inc/dec". The affected kernels crash is various ways. The > m

RE: [PATCH v4 1/6] mfd: da9150: Add support for Fuel-Gauge

2015-08-11 Thread Opensource [Adam Thomson]
On August 10, 2015 14:54, Lee Jones wrote: > On Tue, 04 Aug 2015, Adam Thomson wrote: > > > Signed-off-by: Adam Thomson > > --- > > > > Changes in v4: > > - Update compatible string of fuel-gauge to "dlg, da9150-fuel-gauge". Also > >made similar change to driver name to keep things consiste

Re: [PATCH] pinctrl: mediatek: Fix multiple registeration issue.

2015-08-11 Thread Daniel Kurtz
On Tue, Aug 11, 2015 at 12:49 PM, Hongzhou Yang wrote: > Use dynamic allocation to fix multiple registeration issue. s/registeration/registration - here and in the patch subject. > > --8< I don't think this is required. > Since our common driver need support m

[PATCH v4] mfd: add Intel Broxton Whiskey Cove PMIC driver

2015-08-11 Thread Qipeng Zha
From: "qipeng.zha" Add MFD core driver for Intel Broxton Whiskey Cove PMIC, which is specially accessed by hardware IPC, not a generic I2C device Signed-off-by: qipeng.zha --- change in v4 add compile dependency to PMC IPC driver in Makefile, or will use NULL stubs defined in PMC IPC header fi

[RFC PATCH v1] mmc: sdhci-of-arasan: Add the support for sdhci-5.1

2015-08-11 Thread Shawn Lin
This patch adds the compatible string in sdhci-of-arasan.c to support sdhci-arasan5.1 version of controller. No documented controller IP version is found in the TRM, so we use ths version of command queueing engine integrated into this controller by arasan to specify our controller. Signed-off-by:

Re: [PATCH] pinctrl: mediatek: Implement pictrl irq wake handler

2015-08-11 Thread Daniel Kurtz
On Tue, Aug 11, 2015 at 9:51 AM, Hongzhou Yang wrote: > On Mon, 2015-08-10 at 14:43 +0200, Linus Walleij wrote: >> On Wed, Jul 29, 2015 at 11:36 AM, wrote: >> >> > From: Maoguang Meng >> > >> > This patch implement irq_set_wake for suspend resume. >> > >> > Signed-off-by: Maoguang Meng >> >> H

RE: [PATCH] ARM: exynos_defconfig: Enable cpufreq-dt driver

2015-08-11 Thread Kukjin Kim
Javier Martinez Canillas wrote: > > Hello Krzysztof, > > On 08/11/2015 04:15 AM, Krzysztof Kozlowski wrote: > > With the latest patches the cpufreq-dt can be used on multiple > > Exynos SoCs: 3250, 4210, 4212, 4412 and 5250. > > > > Enable it along with default ondemand governor to conserve the e

RE: [PATCH v4 0/6] cpufreq: use generic cpufreq drivers for Exynos4x12 platform

2015-08-11 Thread Kukjin Kim
Krzysztof Kozlowski wrote: > > On 10.08.2015 10:27, Kukjin Kim wrote: > > Krzysztof Kozlowski wrote: > >> > >> W dniu 08.08.2015 o 11:07, Viresh Kumar pisze: > >>> On 08-08-15, 00:24, Rafael J. Wysocki wrote: > OK, so please let me know which patches you want me to pick up. > > Idea

Re: [PATCH] eventfd: implementation of EFD_MASK flag

2015-08-11 Thread Damian Hobson-Garcia
On 2015-08-11 6:16 AM, Martin Sustrik wrote: > On 2015-08-10 10:57, Damian Hobson-Garcia wrote: >> Hi Martin, >> >> Thanks for your comments. >> >> On 2015-08-10 3:39 PM, Martin Sustrik wrote: >>> On 2015-08-10 08:23, Damian Hobson-Garcia wrote: Replying to my own post, but I had the followi

Re: [PATCH v2] staging: fsl-mc: add DPAA2 overview readme

2015-08-11 Thread Alexander Graf
On 11.08.15 04:38, Stuart Yoder wrote: > > >> -Original Message- >> From: Alexander Graf [mailto:ag...@suse.de] >> Sent: Sunday, August 09, 2015 9:25 AM >> To: Yoder Stuart-B08248; gre...@linuxfoundation.org; Rivera Jose-B46482; >> katz Itai-RM05202 >> Cc: de...@driverdev.osuosl.org; l

[PATCH 1/2] memory-hotplug: fix wrong edge when hot add a new node

2015-08-11 Thread Xishi Qiu
When we add a new node, the edge of memory may be wrong. e.g. system has 4 nodes, and node3 is movable, node3 mem:[24G-32G], 1. hotremove the node3, 2. then hotadd node3 with a part of memory, mem:[26G-30G], 3. call hotadd_new_pgdat() free_area_init_node() get_pfn_range_fo

Re: [Patch v2] align crash_notes allocation to make it be inside one physical page

2015-08-11 Thread Minfei Huang
On 08/11/15 at 02:33pm, Baoquan He wrote: > Hi Andrew, > > On 08/03/15 at 03:04pm, Andrew Morton wrote: > > On Mon, 3 Aug 2015 20:50:43 +0800 Baoquan He wrote: > > And I think the WARN_ON can be replaced with a > > BUILD_BUG_ON(sizeof>PAGE_SIZE)? That would avoid adding runtime > > overhead. >

[PATCH v1 1/3] usb: dwc2: reset AHB hclk domain before init

2015-08-11 Thread Yunzhi Li
We initiate dwc2 usb controller in BIOS, when kernel driver start-up we should reset AHB hclk domain to reset all AHB interface registers to default. Without this the FIFO value setting might be incorrect because calculating FIFO size need the power-on value of GRXFSIZ/GNPTXFSIZ/HPTXFSIZ registers.

[PATCH v1 3/3] ARM: dts: rockchip: add dwc2 ahb reset property for rk3288

2015-08-11 Thread Yunzhi Li
This patch adds dwc2 reset property for rk3288 dwc2 usb controller to fix FIFO setting bug Signed-off-by: Yunzhi Li --- arch/arm/boot/dts/rk3288.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi index 22316d0..440aa42

[PATCH v1 2/3] Documentation: dt-bindings: add dt binding info for dwc2 reset control

2015-08-11 Thread Yunzhi Li
Signed-off-by: Yunzhi Li --- Documentation/devicetree/bindings/usb/dwc2.txt | 6 ++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/usb/dwc2.txt b/Documentation/devicetree/bindings/usb/dwc2.txt index fd132cb..6a84099 100644 --- a/Documentation/devicetree/bind

Re: [PATCH] sched: sync with the prev cfs when changing cgroup within a cpu

2015-08-11 Thread Peter Zijlstra
On Tue, Aug 11, 2015 at 08:47:13AM +0900, Byungchul Park wrote: > On Mon, Aug 10, 2015 at 01:47:06PM +0200, Peter Zijlstra wrote: > > What code is this against? Please look at current code and try again. > > at git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git, > i used master bran

Re: [PATCH v4 2/2] dt: power: st: Provide bindings for ST's OPPs

2015-08-11 Thread Viresh Kumar
On 10-08-15, 14:22, Lee Jones wrote: > > Optional properties: > > +- opp-cuts: One or more strings, describing the versions of hardware the > > OPPs > > + can support. > > This isn't very generic. > > I'm guessing some vendors my have quite a few ways to differentiate > between board versions/

[RFC PATCH v1] mmc: sdhci-of-arasan: Add the support for sdhci-5.1

2015-08-11 Thread Shawn Lin
This patch adds the compatible string in sdhci-of-arasan.c to support sdhci-arasan5.1 version of controller. No documented controller IP version is found in the TRM, so we use ths version of command queueing engine integrated into this controller by arasan to specify our controller. Signed-off-by:

Re: [patch] quota: remove an unneeded condition

2015-08-11 Thread Jan Kara
On Tue 11-08-15 00:29:55, Dan Carpenter wrote: > We know "ret" is zero here so we can remove this condition. > > Signed-off-by: Dan Carpenter Thanks. I've added the patch to my tree. Honza > diff --git a/fs/quota/quota.c b/fs/quot

Re: [PATCH v2] sched: ensure a task has a non-normalized vruntime when returning back to cfs

2015-08-11 Thread Peter Zijlstra
On Tue, Aug 11, 2015 at 09:20:06AM +0900, byungchul.p...@lge.com wrote: > From: Byungchul Park > > change from v1 to v2 > * fix build error in the case of !CONFIG_FAIR_GROUP_SCHED Ah, already fixed that. Thanks though. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

Re: [PATCH v1 3/5] nvmem: rockchip-efuse: implement efuse driver

2015-08-11 Thread Srinivas Kandagatla
On 11/08/15 07:15, Shunqian Zheng wrote: From: ZhengShunQian There are some SoC specified values store in eFuse, such as the cpu_leakage and cpu_version, this driver can expose these values to /sys base on nvmem. Signed-off-by: Caesar Wang Signed-off-by: ZhengShunQian --- drivers/nvmem/K

Re: [PATCH, RFC 2/2] dax: use range_lock instead of i_mmap_lock

2015-08-11 Thread Jan Kara
On Mon 10-08-15 18:14:24, Kirill A. Shutemov wrote: > As we don't have struct pages for DAX memory, Matthew had to find an > replacement for lock_page() to avoid fault vs. truncate races. > i_mmap_lock was used for that. > > Recently, Matthew had to convert locking to exclusive to address fault >

Re: [PATCH] zram: fix possible race when checking idle_strm

2015-08-11 Thread Joonsoo Kim
On Tue, Aug 11, 2015 at 08:26:33AM +0900, Minchan Kim wrote: > Hi Joonsoo, > > On Mon, Aug 10, 2015 at 09:32:30AM +0900, Joonsoo Kim wrote: > > On Fri, Aug 07, 2015 at 06:58:16PM +0900, Sergey Senozhatsky wrote: > > > On (08/07/15 18:14), Sergey Senozhatsky wrote: > > > > hm... I need to think abo

Re: [PATCH] zram: fix possible race when checking idle_strm

2015-08-11 Thread Joonsoo Kim
On Mon, Aug 10, 2015 at 11:16:59AM +0900, Sergey Senozhatsky wrote: > Hello Joonsoo, > > On (08/10/15 09:32), Joonsoo Kim wrote: > > > on the other hand... it's actually > > > > > > wait_event() is > > > > > > if (condition) > > > break; > > > prepare_to_wait_event(&wq, &__wait,

Re: [PATCH v2 net-next] bpf: s390: Fix build error caused by the struct bpf_array member name changed

2015-08-11 Thread Daniel Borkmann
On 08/11/2015 08:53 AM, Kaixu Xia wrote: There is a build error that "'struct bpf_array' has no member named 'prog'" on s390. In commit 2a36f0b, the member 'prog' of struct bpf_array is replaced by 'ptrs'. So this patch fixes it. Signed-off-by: Kaixu Xia You were also asked to add a proper Fi

Re: [PATCH] zram: fix possible race when checking idle_strm

2015-08-11 Thread Sergey Senozhatsky
On (08/11/15 17:25), Joonsoo Kim wrote: [..] > > "SLEEP AND WAKE-UP FUNCTIONS > > --- > > > > Sleeping and waking on an event flagged in global data ... > > ... > > ... > > ... > > > > A general memory barrier is interpolated automatically by > > set_current_state() > > a

[PATCH 0/5] New Atmel PIO4 pinctrl/gpio driver

2015-08-11 Thread Ludovic Desroches
Hi, The Atmel PIO4 controller has been introduced with SAMA5D2 chip family. This drivers manages both pinmux/pinconf and gpio stuff. It is inspired by Mediatek pinctrl driver. Ludovic Desroches (5): pinctrl: introduce driver for Atmel PIO4 controller pinctrl: dt-binding: Add DT binding docume

[PATCH 1/5] pinctrl: introduce driver for Atmel PIO4 controller

2015-08-11 Thread Ludovic Desroches
Add a pinctrl/gpio driver for Atmel PIO4 controller available on SAMA5D2 chip family. Signed-off-by: Ludovic Desroches --- drivers/pinctrl/Kconfig | 13 + drivers/pinctrl/Makefile|1 + drivers/pinctrl/pinctrl-at91-pio4.c | 1063 +++ 3

[PATCH 2/5] pinctrl: dt-binding: Add DT binding documentation for Atmel PIO4

2015-08-11 Thread Ludovic Desroches
Add documentation for the Atmel PIO4 controller introduced with SAMA5D2 chip family. Signed-off-by: Ludovic Desroches --- .../bindings/pinctrl/atmel,at91-pio4-pinctrl.txt | 90 ++ 1 file changed, 90 insertions(+) create mode 100644 Documentation/devicetree/bindings/pinctr

[PATCH 3/5] MAINTAINERS: Add an entry for pinctrl-at91-pio4

2015-08-11 Thread Ludovic Desroches
Add an entry for the Atmel PIO4 controller driver. Signed-off-by: Ludovic Desroches --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 8b37fdf..62c243a 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -8041,6 +8041,13 @@ L: linux-arm-ker

[PATCH 4/5] ARM: at91/dt: sama5d2: add pio controller node

2015-08-11 Thread Ludovic Desroches
Add pio4 controller node to enable pinmux and gpio. Signed-off-by: Ludovic Desroches --- arch/arm/boot/dts/sama5d2.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dtsi index f39258f..55df0ae 100644 --- a/arch/arm

WARNING: CPU: 3 PID: 827 at lib/dma-debug.c:1169 check_for_stack+0x94/0xe0()

2015-08-11 Thread poma
[ cut here ] WARNING: CPU: 3 PID: 827 at lib/dma-debug.c:1169 check_for_stack+0x94/0xe0() ehci-pci :00:02.1: DMA-API: device driver maps memory from stack [addr=8800bc6dfa3c] Modules linked in: ... mt7601u(+) mac80211 ... cfg80211 rfkill ... CPU: 3 PID: 827 Comm: s

Re: [PATCH 4.1 099/267] phy: twl4030-usb: remove incorrect pm_runtime_get_sync() in probe function.

2015-08-11 Thread NeilBrown
On Sun, 9 Aug 2015 12:45:20 +0200 Alexander Holler wrote: > Am 09.08.2015 um 11:00 schrieb NeilBrown: > > On Sat, 8 Aug 2015 12:18:55 +0530 Kishon Vijay Abraham I > > wrote: > > > >> > >> > >> On Saturday 08 August 2015 11:23 AM, Alexander Holler wrote: > >>> Hello, > >>> > >>> this patch killed

[PATCH 5/5] ARM: at91/defconfig: sama5: add PIO4 controller support

2015-08-11 Thread Ludovic Desroches
SAMA5D2 chip family has a new PIO controller. Signed-off-by: Ludovic Desroches --- arch/arm/mach-at91/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig index 89a755b..9e4067c 100644 --- a/arch/arm/mach-at91/Kconfig +++ b/arch/arm/

Re: [PATCH v2 1/2] i2c: mediatek: Reset DMA engine in hardware init function

2015-08-11 Thread Daniel Kurtz
On Thu, Aug 6, 2015 at 3:22 PM, Eddie Huang wrote: > Reset DMA in hardware init function to avoid unknown hardware state > before do any I2C operation. > > Signed-off-by: Liguo Zhang > Signed-off-by: Eddie Huang Reviewed-by: Daniel Kurtz > --- > drivers/i2c/busses/i2c-mt65xx.c |6 ++

Re: [PATCH v2 2/2] i2c: mediatek: Fixup i2c ack error interrupt handling

2015-08-11 Thread Daniel Kurtz
On Thu, Aug 6, 2015 at 3:22 PM, Eddie Huang wrote: > When occur i2c ack error, i2c controller generate two interrupts, > first is the ack error interrupt, then the complete interrupt. > i2c interrupt handler should keep the two interrupt value, and only > call complete() for the complete interrupt

[PATCH RESEND 4/5] extcon: arizona: Add support for general purpose switch

2015-08-11 Thread Charles Keepax
The switch is typically used in conjunction with the MICDET clamp in order to suppress pops and clicks associated with jack insertion. Signed-off-by: Charles Keepax --- drivers/extcon/extcon-arizona.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/drivers/extcon/ex

[PATCH RESEND 3/5] mfd: arizona: Add register bits for general purpose switch

2015-08-11 Thread Charles Keepax
The switch is typically used in conjunction with the MICDET clamp in order to suppress pops and clicks associated with jack insertion. Signed-off-by: Charles Keepax --- drivers/mfd/wm5110-tables.c |2 ++ include/linux/mfd/arizona/pdata.h |3 +++ include/linux/mfd/arizona/re

[PATCH RESEND 1/5] mfd: arizona: Add registers for ADC microphone detection

2015-08-11 Thread Charles Keepax
The newer devices support using a software comparison to determine whether a 3/4 pole jack is present. Add the registers necessary for this. Signed-off-by: Charles Keepax --- Hi, The first two MFD patches and the two extcon patches need to go through together as there are build dependencies. Ho

[PATCH RESEND 2/5] extcon: arizona: Add support for new ADC value headphone detect

2015-08-11 Thread Charles Keepax
Newer devices give users the option to make the 3/4 pole jack determination using a software comparison rather than a hardware one. This patch adds support for this functionality. Signed-off-by: Charles Keepax --- drivers/extcon/extcon-arizona.c | 67 +++--- 1 f

[PATCH RESEND 5/5] mfd: arizona: Update DT doc for new mic detection bindings

2015-08-11 Thread Charles Keepax
Signed-off-by: Charles Keepax --- Documentation/devicetree/bindings/mfd/arizona.txt | 21 + include/dt-bindings/mfd/arizona.h |5 + 2 files changed, 26 insertions(+), 0 deletions(-) diff --git a/Documentation/devicetree/bindings/mfd/arizona.txt b/Do

Re: [PATCH 2/6] PM / OPP: restructure _of_init_opp_table_v2()

2015-08-11 Thread Viresh Kumar
On 11-08-15, 12:27, Viresh Kumar wrote: > diff --git a/drivers/base/power/opp.c b/drivers/base/power/opp.c > index 1daaa1a418a2..be3356a3a452 100644 > --- a/drivers/base/power/opp.c > +++ b/drivers/base/power/opp.c > @@ -1292,14 +1292,18 @@ static int _of_init_opp_table_v2(struct device *dev, >

Re: [RFC PATCH 01/10] arm64: feature registers: Documentation

2015-08-11 Thread Suzuki K. Poulose
On 10/08/15 19:19, Andrew Haley wrote: On 08/10/2015 06:36 PM, Suzuki K. Poulose wrote: On 10/08/15 17:06, Catalin Marinas wrote: Hi Suzuki, On Fri, Jul 24, 2015 at 10:43:47AM +0100, Suzuki K. Poulose wrote: From: "Suzuki K. Poulose" Documentation of the infrastructure Signed-off-by: Suzuk

Re: [Patch v2] align crash_notes allocation to make it be inside one physical page

2015-08-11 Thread Baoquan He
Hi, On 08/11/15 at 04:01pm, Minfei Huang wrote: > Baoquan. > > If the size of notes never be exceeded to PAGE_SIZE, I think we can > revert below patch, since the situation which describes in patch does > not happen. > > commit 38dfac843cb6d7be187439817404a15a6b3c > Author: Greg Pear

Re: [PATCH RFC RFT 3/3] clk: introduce CLK_ENABLE_HAND_OFF flag

2015-08-11 Thread Lee Jones
On Mon, 10 Aug 2015, Michael Turquette wrote: > Quoting Lee Jones (2015-08-10 07:48:11) > > On Fri, 07 Aug 2015, Michael Turquette wrote: > > > > > Some clocks are critical to system operation (e.g. cpu, memory, etc) and > > > should not be gated until a driver that knows best claims such a clock

Re: [PATCH v2 net-next] bpf: s390: Fix build error caused by the struct bpf_array member name changed

2015-08-11 Thread xiakaixu
于 2015/8/11 16:24, Daniel Borkmann 写道: > On 08/11/2015 08:53 AM, Kaixu Xia wrote: >> There is a build error that "'struct bpf_array' has no member >> named 'prog'" on s390. In commit 2a36f0b, the member 'prog' of >> struct bpf_array is replaced by 'ptrs'. So this patch fixes it. >> >> Signed-off-by

Re: [PATCH v4] dtb: Create a common home for cross-architecture dtsi files.

2015-08-11 Thread Ian Campbell
On Tue, 2015-08-11 at 13:00 +0900, Masahiro Yamada wrote: > Hi > > 2015-08-04 1:06 GMT+09:00 Ian Campbell : > > Commit 9ccd608070b6 ("arm64: dts: add device tree for ARM SMM-A53x2 on > > LogicTile Express 20MG") added a new dts file to arch/arm64 which > > included "../../../../arm/boot/dts/vexpre

RE: [RFC v3 1/2] mm, compaction: introduce kcompactd

2015-08-11 Thread PINTU KUMAR
Hi, > -Original Message- > From: Vlastimil Babka [mailto:vba...@suse.cz] > Sent: Monday, August 10, 2015 3:14 PM > To: PINTU KUMAR; linux...@kvack.org > Cc: linux-kernel@vger.kernel.org; Andrew Morton; Hugh Dickins; Andrea > Arcangeli; Kirill A. Shutemov; Rik van Riel; Mel Gorman; David Ri

[PATCH RESEND] mfd: arizona: Fix initialisation of the PM runtime

2015-08-11 Thread Charles Keepax
The PM runtime core by default assumes a chip is suspended when runtime PM is enabled. Currently the arizona driver enables runtime PM when the chip is fully active and then disables the DCVDD regulator at the end of arizona_dev_init. This however has several problems, firstly the if we reach the e

Re: [PATCH 4.1 099/123] perf hists browser: Take the --comm, --dsos, etc filters into account

2015-08-11 Thread Luis Henriques
On Sun, Aug 09, 2015 at 08:12:41PM +0200, Andre Tomt (LKML) wrote: > On 09. aug. 2015 00:09, Greg Kroah-Hartman wrote: > >4.1-stable review patch. If anyone has any objections, please let me know. > > > >-- > > > >From: Arnaldo Carvalho de Melo > > > >commit 9c0fa8dd3d58de8b688fda

[PATCH RESEND] mfd: arizona: Fixup some formatting/white space errors

2015-08-11 Thread Charles Keepax
Clear out a few checkpatch warnings and white space errors. Signed-off-by: Charles Keepax --- drivers/mfd/arizona-core.c | 33 - 1 files changed, 16 insertions(+), 17 deletions(-) diff --git a/drivers/mfd/arizona-core.c b/drivers/mfd/arizona-core.c index 375b95

Re: [RFC PATCH 01/10] arm64: feature registers: Documentation

2015-08-11 Thread Andrew Haley
On 11/08/15 09:41, Suzuki K. Poulose wrote: > The REVIDR has to be used in conjunction with the MIDR to make real sense. Sure, of course. > We cannot guarantee that the REVIDR that we read (would) belong to the CPU > where MIDR would have been read (unless the process is pinned) and hence the > u

Re: [RFCv5 PATCH 38/46] sched: scheduler-driven cpu frequency selection

2015-08-11 Thread Juri Lelli
Hi, On 11/08/15 03:14, Leo Yan wrote: > On Tue, Jul 07, 2015 at 07:24:21PM +0100, Morten Rasmussen wrote: >> From: Michael Turquette >> >> Scheduler-driven cpu frequency selection is desirable as part of the >> on-going effort to make the scheduler better aware of energy >> consumption. No piece

Re: [RESEND][PATCH 3/4] ARM: davinci: Set proper SPI prescale limit value

2015-08-11 Thread Mark Brown
On Tue, Aug 11, 2015 at 12:28:21PM +0530, Sekhar Nori wrote: > On Tuesday 11 August 2015 05:17 AM, Franklin S Cooper Jr. wrote: > > ping. Patches 1 and 2 have already been pulled into Mark's spi tree and are > > currently in in linux-next. > Mark, can you apply this patch to your tree as well? T

[PATCH v3 net-next] bpf: s390: Fix build error caused by the struct bpf_array member name changed

2015-08-11 Thread Kaixu Xia
There is a build error that "'struct bpf_array' has no member named 'prog'" on s390. In commit 2a36f0b92eb6 ("bpf: Make the bpf_prog_array_map more generic"), the member 'prog' of struct bpf_array is replaced by 'ptrs'. So this patch fixes it. Fixes: 2a36f0b92eb6 ("bpf: Make the bpf_prog_array_map

Re: [spi:topic/mtk 2/2] drivers/spi/spi-mt65xx.c:362:24: sparse: incorrect type in argument 1 (different base types)

2015-08-11 Thread Mark Brown
On Tue, Aug 11, 2015 at 10:44:55AM +0800, lei liu wrote: > I use these commands and also find another waring: > ../drivers/spi/spi-mt65xx.c:589:25: warning: incorrect type in argument > 1 (different address spaces) > ../drivers/spi/spi-mt65xx.c:589:25: expected void const *ptr > ../drivers/spi/sp

Re: [RFCv5 PATCH 41/46] sched/fair: add triggers for OPP change requests

2015-08-11 Thread Juri Lelli
On 10/08/15 16:07, Vincent Guittot wrote: > On 10 August 2015 at 15:43, Juri Lelli wrote: >> >> Hi Vincent, >> >> On 04/08/15 14:41, Vincent Guittot wrote: >>> Hi Juri, >>> >>> On 7 July 2015 at 20:24, Morten Rasmussen wrote: From: Juri Lelli Each time a task is {en,de}queued we m

Re: [PATCH] regmap: Move documentation to regmap.h

2015-08-11 Thread Mark Brown
On Tue, Aug 11, 2015 at 11:00:45AM +0800, Nicolas Boichat wrote: > First, thanks for the applying the series above. > This documentation patch is still valid, and now applies cleanly on > regmap/for-next. Please send any patches you think should be applied using the normal submission process in

Re: [PATCH] thermal: of: Introduce governor selection in dts

2015-08-11 Thread Sudeep Holla
On 10/08/15 18:47, Javi Merino wrote: On Mon, Aug 10, 2015 at 09:00:49AM +0100, Chung-Yih Wang (王崇懿) wrote: This patch was originally introduced when we made power_allocator the default governor where we had issues in binding a thermal zone w/o parameters to. Then we came out this facility for

[PATCH v3] Add continuous sampling with IIO buffers for Vybrid

2015-08-11 Thread Sanchayan Maity
Hello, This patch adds support for continuous sampling provided by the ADC block on Vybrid by leveraging the IIO triggered buffers infrastructure. The patch has been tested on Colibri VF50 and VF61 on shawn's tree for-next branch with the patches [1] and [2] applied. The below script was used fo

[PATCH v3] iio: adc: vf610: Add IIO buffer support for Vybrid ADC

2015-08-11 Thread Sanchayan Maity
This patch adds support for IIO buffer to the Vybrid ADC driver. IIO triggered buffer infrastructure along with iio sysfs trigger is used to leverage continuous sampling support provided by the ADC block. Signed-off-by: Sanchayan Maity --- drivers/iio/adc/Kconfig | 2 + drivers/iio/adc/vf6

Re: [PATCH RFC RFT 0/3] clk: detect per-user enable imbalances and implement hand-off

2015-08-11 Thread Lee Jones
On Mon, 10 Aug 2015, Michael Turquette wrote: > Quoting Lee Jones (2015-08-10 08:36:38) > > On Fri, 07 Aug 2015, Michael Turquette wrote: > > > This is an alternative solution to Lee's "clk: Provide support for > > > always-on clocks" series[0]. > > > > So after all the hours of work that's been

[PATCH v3 1/5] power/reset: at91-reset: remove useless at91_reset_platform_probe()

2015-08-11 Thread Alexandre Belloni
Since all the at91 platforms are now DT only, at91_reset_platform_probe() is now useless, remove it. Signed-off-by: Alexandre Belloni --- drivers/power/reset/at91-reset.c | 47 +++- 1 file changed, 3 insertions(+), 44 deletions(-) diff --git a/drivers/power/r

[PATCH v3 0/5] power/reset: at91: cleanups and slow clock

2015-08-11 Thread Alexandre Belloni
Hi, As discussed this series is now removing non DT initialization, allowing to compile the drivers as modules and finally adding slow clock support to the drivers. Alexandre Belloni (5): power/reset: at91-reset: remove useless at91_reset_platform_probe() power/reset: at91-reset: allow compi

[PATCH v3 3/5] power/reset: at91-reset: get and use slow clock

2015-08-11 Thread Alexandre Belloni
Commit dca1a4b5ff6e ("clk: at91: keep slow clk enabled to prevent system hang") added a workaround for the slow clock as it is not properly handled by its users. Get and use the slow clock as it is necessary for the at91 reset controller. Signed-off-by: Alexandre Belloni --- drivers/power/reset

Re: [PATCH] perf script/python: add new compaction-times script

2015-08-11 Thread Vlastimil Babka
On 08/07/2015 01:01 AM, Tony Jones wrote: This patch creates a new script (compaction-times) to report time spent in mm compaction. Report times in nanoseconds (default) or microseconds (-u). Option -p will break down times by process id, -pv will further decompose by each compaction entry/exit.

[PATCH v3 5/5] power/reset: at91-poweroff: get and use slow clock

2015-08-11 Thread Alexandre Belloni
Commit dca1a4b5ff6e ("clk: at91: keep slow clk enabled to prevent system hang") added a workaround for the slow clock as it is not properly handled by its users. Get and use the slow clock as it is necessary for the at91 shutdown controller. Signed-off-by: Alexandre Belloni --- drivers/power/re

[PATCH v3 2/5] power/reset: at91-reset: allow compiling as a module

2015-08-11 Thread Alexandre Belloni
It was not possible to compile at91-reset as a module. Implement .remove() to allow it. Also switch to module_platform_driver_probe() as it is not hotpluggable. Signed-off-by: Alexandre Belloni --- drivers/power/reset/Kconfig | 2 +- drivers/power/reset/at91-reset.c | 17 ++---

[PATCH v3 4/5] power/reset: at91-poweroff: allow compiling as a module

2015-08-11 Thread Alexandre Belloni
It was not possible to compile at91-poweroff as a module. Implement .remove() to allow it. Also switch to module_platform_driver_probe() as it is not hotpluggable. Signed-off-by: Alexandre Belloni --- drivers/power/reset/Kconfig | 2 +- drivers/power/reset/at91-poweroff.c | 18 +

[PATCH] MAINTAINERS: add git tree for the arc architecture

2015-08-11 Thread Baruch Siach
Signed-off-by: Baruch Siach --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index a9ae6c105520..d7ab7363b263 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -9876,6 +9876,7 @@ S:Supported F: arch/arc/ F: Documentation/devicetree/bindin

Re: [PATCH RFC RFT 0/3] clk: detect per-user enable imbalances and implement hand-off

2015-08-11 Thread Geert Uytterhoeven
Hi Mike, On Fri, Aug 7, 2015 at 9:09 PM, Michael Turquette wrote: > This is an alternative solution to Lee's "clk: Provide support for > always-on clocks" series[0]. > > The first two patches introduce run-time checks to ensure that clock > consumer drivers are respecting the clk.h api. The forme

Re: [PATCH] MAINTAINERS: add git tree for the arc architecture

2015-08-11 Thread Vineet Gupta
On Tuesday 11 August 2015 02:40 PM, Baruch Siach wrote: > Signed-off-by: Baruch Siach Applied to my for-next. Thx Baruch, -Vineet -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.k

Re: [RESEND][PATCH 3/4] ARM: davinci: Set proper SPI prescale limit value

2015-08-11 Thread Sekhar Nori
On Tuesday 11 August 2015 02:33 PM, Mark Brown wrote: > On Tue, Aug 11, 2015 at 12:28:21PM +0530, Sekhar Nori wrote: >> On Tuesday 11 August 2015 05:17 AM, Franklin S Cooper Jr. wrote: > >>> ping. Patches 1 and 2 have already been pulled into Mark's spi tree and are >>> currently in in linux-next

[PATCH] ARM: OMAP: irqdomain_hierarchy: fix arm gic irq type configuration

2015-08-11 Thread Grygorii Strashko
It's observed that ARM GIC IRQ triggering type is not configured properly when IRQ is routed through IRQ domains hierarchy and system started using DT. As result, system will start using default ARM GIC configuration, ignore DT IRQ type configuration, and value of desc->irq_data.state_use_accessors

[PATCH V1 3/3] ARM: imx6sx: Add SPDIF_GCLK clock in clock tree

2015-08-11 Thread Shengjiu Wang
As spdif driver will register SPDIF clock to regmap, regmap will do clk_prepare in init function, so SPDIF clock is prepared in probe, then its root clock (pll clock) is prepared also, which cause the arm can't enter low power mode. Add SPDIF_GCLK in clock tree which share same gate bits with SPDIF

[PATCH V1 2/3] ARM: imx6sl: Add SPDIF_GCLK clock in clock tree

2015-08-11 Thread Shengjiu Wang
As spdif driver will register SPDIF clock to regmap, regmap will do clk_prepare in init function, so SPDIF clock is prepared in probe, then its root clock (pll clock) is prepared also, which cause the arm can't enter low power mode. Add SPDIF_GCLK in clock tree which share same gate bits with SPDIF

[PATCH V1 0/3] fix clock issue for fsl,spdif

2015-08-11 Thread Shengjiu Wang
fix clock issue for fsl,spdif Shengjiu Wang (3): ARM: imx6q: Add SPDIF_GCLK clock in clock tree ARM: imx6sl: Add SPDIF_GCLK clock in clock tree ARM: imx6sx: Add SPDIF_GCLK clock in clock tree arch/arm/boot/dts/imx6qdl.dtsi| 2 +- arch/arm/boot/dts/imx6sl.dtsi | 16

[PATCH V1 1/3] ARM: imx6q: Add SPDIF_GCLK clock in clock tree

2015-08-11 Thread Shengjiu Wang
As spdif driver will register SPDIF clock to regmap, regmap will do clk_prepare in init function, so SPDIF clock is prepared in probe, then its root clock (pll clock) is prepared also, which cause the arm can't enter low power mode. Add SPDIF_GCLK in clock tree which share same gate bits with SPDIF

Re: [RFCv5 PATCH 01/46] arm: Frequency invariant scheduler load-tracking support

2015-08-11 Thread Peter Zijlstra
On Tue, Jul 07, 2015 at 07:23:44PM +0100, Morten Rasmussen wrote: > +static DEFINE_PER_CPU(atomic_long_t, cpu_max_freq); > +DEFINE_PER_CPU(atomic_long_t, cpu_freq_capacity); > + atomic_long_set(&per_cpu(cpu_freq_capacity, cpu), capacity); > + unsigned long max = atomic_long_read(&per_cpu(c

Re: [RESEND][PATCH 3/4] ARM: davinci: Set proper SPI prescale limit value

2015-08-11 Thread Mark Brown
On Tue, Aug 11, 2015 at 02:54:33PM +0530, Sekhar Nori wrote: > On Tuesday 11 August 2015 02:33 PM, Mark Brown wrote: > > Why would there be any interdependency between the the two trees, that > > would be very unusual? Adding a new value to DT doesn't need the kernel > > to understand it and the

Re: [PATCH v4 2/2] dt: power: st: Provide bindings for ST's OPPs

2015-08-11 Thread Lee Jones
On Tue, 11 Aug 2015, Viresh Kumar wrote: > On 10-08-15, 14:22, Lee Jones wrote: > > > Optional properties: > > > +- opp-cuts: One or more strings, describing the versions of hardware the > > > OPPs > > > + can support. > > > > This isn't very generic. > > > > I'm guessing some vendors my have

Re: [PATCH] MAINTAINERS: add git tree for the arc architecture

2015-08-11 Thread Baruch Siach
Hi Vineet, On Tue, Aug 11, 2015 at 09:20:45AM +, Vineet Gupta wrote: > On Tuesday 11 August 2015 02:40 PM, Baruch Siach wrote: > > Signed-off-by: Baruch Siach > > Applied to my for-next. Thanks. Just curious, is there a dedicated mailing list for arc? baruch -- http://baruch.siach.

Re: [PATCH, RFC 2/2] dax: use range_lock instead of i_mmap_lock

2015-08-11 Thread Dave Chinner
On Tue, Aug 11, 2015 at 10:19:09AM +0200, Jan Kara wrote: > On Mon 10-08-15 18:14:24, Kirill A. Shutemov wrote: > > As we don't have struct pages for DAX memory, Matthew had to find an > > replacement for lock_page() to avoid fault vs. truncate races. > > i_mmap_lock was used for that. > > > > Rec

Re: [PATCH v3 02/18] of/platform: add of_platform_probe

2015-08-11 Thread Tomeu Vizoso
On 7 August 2015 at 14:19, Mark Brown wrote: > On Thu, Aug 06, 2015 at 04:11:39PM +0200, Tomeu Vizoso wrote: > >> Walks the OF tree up and finds the closest ancestor that has a platform >> device associated with it, probing it if isn't bound to a driver yet. > >> The above should ensure that the d

[PATCH/RFC v5 02/57] leds: Add LED_BRIGHTNESS_BLOCKING flag

2015-08-11 Thread Jacek Anaszewski
This patch adds LED_BRIGHTNESS_BLOCKING flag to the LED core to make it capable of discerning between drivers that implement brightness_set op in the old manner, i.e. the ones which use work queue internally, and drivers that implement brightness_set op in the new manner, i.e. they are aware that b

[PATCH/RFC v5 28/57] leds: da9052: Remove work queue

2015-08-11 Thread Jacek Anaszewski
From: Andrew Lunn Now the core implements the work queue, remove it from the drivers. Signed-off-by: Andrew Lunn Signed-off-by: Jacek Anaszewski --- drivers/leds/leds-da9052.c | 36 +++- 1 file changed, 11 insertions(+), 25 deletions(-) diff --git a/drivers/

[PATCH/RFC v5 26/57] leds: wm831x: Remove work queue

2015-08-11 Thread Jacek Anaszewski
From: Andrew Lunn Now the core implements the work queue, remove it from the drivers. Signed-off-by: Andrew Lunn Cc: Mark Brown Signed-off-by: Jacek Anaszewski --- drivers/leds/leds-wm831x-status.c | 24 1 file changed, 8 insertions(+), 16 deletions(-) diff --git

[PATCH/RFC v5 30/57] leds: lt3593: Remove work queue

2015-08-11 Thread Jacek Anaszewski
From: Andrew Lunn Now the core implements the work queue, remove it from the drivers. Signed-off-by: Andrew Lunn Cc: Daniel Mack Signed-off-by: Jacek Anaszewski --- drivers/leds/leds-lt3593.c | 29 - 1 file changed, 8 insertions(+), 21 deletions(-) diff --git a

  1   2   3   4   5   6   7   8   9   >