[RFC PATCH 02/23] arm: use kconfig fragments for ARCH_ASPEED defconfigs

2016-12-06 Thread Bartlomiej Zolnierkiewicz
Replace aspeed_g[45]_defconfig with a Makefile target using merge_config. The patch was verified by doing: $ make aspeed_g[45]_defconfig $ make savedefconfig and comparing resulting defconfig files (before/after the patch). Cc: Joel Stanley Cc: Cyril Bur Signed-off-by: Bartlomiej Zoln

[RFC PATCH 14/23] arm: update lpd270_defconfig

2016-12-06 Thread Bartlomiej Zolnierkiewicz
Update lpd270_defconfig against kernel v4.9-rc6. The changes were obtained by doing: $ make lpd270_defconfig $ make savedefconfig $ diff -u arch/arm/lpd270_defconfig defconfig Cc: Daniel Mack Cc: Haojian Zhuang Cc: Robert Jarzmik Cc: Cyril Bur Signed-off-by: Bartlomie

[RFC PATCH 17/23] arm: update spitz_defconfig

2016-12-06 Thread Bartlomiej Zolnierkiewicz
Update spitz_defconfig against kernel v4.9-rc6. The changes were obtained by doing: $ make spitz_defconfig $ make savedefconfig $ diff -u arch/arm/spitz_defconfig defconfig Cc: Daniel Mack Cc: Haojian Zhuang Cc: Robert Jarzmik Cc: Cyril Bur Signed-off-by: Bartlomiej Z

[RFC PATCH 07/23] arm: update defconfigs for PLAT_SPEAR

2016-12-06 Thread Bartlomiej Zolnierkiewicz
Update spear[13,3,6]xx_defconfig-s against kernel v4.9-rc6. The changes were obtained by doing: $ make spear[13,...]xx_defconfig $ make savedefconfig $ diff -u arch/arm/spear[13,...]xx_defconfig defconfig Cc: Viresh Kumar Cc: Shiraz Hashim Cc: Cyril Bur Signed-off-by:

[RFC PATCH 10/23] arm: use kconfig fragments for ARCH_W90X900 defconfigs

2016-12-06 Thread Bartlomiej Zolnierkiewicz
Replace nuc9[5,6]0_defconfig-s with a Makefile target using merge_config. The patch was verified with doing: $ make nuc9[5,6]0_defconfig $ make savedefconfig and comparing resulting defconfig files (before/after the patch). Cc: Wan ZongShun Cc: Cyril Bur Signed-off-by: Bartlomiej Zoln

[RFC PATCH 09/23] arm: update defconfigs for ARCH_W90X900

2016-12-06 Thread Bartlomiej Zolnierkiewicz
Update nuc9[1,5,6]0_defconfig-s against kernel v4.9-rc6. The changes were obtained by doing: $ make nuc9[1,5,6]0_defconfig $ make savedefconfig $ diff -u arch/arm/nuc9[1,5,6]0_defconfig defconfig Cc: Wan ZongShun Cc: Cyril Bur Signed-off-by: Bartlomiej Zolnierkiewicz -

[RFC PATCH 19/23] arm: update ezx_defconfig

2016-12-06 Thread Bartlomiej Zolnierkiewicz
Update ezx_defconfig against kernel v4.9-rc6. The changes were obtained by doing: $ make ezx_defconfig $ make savedefconfig $ diff -u arch/arm/ezx_defconfig defconfig Cc: Daniel Mack Cc: Haojian Zhuang Cc: Robert Jarzmik Cc: Cyril Bur Signed-off-by: Bartlomiej Zolnier

[PATCH v4 4/7] PWM: add PWM driver for STM32 plaftorm

2016-12-06 Thread Benjamin Gaignard
This driver adds support for PWM driver on STM32 platform. The SoC have multiple instances of the hardware IP and each of them could have small differences: number of channels, complementary output, auto reload register size... version 4: - detect at probe time hardware capabilities - fix comments

[RFC PATCH 05/23] arm: update defconfigs for ARCH_MMP

2016-12-06 Thread Bartlomiej Zolnierkiewicz
Update [mmp2,pxa168,pxa910]_defconfig-s against kernel v4.9-rc6. The changes were obtained by doing: $ make [mmp2,...]_defconfig $ make savedefconfig $ diff -u arch/arm/[mmp2,...]_defconfig defconfig Cc: Eric Miao Cc: Haojian Zhuang Cc: Cyril Bur Signed-off-by: Bartlom

[PATCH v4 6/7] IIO: add STM32 timer trigger driver

2016-12-06 Thread Benjamin Gaignard
Timers IPs can be used to generate triggers for other IPs like DAC, ADC or other timers. Each trigger may result of timer internals signals like counter enable, reset or edge, this configuration could be done through "master_mode" device attribute. A timer device could be triggered by other timers

[RFC PATCH 08/23] arm: use kconfig fragments for PLAT_SPEAR defconfigs

2016-12-06 Thread Bartlomiej Zolnierkiewicz
Replace spear[13,3,6]xx_defconfig-s with a Makefile target using merge_config. The patch was verified with doing: $ make spear[13,...]xx_defconfig $ make savedefconfig and comparing resulting defconfig files (before/after the patch). Cc: Viresh Kumar Cc: Shiraz Hashim Cc: Cyril Bur S

Re: [STLinux Kernel] [PATCH 2/3] serial: st-asc: Provide RTS functionality

2016-12-06 Thread Lee Jones
On Tue, 06 Dec 2016, Lee Jones wrote: > On Tue, 06 Dec 2016, Peter Griffin wrote: > > On Mon, 05 Dec 2016, Patrice Chotard wrote: > > > On 12/02/2016 03:11 PM, Lee Jones wrote: > > > > Until this point, it has not been possible for serial applications > > > > to toggle the UART RTS line. This can

