Re: [PATCH V7 1/8] mfd: add device-tree binding doc for PMIC max77620/max20024

2016-02-10 Thread Laxman Dewangan
On Wednesday 10 February 2016 06:53 PM, Lee Jones wrote: On Tue, 09 Feb 2016, Laxman Dewangan wrote: On Tuesday 09 February 2016 09:12 PM, Lee Jones wrote: On Sat, 30 Jan 2016, Laxman Dewangan wrote: + Normal mode also called as active mode on which all step-down +

[PATCH] mmc: sh_mmcif: Correct TX DMA channel allocation

2016-02-10 Thread Chris Paterson
Commit 27cbd7e815a8 ("mmc: sh_mmcif: rework dma channel handling") introduced a typo causing the TX DMA channel allocation to be overwritten by the requested RX DMA channel. Signed-off-by: Chris Paterson --- drivers/mmc/host/sh_mmcif.c | 2 +- 1 file changed, 1

Re: [PATCH 13/23] perf hists: Support filtering in hierarchy mode

2016-02-10 Thread Namhyung Kim
On Wed, Feb 10, 2016 at 01:11:19PM +0100, Jiri Olsa wrote: > On Fri, Feb 05, 2016 at 10:01:45PM +0900, Namhyung Kim wrote: > > SNIP > > > + /* force to go to sibling in the hierarchy */ > > + saved_unfolded = h->unfolded; > > + h->unfolded =

Re: [PATCH v5 1/3] crypto: KEYS: convert public key and digsig asym to the akcipher api

2016-02-10 Thread David Howells
Why didn't you put the RSA signature parsing - ie. where the OID and the other bits are checked - into crypto/rsa.c? David

Re: [PATCH 14/23] perf ui/stdio: Implement hierarchy output mode

