[RFC PATCH 04/14] ASoC: qcom: remove hardcoded i2s port number

2015-04-30 Thread Srinivas Kandagatla
This patch attempts to remove the hardcoded i2s port number in lpass driver. Now the the port number comes from the dai id field. This will allow other SOCs to use different port numbers on the lpass driver. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/lpass-cpu.c | 17

[RFC PATCH 02/14] ASoC: qcom: remove unnecessary header files

2015-04-30 Thread Srinivas Kandagatla
This patch removes unnecessary header files in lpass cpu and platform code. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/lpass-cpu.c | 6 +- sound/soc/qcom/lpass-platform.c | 6 -- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/sound/soc/qcom/lpass-cpu.c

[RFC PATCH 00/14] ASoC: qcom: add support to apq8016 audio

2015-04-30 Thread Srinivas Kandagatla
Hi All, This patchset adds apq8016 audio support into lpass driver. Existing Lpass driver can not be used as-it-is for apq8016 as it contains code specific to ipq806x. Also the driver only supports single i2s port, single dma channel and single bitclk control. APQ8016 has 4 MI2S( Primary,

[RFC PATCH 01/14] ASoC: qcom: Remove redundant error check.

2015-04-30 Thread Srinivas Kandagatla
This patch remove redundant check after request_resource as ioremap would do the check anyway. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/lpass-cpu.c | 4 1 file changed, 4 deletions(-) diff --git a/sound/soc/qcom/lpass-cpu.c b/sound/soc/qcom/lpass-cpu.c index 6698d05..1e284c6

Re: [PATCH v4 1/5] pci: add pci_iomap_wc() variants

2015-04-30 Thread Luis R. Rodriguez
On Thu, Apr 30, 2015 at 10:03:18AM -0700, Andy Lutomirski wrote: > On Thu, Apr 30, 2015 at 9:52 AM, Luis R. Rodriguez wrote: > > On Thu, Apr 30, 2015 at 10:59:17AM -0500, Bjorn Helgaas wrote: > >> [+cc linux-pci] > >> > >> Hi Luis, > >> > >> On Wed, Apr 29, 2015 at 02:36:08PM -0700, Luis R.

Re: [PATCH 0/13] Parallel struct page initialisation v4

2015-04-30 Thread nzimmer
On 04/30/2015 11:10 AM, Daniel J Blueman wrote: On Wed, Apr 29, 2015 at 2:38 AM, nzimmer wrote: On 04/28/2015 11:06 AM, Pekka Enberg wrote: On Tue, Apr 28, 2015 at 5:36 PM, Mel Gorman wrote: Struct page initialisation had been identified as one of the reasons why large machines take a long

Re: [PATCH v2 0/3] leds: blink resolution improvements

2015-04-30 Thread Stas Sergeev
28.04.2015 15:58, Jacek Anaszewski пишет: >>> I tried it with Samsung M0 board and >>> my leds-aat1290 driver. It didn't work well. And for small delay >>> intervals it will not have a chance to work reliably with all drivers, >>> especially the ones which use mutex in their brightness_set op, >>>

Re: A desktop environment[1] kernel wishlist

2015-04-30 Thread John Stultz
On Thu, Apr 30, 2015 at 9:25 AM, Bastien Nocera wrote: > On Tue, 2014-10-21 at 10:04 -0700, John Stultz wrote: >> On Tue, Oct 21, 2014 at 1:49 AM, Bastien Nocera >> wrote: >> > Hey, >> > >> > GNOME has had discussions with kernel developers in the past, and, >> > fortunately, in some cases we

[PATCH 1/2] sched/rt: Check to push task away when its affinity is changed

2015-04-30 Thread Xunlei Pang
From: Xunlei Pang We may suffer from extra rt overload rq due to the affinity, so when the affinity of any runnable rt task is changed, we should check to trigger balancing, otherwise it will cause some unnecessary delayed real-time response. Unfortunately, current RT global scheduler does

Re: Audio crackles with 4.1-rc1

2015-04-30 Thread Takashi Iwai
At Thu, 30 Apr 2015 16:01:31 +0100, Jonathan McDowell wrote: > > On Wed, Apr 29, 2015 at 01:54:57PM +0200, Takashi Iwai wrote: > > At Wed, 29 Apr 2015 12:28:59 +0100, > > Jonathan McDowell wrote: > > > > > > On Tue, Apr 28, 2015 at 04:43:00PM +0200, Takashi Iwai wrote: > > > > At Tue, 28 Apr

Re: [PATCH 1/2] sched/rt: Check to push task away when its affinity is changed

2015-04-30 Thread Steven Rostedt
On Fri, 1 May 2015 00:33:17 +0800 Xunlei Pang wrote: > From: Xunlei Pang > > We may suffer from extra rt overload rq due to the affinity, > so when the affinity of any runnable rt task is changed, we > should check to trigger balancing, otherwise it will cause > some unnecessary delayed

Re: Issue in PI boosting code in __sched_setscheduler

2015-04-30 Thread Mike Galbraith
LKML is a very high volume list, if you're seeing problems that were introduced by a particular patch, it's a good idea to CC the author of that patch. /me adds CC, and tags (again) to take a peek. On Tue, 2015-03-17 at 21:10 +0100, Ronny Meeus wrote: > I'm using a patched kernel I get from

[PATCH 2/2] sched/rt: Optimizate task_woken_rt()

2015-04-30 Thread Xunlei Pang
From: Xunlei Pang - Remove "has_pushable_tasks(rq)" condition, because for queued p, "!task_running(rq, p)" and "p->nr_cpus_allowed > 1" implies true "has_pushable_tasks(rq)". - Remove "!test_tsk_need_resched(rq->curr)" condition, because the flag might be set right before the waking up, but we

Re: [PATCH v4 1/5] pci: add pci_iomap_wc() variants

2015-04-30 Thread Andy Lutomirski
On Thu, Apr 30, 2015 at 9:52 AM, Luis R. Rodriguez wrote: > On Thu, Apr 30, 2015 at 10:59:17AM -0500, Bjorn Helgaas wrote: >> [+cc linux-pci] >> >> Hi Luis, >> >> On Wed, Apr 29, 2015 at 02:36:08PM -0700, Luis R. Rodriguez wrote: >> > From: "Luis R. Rodriguez" >> > >> > This allows drivers to

Re: [PATCH 2/2] sched/rt: Optimizate task_woken_rt()

2015-04-30 Thread Steven Rostedt
On Fri, 1 May 2015 00:33:18 +0800 Xunlei Pang wrote: > From: Xunlei Pang > > - Remove "has_pushable_tasks(rq)" condition, because for queued p, > "!task_running(rq, p)" and "p->nr_cpus_allowed > 1" implies true > "has_pushable_tasks(rq)". This makes sense. > > - Remove

[RESEND PATCH 3/3] gpio: max732x: Propagate wake-up setting to parent irq controller

2015-04-30 Thread Semen Protsenko
Set .irq_set_wake callback to prevent possible issues on wake-up. This patch was inspired by this commit: b80eef95beb04760629822fa130aeed54cdfafca Signed-off-by: Semen Protsenko --- drivers/gpio/gpio-max732x.c |9 + 1 file changed, 9 insertions(+) diff --git

[RESEND PATCH 1/3] gpio: max732x: Fix irq-events handler

2015-04-30 Thread Semen Protsenko
MAX732X clears all pending interrupts on I2C read (when interrupts register is being read). Driver doesn't need to send any ACKs when interrupt was handled. So replace handle_edge_irq() with handle_simple_irq(). Using handle_edge_irq() (w/o .irq_ack callback set) may lead to NULL pointer

[RESEND PATCH 2/3] gpio: max732x: Add IRQF_SHARED to irq flags

2015-04-30 Thread Semen Protsenko
It's possible that multiple MAX732X can be hooked up to the same interrupt line with the processor. So add IRQF_SHARED in requesting irq. Signed-off-by: Semen Protsenko --- drivers/gpio/gpio-max732x.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git

[PATCH] Staging: rts5208: Replace timeval with timespec64

2015-04-30 Thread Ksenija Stanojevic
struct timeval tv is used to get current time. 32-bit systems using 'struct timeval' will break in the year 2038, so we have to replace that code with more appropriate types. Signed-off-by: Ksenija Stanojevic Reviewed-by: Arnd Bergmann --- drivers/staging/rts5208/rtsx.h | 25

Re: [PATCH] block: loop: avoiding too many pending per work I/O

2015-04-30 Thread Jeff Moyer
Ming Lei writes: > On Wed, Apr 29, 2015 at 12:36 AM, Jeff Moyer wrote: >> Ming Lei writes: >> >>> If there are too many pending per work I/O, too many >>> high priority work thread can be generated so that >>> system performance can be effected. >>> >>> This patch limits the max pending per

Re: [PATCH 0/3] Using SPI NOR flah on sunxi.

2015-04-30 Thread Michal Suchanek
On 30 April 2015 at 18:30, wrote: > Hello Michal: > >> I tried to connect a SPI NOR flash to my sunxi board and due to the > current >> sunxi SPI driver limitations it does not work. >> >> The SPI driver returns an error when more than 64 bytes are >> transferred at once >> due to lack of DMA

Re: [PATCH] blk-mq: rationalize plug

2015-04-30 Thread Jeff Moyer
Shaohua Li writes: >> I like the general approach. I do wonder whether we should hold back a >> single I/O at all times, or whether we should do something similar to >> what Mike Snitzer did in the dm-mpath driver, where he keeps track of >> the end position of the last I/O (without holding the

Re: [PATCH 0/4] cpufreq: use generic cpufreq drivers for Exynos5250 platform

2015-04-30 Thread Bartlomiej Zolnierkiewicz
Hi, On Friday, April 24, 2015 12:02:11 AM Anand Moon wrote: > Hi Bartlomiej/Kevin, > > I have being testing github branch on OdroidXU3 board, > > Would you consider testing by applying patch. > > https://lkml.org/lkml/2015/1/30/423 > > On my board it stuck after booting. Below is the console

Re: [PATCH v4 1/5] pci: add pci_iomap_wc() variants

2015-04-30 Thread Luis R. Rodriguez
On Thu, Apr 30, 2015 at 10:59:17AM -0500, Bjorn Helgaas wrote: > [+cc linux-pci] > > Hi Luis, > > On Wed, Apr 29, 2015 at 02:36:08PM -0700, Luis R. Rodriguez wrote: > > From: "Luis R. Rodriguez" > > > > This allows drivers to take advantage of write-combining > > when possible. Ideally we'd

Re: [RFT PATCH] drm/exynos: Enable DP clock to fix display on Exynos5250 and other

2015-04-30 Thread Olof Johansson
On Thu, Apr 30, 2015 at 9:40 AM, Javier Martinez Canillas wrote: > Hello Olof, > > On 04/30/2015 05:57 PM, Olof Johansson wrote: >> On Thu, Apr 30, 2015 at 8:44 AM, Kevin Hilman wrote: >>> Krzysztof Kozlowski writes: >> >> This should fix issue reported by Javier [1][2]. >> >>

Re: [PATCH 0/6] x86: reduce paravirtualized spinlock overhead

2015-04-30 Thread Jeremy Fitzhardinge
On 04/30/2015 03:53 AM, Juergen Gross wrote: > Paravirtualized spinlocks produce some overhead even if the kernel is > running on bare metal. The main reason are the more complex locking > and unlocking functions. Especially unlocking is no longer just one > instruction but so complex that it is

Re: High-resolution timers not supported when using smp_twd

2015-04-30 Thread John Stultz
On Thu, Apr 30, 2015 at 5:46 AM, Mason wrote: > Hello, > > I wanted to enable high-resolution timers on this Cortex A9 system, > but it seems there is more to it than just enabling > > CONFIG_HIGH_RES_TIMERS=y > > (The system is limited to jiffy resolution.) You might make sure you've got a

randconfig build error with next-20150430, in sound/core/jack.c

2015-04-30 Thread Jim Davis
Building with the attached random configuration file, sound/built-in.o: In function `snd_jack_new': /home/jim/linux/sound/core/jack.c:229: undefined reference to `input_allocate_device' /home/jim/linux/sound/core/jack.c:241: undefined reference to `input_set_capability'

Re: [RFC PATCH 1/3] mm/thp: Use pmdp_splitting_flush_notify to clear pmd on splitting

2015-04-30 Thread Aneesh Kumar K.V
"Aneesh Kumar K.V" writes: > "Kirill A. Shutemov" writes: > >>> @@ -184,3 +185,13 @@ void pmdp_invalidate(struct vm_area_struct *vma, >>> unsigned long address, >>> } >>> #endif /* CONFIG_TRANSPARENT_HUGEPAGE */ >>> #endif >>> + >>> +#ifndef __HAVE_ARCH_PMDP_SPLITTING_FLUSH_NOTIFY >>>

Re: [PATCH 0/3] Using SPI NOR flah on sunxi.

2015-04-30 Thread Thomas . Betker
Hello Michal: > I tried to connect a SPI NOR flash to my sunxi board and due to the current > sunxi SPI driver limitations it does not work. > > The SPI driver returns an error when more than 64 bytes are > transferred at once > due to lack of DMA support. Wouldn't it be easier to fix the SPI

Re: [RFC 02/11] mm: debug: deal with a new family of MM pointers

2015-04-30 Thread Sasha Levin
On 04/30/2015 12:17 PM, Kirill A. Shutemov wrote: > On Tue, Apr 14, 2015 at 04:56:24PM -0400, Sasha Levin wrote: >> > This teaches our printing functions about a new family of MM pointer that >> > it >> > could now print. >> > >> > I've picked %pZ because %pm and %pM were already taken, so I

Re: [RFT PATCH] drm/exynos: Enable DP clock to fix display on Exynos5250 and other

2015-04-30 Thread Javier Martinez Canillas
Hello Olof, On 04/30/2015 05:57 PM, Olof Johansson wrote: > On Thu, Apr 30, 2015 at 8:44 AM, Kevin Hilman wrote: >> Krzysztof Kozlowski writes: > > This should fix issue reported by Javier [1][2]. > > Tested on Chromebook Snow (Exynos 5250). More testing would be great, >

Re: regression in ktime.h circa 3.16.0-rc5+ breaks lirc irsend, bad commit 166afb64511

2015-04-30 Thread John Stultz
On Wed, Apr 29, 2015 at 9:27 PM, Trevor Cordes wrote: > Sorry for the top-posting; Josh Boyer suggested I re-mail this mail > from last month which didn't get any replies. I'm still having this > weird kernel bug affecting me and I've bisected it down to like 2-4 > lines of code. (I've thought

Re: [PATCH] staging: i2o: Remove unwanted semicolon

2015-04-30 Thread hari prasath
On 30 April 2015 at 19:44, gre...@linuxfoundation.org wrote: > On Thu, Apr 23, 2015 at 04:09:28PM +0100, Alan Cox wrote: >> On Thu, 2015-04-23 at 13:43 +, Gujulan Elango, Hari Prasath (H.) >> wrote: >> > This patch removes unwanted semicolon around close braces of code blocks >> >> >> The i2o

Re: Issue in PI boosting code in __sched_setscheduler

2015-04-30 Thread Ronny Meeus
On Tue, Mar 17, 2015 at 9:10 PM, Ronny Meeus wrote: > I'm using a patched kernel I get from Monta-Vista, it is based on the > 3.10 kernel with some RT patches. > We ported an application from pSOS RTOS to Linux using the > Xenomai-Mercury (=library to map pSOS task to POSIX threads). > > One of

[PATCH][RT] xfs: Disable preemption when grabbing all icsb counter locks

2015-04-30 Thread Steven Rostedt
Running a test on a large CPU count box with xfs, I hit a live lock with the following backtraces on several CPUs: Call Trace: [] __const_udelay+0x28/0x30 [] xfs_icsb_lock_cntr+0x2a/0x40 [xfs] [] xfs_icsb_modify_counters+0x71/0x280 [xfs] [] xfs_trans_reserve+0x171/0x210

Re: [PATCH] x86/mce: fix mce_restart() race with CPU hotplug operation

2015-04-30 Thread Borislav Petkov
On Thu, Apr 30, 2015 at 12:04:53AM +0900, Ethan Zhao wrote: > while testing CPU hotplug and MCE with following two scripts, > > script 1: > > for i in {1..30}; do while :; do ((a=$RANDOM%160)); echo 0 >> > /sys/devices/system/cpu/cpu${i}/online; echo 1 >> >

Re: [PATCH V7 4/9] mfd: Add binding document for NVIDIA Tegra XUSB

2015-04-30 Thread Andrew Bresticker
On Thu, Apr 30, 2015 at 3:06 AM, Lee Jones wrote: > On Wed, 29 Apr 2015, Andrew Bresticker wrote: > >> On Wed, Apr 29, 2015 at 11:34 AM, Lee Jones wrote: >> > On Wed, 29 Apr 2015, Andrew Bresticker wrote: >> > >> >> Lee, >> >> >> >> On Wed, Apr 29, 2015 at 2:25 AM, Lee Jones wrote: >> >> > On

Re: [PATCH v4 2/5] lib: devres: add pcim_iomap_wc() variants

2015-04-30 Thread Bjorn Helgaas
[+cc linux-pci] Hi Luis, On Wed, Apr 29, 2015 at 02:36:09PM -0700, Luis R. Rodriguez wrote: > From: "Luis R. Rodriguez" > > Now that we have pci_iomap_wc() add the respective devres helpers. I guess I'm still confused about the relationship between pci_iomap_wc() and arch_phys_wc_add(). Do

[PATCH v7 05/15] dt-bindings: Document the STM32 reset bindings

2015-04-30 Thread Maxime Coquelin
This adds documentation of device tree bindings for the STM32 reset controller. Tested-by: Chanwoo Choi Acked-by: Philipp Zabel Acked-by: Rob Herring Signed-off-by: Maxime Coquelin --- .../devicetree/bindings/reset/st,stm32-rcc.txt | 107 + 1 file changed, 107

[PATCH v7 03/15] dt-bindings: Document the ARM System timer bindings

2015-04-30 Thread Maxime Coquelin
This adds documentation of device tree bindings for the ARM System timer. Tested-by: Chanwoo Choi Acked-by: Rob Herring Signed-off-by: Maxime Coquelin --- .../devicetree/bindings/arm/armv7m_systick.txt | 26 ++ 1 file changed, 26 insertions(+) create mode 100644

[PATCH v7 00/15] Add support to STMicroelectronics STM32 family

2015-04-30 Thread Maxime Coquelin
In this seventh round, the series has been rebased on top of 4.1-rc1. The series also fixes sysrq support in serial driver. STM32 MCUs are Cortex-M CPU, used in various applications (consumer electronics, industrial applications, hobbyists...). Datasheets, user and programming manuals are

[PATCH v7 06/15] drivers: reset: Add STM32 reset driver

2015-04-30 Thread Maxime Coquelin
The STM32 MCUs family IPs can be reset by accessing some registers from the RCC block. The list of available reset lines is documented in the DT bindings. Tested-by: Chanwoo Choi Acked-by: Philipp Zabel Signed-off-by: Maxime Coquelin --- drivers/reset/Makefile | 1 +

[PATCH v7 08/15] clockevents/drivers: Add STM32 Timer driver

2015-04-30 Thread Maxime Coquelin
STM32 MCUs feature 16 and 32 bits general purpose timers with prescalers. The drivers detects whether the time is 16 or 32 bits, and applies a 1024 prescaler value if it is 16 bits. Reviewed-by: Linus Walleij Tested-by: Chanwoo Choi Signed-off-by: Maxime Coquelin ---

Re: A desktop environment[1] kernel wishlist

2015-04-30 Thread Bastien Nocera
On Tue, 2014-10-21 at 10:04 -0700, John Stultz wrote: > On Tue, Oct 21, 2014 at 1:49 AM, Bastien Nocera > wrote: > > Hey, > > > > GNOME has had discussions with kernel developers in the past, and, > > fortunately, in some cases we were able to make headway. > > > > There are however a number

[PATCH v7 10/15] serial: stm32-usart: Add STM32 USART Driver

2015-04-30 Thread Maxime Coquelin
This drivers adds support to the STM32 USART controller, which is a standard serial driver. Tested-by: Chanwoo Choi Reviewed-by: Peter Hurley Reviewed-by: Vladimir Zapolskiy Signed-off-by: Maxime Coquelin --- drivers/tty/serial/Kconfig | 17 + drivers/tty/serial/Makefile | 1 +

[PATCH v7 07/15] dt-bindings: Document the STM32 timer bindings

2015-04-30 Thread Maxime Coquelin
This adds documentation of device tree bindings for the STM32 timer. Tested-by: Chanwoo Choi Acked-by: Rob Herring Signed-off-by: Maxime Coquelin --- .../devicetree/bindings/timer/st,stm32-timer.txt | 22 ++ 1 file changed, 22 insertions(+) create mode 100644

[PATCH v7 02/15] ARM: ARMv7-M: Enlarge vector table up to 256 entries

2015-04-30 Thread Maxime Coquelin
>From Cortex-M reference manuals, the nvic supports up to 240 interrupts. So the number of entries in vectors table is up to 256. This patch adds a new config flag to specify the number of external interrupts. Some ifdeferies are added in order to respect the natural alignment without wasting too

Re: [RFC 07/11] mm: debug: VM_BUG()

2015-04-30 Thread Kirill A. Shutemov
On Tue, Apr 14, 2015 at 04:56:29PM -0400, Sasha Levin wrote: > VM_BUG() complements VM_BUG_ON() just like with WARN() and WARN_ON(). > > This lets us format custom strings to output when a VM_BUG() is hit. > > Signed-off-by: Sasha Levin > --- > include/linux/mmdebug.h | 10 +- > 1

[PATCH v7 12/15] ARM: dts: Add ARM System timer as clocksource in armv7m

2015-04-30 Thread Maxime Coquelin
Tested-by: Chanwoo Choi Signed-off-by: Maxime Coquelin --- arch/arm/boot/dts/armv7-m.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/armv7-m.dtsi b/arch/arm/boot/dts/armv7-m.dtsi index 5a660d0..b1ad7cf 100644 --- a/arch/arm/boot/dts/armv7-m.dtsi +++

[PATCH v7 13/15] ARM: dts: Introduce STM32F429 MCU

2015-04-30 Thread Maxime Coquelin
The STMicrolectornics's STM32F429 MCU has the following main features: - Cortex-M4 core running up to @180MHz - 2MB internal flash, 256KBytes internal RAM - FMC controller to connect SDRAM, NOR and NAND memories - SD/MMC/SDIO support - Ethernet controller - USB OTFG FS & HS controllers -

[PATCH v7 14/15] ARM: configs: Add STM32 defconfig

2015-04-30 Thread Maxime Coquelin
This patch adds a new config for STM32 MCUs. STM32F429 Discovery board boots successfully with this config applied. Tested-by: Chanwoo Choi Signed-off-by: Maxime Coquelin --- arch/arm/configs/stm32_defconfig | 69 1 file changed, 69 insertions(+)

[PATCH v7 15/15] MAINTAINERS: Add entry for STM32 MCUs

2015-04-30 Thread Maxime Coquelin
Add a MAINTAINER entry covering all STM32 machine and drivers files. Signed-off-by: Maxime Coquelin --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 2e5bbc0..858d821 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1479,6 +1479,14 @@ F:

[PATCH v7 11/15] ARM: Add STM32 family machine

2015-04-30 Thread Maxime Coquelin
STMicrolectronics's STM32 series is a family of Cortex-M microcontrollers. It is used in various applications, and proposes a wide range of peripherals. Tested-by: Chanwoo Choi Signed-off-by: Maxime Coquelin --- Documentation/arm/stm32/overview.txt | 32 ++

[PATCH v7 09/15] dt-bindings: Document the STM32 USART bindings

2015-04-30 Thread Maxime Coquelin
This adds documentation of device tree bindings for the STM32 USART Tested-by: Chanwoo Choi Signed-off-by: Maxime Coquelin --- .../devicetree/bindings/serial/st,stm32-usart.txt | 32 ++ 1 file changed, 32 insertions(+) create mode 100644

[PATCH v7 04/15] clocksource/drivers: Add ARM System timer driver

2015-04-30 Thread Maxime Coquelin
This patch adds clocksource support for ARMv7-M's System timer, also known as SysTick. Tested-by: Chanwoo Choi Acked-by: Daniel Lezcano Signed-off-by: Maxime Coquelin --- drivers/clocksource/Kconfig | 7 drivers/clocksource/Makefile | 1 +

[PATCH v7 01/15] scripts: link-vmlinux: Don't pass page offset to kallsyms if XIP Kernel

2015-04-30 Thread Maxime Coquelin
When Kernel is executed in place from ROM, the symbol addresses can be lower than the page offset. Tested-by: Chanwoo Choi Signed-off-by: Maxime Coquelin --- scripts/link-vmlinux.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/link-vmlinux.sh

Re: [RFC 03/11] mm: debug: dump VMA into a string rather than directly on screen

2015-04-30 Thread Kirill A. Shutemov
On Tue, Apr 14, 2015 at 04:56:25PM -0400, Sasha Levin wrote: > This lets us use regular string formatting code to dump VMAs, use it > in VM_BUG_ON_VMA instead of just printing it to screen as well. > > Signed-off-by: Sasha Levin > --- > include/linux/mmdebug.h |8 ++-- > lib/vsprintf.c

Re: [RFC 02/11] mm: debug: deal with a new family of MM pointers

2015-04-30 Thread Kirill A. Shutemov
On Tue, Apr 14, 2015 at 04:56:24PM -0400, Sasha Levin wrote: > This teaches our printing functions about a new family of MM pointer that it > could now print. > > I've picked %pZ because %pm and %pM were already taken, so I figured it > doesn't really matter what we go with. We also have the

[PATCH v2 2/5] clk: sunxi: support the cpus (cpu special) clock on the Allwinner A80

2015-04-30 Thread Chen-Yu Tsai
The "cpus" clock is the clock for the embedded processor in the A80. It is also part of the PRCM clock tree. Signed-off-by: Chen-Yu Tsai --- Documentation/devicetree/bindings/clock/sunxi.txt | 1 + drivers/clk/sunxi/Makefile| 2 +- drivers/clk/sunxi/clk-sun9i-cpus.c

Re: [PATCH v2] firmware: dmi_scan: Only honor end-of-table for 64-bit tables

2015-04-30 Thread Ard Biesheuvel
On 30 April 2015 at 16:23, Jean Delvare wrote: > A 32-bit entry point to a DMI table says how many structures the table > contains. The SMBIOS specification explicitly says that end-of-table > markers should be ignored if they are not actually at the end of the > DMI table. So only honor the

Re: [PATCH 0/13] Parallel struct page initialisation v4

2015-04-30 Thread Daniel J Blueman
On Wed, Apr 29, 2015 at 2:38 AM, nzimmer wrote: On 04/28/2015 11:06 AM, Pekka Enberg wrote: On Tue, Apr 28, 2015 at 5:36 PM, Mel Gorman wrote: Struct page initialisation had been identified as one of the reasons why large machines take a long time to boot. Patches were posted a long time

[PATCH v2 4/5] ARM: dts: sun9i: Add A80 PRCM clocks and reset control nodes

2015-04-30 Thread Chen-Yu Tsai
This adds the PRCM clocks and reset controls to the A80 dtsi. The list of apbs clock gates is incomplete. Tests show that bits 0~20 are mutable. We will need documents from Allwinner to complete the support. Also update clock and reset phandles for r_uart. Signed-off-by: Chen-Yu Tsai ---

[PATCH v2 5/5] ARM: dts: sun9i: Add TODO comments for the main and low power clocks

2015-04-30 Thread Chen-Yu Tsai
The main (24MHz) clock on the A80 is configurable via the PRCM address space. The low power/speed (32kHz) clock is from an external chip, the AC100. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun9i-a80.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff --git

[PATCH v2 3/5] mfd: sun6i-prcm: Add support for PRCM found on Allwinner A80 SoC

2015-04-30 Thread Chen-Yu Tsai
This patch adds support for the PRCM on the A80 SoC. There is little to no document for this at the moment. Only register offsets are available. However with some testing, the clock and reset controls seem to be the similar to the ones on the A31. One thing that needs verifying is whether the

[PATCH v2 1/5] clk: sunxi: sun6i-apb0: Add support for sun9i A80 apbs gates

2015-04-30 Thread Chen-Yu Tsai
This patch adds support for the PRCM apbs clock gates found on the Allwinner A80 SoC. Signed-off-by: Chen-Yu Tsai --- Documentation/devicetree/bindings/clock/sunxi.txt | 1 + drivers/clk/sunxi/clk-sun6i-apb0-gates.c | 5 + 2 files changed, 6 insertions(+) diff --git

[PATCH v2 0/5] ARM: sun9i: Add support for PRCM on Allwinner A80 SoC

2015-04-30 Thread Chen-Yu Tsai
Hi everyone, This is v2 of the Allwinner A80 PRCM support series. Thanks to Allwinner updating their documents, we can now support the essential parts of the PRCM. This series adds support for the Power Reset and Clock Management module on Allwinner's A80 SoC. The PRCM manages clocks and resets

Re: [PATCH 1/2] ARM: dts: mt8135: Add pinctrl/GPIO/EINT node for mt8135.

2015-04-30 Thread Matthias Brugger_0
On Tuesday, April 28, 2015 05:23:56 PM Yingjoe Chen wrote: > From: Hongzhou Yang > > > Matthias, > > Since mt8135 pinctrl node patch is not in v4.1-rc1, I'd like to make some > minor change to follow dts convention. > > Let me know what you think. > Thanks. > > Joe.C > >

Re: [PATCH v9 1/3] smpboot: allow excluding cpus from the smpboot threads

2015-04-30 Thread Chris Metcalf
On 04/29/2015 06:26 PM, Andrew Morton wrote: On Fri, 17 Apr 2015 14:37:16 -0400 Chris Metcalf wrote: This change allows some cores to be excluded from running the smp_hotplug_thread tasks. The following commit to update kernel/watchdog.c to use this functionality is the motivating example,

[PATCH 0/3] add new strscpy() API for string copy

2015-04-30 Thread Chris Metcalf
This patch series addresses limitations in strncpy() and strlcpy(); both the old APIs are unpleasant, as Linus nicely summarized here a couple of days ago: https://lkml.org/lkml/2015/4/28/570 and of course as other folks (Greg K-H and Linus again) said last year:

[PATCH 2/3] string: provide strscpy() and strscpy_truncate()

2015-04-30 Thread Chris Metcalf
The strscpy() API is intended to be used instead of strlcpy(), and instead of most uses of strncpy(). - The API provides an easy way to check for destination buffer overflow: a -E2BIG error return value. - By default, truncation causes the destination buffer to be the empty string, so users

[PATCH 3/3] tile: use global strscpy() rather than private copy

2015-04-30 Thread Chris Metcalf
Now that strscpy() is a standard API, remove the local copy. Signed-off-by: Chris Metcalf --- arch/tile/gxio/mpipe.c | 33 - 1 file changed, 4 insertions(+), 29 deletions(-) diff --git a/arch/tile/gxio/mpipe.c b/arch/tile/gxio/mpipe.c index

[PATCH 1/3] Make asm/word-at-a-time.h available on all architectures

2015-04-30 Thread Chris Metcalf
Added the x86 implementation of word-at-a-time to the generic version, which previously only supported big-endian. Omitted the x86-specific load_unaligned_zeropad(), which in any case is also not present for the existing BE-only implementation of a word-at-a-time, and is only used under

Re: [PATCH v4 2/8] init.h: add __read_mostly to early_param_on_off()

2015-04-30 Thread Borislav Petkov
On Wed, Apr 29, 2015 at 02:44:21PM -0700, Luis R. Rodriguez wrote: > From: "Luis R. Rodriguez" So this one is missing a commit message too but we need to talk about this. Why are we adding __read_mostly in the macro? This would put every param declared this way into

Re: xfs: does mkfs.xfs require fancy switches to get decent performance? (was Tux3 Report: How fast can we fsync?)

2015-04-30 Thread Howard Chu
Daniel Phillips wrote: On 04/30/2015 07:28 AM, Howard Chu wrote: You're reading into it what isn't there. Spreading over the disk isn't (just) about avoiding fragmentation - it's about delivering consistent and predictable latency. It is undeniable that if you start by only allocating from

Re: [RFC PATCH 1/3] mm/thp: Use pmdp_splitting_flush_notify to clear pmd on splitting

2015-04-30 Thread Aneesh Kumar K.V
"Kirill A. Shutemov" writes: >> @@ -184,3 +185,13 @@ void pmdp_invalidate(struct vm_area_struct *vma, >> unsigned long address, >> } >> #endif /* CONFIG_TRANSPARENT_HUGEPAGE */ >> #endif >> + >> +#ifndef __HAVE_ARCH_PMDP_SPLITTING_FLUSH_NOTIFY >> +#ifdef CONFIG_TRANSPARENT_HUGEPAGE >> +void

Re: [PATCH v4 1/5] pci: add pci_iomap_wc() variants

2015-04-30 Thread Bjorn Helgaas
[+cc linux-pci] Hi Luis, On Wed, Apr 29, 2015 at 02:36:08PM -0700, Luis R. Rodriguez wrote: > From: "Luis R. Rodriguez" > > This allows drivers to take advantage of write-combining > when possible. Ideally we'd have pci_read_bases() just > peg an IORESOURCE_WC flag for us This makes it sound

Re: xfs: does mkfs.xfs require fancy switches to get decent performance? (was Tux3 Report: How fast can we fsync?)

2015-04-30 Thread Daniel Phillips
Hi Ted, On 04/30/2015 07:57 AM, Theodore Ts'o wrote: > This is one of the reasons why I find head-to-head "competitions" > between file systems to be not very helpful for anything other than > benchmarketing. It's almost certain that the benchmark won't be > "fair" in some way, and it doesn't

Re: [PATCH 2/2] ARM: dts: Fix pinctrl settings for S2MPS11 RTC alarm IRQ on Arndale Octa

2015-04-30 Thread Kevin Hilman
Hi Krzystof, Krzysztof Kozlowski writes: > 2015-04-02 23:36 GMT+09:00 Krzysztof Kozlowski : >> On Arndale Octa the S2MPS11 RTC alarm interrupt was not handled at all >> because of wrong configuration of interrupt and gpx3-2. >> 1. Interrupt is signaled by falling edge. >> 2. This GPIO line is

Re: [RFT PATCH] drm/exynos: Enable DP clock to fix display on Exynos5250 and other

2015-04-30 Thread Olof Johansson
On Thu, Apr 30, 2015 at 8:44 AM, Kevin Hilman wrote: > Krzysztof Kozlowski writes: > >> 2015-04-30 2:31 GMT+09:00 Kevin Hilman : >>> Krzysztof Kozlowski writes: >>> After adding display power domain for Exynos5250 in commit 2d2c9a8d0a4f ("ARM: dts: add display power domain for

Re: [PATCH] power: bq27x00_battery: Add missing MODULE_ALIAS

2015-04-30 Thread Sebastian Reichel
Hi, On Tue, Apr 28, 2015 at 10:23:06PM +0200, Marek Belisko wrote: > Without MODULE_ALIAS bq27x00_battery module won't get loaded > automatically. > > Signed-off-by: Marek Belisko > --- > drivers/power/bq27x00_battery.c | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git

Re: [Linaro-acpi] [PATCH 2/2] ACPI / scan: Parse _CCA and setup device coherency

2015-04-30 Thread Catalin Marinas
On Thu, Apr 30, 2015 at 03:52:17PM +0200, Arnd Bergmann wrote: > On Thursday 30 April 2015 14:13:45 Will Deacon wrote: > > On Thu, Apr 30, 2015 at 02:03:00PM +0100, Arnd Bergmann wrote: > > > On Thursday 30 April 2015 12:46:15 Will Deacon wrote: > > > > Cache sync doesn't exist in the

Re: [PATCH] KVM: booke: use __kvm_guest_exit

2015-04-30 Thread Christian Borntraeger
Am 30.04.2015 um 14:40 schrieb Paolo Bonzini: > Signed-off-by: Paolo Bonzini Reviewed-by: Christian Borntraeger but no way to test it > --- > arch/powerpc/kvm/booke.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/arch/powerpc/kvm/booke.c

Re: [patch 33/39] power: reset: ltc2952: Remove bogus hrtimer_start() return value checks

2015-04-30 Thread Sebastian Reichel
Hi, On Tue, Apr 14, 2015 at 09:09:20PM -, Thomas Gleixner wrote: > The return value of hrtimer_start() tells whether the timer was > inactive or active already when hrtimer_start() was called. > > The code emits a bogus warning if the timer was active already > claiming that the timer could

RE: [PATCH] axp288_fuel_gauge: Add original author details

2015-04-30 Thread Pallala, Ramakrishna
Thanks you. I will add linux-pm also in CC list going forward. > On Wed, Apr 29, 2015 at 06:09:29AM +, Pallala, Ramakrishna wrote: > > It's been almost 45 days since I submitted this patch and I did not > > receive any feedback from you. > > Can you take a look at this patch now? > > Right,

Re: [RFT PATCH] drm/exynos: Enable DP clock to fix display on Exynos5250 and other

2015-04-30 Thread Kevin Hilman
Krzysztof Kozlowski writes: > 2015-04-30 2:31 GMT+09:00 Kevin Hilman : >> Krzysztof Kozlowski writes: >> >>> After adding display power domain for Exynos5250 in commit >>> 2d2c9a8d0a4f ("ARM: dts: add display power domain for exynos5250") the >>> display on Chromebook Snow and others stopped

Re: [PATCH 1/1] ARM: dts: Make DP a consumer of DISP1 power domain on Exynos5420

2015-04-30 Thread Kevin Hilman
Kukjin Kim writes: > Javier Martinez Canillas wrote: >> >> Hello Kukjin, >> > Hi, > >> On 04/16/2015 09:40 AM, Javier Martinez Canillas wrote: >> > >> > On 04/12/2015 10:30 PM, Javier Martinez Canillas wrote: >> >> Commit ea08de16eb1b ("ARM: dts: Add DISP1 power domain for exynos5420") >> >>

Re: [RFC 01/11] mm: debug: format flags in a buffer

2015-04-30 Thread Kirill A. Shutemov
On Tue, Apr 14, 2015 at 04:56:23PM -0400, Sasha Levin wrote: > Format various flags to a string buffer rather than printing them. This is > a helper for later. > > Signed-off-by: Sasha Levin > --- > mm/debug.c | 35 +++ > 1 file changed, 35 insertions(+) > >

Re: [PATCH v2 1/2] soc: qcom: Add device tree binding for SMEM

2015-04-30 Thread Jeffrey Hugo
On 4/11/2015 5:32 PM, Bjorn Andersson wrote: Add device tree binding documentation for the Qualcom Shared Memory manager. Signed-off-by: Bjorn Andersson --- Changes since v1: - None .../devicetree/bindings/soc/qcom/qcom,smem.txt | 49 ++ 1 file changed, 49

Re: [PATCH] serial: omap: Fix error handling in probe

2015-04-30 Thread Sam Protsenko
v2 of this patch was sent (rebased on top of recent sources). On Thu, Apr 30, 2015 at 6:28 PM, Semen Protsenko wrote: > There is pm_qos_add_request() being executed on serial_omap_probe(), > which stores ">pm_qos_request" from omap-serial driver to >

[PATCH v2] serial: omap: Fix error handling in probe

2015-04-30 Thread Semen Protsenko
There is pm_qos_add_request() being executed on serial_omap_probe(), which stores ">pm_qos_request" from omap-serial driver to "pm_qos_array[PM_QOS_CPU_DMA_LATENCY]->constraints". If serial_omap_probe() fails after pm_qos_add_request() (e.g. on uart_add_one_port() call), pm_qos_array still keeping

[PATCH v2 2/2] clk: change clk_ops' ->determine_rate() prototype

2015-04-30 Thread Boris Brezillon
Clock rates are stored in an unsigned long field, but ->determine_rate() (which returns a rounded rate from a requested one) returns a long value (errors are reported using negative error codes), which can lead to long overflow if the clock rate exceed 2Ghz. Change ->determine_rate() prototype to

Re: [PATCH v2 16/19] clk: tegra: pll: Add Set_default logic

2015-04-30 Thread Rhyland Klein
On 4/30/2015 6:12 AM, Peter De Schrijver wrote: > On Wed, Apr 29, 2015 at 01:21:46PM -0400, Rhyland Klein wrote: >> From: Bill Huang >> >> Add logic which (if specified for a pll) can verify that a PLL is set >> to the proper default value and if not can set it. This can be >> specified per PLL

[PATCH v2 1/2] clk: change clk_ops' ->round_rate() prototype

2015-04-30 Thread Boris Brezillon
Clock rates are stored in an unsigned long field, but ->round_rate() (which returns a rounded rate from a requested one) returns a long value (errors are reported using negative error codes), which can lead to long overflow if the clock rate exceed 2Ghz. Change ->round_rate() prototype to return

[PATCH v2 0/2] clk: adapt ->round_rate()/->determine_rate() prototypes

2015-04-30 Thread Boris Brezillon
Hello, As previously discussed in this thread [1], this series is changing clk_ops' ->round_rate()/->determine_rate() prototypes to avoid long overflows when the returned rate is exceeding 2Ghz. Most of those changes have been compile-tested, but none of them have been tested on real hardware

[PATCH] serial: omap: Fix error handling in probe

2015-04-30 Thread Semen Protsenko
There is pm_qos_add_request() being executed on serial_omap_probe(), which stores ">pm_qos_request" from omap-serial driver to "pm_qos_array[PM_QOS_CPU_DMA_LATENCY]->constraints". If serial_omap_probe() fails after pm_qos_add_request() (e.g. on uart_add_one_port() call), pm_qos_array still keeping

Re: [PATCH 0/3] power: reset: BCM63xx reboot support

2015-04-30 Thread Sebastian Reichel
Hi, On Tue, Apr 21, 2015 at 11:51:32AM -0700, Florian Fainelli wrote: > On 24/03/15 17:17, Florian Fainelli wrote: > > Hi all, > > > > This patch series adds support for the BCM6328-style software reset hardware > > block commonly found on Broadcom BCM63xx DSL SoCs. > > Looks like we can

Plumbers 2015 -- Performance and Scalability track

2015-04-30 Thread Davidlohr Bueso
Hello, I am hoping we can have a scaling track this year. The purpose of this email is to 1) confirm some of the key participants, 2) suggestions for other key participants and 3) more topics so that we can have a big enough pool to screen correctly for what's really worth discussing. I have

Re: xfs: does mkfs.xfs require fancy switches to get decent performance? (was Tux3 Report: How fast can we fsync?)

2015-04-30 Thread Daniel Phillips
On 04/30/2015 07:33 AM, Mike Galbraith wrote: > Well ok, let's forget bad blood, straw men... and answering my question > too I suppose. Not having any sexy IO gizmos in my little desktop box, > I don't care deeply which stomps the other flat on beastly boxen. I'm with you, especially the

Re: [PATCH 1/1] Revert "ARM: dts: add display power domain for exynos5250"

2015-04-30 Thread Javier Martinez Canillas
Hello Kevin, On 04/30/2015 04:59 PM, Kevin Hilman wrote: > Javier Martinez Canillas writes: >> >> The regression on Exynos5420/5422/5800 that has been for a while is fixed >> by "ARM: dts: Make DP a consumer of DISP1 power domain on Exynos5420" [0] >> which has been posted many weeks ago. > >

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