[RFC PATCH 04/23] arm: use kconfig fragments for ARCH_ASPEED defconfigs

2016-12-06 Thread Bartlomiej Zolnierkiewicz
Replace [acs5k,acs5k_tiny,ks8695]_defconfig-s with a Makefile target using merge_config. The patch was verified with doing: $ make [acs5k,acs5k_tiny,ks8695]_defconfig $ make savedefconfig and comparing resulting defconfig files (before/after the patch). Cc: Greg Ungerer Cc: Cyril Bur

[PATCH v4 7/7] ARM: dts: stm32: add STM32 General Purpose Timer driver in DT

2016-12-06 Thread Benjamin Gaignard
Add General Purpose Timers and it sub-nodes into DT for stm32f4. Define and enable pwm1 and pwm3 for stm32f469 discovery board version 4: - remove unwanted indexing in pwm@ and timer@ node name - use "reg" instead of additional parameters to set timer configuration version 3: - use "st,stm32-ti

Re: Tearing down DMA transfer setup after DMA client has finished

2016-12-06 Thread Mason
On 06/12/2016 06:12, Vinod Koul wrote: > On Tue, Nov 29, 2016 at 07:25:02PM +0100, Mason wrote: > >> Is there a way to write a driver within the existing framework? > > I think so, looking back at comments from Russell, I do tend to agree with > that. Is there a specific reason why sbox can't be

[RFC PATCH 13/23] arm: update pxa255-idp_defconfig

2016-12-06 Thread Bartlomiej Zolnierkiewicz
Update pxa255-idp_defconfig against kernel v4.9-rc6. The changes were obtained by doing: $ make pxa255-idp_defconfig $ make savedefconfig $ diff -u arch/arm/pxa255-idp_defconfig defconfig Cc: Daniel Mack Cc: Haojian Zhuang Cc: Robert Jarzmik Cc: Cyril Bur Signed-off-b

[PATCH v4 3/7] PWM: add pwm-stm32 DT bindings

2016-12-06 Thread Benjamin Gaignard
Define bindings for pwm-stm32 version 2: - use parameters instead of compatible of handle the hardware configuration Signed-off-by: Benjamin Gaignard --- .../devicetree/bindings/pwm/pwm-stm32.txt | 33 ++ 1 file changed, 33 insertions(+) create mode 100644 Document

[PATCH v4 1/7] MFD: add bindings for STM32 General Purpose Timer driver

2016-12-06 Thread Benjamin Gaignard
Add bindings information for STM32 General Purpose Timer version 2: - rename stm32-mfd-timer to stm32-gptimer - only keep one compatible string Signed-off-by: Benjamin Gaignard --- .../bindings/mfd/stm32-general-purpose-timer.txt | 39 ++ 1 file changed, 39 insertions(+)

[RFC PATCH 03/23] arm: update defconfigs for ARCH_KS8695

2016-12-06 Thread Bartlomiej Zolnierkiewicz
Update [acs5k,acs5k_tiny,ks8695]_defconfig-s against kernel v4.9-rc6. The changes were obtained by doing: $ make [acs5k,...]_defconfig $ make savedefconfig $ diff -u arch/arm/[acs5k,...]_defconfig defconfig Cc: Greg Ungerer Cc: Cyril Bur Signed-off-by: Bartlomiej Zolnie

[PATCH v4 2/7] MFD: add STM32 General Purpose Timer driver

2016-12-06 Thread Benjamin Gaignard
This hardware block could at used at same time for PWM generation and IIO timers. PWM and IIO timer configuration are mixed in the same registers so we need a multi fonction driver to be able to share those registers. version 4: - add a function to detect Auto Reload Register (ARR) size - rename t

[PATCH v4 0/7] Add PWM and IIO timer drivers for STM32

2016-12-06 Thread Benjamin Gaignard
version 4: - fix comments done on version 3 - don't use interrupts anymore in IIO timer - detect hardware capabilities at probe time to simplify binding version 3: - no change on mfd and pwm divers patches - add cross reference between bindings - change compatible to "st,stm32-timer-trigger" - fix

[RFC PATCH 00/23] arm: defconfigs: use kconfig fragments