2016-02-10 Thread Namhyung Kim
On Wed, Feb 10, 2016 at 01:29:31PM +0100, Jiri Olsa wrote: > On Wed, Feb 10, 2016 at 01:23:45PM +0100, Jiri Olsa wrote: > > On Fri, Feb 05, 2016 at 10:01:46PM +0900, Namhyung Kim wrote: > > > > SNIP > > > > > > > > - for (nd = rb_first(>entries); nd; nd = rb_next(nd)) { > > > + for (nd =

Re: [PATCH] pci: xgene: Add ECAM fixups

2016-02-10 Thread Arnd Bergmann
On Tuesday 09 February 2016 17:49:44 Duc Dang wrote: > X-Gene PCIe controller does not fully support ECAM. > This patch adds required ECAM fixup to allow X-Gene > PCIe controller to be functional in ACPI boot mode. > > This patch is based on the original work of > Mark Salter

Re: [PATCH] mmc: sh_mmcif: Correct TX DMA channel allocation

2016-02-10 Thread Laurent Pinchart
Hi Chris, Thank you for the patch. On Wednesday 10 February 2016 14:07:01 Chris Paterson wrote: > Commit 27cbd7e815a8 ("mmc: sh_mmcif: rework dma channel handling") > introduced a typo causing the TX DMA channel allocation to be overwritten > by the requested RX DMA channel. > > Signed-off-by:

[no subject]

2016-02-10 Thread Petr Mladek
Bcc: Subject: Re: [PATCH] printk: avoid livelock if another CPU printks continuously Reply-To: In-Reply-To: <1454963703-20433-1-git-send-email-dvlas...@redhat.com> On Mon 2016-02-08 21:35:03, Denys Vlasenko wrote: > At the end of each printk(), kernel attempts to take console_sem. > If this

Re: [PATCH 1/8] clk: add device tree binding for artpec-6 pll1 clock

2016-02-10 Thread Arnd Bergmann
On Wednesday 10 February 2016 13:41:50 Lars Persson wrote: > Signed-off-by: Lars Persson > --- Always write a changelog comment. > +* Clock bindings for Axis ARTPEC-6 chip > + > +Required properties: > +- compatible: Should be "axis,artpec6-pll1-clock" > +- #clock-cells: Should

Re: [PATCH 0/3] cpufreq: Replace timers with utilization update callbacks

2016-02-10 Thread Juri Lelli
On 10/02/16 15:26, Rafael J. Wysocki wrote: > On Wed, Feb 10, 2016 at 3:03 PM, Juri Lelli wrote: > > On 10/02/16 14:23, Rafael J. Wysocki wrote: > >> On Wed, Feb 10, 2016 at 1:33 PM, Juri Lelli wrote: > >> > Hi Rafael, > >> > > >> > On 09/02/16 21:05,

Re:

2016-02-10 Thread Steven Rostedt
On Wed, 10 Feb 2016 15:36:49 +0100 Petr Mladek wrote: > Bcc: > Subject: Re: [PATCH] printk: avoid livelock if another CPU printks > continuously > Reply-To: > In-Reply-To: <1454963703-20433-1-git-send-email-dvlas...@redhat.com> > Hmm, playing with mail headers? > > + if

[PATCH v3 2/6] irqchip: irq-armada-370-xp: use the generic MSI infrastructure

2016-02-10 Thread Thomas Petazzoni
This commit moves the irq-armada-370-xp driver from using the PCI-specific MSI infrastructure to the generic MSI infrastructure, to which drivers are progressively converted. In this hardware, the MSI controller is directly bundled inside the interrupt controller, so we have a single Device Tree

Re: [PATCH 1/2] vhost: helpers to enable/disable vring endianness

2016-02-10 Thread Michael S. Tsirkin
On Wed, Feb 10, 2016 at 01:11:34PM +0100, Greg Kurz wrote: > On Wed, 10 Feb 2016 13:21:22 +0200 > "Michael S. Tsirkin" wrote: > > > On Wed, Jan 13, 2016 at 06:09:41PM +0100, Greg Kurz wrote: > > > The default use case for vhost is when the host and the vring have the > > > same

RE: [PATCH v4] iio: adc: Add TI ADS1015 ADC driver support

2016-02-10 Thread Sricharan
... > >> > > > > > >> > > > > Indeed it is the pm_runtime_get_sync that fails with a -EINVAL. > >> > > > > > >> > > > > > > > >> > > > > > > When I comment out the break the readings come back but > >> > > > > > > are not > >> > > updated continually. > >> > > > > > > If I read

Re: [PATCH 1/1] af_packet: Raw socket destruction warning fix

2016-02-10 Thread Eric Dumazet
On Wed, 2016-02-10 at 17:35 +0530, Maninder Singh wrote: > This Patch fixes below warning:- > WARNING: at net/packet/af_packet.c:xxx packet_sock_destruct > > There is following race between packet_rcv and packet_close > which keeps unfree packet in receive queue. > > CPU 1

RE: [PATCH v3 net-next] net: Implement fast csum_partial for x86_64

2016-02-10 Thread David Laight
From: George Spelvin > Sent: 10 February 2016 14:44 ... > > I think the fastest loop is: > > 10: adcq0(%rdi,%rcx,8),%rax > > inc %rcx > > jnz 10b > > That loop looks like it will have no overhead on recent cpu. > > Well, it should execute at 1 instruction/cycle. I presume you

[PATCH v6 3/3] cpufreq: governor: Replace timers with utilization update callbacks

2016-02-10 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Instead of using a per-CPU deferrable timer for queuing up governor work items, register a utilization update callback that will be invoked from the scheduler on utilization changes. The sampling rate is still the same as what was used for the

Re: [RFC PATCH] mmc: sdhci-of-at91: don't put device in suspend after probe

2016-02-10 Thread Ulf Hansson
On 10 February 2016 at 13:51, Ludovic Desroches wrote: > Hi Adrian, > > On Wed, Feb 10, 2016 at 01:50:44PM +0200, Adrian Hunter wrote: >> On 10/02/16 11:58, Ludovic Desroches wrote: >> > By putting the device in suspend at the end of the probe, it is >> > impossible

Re: [PATCH V3 0/5] perf/amd/iommu: Enable multi-IOMMU support

2016-02-10 Thread Suravee Suthikulpanit
Hi Boris, On 02/09/2016 06:08 PM, Borislav Petkov wrote: You probably want to redo those against latest tip/master: http://git.kernel.org/tip/5b26547dd7faa84e1293baa144a0f3e74ed7d4c7 -- Regards/Gruss, Boris. Sure, I'll re-base this. By the way, do you have any other comments regarding the

Re: [PATCH] MIPS: OCTEON: Update OCTEON_FEATURE_PCIE for Octeon III

2016-02-10 Thread Ralf Baechle
On Wed, Feb 10, 2016 at 01:56:25PM +, Zubair Lutfullah Kakakhel wrote: > Currently the driver tries to probe the pci driver and oops. > > Add CN7XXX to case so that driver probes the pcie driver. > > Signed-off-by: Zubair Lutfullah Kakakhel > > --- > Based on

Re: [PATCH 1/2] sched/deadline: add per rq tracking of admitted bandwidth

2016-02-10 Thread Steven Rostedt
On Wed, 10 Feb 2016 11:32:58 + Juri Lelli wrote: > Hi, > > I've updated this patch since, with a bit more testing and talking with > Luca in private, I realized that the previous version didn't manage > switching back and forth from SCHED_DEADLINE correctly. Thanks a lot

Re: [PATCH 3/8] arm: add device-tree SoC bindings for Axis Artpec-6

2016-02-10 Thread Arnd Bergmann
On Wednesday 10 February 2016 13:41:52 Lars Persson wrote: > Signed-off-by: Lars Persson Add a changelog > Documentation/devicetree/bindings/arm/axis.txt | 8 > 1 file changed, 8 insertions(+) > create mode 100644 Documentation/devicetree/bindings/arm/axis.txt > >

Re: coccinelle: add style check for assignment in if

2016-02-10 Thread Kris Borer
On Wed, Feb 10, 2016 at 4:00 AM, SF Markus Elfring wrote: > Kris Borer suggested a SmPL script which can generate (only) patches > so far by the usual application of the Coccinelle software. > I assume that this approach was limited just because Julia Lawall >

Re: [PATCH net-next iproute2] iplink: display rx nohandler stats

2016-02-10 Thread Andy Gospodarek
On Wed, Feb 10, 2016 at 08:20:59AM -0500, Jarod Wilson wrote: > On Tue, Feb 09, 2016 at 08:52:38PM -0800, Eric Dumazet wrote: > > On Tue, 2016-02-09 at 17:41 -0800, Stephen Hemminger wrote: > > > On Tue, 9 Feb 2016 18:51:35 -0500 > > > Jarod Wilson wrote: > > > > > > > On Tue,

[PATCH v5 2/2] add support for DWC UFS Host Controller

2016-02-10 Thread Joao Pinto
This patch has the goal to add support for DesignWare UFS Controller specific operations and to add specific platform and pci drivers. Signed-off-by: Joao Pinto --- Changes v4->v5 (Akinobu Mita): - All functions used only locally in ufshcd-dwc are now declared as static -

Re: Freezing system after kernel 3.2

2016-02-10 Thread Karsten Malcher
Hello Ken, Am 09.02.2016 um 20:42 schrieb Ken Moffat: > On Tue, Feb 09, 2016 at 05:03:57PM +0100, Karsten Malcher wrote: > >> I have to found out that freezing can occur under kernel 3.2 too, but far >> less common. >> So the interesting question is why in newer kernels this will occur very >>

Re: [PATCH] tty/serial: digicolor: Fix bad usage of IS_ERR_VALUE

2016-02-10 Thread Arnd Bergmann
On Tuesday 09 February 2016 18:37:46 Guenter Roeck wrote: > On 02/09/2016 07:26 AM, Arnd Bergmann wrote: > > On Tuesday 09 February 2016 07:08:59 Guenter Roeck wrote: > >> IS_ERR_VALUE() assumes that its parameter is an unsigned long. > >> It can not be used to check if an unsigned int reflects an

[PATCH v2 1/7] irqchip/gic-v3: always return IRQ_SET_MASK_OK_DONE in gic_set_affinity

2016-02-10 Thread Antoine Tenart
Always return IRQ_SET_MASK_OK_DONE instead of IRQ_SET_MASK_OK when the affinity has been updated. When using stacked irqchips, returning IRQ_SET_MASK_OK_DONE means skipping all descendant irqchips. Signed-off-by: Antoine Tenart --- drivers/irqchip/irq-gic-v3.c

[PATCH v2 6/7] arm64: alpine: select the Alpine MSI controller driver

2016-02-10 Thread Antoine Tenart
Select the Alpine MSI controller driver when using an Alpine platform. Signed-off-by: Antoine Tenart Signed-off-by: Tsahee Zidenberg --- arch/arm64/Kconfig.platforms | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v2 4/7] arm64: dts: alpine: add the MSIX node in the Alpine v2 dtsi

2016-02-10 Thread Antoine Tenart
Following the addition of the Alpine MSIX controller driver, add the corresponding node in the Alpine v2 device tree. Signed-off-by: Antoine Tenart Signed-off-by: Tsahee Zidenberg --- arch/arm64/boot/dts/al/alpine-v2.dtsi | 10

[PATCH v2 5/7] ARM: dts: alpine: add the MSIX node

2016-02-10 Thread Antoine Tenart
With the newly available MSIX driver for Alpine, add the corresponding node in the Alpine device tree. Signed-off-by: Antoine Tenart --- arch/arm/boot/dts/alpine.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/alpine.dtsi

Re: [PATCH] video: ARM CLCD: Added dt support to set tim2 register

2016-02-10 Thread Linus Walleij
On Wed, Feb 25, 2015 at 10:01 PM, Arun Ramamurthy wrote: > Added code based on linaro tree: > http://git.linaro.org/kernel/linux-linaro-stable.git > with commit id:6846e7822c4cab5a84672baace3b768c2d0db142 > at drivers/video/amba-clcd.c. This lets the driver set >

Re: ext4: BUG: scheduling while atomic in ext4_commit_super

2016-02-10 Thread Jan Kara
On Sun 24-01-16 17:48:00, Dmitry Vyukov wrote: > Hello, > > I've hit the following BUG while running syzkaller fuzzer: > > JBD2: Spotted dirty metadata buffer (dev = sda, blocknr = 1). There's > a risk of filesystem corruption in case of system crash. > EXT4-fs error (device sda):

Re: [PATCH 2/3] usb: type-c: USB Type-C Connector System Software Interface

2016-02-10 Thread Oliver Neukum
On Wed, 2016-02-10 at 13:56 +0200, Andy Shevchenko wrote: > > +err: > > + if (i > 0) > > + for (; i >= 0; i--, con--) > > + typec_unregister_port(con->port); > > Perhaps > > while (--i >= 0) { > ... > } While we are at it. No we should not change the

Re: [PATCH] gpio: tps65086: Add GPO driver for the TPS65086 PMIC

2016-02-10 Thread Linus Walleij
On Sat, Feb 6, 2016 at 5:12 PM, Andrew F. Davis wrote: > Add support for the TPS65086 PMIC GPOs. > > TPS65086 has four configurable GPOs that can be used for several > purposes. These are output only. > > Signed-off-by: Andrew F. Davis > --- > This is the last

Re: [PATCH 0/3] cpufreq: Replace timers with utilization update callbacks

2016-02-10 Thread Rafael J. Wysocki
On Wed, Feb 10, 2016 at 3:03 PM, Juri Lelli wrote: > On 10/02/16 14:23, Rafael J. Wysocki wrote: >> On Wed, Feb 10, 2016 at 1:33 PM, Juri Lelli wrote: >> > Hi Rafael, >> > >> > On 09/02/16 21:05, Rafael J. Wysocki wrote: >> > >> > [...] >> > >> >> +/** >>

Re: [PATCH] mmc: sh_mmcif: Correct TX DMA channel allocation

2016-02-10 Thread Ulf Hansson
On 10 February 2016 at 15:07, Chris Paterson wrote: > Commit 27cbd7e815a8 ("mmc: sh_mmcif: rework dma channel handling") > introduced a typo causing the TX DMA channel allocation to be overwritten > by the requested RX DMA channel. > > Signed-off-by: Chris Paterson

Re: [PATCH 15/23] perf ui/stdio: Align column header for hierarchy output

2016-02-10 Thread Namhyung Kim
On Wed, Feb 10, 2016 at 01:40:03PM +0100, Jiri Olsa wrote: > On Fri, Feb 05, 2016 at 10:01:47PM +0900, Namhyung Kim wrote: > > The hierarchy output mode is to group entries so the existing columns > > won't fit to the new output. Treat all sort keys as a single column and > > separate headers by

Re: [PATCH] printk: avoid livelock if another CPU printks continuously

2016-02-10 Thread Petr Mladek
Sent again with a correct mail header, hopefully. On Mon 2016-02-08 21:35:03, Denys Vlasenko wrote: > At the end of each printk(), kernel attempts to take console_sem. > If this succeeds, it feeds buffered message data to console devices > until there is nothing left, and releases console_sem: >

Re: [PATCH] ARM: dts: Move syscon reboot/poweroff to common dtsi for Exynos

2016-02-10 Thread Alim Akhtar
Hi Javier, On Wed, Feb 10, 2016 at 12:00 AM, Javier Martinez Canillas wrote: > All Exynos SoCs have the same syscon reboot and poweroff device nodes so > there is no need to duplicate the same on each SoC dtsi and can be moved > to a common dtsi that can be included by

[PATCH] cpufreq: select IRQ_WORK in Kconfig

2016-02-10 Thread Arnd Bergmann
The cpufreq core code has started using the irq_work infrastructure, but that can be disabled in Kconfig, causing a link failure: drivers/cpufreq/cpufreq_governor.c: In function 'gov_queue_irq_work': drivers/cpufreq/cpufreq_governor.c:251:3: error: implicit declaration of function

Re: [PATCH] cpufreq: select IRQ_WORK in Kconfig

2016-02-10 Thread Rafael J. Wysocki
On Wed, Feb 10, 2016 at 4:14 PM, Arnd Bergmann wrote: > The cpufreq core code has started using the irq_work infrastructure, but that > can be disabled in Kconfig, causing a link failure: > > drivers/cpufreq/cpufreq_governor.c: In function 'gov_queue_irq_work': >

Re: [PATCH 0/3] cpufreq: Replace timers with utilization update callbacks

2016-02-10 Thread Rafael J. Wysocki
On Wed, Feb 10, 2016 at 3:46 PM, Juri Lelli wrote: > On 10/02/16 15:26, Rafael J. Wysocki wrote: >> On Wed, Feb 10, 2016 at 3:03 PM, Juri Lelli wrote: >> > On 10/02/16 14:23, Rafael J. Wysocki wrote: >> >> On Wed, Feb 10, 2016 at 1:33 PM, Juri Lelli

[PATCH v5 1/2] fixed typo in ufshcd-pltfrm

2016-02-10 Thread Joao Pinto
Fixed typo in ufshcd-pltfrm. Signed-off-by: Joao Pinto --- Changes v0->v5: - Nothing changed (just to keep up with patch set version). drivers/scsi/ufs/ufshcd-pltfrm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/ufs/ufshcd-pltfrm.c

[PATCH] binfmt_em86: load_em86: Remove unused i_arg variable and constify i_name

2016-02-10 Thread Daniel Wagner
i_arg is not used at all therefore remove it. This also prevents an error in case -Werror=i-Werror=incompatible-pointer-types is enabled: fs/binfmt_em86.c:73:35: error: passing argument 2 of ‘copy_strings_kernel’ from incompatible pointer type [-Werror=incompatible-pointer-types] retval =

Re: [tip:x86/mm] x86/mm: Add INVPCID helpers

2016-02-10 Thread Michael Matz
Hi, On Wed, 10 Feb 2016, Borislav Petkov wrote: > --- a/arch/x86/include/asm/tlbflush.h > +++ b/arch/x86/include/asm/tlbflush.h > @@ -23,7 +23,7 @@ static inline void __invpcid(unsigned long pcid, unsigned > long addr, >* invpcid (%rcx), %rax in long mode. >*/ > asm

Re: [RFC] A first shot at asciidoc-based formatted docs

2016-02-10 Thread Jani Nikula
[Sorry this turned out a long email, I didn't have the time to write a short one.] On Wed, 10 Feb 2016, Daniel Vetter wrote: > On Wed, Feb 10, 2016 at 1:09 AM, Jonathan Corbet wrote: >> On Tue, 26 Jan 2016 14:08:45 +0200 >> Jani Nikula

Re: [PATCH v3 2/6] drivers/cpufreq: implement init_cpu_capacity_default()

2016-02-10 Thread Juri Lelli
On 09/02/16 15:54, Dietmar Eggemann wrote: > On 05/02/16 09:30, Juri Lelli wrote: > > On 04/02/16 16:46, Vincent Guittot wrote: > >> On 4 February 2016 at 16:44, Vincent Guittot > >> wrote: > >>> On 4 February 2016 at 15:13, Juri Lelli wrote: >

Re: [PATCH 2/3] usb: type-c: USB Type-C Connector System Software Interface

2016-02-10 Thread Andy Shevchenko
On Wed, Feb 10, 2016 at 4:15 PM, Oliver Neukum wrote: > On Wed, 2016-02-10 at 13:56 +0200, Andy Shevchenko wrote: >> > +err: >> > + if (i > 0) >> > + for (; i >= 0; i--, con--) >> > + typec_unregister_port(con->port); >> >> Perhaps >> >>

RE: [PATCH v3 net-next] net: Implement fast csum_partial for x86_64

2016-02-10 Thread George Spelvin
David Laight wrote: > Separate renaming allows: > 1) The value to tested without waiting for pending updates to complete. >Useful for IE and DIR. I don't quite follow. It allows the value to be tested without waiting for pending updates *of other bits* to complete. Obviusly, the update of

Re: [PATCH 7/8] arm: multi_v7_defconfig: add MACH_ARTPEC6

2016-02-10 Thread Arnd Bergmann
On Wednesday 10 February 2016 13:41:56 Lars Persson wrote: > Signed-off-by: Lars Persson > --- > arch/arm/configs/multi_v7_defconfig | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/arm/configs/multi_v7_defconfig > b/arch/arm/configs/multi_v7_defconfig > index

[RFC PATCH 3/3] mm: increase scalability of global memory commitment accounting

2016-02-10 Thread Andrey Ryabinin
Currently we use percpu_counter for accounting committed memory. Change of committed memory on more than vm_committed_as_batch pages leads to grab of counter's spinlock. The batch size is quite small - from 32 pages up to 0.4% of the memory/cpu (usually several MBs even on large machines). So

RE: [RFC PATCH v3 3/3] PCI/ACPI: hisi: Add ACPI support for HiSilicon SoCs Host Controllers

2016-02-10 Thread Gabriele Paoloni
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > ow...@vger.kernel.org] On Behalf Of Mark Rutland > Sent: 10 February 2016 11:13 > To: Gabriele Paoloni > Cc: Guohanjun (Hanjun Guo); Wangzhou (B); liudongdong (C); Linuxarm; > qiujiang;

