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

2016-02-10 Thread Ludovic Desroches
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 to wake up on non software event such as card > > insertion/removal. > > > > Signed-off-by: Lu

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

2016-02-10 Thread Lars Persson
Signed-off-by: Lars Persson --- Documentation/devicetree/bindings/clock/artpec6.txt | 14 ++ 1 file changed, 14 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/artpec6.txt diff --git a/Documentation/devicetree/bindings/clock/artpec6.txt b/Documentation/devi

Re: [PATCH v2 2/3] mm/compaction: pass only pageblock aligned range to pageblock_pfn_to_page

2016-02-10 Thread Vlastimil Babka
On 02/04/2016 07:19 AM, Joonsoo Kim wrote: > pageblock_pfn_to_page() is used to check there is valid pfn and all pages > in the pageblock is in a single zone. If there is a hole in the pageblock, > passing arbitrary position to pageblock_pfn_to_page() could cause to skip > whole pageblock scanning,

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

2016-02-10 Thread Jiri Olsa
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) > +{ > + int count = 0; > + struct rb_node *node; > + struct hist_entry *chil

Re: [PATCH v4] regulator: qcom-saw: Add support for SAW regulators

2016-02-10 Thread Georgi Djakov
Hi Lina, Thanks for reviewing. On 02/10/2016 12:21 AM, Lina Iyer wrote: > On Tue, Feb 09 2016 at 06:13 -0700, Georgi Djakov wrote: [..] >> +#defineSPM_REG_STS_10x10 >> +#defineSPM_REG_VCTL0x14 >> +#defineSPM_REG_PMIC_DATA_00x28 >> +#defineSPM_REG_PMI

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

2016-02-10 Thread Daniel Baluta
>> > > > > > >> +static int ads1015_read_raw(struct iio_dev *indio_dev, >> > > > > > >> + struct iio_chan_spec const *chan, >> > > > > > >> +int >> > *val, >> > > > > > >> + int *val2, long mask) { >> > > > > > >> + int ret, idx; >> > > > > > >>

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 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: >>> By putting the device in suspend at the end of the probe, it is >>> impossible to wake up on non software event such as car

[PATCH 00/11] pwm: Add support for PWM Capture

2016-02-10 Thread Lee Jones
The first part of this set extends the current PWM API to allow external code to request a PWM Capture. Subsequent patches then make use of the new API by providing a userspace offering via /sysfs. The final part of the set supplies PWM Capture functionality into the already existing STi PWM driv

[PATCH 10/11] pwm: sti: Enable PWM Capture

2016-02-10 Thread Lee Jones
Once all functionality is in place, we provide the means to enable PWM Capture. Here we are simply obtaining the associated regmap and twiddling the relevant enable register bits. Signed-off-by: Lee Jones --- drivers/pwm/pwm-sti.c | 13 + 1 file changed, 13 insertions(+) diff --git

[PATCH 08/11] pwm: sti: Add support for PWM Capture IRQs

2016-02-10 Thread Lee Jones
Here we're requesting the PWM Capture IRQ and supplying the handler which will be called in the event of an IRQ fire to handle it. Signed-off-by: Lee Jones --- drivers/pwm/pwm-sti.c | 91 ++- 1 file changed, 90 insertions(+), 1 deletion(-) diff --

[PATCH 11/11] pwm: sti: Take the opportunity to conduct a little house keeping

2016-02-10 Thread Lee Jones
This includes fixing some Coding Style issues and re-ordering/ simplifying a little code. Signed-off-by: Lee Jones --- drivers/pwm/pwm-sti.c | 27 ++- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/drivers/pwm/pwm-sti.c b/drivers/pwm/pwm-sti.c index 93cf2

[PATCH 05/11] pwm: sti: Supply PWM Capture register addresses and bit locations

2016-02-10 Thread Lee Jones
Signed-off-by: Lee Jones --- drivers/pwm/pwm-sti.c | 25 + 1 file changed, 25 insertions(+) diff --git a/drivers/pwm/pwm-sti.c b/drivers/pwm/pwm-sti.c index aa217e2..2336bac 100644 --- a/drivers/pwm/pwm-sti.c +++ b/drivers/pwm/pwm-sti.c @@ -22,26 +22,48 @@ #include #

[PATCH 09/11] pwm: sti: Add PWM Capture call-back

2016-02-10 Thread Lee Jones
Once a PWM Capture has been initiated, the capture call enables a rising edge detection IRQ, then waits. Once each of the 3 phase changes have been recorded the thread then wakes. The remaining part of the call carries out the relevant calculations and passes back a formatted string to the caller

[PATCH 06/11] pwm: sti: Supply PWM Capture clock handling

2016-02-10 Thread Lee Jones
ST's PWM IP is supplied by 2 different clocks. One for PWM Output and the other for Capture. This patch provides clock handling for the latter. Signed-off-by: Lee Jones --- drivers/pwm/pwm-sti.c | 25 + 1 file changed, 25 insertions(+) diff --git a/drivers/pwm/pwm-sti.

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

2016-02-10 Thread Oliver Neukum
On Tue, 2016-02-09 at 19:01 +0200, Heikki Krogerus wrote: > +#define UCSI_CONSTAT_BC_NOT_CHARGING 0 > +#define UCSI_CONSTAT_BC_NOMINAL_CHARGING 1 > +#define UCSI_CONSTAT_BC_SLOW_CHARGING 2 > +#define UCSI_CONSTAT_BC_TRICLE_CHARGING3 typo. It is spelled TRIC

[PATCH 04/11] pwm: sti: Only request clock rate when you need to

2016-02-10 Thread Lee Jones
In the original code the clock rate was only obtained during initialisation; however, the rate may change between then and its use. This patch ensures the correct rate is acquired just before use. Signed-off-by: Lee Jones --- drivers/pwm/pwm-sti.c | 16 1 file changed, 8 insert

[PATCH 02/11] pwm: sysfs: Add PWM Capture support

2016-02-10 Thread Lee Jones
Allow a user to read PWM Capture results from /sysfs. First, the user must tell PWM Capture which channel they wish to read from: $ echo 2 > $PWMCHIP/capture To start a capture and read the result, simply read the file: $ cat $PWMCHIP/capture The output format is left to the device. Signed

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 in the right format. Using

[PATCH 07/11] pwm: sti: Initialise PWM Capture channel data

2016-02-10 Thread Lee Jones
Each PWM Capture channel is allocated a structure to hold its own state. During a capture the channel may be partaking in one of 3 phases. Initial (rising) phase change, a subsequent (falling) phase change indicating end of the duty-cycle phase and finally a final (rising) phase change indicating

[PATCH 03/11] pwm: sti: Reorganise register names in preparation for new functionality

2016-02-10 Thread Lee Jones
Exciting functionality is on the way to this device. But before we can add it, we need to do some basic housekeeping so the additions can be added cleanly. Signed-off-by: Lee Jones --- drivers/pwm/pwm-sti.c | 76 +++ 1 file changed, 41 insertions(

[PATCH 01/11] pwm: Add PWM Capture support

2016-02-10 Thread Lee Jones
Supply a PWM Capture call-back Op in order to pass back information obtained by running analysis on PWM a signal. This would normally (at least during testing) be called from the Sysfs routines with a view to printing out PWM Capture data which has been encoded into a string. Signed-off-by: Lee Jo

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

2016-02-10 Thread Greg Kurz
On Wed, 10 Feb 2016 13:48:09 +0200 "Michael S. Tsirkin" wrote: > On Wed, Jan 13, 2016 at 06:09:47PM +0100, Greg Kurz wrote: > > The way vring endianness is being handled currently obfuscates > > the code in vhost_init_used(). > > > > This patch tries to fix that by doing the following: > > - mov

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

2016-02-10 Thread Cornelia Huck
On Wed, 10 Feb 2016 13:11:34 +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: > > > diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c > > > index ad2146a9ab2d..e02e06755ab7 100644

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

2016-02-10 Thread Jiri Olsa
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 > > Signed-off-by: Namhyung Kim > > --- > > tools/perf/Documentation/perf

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

2016-02-10 Thread Jarod Wilson
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, Feb 09, 2016 at 11:17:57AM -0800, Stephen Hemminger wrote: > > > > Support for the new rx_noh

[PATCH v2 3/7] Documentation: bindings: document the Alpine MSIX driver

2016-02-10 Thread Antoine Tenart
Following the addition of the Alpine MSIX driver, this patch adds the corresponding bindings documentation. Signed-off-by: Antoine Tenart Signed-off-by: Tsahee Zidenberg --- .../interrupt-controller/al,alpine-msix.txt| 24 ++ 1 file changed, 24 insertions(+) create

[PATCH v2 7/7] arm: 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/arm/mach-alpine/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-alpine/Kconfig b/arch/arm/mach-alpine/Kconfig index 5c2d54f59f5

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

2016-02-10 Thread Lee Jones
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 > >+regulators, all linear regulators, GPIOs, and the 32kHz >

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

2016-02-10 Thread Rafael J. Wysocki
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. >> + * @util: Current utilization. >> + * @max: Utilization ceiling. >> + * >> + * This functi

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

2016-02-10 Thread Lukas Wunner
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 > > multi_v7_defconfig) failed like this: > > > > In file included from drivers

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: > > +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. Regards Oliver

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 in the right format. Using

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); > + vhost_adjust_vring_endian(vq); Sho

[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 | 2 +- 1 file changed, 1 insertion

[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 + drivers/irqchip/irq-alpine-msi.c | 293 +++ 3 fi

[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 a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms index bfbefa3e0db

[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 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm6

[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 b/arch/arm/boot/dts/alpine.dtsi ind

Re: [PATCH] Optimize int_sqrt for small values for faster idle

2016-02-10 Thread Fengguang Wu
On Tue, Feb 09, 2016 at 12:44:00PM -0800, Andi Kleen wrote: > On Sun, Feb 07, 2016 at 10:32:26PM +0100, Rasmus Villemoes wrote: > > On Mon, Feb 01 2016, Andi Kleen wrote: > > > > > On Mon, Feb 01, 2016 at 10:25:17PM +0100, Rasmus Villemoes wrote: > > >> On Thu, Jan 28 2016, Andi Kleen wrote: > >

[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 = copy

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 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 mu

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

2016-02-10 Thread Greg Kurz
On Wed, 10 Feb 2016 14:23:33 +0100 Cornelia Huck wrote: > 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; > >

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

2016-02-10 Thread Juri Lelli
On 10/02/16 13:48, Luca Abeni wrote: > Hi, > > On Wed, 10 Feb 2016 11:32:58 + > Juri Lelli wrote: > [...] > > From 62f70ca3051672dce209e8355cf5eddc9d825c2a Mon Sep 17 00:00:00 2001 > > From: Juri Lelli > > Date: Sat, 6 Feb 2016 12:41:09 + > > Subject: [PATCH 1/2] sched/deadline: add per

Re: [PATCH v2 3/3] mm/compaction: speed up pageblock_pfn_to_page() when zone is contiguous

2016-02-10 Thread Vlastimil Babka
On 02/09/2016 09:53 PM, Andrew Morton wrote: > On Tue, 9 Feb 2016 18:58:32 +0100 Vlastimil Babka wrote: > >> On 02/05/2016 05:11 PM, Joonsoo Kim wrote: >>> Yeah, it seems wrong to me. :) >>> Here goes fix. >> >> Doesn't apply for me, even after fixing the most obvious line wraps. >> Seems like th

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 c

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 volatil

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

2016-02-10 Thread Zubair Lutfullah Kakakhel
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 v4.5-rc3 Boot tested only on CN7130 based utm8. It does not oops and proceeds with the rest of the kernel boot. --- ar

Re: [PATCH 4/4] KVM: x86: track actual TSC frequency from the timekeeper struct

2016-02-10 Thread Paolo Bonzini
On 09/02/2016 19:41, Owen Hofmann wrote: > Hi, > Should this patch change the condition in pvclock_gtod_notify? > Currently it looks like we'll only request a masterclock update when > tsc is no longer a good clocksource. Yes, you're right. Paolo

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): ext4_init_block

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 > certain tim2 register bits after

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 + regula

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 @@ st

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. > >> + * @util: Current utilizat

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, and how is it related

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 wrote: >> >>> I'm afraid we've done some overlapping work

Re: [PATCH V4 15/23] acpi, mcfg: Implement two calls that might be used to inject/remove MCFG region.

2016-02-10 Thread Lorenzo Pieralisi
On Thu, Feb 04, 2016 at 06:28:53PM +0100, Tomasz Nowicki wrote: > Lets abstract two calls which allow to inject and remove MCFG regions > which may come from DSDT table. These calls will be used for x86 and ARM64 > PCI host bridge driver in the later patches. > > Signed-off-by: Tomasz Nowicki > T

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 v4.5-rc3 > > Boot tested only

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 skid > > in the description, w

[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 insertion(+), 1 deletion(-) diff

Re: [PATCH v2 2/2] gpio: Add driver for SPI serializers

2016-02-10 Thread Linus Walleij
On Mon, Jan 25, 2016 at 5:37 PM, Andrew F. Davis wrote: > Add generic parallel-in/serial-out shift register GPIO driver. > > This includes SPI compatible devices like SN74165 serial-out shift > registers and the SN65HVS88x series of industrial serializers that can > be read over the SPI bus and u

Re: mm, compaction: fix build errors with kcompactd

2016-02-10 Thread Vlastimil Babka
On 02/09/2016 03:15 PM, Arnd Bergmann wrote: > The newly added kcompactd code introduces multiple build errors: > > include/linux/compaction.h:91:12: error: 'kcompactd_run' defined but not used > [-Werror=unused-function] > mm/compaction.c:1953:2: error: implicit declaration of function > 'hotcp

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 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: > >>> By putting the device in suspend at the end of t

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 = f

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 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 se

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: [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 for > now, otherwise we have t

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 mo

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 using a proper

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 > --- > Changes fr

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: > By

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: > On 04/02/16 13:35, Vincent Guittot 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 >> >> while (--i >= 0) {

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 component of the tps65086 series, o

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: >> > >> > [...] >> > >> >> +/** >> >> + * cpufreq_update_util - Take a note

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

2016-02-10 Thread Namhyung Kim
On Wed, Feb 10, 2016 at 01:13:35PM +0100, Jiri Olsa wrote: > On Fri, Feb 05, 2016 at 10:01:46PM +0900, Namhyung Kim wrote: > > SNIP > > > + printed += fprintf(fp, "%s\n", buf); > > + > > + if (symbol_conf.use_callchain && he->leaf) { > > + u64 total = hists__total_period(hists); > >

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 and depends on > Tom

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(&hists->entries); nd; nd = rb_next(nd)) { > > > + for (nd =

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 discrete based pin >> muxing and control. Nevertheles

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 Thanks, applied for fixes and

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] 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: C

[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 suc

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 be <1> What is t

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 > Luca for your feed

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 > > diff --git a/Docume

Re: [PATCH 4/8] arm: dts: add Artpec-6 soc dtsi file

2016-02-10 Thread Arnd Bergmann
On Wednesday 10 February 2016 13:41:53 Lars Persson wrote: > Signed-off-by: Lars Persson > --- Missing changelog > arch/arm/boot/dts/artpec6.dtsi | 238 > + > 1 file changed, 238 insertions(+) > create mode 100644 arch/arm/boot/dts/artpec6.dtsi > > dif

Re: [PATCH 6/8] arm: initial machine port for artpec-6 SoC

2016-02-10 Thread Arnd Bergmann
On Wednesday 10 February 2016 13:41:55 Lars Persson wrote: > @@ -0,0 +1,22 @@ > +menuconfig ARCH_ARTPEC > + bool "Axis Communications ARM based ARTPEC SoCs" if ARCH_MULTI_V7 > + > +if ARCH_ARTPEC > + > +config MACH_ARTPEC6 > + bool "Axis ARTPEC-6 ARM Cortex A9 Platform" if ARCH_MULTI_V7 Ch

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 8e8b2ac..bf3840e 10

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 th

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:

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 (cnt == 0) { > > +

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, Rafael J. Wysocki wrote: > >> > > >> > [...]

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 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)

[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 Petazzoni Acked-by: Gregory CLEMENT --

[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 th

[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 --- drivers/irqchip/irq-armada-370-xp.c | 25 ++--- 1 file changed,

<    1   2   3   4   5   6   7   8   9   >