2016-12-06 Thread Bartlomiej Zolnierkiewicz
Hi, This RFC patchset starts convertion of ARM defconfigs to use kconfig fragments and dynamically generate defconfigs. The goals of this work are to: - remove duplication between defconfigs - add a possibility to generate board/SoC/SoC-family/Multi specific defconfigs in the future (without

[RFC PATCH 06/23] arm: use kconfig fragments for ARCH_ASPEED defconfigs

2016-12-06 Thread Bartlomiej Zolnierkiewicz
Replace [mmp2,pxa168,pxa910]_defconfig-s with a Makefile target using merge_config. The patch was verified with doing: $ make [mmp2,...]_defconfig $ make savedefconfig and comparing resulting defconfig files (before/after the patch). Cc: Eric Miao Cc: Haojian Zhuang Cc: Cyril Bur Sig

[PATCH v4 5/7] IIO: add bindings for STM32 timer trigger driver

2016-12-06 Thread Benjamin Gaignard
Define bindings for STM32 timer trigger version 4: - remove triggers enumeration from DT - add reg parameter version 3: - change file name - add cross reference with mfd bindings version 2: - only keep one compatible - add DT parameters to set lists of the triggers: one list describe the trigg

Re: [PATCH 4/4] KVM: x86: allow hotplug of VCPU with APIC ID over 0xff

2016-12-06 Thread Radim Krčmář
2016-12-06 10:37+0100, David Hildenbrand: >> I think the agreement is to embrace compatibility, so we pile new >> mistakes to hide known ones. >> (Rewriting the past requires far more power than accepting it: >> If we didn't force unfixed kernels out of existence, then userspace >> couldn't tell

Re: [STLinux Kernel] [PATCH 2/3] serial: st-asc: Provide RTS functionality

2016-12-06 Thread Lee Jones
On Tue, 06 Dec 2016, Peter Griffin wrote: > On Mon, 05 Dec 2016, Patrice Chotard wrote: > > On 12/02/2016 03:11 PM, Lee Jones wrote: > > > Until this point, it has not been possible for serial applications > > > to toggle the UART RTS line. This can be useful with certain > > > configurations. For

Re: [PATCH v4 7/7] ARM: dts: stm32: add STM32 General Purpose Timer driver in DT

2016-12-06 Thread Lee Jones
On Tue, 06 Dec 2016, Benjamin Gaignard wrote: > Add General Purpose Timers and it sub-nodes into DT for stm32f4. > Define and enable pwm1 and pwm3 for stm32f469 discovery board > > version 4: > - remove unwanted indexing in pwm@ and timer@ node name > - use "reg" instead of additional parameters

Re: linux-next: build failure after merge of the sound-asoc tree

2016-12-06 Thread Lee Jones
On Tue, 06 Dec 2016, Mark Brown wrote: > On Tue, Dec 06, 2016 at 12:41:15AM +, Kuninori Morimoto wrote: > > > In file included from sound/soc/codecs/cq93vc.c:32:0: > > > include/linux/mfd/davinci_voicecodec.h:31:27: fatal error: > > > mach/hardware.h: No such file or directory > > > > > > A

[PATCH 1/1] Fixed to checkpatch errors to usbtmc.c

2016-12-06 Thread Ozgur Karatas
Hello all, I will solve a checkpatch.pl script errors. drivers/usb/class/usbtmc.c:719: ERROR: else should follow close brace '}' drivers/usb/class/usbtmc.c:735: ERROR: space required after that ',' (ctx:VxV) drivers/usb/class/usbtmc.c:735: ERROR: space required after that ',' (ctx:VxV) drivers/us

Re: [PATCH] kernel/sysctl: return -EINVAL if write invalid val to ulong type sysctl

2016-12-06 Thread Yisheng Xie
On 2016/12/3 3:24, Eric W. Biederman wrote: > Yisheng Xie writes: > >> On 2016/12/1 5:33, Andrew Morton wrote: >>> On Wed, 30 Nov 2016 18:30:52 +0800 Yisheng Xie >>> wrote: >>> I tried to echo an invalid value to an unsigned long type sysctl on 4.9.0-rc6: linux:~# cat /proc/

Re: [PATCH v4 1/7] MFD: add bindings for STM32 General Purpose Timer driver

2016-12-06 Thread Lee Jones
On Tue, 06 Dec 2016, Benjamin Gaignard wrote: > Add bindings information for STM32 General Purpose Timer > > version 2: > - rename stm32-mfd-timer to stm32-gptimer > - only keep one compatible string > > Signed-off-by: Benjamin Gaignard > --- > .../bindings/mfd/stm32-general-purpose-timer.txt

Re: [PATCH 0/5] Update Documentation/00-INDEX

2016-12-06 Thread Mauro Carvalho Chehab
Em Mon, 5 Dec 2016 14:23:01 -0700 Jonathan Corbet escreveu: > On Mon, 5 Dec 2016 09:41:40 -0200 > Mauro Carvalho Chehab wrote: > > > So, in order to check it, I wrote a small script that compares the files > > and directories at Documentation/ with the ones at 00-INDEX. > > > > Then, I synchr

Re: [PATCH v3 7/7] ARM: dts: stm32: add stm32 general purpose timer driver in DT

2016-12-06 Thread Lee Jones
On Tue, 06 Dec 2016, Alexandre Torgue wrote: > On 12/06/2016 10:48 AM, Lee Jones wrote: > > On Mon, 05 Dec 2016, Alexandre Torgue wrote: > > > On 12/02/2016 02:22 PM, Lee Jones wrote: > > > > On Fri, 02 Dec 2016, Benjamin Gaignard wrote: > > > > > > > > > Add general purpose timers and it sub-node

Re: [PATCH v3 1/2] ARM: dts: da850-lcdk: add the dumb-vga-dac node

2016-12-06 Thread Bartosz Golaszewski
2016-12-05 13:49 GMT+01:00 Tomi Valkeinen : > On 29/11/16 13:57, Bartosz Golaszewski wrote: >> Add the dumb-vga-dac node to the board DT together with corresponding >> ports and vga connector. This allows to retrieve the edid info from >> the display automatically. >> > > It's a bit difficult to fo

Re: [PATCH v4 2/7] MFD: add STM32 General Purpose Timer driver

2016-12-06 Thread Lee Jones
This is really starting to come together. Couple of nits to tend to and you'll be all set. > This hardware block could at used at same time for PWM generation > and IIO timers. > PWM and IIO timer configuration are mixed in the same registers > so we need a multi fonction driver to be able to sha

Re: [STLinux Kernel] [PATCH 2/3] serial: st-asc: Provide RTS functionality

2016-12-06 Thread Peter Griffin
Hi Lee, On Tue, 06 Dec 2016, Lee Jones wrote: > On Tue, 06 Dec 2016, Lee Jones wrote: > > > On Tue, 06 Dec 2016, Peter Griffin wrote: > > > On Mon, 05 Dec 2016, Patrice Chotard wrote: > > > > On 12/02/2016 03:11 PM, Lee Jones wrote: > > > > > Until this point, it has not been possible for serial

[PATCH v4 1/2] ARM: dts: da850-lcdk: add the dumb-vga-dac node

2016-12-06 Thread Bartosz Golaszewski
Add the dumb-vga-dac node to the board DT together with corresponding ports and vga connector. This allows to retrieve the edid info from the display automatically. Signed-off-by: Bartosz Golaszewski --- arch/arm/boot/dts/da850-lcdk.dts | 69 1 file chang

[PATCH v4 0/2] ARM: dts: da850: tilcdc related DT changes

2016-12-06 Thread Bartosz Golaszewski
This series contains the last DT changes required for LCDC support on da850-lcdk. The first one adds the dumb-vga-dac nodes, the second limits the maximum pixel clock rate. v1 -> v2: - drop patch 3/3 (already merged) - use max-pixelclock instead of max-bandwidth for display mode limiting v2 -> v3

[PATCH v9 2/6] powerpc: platforms/Kconfig: Add qspinlock build config

2016-12-06 Thread Pan Xinhui
pSeries/powerNV will use qspinlock from now on. Signed-off-by: Pan Xinhui --- arch/powerpc/platforms/Kconfig | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/powerpc/platforms/Kconfig b/arch/powerpc/platforms/Kconfig index fbdae83..3559bbf 100644 --- a/arch/powerpc/platforms/Kco

[PATCH v9 3/6] powerpc: lib/locks.c: Add cpu yield/wake helper function

2016-12-06 Thread Pan Xinhui
Add two corresponding helper functions to support pv-qspinlock. For normal use, __spin_yield_cpu will confer current vcpu slices to the target vcpu(say, a lock holder). If target vcpu is not specified or it is in running state, such conferging to lpar happens or not depends. Because hcall itself

Re: Tearing down DMA transfer setup after DMA client has finished

2016-12-06 Thread Måns Rullgård
Mason writes: > On 06/12/2016 06:12, Vinod Koul wrote: > >> On Tue, Nov 29, 2016 at 07:25:02PM +0100, Mason wrote: >> >>> Is there a way to write a driver within the existing framework? >> >> I think so, looking back at comments from Russell, I do tend to agree with >> that. Is there a specific

[PATCH v9 1/6] powerpc/qspinlock: powerpc support qspinlock

2016-12-06 Thread Pan Xinhui
This patch add basic code to enable qspinlock on powerpc. qspinlock is one kind of fairlock implementation. And seen some performance improvement under some scenarios. queued_spin_unlock() release the lock by just one write of NULL to the ::locked field which sits at different places in the two en

[PATCH v9 5/6] powerpc: pSeries: Add pv-qspinlock build config/make

2016-12-06 Thread Pan Xinhui
pSeries run as a guest and might need pv-qspinlock. Signed-off-by: Pan Xinhui --- arch/powerpc/kernel/Makefile | 1 + arch/powerpc/platforms/pseries/Kconfig | 8 2 files changed, 9 insertions(+) diff --git a/arch/powerpc/kernel/Makefile b/arch/powerpc/kernel/Makefile index 19

[PATCH v4 2/2] ARM: dts: da850: specify the maximum pixel clock rate for tilcdc

2016-12-06 Thread Bartosz Golaszewski
At maximum CPU frequency of 300 MHz the maximum pixel clock frequency is 37.5 MHz[1]. We must filter out any mode for which the calculated pixel clock rate would exceed this value. Specify the max-pixelclock property for the display node for da850-lcdk. [1] http://processors.wiki.ti.com/index.ph

[PATCH v9 0/6] Implement qspinlock/pv-qspinlock on ppc

2016-12-06 Thread Pan Xinhui
Hi All, this is the fairlock patchset. You can apply them and build successfully. patches are based on linux-next qspinlock can avoid waiter starved issue. It has about the same speed in single-thread and it can be much faster in high contention situations especially when the spinlock is embedd

[PATCH v9 6/6] powerpc/pv-qspinlock: Optimise native unlock path

2016-12-06 Thread Pan Xinhui
Avoid a function call under native version of qspinlock. On powerNV, bafore applying this patch, every unlock is expensive. This small optimizes enhance the performance. We use static_key with jump_lable which removes unnecessary loads of lppaca and its stuff. Signed-off-by: Pan Xinhui --- arch

[PATCH v9 4/6] powerpc/pv-qspinlock: powerpc support pv-qspinlock

2016-12-06 Thread Pan Xinhui
The default pv-qspinlock uses qspinlock(native version of pv-qspinlock). pv_lock initialization should be done in bootstage with irq disabled. And if we run as a guest with powerKVM/pHyp shared_processor mode, restore pv_lock_ops callbacks to pv-qspinlock(pv version) which makes full use of virtual

Re: [PATCH v4 6/7] IIO: add STM32 timer trigger driver

2016-12-06 Thread Lee Jones
On Tue, 06 Dec 2016, Benjamin Gaignard wrote: > Timers IPs can be used to generate triggers for other IPs like > DAC, ADC or other timers. > Each trigger may result of timer internals signals like counter enable, > reset or edge, this configuration could be done through "master_mode" > device attr

Re: [PATCH v6 3/3] sound/usb: Use Media Controller API to share media resources

2016-12-06 Thread Laurent Pinchart
Hi Shuah, On Monday 05 Dec 2016 17:38:23 Shuah Khan wrote: > On 12/05/2016 04:21 PM, Laurent Pinchart wrote: > > On Monday 05 Dec 2016 15:44:30 Shuah Khan wrote: > >> On 11/30/2016 03:01 PM, Shuah Khan wrote: > >>> Change ALSA driver to use Media Controller API to share media resources > >>> with

[PATCHv2 0/4] perf tools: Force fixdep to be built first

2016-12-06 Thread Jiri Olsa
hi, changing Makefile.perf to force building fixdep before everything else, in order to avoid fixdep build races due to forgotten dependencies. And some build fixes that piled up around the fixdep change. Available also here: git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git perf/f

[PATCH 1/4] perf tools: Move PERF-VERSION-FILE target into rules area

2016-12-06 Thread Jiri Olsa
Following fixdep fix needs all targets at the same area, so they'll fit under signal condition block. Moving PERF-VERSION-FILE target into rules section. Signed-off-by: Jiri Olsa Cc: David Ahern Cc: Namhyung Kim Cc: Peter Zijlstra Link: http://lkml.kernel.org/n/tip-erevv67ka11yad3wqukib...@gi

Re: [PATCH] overlayfs: ignore empty NFSv4 ACLs in ext4 upperdir

2016-12-06 Thread Andreas Gruenbacher
On Tue, Dec 6, 2016 at 11:08 AM, Miklos Szeredi wrote: > On Tue, Dec 6, 2016 at 12:24 AM, Andreas Grünbacher > wrote: >> 2016-12-06 0:19 GMT+01:00 Andreas Grünbacher : > >>> It's not hard to come up with a heuristic that determines if a >>> system.nfs4_acl value is equivalent to a file mode, and

[PATCH 2/4] perf tools: Force fixdep compilation at the start of the build

2016-12-06 Thread Jiri Olsa
The fixdep tool needs to be built before everything else, because it fixes every object dependency file. We handle this currently by making all objects to depend on fixdep, which is error prone and is easily forgotten when new object is added. Instead of this, this patch force fixdep tool to be b

[PATCH 3/4] perf tools: Move perf build related variables under non fixdep leg

2016-12-06 Thread Jiri Olsa
Because there's no need for them in fixdep build. Signed-off-by: Jiri Olsa Cc: David Ahern Cc: Namhyung Kim Cc: Peter Zijlstra Link: http://lkml.kernel.org/n/tip-0ta7fwl6pb4xnp8b3vddc...@git.kernel.org --- tools/perf/Makefile.perf | 10 +- 1 file changed, 5 insertions(+), 5 deletions(

[PATCH 4/4] perf tools: Move headers check into bash script

2016-12-06 Thread Jiri Olsa
To make it nicer and easily maintainable. Also moving the check into fixdep sub make, so its output is not scattered around the build output. Removing extra $$ from mman*.h checks. Signed-off-by: Jiri Olsa Cc: David Ahern Cc: Namhyung Kim Cc: Peter Zijlstra Link: http://lkml.kernel.org/n/tip

Re: [RFC PATCH 04/23] arm: use kconfig fragments for ARCH_ASPEED defconfigs

2016-12-06 Thread Baruch Siach
Hi Bartlomiej, On Tue, Dec 06, 2016 at 01:38:39PM +0100, Bartlomiej Zolnierkiewicz wrote: > Replace [acs5k,acs5k_tiny,ks8695]_defconfig-s with a Makefile target > using merge_config. > > The patch was verified with doing: > > $ make [acs5k,acs5k_tiny,ks8695]_defconfig > $ make savedefcon

Re: [PATCH] ACPI/IORT: Make dma masks set-up IORT specific

2016-12-06 Thread Joerg Roedel
Hi Lorenzo, On Tue, Dec 06, 2016 at 09:37:10AM +, Lorenzo Pieralisi wrote: > I can apply Rafael and Hanjun's tags and resend a v2 to you if you > prefer, it would be great if you could apply this patch to your arm/smmu > branch for v4.10 as per description above, please let me know. Yes, plea

Re: [PATCH V2] staging: dgnc: Fix lines longer than 80 characters

2016-12-06 Thread Fernando Apesteguia
On Tue, Dec 06, 2016 at 10:12:56AM +0100, Greg KH wrote: > On Sun, Dec 04, 2016 at 08:41:04PM +0100, Fernando Apesteguia wrote: > > For the first lines of the patch, I opted to create a small function > > instead of breaking the the line in a weird way. > > > > This is v2 of the patch with the nam

unable to load modules with CONFIG_MODVERSIONS=y after commit 8ab2ae655b

2016-12-06 Thread Jan Stancek
Hi, Starting with 4.9-rc8 / commit 8ab2ae655b ("default exported asm symbols to zero") I'm running into issue with kernel built with CONFIG_MODVERSIONS=y and (older) binutils (binutils-2.25.1-20.base.el7.ppc64le). Modules fail to load, for example: [3.163646] Found checksum 0 vs module 482

RE: [PATCH 7/8] staging: fsl-dpaa2/eth: Add TODO file

2016-12-06 Thread Stuart Yoder
> -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Tuesday, December 06, 2016 4:20 AM > To: Ruxandra Ioana Radulescu > Cc: de...@driverdev.osuosl.org; linux-kernel@vger.kernel.org; ag...@suse.de; > a...@arndb.de; Alexandru > Marginean ; Bogdan Hamciuc > ;

Re: [PATCH] serial: mxs-auart: support CMSPAR termios cflag

2016-12-06 Thread Stefan Wahren
Hi Wolfgang, > --- a/drivers/tty/serial/mxs-auart.c > +++ b/drivers/tty/serial/mxs-auart.c > @@ -95,6 +95,7 @@ > #define AUART_LINECTRL_BAUD_DIVFRAC_SHIFT8 > #define AUART_LINECTRL_BAUD_DIVFRAC_MASK 0x3f00 > #define AUART_LINECTRL_BAUD_DIVFRAC(v) (((v) & 0x3f) << 8) >

Re: [PATCH 0/5] cpsw: add per channel shaper configuration

2016-12-06 Thread Ivan Khoronzhuk
On Mon, Dec 05, 2016 at 02:33:40PM -0600, Grygorii Strashko wrote: > Hi Ivan, Hi, Grygorii I've sent patch that fixes issue in question. https://lkml.org/lkml/2016/12/5/811 Could you please review it. Also I'm preparing several patches to sophisticate cases with unexpected speed value. > > On 1

Re: [PATCH v4 1/2] ARM: dts: da850-lcdk: add the dumb-vga-dac node

2016-12-06 Thread Laurent Pinchart
Hi Bartosz, Thank you for the patch. On Tuesday 06 Dec 2016 14:13:45 Bartosz Golaszewski wrote: > Add the dumb-vga-dac node to the board DT together with corresponding > ports and vga connector. This allows to retrieve the edid info from > the display automatically. > > Signed-off-by: Bartosz Go

Re: [PATCH v4 09/13] net: ethernet: ti: cpts: rework initialization/deinitialization

2016-12-06 Thread Richard Cochran
On Mon, Dec 05, 2016 at 02:05:21PM -0600, Grygorii Strashko wrote: > @@ -372,34 +354,27 @@ void cpts_tx_timestamp(struct cpts *cpts, struct > sk_buff *skb) > } > EXPORT_SYMBOL_GPL(cpts_tx_timestamp); > > -int cpts_register(struct device *dev, struct cpts *cpts, > - u32 mult, u32

Re: Adding a .platform_init callback to sdhci_arasan_ops

2016-12-06 Thread Sebastian Frias
Hi, On 05/12/16 17:30, Doug Anderson wrote: > > AKA: you are setting up various "corecfg" stuff that's documented in > the generic Arasan docs. Others SDHCI-Arasan implementations might > want to set the same things, but those values may be stored elsewhere > for them. Exactly, that is what I'

Re: [PATCH v3 10/30] perf clang: Add builtin clang support ant test case

2016-12-06 Thread Arnaldo Carvalho de Melo
Em Tue, Dec 06, 2016 at 10:07:51AM +0800, Wangnan (F) escreveu: > On 2016/12/6 5:48, Arnaldo Carvalho de Melo wrote: > > Em Mon, Dec 05, 2016 at 07:02:48PM -0200, Arnaldo Carvalho de Melo escreveu: > > > Em Mon, Dec 05, 2016 at 08:51:01AM -0800, Alexei Starovoitov escreveu: > > > > yeah. it's kinda

Re: unable to load modules with CONFIG_MODVERSIONS=y after commit 8ab2ae655b

2016-12-06 Thread Adam Borowski
On Tue, Dec 06, 2016 at 08:31:01AM -0500, Jan Stancek wrote: > Starting with 4.9-rc8 / commit 8ab2ae655b ("default exported asm symbols to > zero") > I'm running into issue with kernel built with CONFIG_MODVERSIONS=y > and (older) binutils (binutils-2.25.1-20.base.el7.ppc64le). > > Modules fail

[PATCH] net: stmmac: do not call phy_ethtool_ksettings_set from atomic context

2016-12-06 Thread Niklas Cassel
From: Niklas Cassel >From what I can tell, spin_lock(&priv->lock) is not needed, since the phy_ethtool_ksettings_set call is not given the priv struct. phy_start_aneg takes the phydev->lock. Calls to phy_adjust_link from phy_state_machine also takes the phydev->lock. [ 13.718319] BUG: sleepin

Re: [PATCH]net:sched:release lock before tcf_dump_walker() normal return to avoid deadlock

2016-12-06 Thread Jamal Hadi Salim
On 16-12-06 12:36 AM, Feng Deng wrote: From: Feng Deng release lock before tcf_dump_walker() normal return to avoid deadlock /Scratching my head. I am probably missing something obvious. What are the condition under which this deadlock will happen? Do you have a testcase we can try? cheers,

Re: [lustre-devel] [PATCH] staging: lustre: Fix a spatch warning due to an assignment from kernel to user space

2016-12-06 Thread Quentin Lambert
On 12/05/2016 11:58 PM, Oleg Drokin wrote: I guess it's a false positive? Yes, probably. Thank you for the explanation though, I don't fully understand all this yet, I am still learning. Sorry for the noise. Quentin

Re: [PATCH 2/2] mm: page_alloc: High-order per-cpu page allocator v5

2016-12-06 Thread Mel Gorman
On Tue, Dec 06, 2016 at 11:43:45AM +0900, Joonsoo Kim wrote: > > actually clear at all it's an unfair situation, particularly given that the > > vanilla code is also unfair -- the vanilla code can artifically preserve > > MIGRATE_UNMOVABLE without any clear indication that it is a universal win. >

Re: [PATCH 1/2] ARM: dts: sun8i: Specify memblock for Nano Pi M1

2016-12-06 Thread Maxime Ripard
On Tue, Dec 06, 2016 at 04:23:57PM +0900, Milo Kim wrote: > On 12/05/2016 05:09 PM, Maxime Ripard wrote: > > On Mon, Dec 05, 2016 at 11:00:31AM +0900, Milo Kim wrote: > > > The board has DDR3 512MB. This patch helps scanning the memory and > > > adding memblock through the DT. > > > > > > Signed-o

Re: [RFC v3 1/6] Track the active utilisation

2016-12-06 Thread luca abeni
Hi Peter, On Tue, 6 Dec 2016 09:35:01 +0100 Peter Zijlstra wrote: [...] > > This is because of the definition used when CONFIG_SCHED_DEBUG is > > not defined (I noticed the issue when testing with random kernel > > configurations). > > I'm fine changing the definition, just find something that

Re: [PATCH v4 1/7] MFD: add bindings for STM32 General Purpose Timer driver

2016-12-06 Thread Benjamin Gaignard
[snip] > > I'm not going to push too hard, but I still thing "advanced-control" > would suit better, since this is not *just* a timer. In fact, the > parent device (the MFD) doesn't have any timer functionality. That's > what "timer@0" does. > > The IP is called "Advanced Control" in the datashee

Re: linux-next: build failure after merge of the sound-asoc tree

2016-12-06 Thread Mark Brown
On Tue, Dec 06, 2016 at 12:55:38PM +, Lee Jones wrote: > On Tue, 06 Dec 2016, Mark Brown wrote: > > On Tue, Dec 06, 2016 at 12:41:15AM +, Kuninori Morimoto wrote: > > > 8ca9edc837932469b81b8b47ea43a074b6add970 > > > ("mfd: davinci_voicecodec: Tidyup header difinitions") > > Reverted.

Re: [PATCH v4 01/18 -cleanup] perf build: Check LLVM version in feature check

2016-12-06 Thread Arnaldo Carvalho de Melo
Em Tue, Dec 06, 2016 at 07:22:30AM +, Wang Nan escreveu: > Cancel builtin llvm and clang support when LLVM version is > less than 3.9.0: following commits uses newer API. > > Since Clang/LLVM's API is not guaranteed to be stable, > add a test-llvm-version.cpp feature checker, issue warning if

Re: [PATCH] dts: sun8i-h3: correct UART3 pin definitions

2016-12-06 Thread Maxime Ripard
Hi Jorik, On Sun, Dec 04, 2016 at 01:29:48PM +0100, jo...@kippendief.biz wrote: > From: Jorik Jonker > > In a previous commit, I made a copy/paste error in the pinmux > definitions of UART3: PG{13,14} instead of PA{13,14}. This commit takes > care of that. I have tested this commit on Orange Pi

Re: [PATCH] drm: rcar-du: Fix R-Car Gen3 crash when VSP is disabled

2016-12-06 Thread Laurent Pinchart
Hello, On Wednesday 26 Oct 2016 18:13:23 Magnus Damm wrote: > On Wed, Oct 26, 2016 at 4:31 PM, Geert Uytterhoeven wrote: > > On Wed, Oct 26, 2016 at 5:31 AM, Magnus Damm wrote: > >> From: Magnus Damm > >> > >> For the DU to operate on R-Car Gen3 hardware a combination of DU > >> and VSP devices

[PATCH] pinctrl: meson: fix gpio request disabling other modes

2016-12-06 Thread Neil Armstrong
The pinctrl_gpio_request is called with the "full" gpio number, already containing the base, then meson_pmx_request_gpio is then called with the final pin number. Remove the base addition when calling meson_pmx_disable_other_groups. Fixes: 6ac730951104 ("pinctrl: add driver for Amlogic Meson SoCs"

Re: [PATCH] perf/x86: Fix exclusion of BTS and LBR for Goldmont

2016-12-06 Thread Peter Zijlstra
For some reason this patch never hit my inbox, it could be because you're wrecked the Cc line and either infradead or my mta dropped the email because of that. On Fri, Dec 02, 2016 at 03:17:32PM -0800, Andi Kleen wrote: > From: Andi Kleen > > The earlier patch ccbebba4 allowed enabling PT and L

Re: [PATCH 1/3] crypto: brcm: DT documentation for Broadcom SPU driver

2016-12-06 Thread Mark Rutland
On Wed, Nov 30, 2016 at 03:07:31PM -0500, Rob Rice wrote: > Device tree documentation for Broadcom Secure Processing Unit > (SPU) crypto driver. > > Signed-off-by: Steve Lin > Signed-off-by: Rob Rice > --- > .../devicetree/bindings/crypto/brcm,spu-crypto.txt | 25 > ++ > 1

Re: [PATCH 2/3] crypto: brcm: Add Broadcom SPU driver

2016-12-06 Thread Mark Rutland
On Wed, Nov 30, 2016 at 03:07:32PM -0500, Rob Rice wrote: > +static const struct of_device_id bcm_spu_dt_ids[] = { > + { > + .compatible = "brcm,spum-crypto", > + .data = &spum_ns2_types, > + }, > + { > + .compatible = "brcm,spum-nsp-crypto", > +

[PATCH v2] ACPI/IORT: Make dma masks set-up IORT specific

2016-12-06 Thread Lorenzo Pieralisi
The introduction of acpi_dma_configure() allows to configure DMA and related IOMMU for any device that is DMA capable. To achieve that goal it ensures DMA masks are set-up to sane default values before proceeding with IOMMU and DMA ops configuration. On x86/ia64 systems, through acpi_bind_one(), a

net/gadget: slab-out-of-bounds write in dev_config

2016-12-06 Thread Andrey Konovalov
Hi! I've got the following error report while running the syzkaller fuzzer. ep0_write() doesn't check the length, so a user can cause an out-of-bounds with both size and data controlled. There's a comment which says "IN DATA+STATUS caller makes len <= wLength". While I'm not exactly sure what tha

Re: [PATCH] dts: sun8i-h3: correct UART3 pin definitions

2016-12-06 Thread Maxime Ripard
Hi Arnd, Olof, On Tue, Dec 06, 2016 at 03:27:10PM +0100, jo...@kippendief.biz wrote: > From: Jorik Jonker > > In a previous commit, I made a copy/paste error in the pinmux > definitions of UART3: PG{13,14} instead of PA{13,14}. This commit takes > care of that. I have tested this commit on Orang

Re: [PATCH] xen/pci: Bubble up error and fix description.

2016-12-06 Thread Juergen Gross
On 06/12/16 15:28, Konrad Rzeszutek Wilk wrote: > The function is never called under PV guests, and only shows up > when MSI (or MSI-X) cannot be allocated. Convert the message > to include the error value. > > Signed-off-by: Konrad Rzeszutek Wilk Reviewed-by: Juergen Gross > --- > arch/x86/p

Re: [PATCH 00/10] vtime: Delay cputime accounting to tick

2016-12-06 Thread Frederic Weisbecker
On Tue, Dec 06, 2016 at 03:20:55PM +1100, Paul Mackerras wrote: > On Tue, Dec 06, 2016 at 03:32:13AM +0100, Frederic Weisbecker wrote: > > This follows up Martin Schwidefsky's patch which propose to delay > > cputime accounting to the tick in order to minimize the calls to > > account_system_time()

Re: [PATCH]net:switchdev:add judgement and proper return vlaue to make switchdev_port_vlan_fill() more robust

2016-12-06 Thread David Miller
From: Jiri Pirko Date: Tue, 6 Dec 2016 13:32:25 +0100 > Tue, Dec 06, 2016 at 05:46:36AM CET, cxdx2...@gmail.com wrote: >>From: Feng Deng >> >>1.add judgement to make sure switchdev_port_vlan_fill() could >> return right, even when switchdev_port_vlan_dump_put() failed , >> which will make swi

Re: [PATCH 1/2] ARM: dts: sun8i: Specify memblock for Nano Pi M1

2016-12-06 Thread Milo Kim
On 12/06/2016 11:00 PM, Maxime Ripard wrote: No, we need a recent U-Boot in order to boot, and such a uboot will setup the memory node anyway. Got it. Thanks! Please just ignore my patches. Best regards, Milo

[PATCH] xen/pci: Bubble up error and fix description.

2016-12-06 Thread Konrad Rzeszutek Wilk
The function is never called under PV guests, and only shows up when MSI (or MSI-X) cannot be allocated. Convert the message to include the error value. Signed-off-by: Konrad Rzeszutek Wilk --- arch/x86/pci/xen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/pc

Re: FUSE: regression when clearing setuid bits on chown

2016-12-06 Thread Miklos Szeredi
On Tue, Dec 06, 2016 at 07:13:25AM -0500, Jeff Layton wrote: > Should we be checking that the latest i_mode even has these bits before > sending down the mode change? Fixed, see updated patch below. It also fixes a bug in the previous patch where in case of "-rwsrwSr-x" it would clear the sgid b

Re: [PATCH] perf: check that objdump correctly works

2016-12-06 Thread Arnaldo Carvalho de Melo
Em Thu, Dec 01, 2016 at 01:04:35AM +0100, Alexis Berlemont escreveu: > Hi, > > In perf todo list, there was an entry regarding objdump: > > * Check if the objdump call in annotate worked or not, providing a > popup window telling it didn't work, to test, just uninstall > binutils or otherwise

Re: FUSE: regression when clearing setuid bits on chown

2016-12-06 Thread Jeff Layton
On Tue, 2016-12-06 at 15:39 +0100, Miklos Szeredi wrote: > On Tue, Dec 06, 2016 at 07:13:25AM -0500, Jeff Layton wrote: > > > > > Should we be checking that the latest i_mode even has these bits before > > sending down the mode change? > > Fixed, see updated patch below. > > It also fixes a bug

Re: [PATCH v4 0/2] perf probe: add sdt probes arguments into the uprobe cmd string

2016-12-06 Thread Arnaldo Carvalho de Melo
Em Tue, Dec 06, 2016 at 12:42:45AM +0100, Alexis Berlemont escreveu: > Alexis Berlemont wrote: > > Hi Arnaldo, > > > > Here is another patch set which fixes the issues you noticed. > > > > Could you indicate me a way to improve these patches so as to move > forward ? Masami, Hemant, are you guys

Re: [PATCH v3 0/2] perf: measure page fault duration in perf trace

2016-12-06 Thread Arnaldo Carvalho de Melo
Em Tue, Dec 06, 2016 at 12:40:06AM +0100, Alexis Berlemont escreveu: > Alexis Berlemont wrote: > > Hi, > > > > Here is another attempt to make the perf-trace subcommand print the > > page fault durations. > > > > This solution is based on static tracepoints and it was necessary to > > add 2 more

[PATCH] dts: sun8i-h3: correct UART3 pin definitions

2016-12-06 Thread jorik
From: Jorik Jonker In a previous commit, I made a copy/paste error in the pinmux definitions of UART3: PG{13,14} instead of PA{13,14}. This commit takes care of that. I have tested this commit on Orange Pi PC and Orange Pi Plus, and it works for these boards. Fixes: e3d11d3c45c5 ("dts: sun8i-h3:

Re: FUSE: regression when clearing setuid bits on chown

2016-12-06 Thread Miklos Szeredi
On Tue, Dec 6, 2016 at 3:45 PM, Jeff Layton wrote: >> @@ -1739,8 +1739,6 @@ static int fuse_setattr(struct dentry *e >>* This should be done on write(), truncate() and chown(). >>*/ >> if (!fc->handle_killpriv) { > > One more thing too. I don't think

Re: [PATCH] perf/x86: Fix exclusion of BTS and LBR for Goldmont

2016-12-06 Thread Andi Kleen
> > - if (x86_pmu.lbr_pt_coexist) > > + if (what == x86_lbr_exclusive_pt && x86_pmu.lbr_pt_coexist) > > return 0; > > This would also allow PT & BTS at the same time, is that a supported > configuration? Yes it is on Goldmont. -Andi

Re: FUSE: regression when clearing setuid bits on chown

2016-12-06 Thread Jeff Layton
On Tue, 2016-12-06 at 15:51 +0100, Miklos Szeredi wrote: > On Tue, Dec 6, 2016 at 3:45 PM, Jeff Layton wrote: > > > > > > > > > @@ -1739,8 +1739,6 @@ static int fuse_setattr(struct dentry *e > > >* This should be done on write(), truncate() and chown(). > > >*/ >

Re: [PATCH v3] arm: dts: zynq: Add MicroZed board support

2016-12-06 Thread Michal Simek
On 5.12.2016 17:28, Jagan Teki wrote: > On Mon, Sep 26, 2016 at 8:22 AM, Michal Simek wrote: >> On 23.9.2016 11:48, Jagan Teki wrote: >>> From: Jagan Teki >>> >>> Added basic dts support for MicroZed board. >>> >>> - UART >>> - SDHCI >>> - Ethernet >>> >>> Cc: Soren Brinkmann >>> Cc: Michal Sime

<    1   2   3   4   5   6   7   8   9   >