Re: [PATCH 16/23] perf hists browser: Count number of hierarchy entries

2016-02-10 Thread Namhyung Kim
On Wed, Feb 10, 2016 at 01:52:08PM +0100, Jiri Olsa wrote: > On Fri, Feb 05, 2016 at 10:01:48PM +0900, Namhyung Kim wrote: > > SNIP > > > +static int hierarchy_count_rows(struct hist_browser *hb, struct hist_entry > > *he, > > + bool include_children) > > +{ > > +

Re: [PATCH 0/8] arm: Add Artpec-6 SoC

2016-02-10 Thread Arnd Bergmann
On Wednesday 10 February 2016 13:41:49 Lars Persson wrote: > Basic support for the Axis Artpec-6 ARM SoC. Timers, interrupts, UARTs and > ethernet are wired up. > Hi Lars, Looks nice overall, I just have a few small comments on some of the patches. Please also add a patch do add yourself in the

[PATCH 1/3] mm: move max_map_count bits into mm.h

2016-02-10 Thread Andrey Ryabinin
max_map_count sysctl unrelated to scheduler. Move its bits from include/linux/sched/sysctl.h to include/linux/mm.h. Signed-off-by: Andrey Ryabinin --- include/linux/mm.h | 21 + include/linux/sched/sysctl.h | 21 -

Re: [PATCH] mmc: sh_mmcif: Correct TX DMA channel allocation

2016-02-10 Thread Arnd Bergmann
On Wednesday 10 February 2016 14:07:01 Chris Paterson wrote: > Commit 27cbd7e815a8 ("mmc: sh_mmcif: rework dma channel handling") > introduced a typo causing the TX DMA channel allocation to be overwritten > by the requested RX DMA channel. > > Signed-off-by: Chris Paterson

Re: [PATCH v2 0/3] arm64: introduce the Alpine support

2016-02-10 Thread Arnd Bergmann
On Wednesday 10 February 2016 10:22:43 Antoine Tenart wrote: > Hi all, > > This series introduces the support for the arm64 Alpine family from > Annapurna Labs, by adding a device tree for the Alpine v2 EVP. This > board has 4 Cortex A57 and a few nodes in its device tree for now. > > You can

[PATCH] lightnvm: calc right rblk when having several luns

2016-02-10 Thread Javier González
When getting a new block from the media manager, calculate the right rblk, considering that the pool of flash blocks has been divided among the different luns exposed by the underlying device. Signed-off-by: Javier González --- drivers/lightnvm/rrpc.c | 2 +-

[PATCH v2] mfd: Provide MACRO to declare commonly defined MFD cell attributes

2016-02-10 Thread Lee Jones
mfd: Provide MACRO to declare commonly defined MFD cell attributes Cc: Laxman Dewangan Signed-off-by: Lee Jones --- include/linux/mfd/core.h | 26 ++ 1 file changed, 26 insertions(+) diff --git a/include/linux/mfd/core.h

Re: [PATCH 2/2] vhost: disentangle vring endianness stuff from the core code

2016-02-10 Thread Cornelia Huck
On Wed, 10 Feb 2016 14:08:43 +0100 Greg Kurz wrote: > But you are right, there is a bug: we should rollback if vhost_init_used() > fails. Something like below: > > err_used: > vq->private_data = oldsock; > vhost_net_enable_vq(n, vq); > +

Re: [PATCH v2] scripts/sign-file.c: Add support for signing with a raw signature

2016-02-10 Thread Juerg Haefliger
On 02/10/2016 11:12 AM, David Howells wrote: > Juerg Haefliger wrote: > >> This patch adds support for signing a kernel module with a raw >> detached PKCS#7 signature/message. >> >> The signature is not converted and is simply appended to the module so >> it needs to be

Re: linux-next: build failure after merge of the drm-misc tree

2016-02-10 Thread Daniel Vetter
On Wed, Feb 10, 2016 at 02:17:41PM +0100, Lukas Wunner wrote: > Hi, > > On Wed, Feb 10, 2016 at 09:41:38AM +0100, Lukas Wunner wrote: > > On Wed, Feb 10, 2016 at 12:24:51PM +1100, Stephen Rothwell wrote: > > > Hi all, > > > > > > After merging the drm-misc tree, today's linux-next build (arm > >

Re: [PATCH 13/23] perf hists: Support filtering in hierarchy mode

2016-02-10 Thread Namhyung Kim
Hi Jiri, 2016-02-10 (수), 12:51 +0100, Jiri Olsa: > On Fri, Feb 05, 2016 at 10:01:45PM +0900, Namhyung Kim wrote: > > SNIP > > > + parent = parent->parent_he; > > + } > > + } > > + > >   if (h->filtered) > >   return; > >   > > @@ -1592,28 +1613,122 @@

Re: [PATCH v2] gpio: Add driver for TI TPIC2810

2016-02-10 Thread Linus Walleij
On Sun, Jan 31, 2016 at 11:52 PM, Andy Shevchenko wrote: > It reminds me how 12 channel PWM chip is used on Intel Galileo Gen 2. > Half pins are PWM, the other half is GPIO used for discrete based pin > muxing and control. Nevertheless I think it's a userspace issue

Re: [PATCH v11 4/4] Watchdog: introduce ARM SBSA watchdog driver

2016-02-10 Thread Mathieu Poirier
On 9 February 2016 at 10:00, wrote: > From: Fu Wei > > According to Server Base System Architecture (SBSA) specification, > the SBSA Generic Watchdog has two stage timeouts: the first signal (WS0) > is for alerting the system by interrupt, the second one

[PATCH 2/3] mm: dedupclicate memory overcommitment code

2016-02-10 Thread Andrey Ryabinin
Currently we have two copies of the same code which implements memory overcommitment logic. Let's move it into mm/util.c and hence avoid duplication. No functional changes here. Signed-off-by: Andrey Ryabinin --- mm/mmap.c | 124

[PATCH v3 6/6] ARM: mvebu: use the ARMADA_370_XP_IRQ option

2016-02-10 Thread Thomas Petazzoni
Now that there is a ARMADA_370_XP_IRQ option to enable the irqchip driver for Armada 370, XP, 375, 38x and 39x, let's select this option when needed. Note that this selection is currently not mandatory because ARMADA_370_XP_IRQ is for now always enabled when ARCH_MVEBU=y, but this is something

[PATCH] Input: colibri ts: include linux/of.h explicitly

2016-02-10 Thread Arnd Bergmann
The newly added driver calls functions for accessing the DT but does not include the header they are defined in, which fails in configurations in which we don't get the header implicitly through something else: drivers/input/touchscreen/colibri-vf50-ts.c: In function 'vf50_ts_probe':

Re: [PATCH] irq_work: unhide irq_work_queue_on declaration on non-SMP

2016-02-10 Thread Rafael J. Wysocki
On Wed, Feb 10, 2016 at 4:07 PM, Arnd Bergmann wrote: > The cpufreq code uses 'if (IS_ENABLED(CONFIG_SMP))' to check > whether it should queue a task on the local CPU or a remote > one, however the irq_work_queue_on() function is not declared > when CONFIG_SMP is not set: > >

[PATCH v6 1/3] cpufreq: Add mechanism for registering utilization update callbacks

2016-02-10 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Introduce a mechanism by which parts of the cpufreq subsystem ("setpolicy" drivers or the core) can register callbacks to be executed from cpufreq_update_util() which is invoked by the scheduler's update_load_avg() on CPU utilization changes.

[PATCH v6 0/3] cpufreq: Replace timers with utilization update callbacks

2016-02-10 Thread Rafael J. Wysocki
Hi, I thought it would be useful to send an update of this (adding Ingo, as Peter has not been responsive lately). The version goes straight to 6 as patch [3/3] has already gone through 5 revisions. The intro below still applies, so let me quote it. On Friday, January 29, 2016 11:52:15 PM

Re: [PATCH 2/3] usb: type-c: USB Type-C Connector System Software Interface

2016-02-10 Thread Andy Shevchenko
On Wed, Feb 10, 2016 at 3:21 PM, Oliver Neukum wrote: > On Wed, 2016-02-10 at 13:56 +0200, Andy Shevchenko wrote: >> > +out: >> >> CodingStyle suggests to do a better label naming. > > Names coming from specs are what they are. There is > no place for coding style here. Yes,

Re: [PATCH 0/3] cpufreq: Replace timers with utilization update callbacks

2016-02-10 Thread Juri Lelli
On 10/02/16 14:23, Rafael J. Wysocki wrote: > On Wed, Feb 10, 2016 at 1:33 PM, Juri Lelli wrote: > > Hi Rafael, > > > > On 09/02/16 21:05, Rafael J. Wysocki wrote: > > > > [...] > > > >> +/** > >> + * cpufreq_update_util - Take a note about CPU utilization changes. > >> + *

Re: How to add additional blacklist entries?

2016-02-10 Thread Mimi Zohar
Hi David, Sorry, for the delay in responding... On Tue, 2016-02-09 at 10:42 +, David Howells wrote: > Mimi Zohar wrote: > > The keys being added to the IMA keyring are signed x509 certs (eg. > > openssl ca -ss_cert). It would be nice to be able to include the

Re: [PATCH 3/5] irqchip/gic-v2: Parse and export virtual GIC information

2016-02-10 Thread Julien Grall
Hi Christoffer, On 09/02/16 20:49, Christoffer Dall wrote: +static void __init gic_acpi_setup_kvm_info(void) +{ + gic_v2_kvm_info.type = GIC_V2; + + gic_v2_kvm_info.maint_irq = acpi_register_gsi(NULL, + acpi_data.maint_irq, +

Re: [RFC PATCH] mmc: sdhci-of-at91: don't put device in suspend after probe

2016-02-10 Thread Adrian Hunter
On 10/02/16 16:16, Ludovic Desroches wrote: > On Wed, Feb 10, 2016 at 03:00:09PM +0200, Adrian Hunter wrote: >> On 10/02/16 14:51, Ludovic Desroches wrote: >>> Hi Adrian, >>> >>> On Wed, Feb 10, 2016 at 01:50:44PM +0200, Adrian Hunter wrote: On 10/02/16 11:58, Ludovic Desroches wrote: >

[PATCH v3 5/6] irqchip: irq-armada-370-xp: allow allocation of multiple MSIs

2016-02-10 Thread Thomas Petazzoni
Add support for allocating multiple MSIs at the same time, so that the MSI_FLAG_MULTI_PCI_MSI flag can be added to the msi_domain_info structure. Signed-off-by: Thomas Petazzoni Reviewed-by: Gregory CLEMENT ---

RE: [BUG] [REGRESSION] [BISECTED] -rc1 breaks audio over HDMI for i915

2016-02-10 Thread Yang, Libin
It may be the audio component binding error? I met the audio component binding error in our internal kernel before. It is because the audio component name are duplicating with another i915 component and so match() function doesn't work well. But I'm not sure the ALSA kernel have the same issue.

[PATCH v3 0/6] irqchip: irq-armada-370-xp: generic MSI infrastructure and assorted fixes

2016-02-10 Thread Thomas Petazzoni
Hello, This patch series converts the Armada 370/XP irqchip driver (also used on Armada 375, 38x and 39x) to the new MSI infrastructure put in place by Marc. It doesn't bring any functional difference other than using the right, modern, MSI mechanism, which might ultimately allow Marc to remove

[PATCH] bridge: mdb: avoid uninitialized variable warning

2016-02-10 Thread Arnd Bergmann
A recent change to the mdb code confused the compiler to the point where it did not realize that the port-group returned from br_mdb_add_group() is always valid when the function returns a nonzero return value, so we get a spurious warning: net/bridge/br_mdb.c: In function 'br_mdb_add':

Re: [PATCH 2/3] usb: type-c: USB Type-C Connector System Software Interface

2016-02-10 Thread Oliver Neukum
On Wed, 2016-02-10 at 16:24 +0200, Andy Shevchenko wrote: > On Wed, Feb 10, 2016 at 4:15 PM, Oliver Neukum wrote: > > On Wed, 2016-02-10 at 13:56 +0200, Andy Shevchenko wrote: > >> > +err: > >> > + if (i > 0) > >> > + for (; i >= 0; i--, con--) > >> > +

Re: [RFC PATCH] mmc: sdhci-of-at91: don't put device in suspend after probe

2016-02-10 Thread Ludovic Desroches
On Wed, Feb 10, 2016 at 04:20:43PM +0200, Adrian Hunter wrote: > On 10/02/16 16:16, Ludovic Desroches wrote: > > On Wed, Feb 10, 2016 at 03:00:09PM +0200, Adrian Hunter wrote: > >> On 10/02/16 14:51, Ludovic Desroches wrote: > >>> Hi Adrian, > >>> > >>> On Wed, Feb 10, 2016 at 01:50:44PM +0200,

[PATCH v2 0/7] irqchip: introduce the Alpine MSIX driver

2016-02-10 Thread Antoine Tenart
Hi all, This series introduce the Alpine MSIX driver, and enables it in both the Alpine v1 and Alpine v2 device trees. This series depends on "[PATCH v2 0/3] arm64: introduce the Alpine support": https://lkml.org/lkml/2016/2/10/83 You can find the series at: https://github.com/atenart/linux.git

[PATCH v2 2/7] irqchip: add the Alpine MSIX interrupt controller

2016-02-10 Thread Antoine Tenart
This patch adds the Alpine MSIX interrupt controller driver. Signed-off-by: Antoine Tenart Signed-off-by: Tsahee Zidenberg --- drivers/irqchip/Kconfig | 6 + drivers/irqchip/Makefile | 1 +

Re: [PATCH 6/9] ARC: clocksource: DT based probe

2016-02-10 Thread Daniel Lezcano
On 02/08/2016 01:23 PM, Vineet Gupta wrote: On Monday 08 February 2016 05:40 PM, Daniel Lezcano wrote: On 02/02/2016 11:58 AM, Vineet Gupta wrote: - Remove explicit clocksource setup and let it be done by OF framework by defining CLOCKSOURCE_OF_DECLARE() for various timers - This allows

Re: [PATCH 14/23] perf ui/stdio: Implement hierarchy output mode

2016-02-10 Thread Namhyung Kim
On Tue, Feb 09, 2016 at 11:01:17PM +0100, Jiri Olsa wrote: > On Fri, Feb 05, 2016 at 10:01:46PM +0900, Namhyung Kim wrote: > > The hierarchy output mode is to group entries for each level so that > > user can see higher level picture more easily. It also helps to find > > out which component is

Re: [PATCH v2] gpio: Add driver for TI TPIC2810

2016-02-10 Thread Linus Walleij
On Thu, Jan 28, 2016 at 3:56 PM, Andrew F. Davis wrote: >> I understand that it can also be used as a GPIO (and that it >> is then nice to put leds-gpio on top of it) but then >> I want a reference to the hardware that actually went ahead >> and used this as a GPIO chip rather than

Re: [PATCH v2] gpio: Add driver for TI TPIC2810

2016-02-10 Thread Linus Walleij
On Mon, Jan 25, 2016 at 5:14 PM, Andrew F. Davis wrote: > Add driver for TI TPIC2810 8-Bit LED Driver with I2C Interface. > > The TPIC2810 has 8 open-drain outputs that can but used to drive > LEDs and other low-side switched resistive loads. > > Signed-off-by: Andrew F. Davis

Re: [PATCH v2] gpio: Add driver for TI TPIC2810

2016-02-10 Thread Andy Shevchenko
On Wed, Feb 10, 2016 at 4:21 PM, Linus Walleij wrote: > On Sun, Jan 31, 2016 at 11:52 PM, Andy Shevchenko > wrote: > >> It reminds me how 12 channel PWM chip is used on Intel Galileo Gen 2. >> Half pins are PWM, the other half is GPIO used for

[PATCH v3 1/6] irqchip: irq-armada-370-xp: add Kconfig option for the driver

2016-02-10 Thread Thomas Petazzoni
Instead of building the irq-armada-370-xp driver directly when CONFIG_ARCH_MVEBU is enabled, this commit introduces an intermediate CONFIG_ARMADA_370_XP_IRQ hidden Kconfig option. This allows this option to select other interrupt-related Kconfig options (which will be needed in follow-up commits)

Re: [PATCH 3/5] irqchip/gic-v2: Parse and export virtual GIC information

2016-02-10 Thread Marc Zyngier
On 10/02/16 14:19, Julien Grall wrote: > Hi Christoffer, > > On 09/02/16 20:49, Christoffer Dall wrote: >>> +static void __init gic_acpi_setup_kvm_info(void) >>> +{ >>> + gic_v2_kvm_info.type = GIC_V2; >>> + >>> + gic_v2_kvm_info.maint_irq = acpi_register_gsi(NULL, >>> +

[PATCH v3 3/6] irqchip: irq-armada-370-xp: use PCI_MSI_DOORBELL_START where appropriate

2016-02-10 Thread Thomas Petazzoni
As suggested by Gregory Clement, this commit adjusts the irq-armada-370-xp driver to use the PCI_MSI_DOORBELL_START define in the armada_370_xp_handle_msi_irq() function, rather than hardcoding its value. Suggested-by: Gregory CLEMENT Signed-off-by: Thomas

[PATCH -v1.1] x86/mm: Fix INVPCID asm constraint

2016-02-10 Thread Borislav Petkov
On Wed, Feb 10, 2016 at 02:48:02PM +0100, Michael Matz wrote: > Hi, > > On Wed, 10 Feb 2016, Borislav Petkov wrote: > > > --- a/arch/x86/include/asm/tlbflush.h > > +++ b/arch/x86/include/asm/tlbflush.h > > @@ -23,7 +23,7 @@ static inline void __invpcid(unsigned long pcid, unsigned > > long

Re: [PATCH 23/23] perf top: Add --hierarchy option

2016-02-10 Thread Namhyung Kim
On Wed, Feb 10, 2016 at 02:19:40PM +0100, Jiri Olsa wrote: > On Tue, Feb 09, 2016 at 11:37:10PM +0100, Jiri Olsa wrote: > > On Fri, Feb 05, 2016 at 10:01:55PM +0900, Namhyung Kim wrote: > > > Support hierarchy output for perf-top using --hierarchy option. > > > > > > Acked-by: Pekka Enberg

[PATCH v3 4/6] irqchip: irq-armada-370-xp: use shorter names for irq_chip

2016-02-10 Thread Thomas Petazzoni
In order to make the output of /proc/interrupts, use shorter names for the irq_chip registered by the irq-armada-370-xp driver. Using capital letters also matches better what is done for the GIC driver, which uses just "GIC" as the irq_chip->name. Signed-off-by: Thomas Petazzoni

[PATCH v3] powerpc32: provide VIRT_CPU_ACCOUNTING

2016-02-10 Thread Christophe Leroy
This patch provides VIRT_CPU_ACCOUTING to PPC32 architecture. PPC32 doesn't have the PACA structure, so we use the task_info structure to store the accounting data. In order to reuse on PPC32 the PPC64 functions, all u64 data has been replaced by 'unsigned long' so that it is u32 on PPC32 and u64

Re: [PATCH 2/3] usb: type-c: USB Type-C Connector System Software Interface

2016-02-10 Thread Bjørn Mork
Andy Shevchenko writes: > On Wed, Feb 10, 2016 at 3:21 PM, Oliver Neukum wrote: >> On Wed, 2016-02-10 at 13:56 +0200, Andy Shevchenko wrote: >>> > +out: >>> >>> CodingStyle suggests to do a better label naming. >> >> Names coming from specs are what

Re: [PATCH v3] err.h: allow IS_ERR_VALUE to handle properly more types

2016-02-10 Thread Guenter Roeck
On Fri, Feb 05, 2016 at 12:37:00AM +0100, Rasmus Villemoes wrote: > On Wed, Feb 03 2016, Andrzej Hajda wrote: > > > Current implementation of IS_ERR_VALUE works correctly only with > > following types: > > - unsigned long, > > - short, int, long. > > Other types are handled

Re: [RFC][PATCH 0/3 v2] sched: Display deadline bandwidth and other SCHED_DEBUG clean up

2016-02-10 Thread Steven Rostedt
On Wed, 03 Feb 2016 11:56:58 -0500 Steven Rostedt wrote: > I'm starting to play with SCHED_DEADLINE a bit and I'm able to cause > a bandwidth "leak". Then I realized there's no way to examine what bandwidths > are enabled on which CPUs. I added the bandwith ratios to the >

  1   2   3   4   5   6   7   8   9   10   >