[PATCH v3 0/2] XRA1403,gpio - add XRA1403 gpio expander driver

2017-05-14 Thread Nandor Han
The patchset will add a driver to support basic functionality for XRA1403 device. Features supported: - get/set GPIO direction (input, output) - get/set GPIO level (low, high) Documentation: A gpio-xra1403.txt file was added to document the DTS bindings related to driver.

[PATCH v3 2/2] Add XRA1403 support to MAINTAINERS file

2017-05-14 Thread Nandor Han
Add XRA1403 support to MAINTAINERS list. Signed-off-by: Nandor Han --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index f9deb67..db86335 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -14078,6 +14078,14 @@ L:

[PATCH v3 0/2] XRA1403,gpio - add XRA1403 gpio expander driver

2017-05-14 Thread Nandor Han
The patchset will add a driver to support basic functionality for XRA1403 device. Features supported: - get/set GPIO direction (input, output) - get/set GPIO level (low, high) Documentation: A gpio-xra1403.txt file was added to document the DTS bindings related to driver.

[PATCH v3 2/2] Add XRA1403 support to MAINTAINERS file

2017-05-14 Thread Nandor Han
Add XRA1403 support to MAINTAINERS list. Signed-off-by: Nandor Han --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index f9deb67..db86335 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -14078,6 +14078,14 @@ L: linux-kernel@vger.kernel.org

[PATCH v3 1/2] gpio - Add EXAR XRA1403 SPI GPIO expander driver

2017-05-14 Thread Nandor Han
This driver support basic XRA1403 functionalities: - set gpio direction - get gpio direction - set gpio high/low - get gpio status Signed-off-by: Nandor Han Signed-off-by: Semi Malinen --- drivers/gpio/Kconfig| 5 +

[PATCH v3 1/2] gpio - Add EXAR XRA1403 SPI GPIO expander driver

2017-05-14 Thread Nandor Han
This driver support basic XRA1403 functionalities: - set gpio direction - get gpio direction - set gpio high/low - get gpio status Signed-off-by: Nandor Han Signed-off-by: Semi Malinen --- drivers/gpio/Kconfig| 5 + drivers/gpio/Makefile | 1 +

Re: [PATCH 2/2] ipack: Improve a size determination in ipack_bus_register()

2017-05-14 Thread Greg Kroah-Hartman
On Mon, May 15, 2017 at 06:52:47AM +0200, Samuel Iglesias Gonsálvez wrote: > Hello Markus, > > Thanks for the patches! > > Series is, > > Acked-by: Samuel Iglesias Gonsalvez > > Greg, Would you mind picking this patch series through your char-misc > tree? I'm sorry, but

Re: [PATCH 2/2] ipack: Improve a size determination in ipack_bus_register()

2017-05-14 Thread Greg Kroah-Hartman
On Mon, May 15, 2017 at 06:52:47AM +0200, Samuel Iglesias Gonsálvez wrote: > Hello Markus, > > Thanks for the patches! > > Series is, > > Acked-by: Samuel Iglesias Gonsalvez > > Greg, Would you mind picking this patch series through your char-misc > tree? I'm sorry, but this person is in my

[PATCH 3/3] clk: hi3660: Set PPLL2 to 2880M

2017-05-14 Thread Guodong Xu
From: Zhong Kaihua Set PPLL2 to 2880M. With this patch, we saw better compatibility on various 1080p HDMI monitors. Signed-off-by: Zhong Kaihua Signed-off-by: Zheng Shaobo --- drivers/clk/hisilicon/clk-hi3660.c | 4 ++--

[PATCH 2/3] clk: hi3660: add clocks for video encoder and decoder

2017-05-14 Thread Guodong Xu
From: Chen Jun This patch adds clocks for video encoder and decoder. Signed-off-by: Chen Jun Signed-off-by: Guodong Xu --- drivers/clk/hisilicon/clk-hi3660.c | 23 +++

[PATCH 3/3] clk: hi3660: Set PPLL2 to 2880M

2017-05-14 Thread Guodong Xu
From: Zhong Kaihua Set PPLL2 to 2880M. With this patch, we saw better compatibility on various 1080p HDMI monitors. Signed-off-by: Zhong Kaihua Signed-off-by: Zheng Shaobo --- drivers/clk/hisilicon/clk-hi3660.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 2/3] clk: hi3660: add clocks for video encoder and decoder

2017-05-14 Thread Guodong Xu
From: Chen Jun This patch adds clocks for video encoder and decoder. Signed-off-by: Chen Jun Signed-off-by: Guodong Xu --- drivers/clk/hisilicon/clk-hi3660.c | 23 +++ include/dt-bindings/clock/hi3660-clock.h | 10 ++ 2 files changed, 33 insertions(+) diff

[PATCH 1/3] clk: hi3660: fix wrong parent name of clk_mux_sysbus

2017-05-14 Thread Guodong Xu
From: Chen Jun Parent name of clk_mux_sysbus is not correct. This patch fixes it. Signed-off-by: Chen Jun Signed-off-by: John Stultz Signed-off-by: Guodong Xu --- drivers/clk/hisilicon/clk-hi3660.c |

[PATCH 1/3] clk: hi3660: fix wrong parent name of clk_mux_sysbus

2017-05-14 Thread Guodong Xu
From: Chen Jun Parent name of clk_mux_sysbus is not correct. This patch fixes it. Signed-off-by: Chen Jun Signed-off-by: John Stultz Signed-off-by: Guodong Xu --- drivers/clk/hisilicon/clk-hi3660.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git

Re: [PATCH] net: fec: select queue depending on VLAN priority

2017-05-14 Thread Stefan Agner
On 2017-05-10 21:49, Andy Duan wrote: > From: Stefan Agner Sent: Thursday, May 11, 2017 12:08 PM >>To: Andy Duan >>Cc: David Miller ; and...@lunn.ch; >>feste...@gmail.com; net...@vger.kernel.org; linux- >>ker...@vger.kernel.org

Re: [PATCH] net: fec: select queue depending on VLAN priority

2017-05-14 Thread Stefan Agner
On 2017-05-10 21:49, Andy Duan wrote: > From: Stefan Agner Sent: Thursday, May 11, 2017 12:08 PM >>To: Andy Duan >>Cc: David Miller ; and...@lunn.ch; >>feste...@gmail.com; net...@vger.kernel.org; linux- >>ker...@vger.kernel.org >>Subject: Re: [PATCH] net: fec: select queue depending on VLAN

[PATCH] drivers/staging/ccree: Removing trailing whitespaces

2017-05-14 Thread Pushkar Jambhlekar
Fixing 'checkpatch.pl' warnings: Trailing whitespaces Signed-off-by: Pushkar Jambhlekar --- drivers/staging/ccree/ssi_cipher.c | 110 ++--- 1 file changed, 55 insertions(+), 55 deletions(-) diff --git a/drivers/staging/ccree/ssi_cipher.c

[PATCH] drivers/staging/ccree: Removing trailing whitespaces

2017-05-14 Thread Pushkar Jambhlekar
Fixing 'checkpatch.pl' warnings: Trailing whitespaces Signed-off-by: Pushkar Jambhlekar --- drivers/staging/ccree/ssi_cipher.c | 110 ++--- 1 file changed, 55 insertions(+), 55 deletions(-) diff --git a/drivers/staging/ccree/ssi_cipher.c

Re: [patch 09/18] cpufreq/pasemi: Adjust system_state check

2017-05-14 Thread Viresh Kumar
On 14-05-17, 20:27, Thomas Gleixner wrote: > To enable smp_processor_id() and might_sleep() debug checks earlier, it's > required to add system states between SYSTEM_BOOTING and SYSTEM_RUNNING. > > Adjust the system_state check in pas_cpufreq_cpu_exit() to handle the extra > states. > >

Re: [patch 09/18] cpufreq/pasemi: Adjust system_state check

2017-05-14 Thread Viresh Kumar
On 14-05-17, 20:27, Thomas Gleixner wrote: > To enable smp_processor_id() and might_sleep() debug checks earlier, it's > required to add system states between SYSTEM_BOOTING and SYSTEM_RUNNING. > > Adjust the system_state check in pas_cpufreq_cpu_exit() to handle the extra > states. > >

Re: [PATCH v5] iio: adc: Add support for TI ADC108S102 and ADC128S102

2017-05-14 Thread Jan Kiszka
On 2017-05-14 17:50, Jonathan Cameron wrote: > On 08/05/17 09:46, Jan Kiszka wrote: >> This is an upstream port of an IIO driver for the TI ADC108S102 and >> ADC128S102. The former can be found on the Intel Galileo Gen2 and the >> Siemens SIMATIC IOT2000. For those boards, ACPI-based enumeration

Re: [PATCH v5] iio: adc: Add support for TI ADC108S102 and ADC128S102

2017-05-14 Thread Jan Kiszka
On 2017-05-14 17:50, Jonathan Cameron wrote: > On 08/05/17 09:46, Jan Kiszka wrote: >> This is an upstream port of an IIO driver for the TI ADC108S102 and >> ADC128S102. The former can be found on the Intel Galileo Gen2 and the >> Siemens SIMATIC IOT2000. For those boards, ACPI-based enumeration

Re: [PATCH 2/2] ipack: Improve a size determination in ipack_bus_register()

2017-05-14 Thread Samuel Iglesias Gonsálvez
Hello Markus, Thanks for the patches! Series is, Acked-by: Samuel Iglesias Gonsalvez Greg, Would you mind picking this patch series through your char-misc tree? Sam On Sat, 2017-05-13 at 10:56 +0200, SF Markus Elfring wrote: > From: Markus Elfring

Re: [PATCH 2/2] ipack: Improve a size determination in ipack_bus_register()

2017-05-14 Thread Samuel Iglesias Gonsálvez
Hello Markus, Thanks for the patches! Series is, Acked-by: Samuel Iglesias Gonsalvez Greg, Would you mind picking this patch series through your char-misc tree? Sam On Sat, 2017-05-13 at 10:56 +0200, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sat, 13 May 2017 10:37:06 +0200 >

Re: nouveau "eDP-1: EDID is invalid" regression after 4.11 with HP ZBook 15 G3

2017-05-14 Thread Tommi Rantala
2017-05-15 3:03 GMT+03:00 Ben Skeggs : > On 05/15/2017 01:10 AM, Tommi Rantala wrote: >> >> Hi, > > Hey Tommi, > > Thanks for bisecting this. It's rather unexpected that you should be seeing > problems here, but, the commit makes sense for it at least. > > Are you able to get

Re: nouveau "eDP-1: EDID is invalid" regression after 4.11 with HP ZBook 15 G3

2017-05-14 Thread Tommi Rantala
2017-05-15 3:03 GMT+03:00 Ben Skeggs : > On 05/15/2017 01:10 AM, Tommi Rantala wrote: >> >> Hi, > > Hey Tommi, > > Thanks for bisecting this. It's rather unexpected that you should be seeing > problems here, but, the commit makes sense for it at least. > > Are you able to get me new kernel logs

Re: [PATCH 04/11] arm64: dts: Initial DTS files for Broadcom Stingray SOC

2017-05-14 Thread Anup Patel
On Tue, May 9, 2017 at 2:02 AM, Scott Branden wrote: > One update below needed dealing with memreserve > > > On 17-05-06 04:54 AM, Anup Patel wrote: >> >> The Broadcom Stingray SoC is a new member in Broadcom iProc >> SoC family. >> >> This patch adds initial DTS files

Re: [PATCH 04/11] arm64: dts: Initial DTS files for Broadcom Stingray SOC

2017-05-14 Thread Anup Patel
On Tue, May 9, 2017 at 2:02 AM, Scott Branden wrote: > One update below needed dealing with memreserve > > > On 17-05-06 04:54 AM, Anup Patel wrote: >> >> The Broadcom Stingray SoC is a new member in Broadcom iProc >> SoC family. >> >> This patch adds initial DTS files for Broadcom Stingray SoC

Re: [PATCH 04/11] arm64: dts: Initial DTS files for Broadcom Stingray SOC

2017-05-14 Thread Anup Patel
On Mon, May 8, 2017 at 5:00 AM, Florian Fainelli wrote: > Le 05/06/17 à 04:54, Anup Patel a écrit : >> The Broadcom Stingray SoC is a new member in Broadcom iProc >> SoC family. >> >> This patch adds initial DTS files for Broadcom Stingray SoC >> and two of its reference

Re: [PATCH 04/11] arm64: dts: Initial DTS files for Broadcom Stingray SOC

2017-05-14 Thread Anup Patel
On Mon, May 8, 2017 at 5:00 AM, Florian Fainelli wrote: > Le 05/06/17 à 04:54, Anup Patel a écrit : >> The Broadcom Stingray SoC is a new member in Broadcom iProc >> SoC family. >> >> This patch adds initial DTS files for Broadcom Stingray SoC >> and two of its reference boards (bcm958742k and

Re: [PATCH 02/11] dt-bindings: clk: Extend binding doc for Stingray SOC

2017-05-14 Thread Anup Patel
On Fri, May 12, 2017 at 8:51 PM, Rob Herring wrote: > On Sat, May 06, 2017 at 05:24:37PM +0530, Anup Patel wrote: >> From: Sandeep Tripathy >> >> Update iproc clock dt-binding documentation with >> Stingray pll and clock details. >> >>

Re: [PATCH 02/11] dt-bindings: clk: Extend binding doc for Stingray SOC

2017-05-14 Thread Anup Patel
On Fri, May 12, 2017 at 8:51 PM, Rob Herring wrote: > On Sat, May 06, 2017 at 05:24:37PM +0530, Anup Patel wrote: >> From: Sandeep Tripathy >> >> Update iproc clock dt-binding documentation with >> Stingray pll and clock details. >> >> Signed-off-by: Sandeep Tripathy >> Reviewed-by: Ray Jui >>

Re: linux-next: build warning after merge of the akpm-current tree

2017-05-14 Thread Stephen Rothwell
Hi Xunlei, On Mon, 15 May 2017 12:02:18 +0800 Xunlei Pang wrote: > > The following patch will fix it, do you want to me to send it out separately? > or help merge it into > fc7d2b44367f ("powerpc/fadump: use the correct VMCOREINFO_NOTE_SIZE for > phdr") directly? Andrew

Re: linux-next: build warning after merge of the akpm-current tree

2017-05-14 Thread Stephen Rothwell
Hi Xunlei, On Mon, 15 May 2017 12:02:18 +0800 Xunlei Pang wrote: > > The following patch will fix it, do you want to me to send it out separately? > or help merge it into > fc7d2b44367f ("powerpc/fadump: use the correct VMCOREINFO_NOTE_SIZE for > phdr") directly? Andrew normally takes these

Re: [linux-next, bisected, 1945bc45] build brakes for PowerPC BE configuration on LPAR

2017-05-14 Thread Michael Ellerman
On Thu, 2017-05-04 at 10:41:12 UTC, Nicholas Piggin wrote: > On Thu, 04 May 2017 14:54:19 +0530 > Abdul Haleem wrote: > > > Hi, > > > > linux-next build fails on BE config with next-20170424 onwards > > > > the patch https://lkml.org/lkml/2017/4/20/994 fixes a

Re: powerpc: fix distclean with Makefile.postlink

2017-05-14 Thread Michael Ellerman
On Mon, 2017-05-08 at 08:50:16 UTC, =?utf-8?q?Horia_Geant=C4=83?= wrote: > Makefile.postlink always includes include/config/auto.conf, however > this file is not present in a clean kernel tree, causing make to fail: > > arch/powerpc/Makefile.postlink:10: include/config/auto.conf: No such file or

Re: [linux-next, bisected, 1945bc45] build brakes for PowerPC BE configuration on LPAR

2017-05-14 Thread Michael Ellerman
On Thu, 2017-05-04 at 10:41:12 UTC, Nicholas Piggin wrote: > On Thu, 04 May 2017 14:54:19 +0530 > Abdul Haleem wrote: > > > Hi, > > > > linux-next build fails on BE config with next-20170424 onwards > > > > the patch https://lkml.org/lkml/2017/4/20/994 fixes a similar issue > > with kvm guest

Re: powerpc: fix distclean with Makefile.postlink

2017-05-14 Thread Michael Ellerman
On Mon, 2017-05-08 at 08:50:16 UTC, =?utf-8?q?Horia_Geant=C4=83?= wrote: > Makefile.postlink always includes include/config/auto.conf, however > this file is not present in a clean kernel tree, causing make to fail: > > arch/powerpc/Makefile.postlink:10: include/config/auto.conf: No such file or

[PATCH v8 2/4] async_tx: Fix DMA_PREP_FENCE usage in do_async_gen_syndrome()

2017-05-14 Thread Anup Patel
The DMA_PREP_FENCE is to be used when preparing Tx descriptor if output of Tx descriptor is to be used by next/dependent Tx descriptor. The DMA_PREP_FENSE will not be set correctly in do_async_gen_syndrome() when calling dma->device_prep_dma_pq() under following conditions: 1. ASYNC_TX_FENCE not

[PATCH v8 2/4] async_tx: Fix DMA_PREP_FENCE usage in do_async_gen_syndrome()

2017-05-14 Thread Anup Patel
The DMA_PREP_FENCE is to be used when preparing Tx descriptor if output of Tx descriptor is to be used by next/dependent Tx descriptor. The DMA_PREP_FENSE will not be set correctly in do_async_gen_syndrome() when calling dma->device_prep_dma_pq() under following conditions: 1. ASYNC_TX_FENCE not

[PATCH v8 4/4] dt-bindings: Add DT bindings document for Broadcom SBA RAID driver

2017-05-14 Thread Anup Patel
This patch adds the DT bindings document for newly added Broadcom SBA RAID driver. Acked-by: Rob Herring Reviewed-by: Ray Jui Reviewed-by: Scott Branden Signed-off-by: Anup Patel ---

[PATCH v8 4/4] dt-bindings: Add DT bindings document for Broadcom SBA RAID driver

2017-05-14 Thread Anup Patel
This patch adds the DT bindings document for newly added Broadcom SBA RAID driver. Acked-by: Rob Herring Reviewed-by: Ray Jui Reviewed-by: Scott Branden Signed-off-by: Anup Patel --- .../devicetree/bindings/dma/brcm,iproc-sba.txt | 29 ++ 1 file changed, 29

[PATCH v8 3/4] dmaengine: Add Broadcom SBA RAID driver

2017-05-14 Thread Anup Patel
The Broadcom stream buffer accelerator (SBA) provides offloading capabilities for RAID operations. This SBA offload engine is accessible via Broadcom SoC specific ring manager. This patch adds Broadcom SBA RAID driver which provides one DMA device with RAID capabilities using one or more Broadcom

[PATCH v8 3/4] dmaengine: Add Broadcom SBA RAID driver

2017-05-14 Thread Anup Patel
The Broadcom stream buffer accelerator (SBA) provides offloading capabilities for RAID operations. This SBA offload engine is accessible via Broadcom SoC specific ring manager. This patch adds Broadcom SBA RAID driver which provides one DMA device with RAID capabilities using one or more Broadcom

[PATCH v8 0/4] Broadcom SBA RAID support

2017-05-14 Thread Anup Patel
The Broadcom SBA RAID is a stream-based device which provides RAID5/6 offload. It requires a SoC specific ring manager (such as Broadcom FlexRM ring manager) to provide ring-based programming interface. Due to this, the Broadcom SBA RAID driver (mailbox client) implements DMA device having one

[PATCH v8 1/4] lib/raid6: Add log-of-2 table for RAID6 HW requiring disk position

2017-05-14 Thread Anup Patel
The raid6_gfexp table represents {2}^n values for 0 <= n < 256. The Linux async_tx framework pass values from raid6_gfexp as coefficients for each source to prep_dma_pq() callback of DMA channel with PQ capability. This creates problem for RAID6 offload engines (such as Broadcom SBA) which take

[PATCH v8 0/4] Broadcom SBA RAID support

2017-05-14 Thread Anup Patel
The Broadcom SBA RAID is a stream-based device which provides RAID5/6 offload. It requires a SoC specific ring manager (such as Broadcom FlexRM ring manager) to provide ring-based programming interface. Due to this, the Broadcom SBA RAID driver (mailbox client) implements DMA device having one

[PATCH v8 1/4] lib/raid6: Add log-of-2 table for RAID6 HW requiring disk position

2017-05-14 Thread Anup Patel
The raid6_gfexp table represents {2}^n values for 0 <= n < 256. The Linux async_tx framework pass values from raid6_gfexp as coefficients for each source to prep_dma_pq() callback of DMA channel with PQ capability. This creates problem for RAID6 offload engines (such as Broadcom SBA) which take

RE: [PATCH 1/2] Revert "ACPI / button: Remove lid_init_state=method mode"

2017-05-14 Thread Zheng, Lv
Hi, Benjamin Let's stop endless discussing and focus on our needs. I just copied my questions here. You can ask them directly. For the below inlined replies, I'll stop replying if they are based on dependent on our basic agreements. And I'll reply if something is really bad from my point of

RE: [PATCH 1/2] Revert "ACPI / button: Remove lid_init_state=method mode"

2017-05-14 Thread Zheng, Lv
Hi, Benjamin Let's stop endless discussing and focus on our needs. I just copied my questions here. You can ask them directly. For the below inlined replies, I'll stop replying if they are based on dependent on our basic agreements. And I'll reply if something is really bad from my point of

Re: [PATCH] i2c: mux: only print failure message on error

2017-05-14 Thread Leon Romanovsky
On Sun, May 14, 2017 at 06:41:13PM +0200, Peter Rosin wrote: > As is, a failure message is printed unconditionally, which is confusing. > And noisy. > > Fixes: 8d4d159f25a7 ("i2c: mux: provide more info on failure in > i2c_mux_add_adapter") > Signed-off-by: Peter Rosin > --- >

Re: [PATCH] i2c: mux: only print failure message on error

2017-05-14 Thread Leon Romanovsky
On Sun, May 14, 2017 at 06:41:13PM +0200, Peter Rosin wrote: > As is, a failure message is printed unconditionally, which is confusing. > And noisy. > > Fixes: 8d4d159f25a7 ("i2c: mux: provide more info on failure in > i2c_mux_add_adapter") > Signed-off-by: Peter Rosin > --- >

Re: [PATCH] staging: iio: meter: Replace symbolic permissions with octal permissions

2017-05-14 Thread harinath Nampally
Jonathan, Thank you for letting me know about correct iio git tree. I checked out 'togreg' branch, and noticed that latest ade7758_core.c still has checkpatch.pl warnings. Actually Quentin Swain fixed the similar warnings in the ade7854.c, and my patch is fix for similar warnings but it is for

Re: [PATCH] staging: iio: meter: Replace symbolic permissions with octal permissions

2017-05-14 Thread harinath Nampally
Jonathan, Thank you for letting me know about correct iio git tree. I checked out 'togreg' branch, and noticed that latest ade7758_core.c still has checkpatch.pl warnings. Actually Quentin Swain fixed the similar warnings in the ade7854.c, and my patch is fix for similar warnings but it is for

Re: [PATCH] staging: iio: meter: Replace symbolic permissions with octal permissions

2017-05-14 Thread harinath Nampally
Jonathan, Thank you for letting me know about correct iio git tree. I checked out 'togreg' branch, and noticed that latest ade7758_core.c still has checkpatch.pl warnings. Actually Quentin Swain fixed the similar warnings in the ade7854.c, and my patch is fix for similar warnings but it is for

Re: [PATCH] staging: iio: meter: Replace symbolic permissions with octal permissions

2017-05-14 Thread harinath Nampally
Jonathan, Thank you for letting me know about correct iio git tree. I checked out 'togreg' branch, and noticed that latest ade7758_core.c still has checkpatch.pl warnings. Actually Quentin Swain fixed the similar warnings in the ade7854.c, and my patch is fix for similar warnings but it is for

Re: [drm:qxl] BUG: sleeping function called from invalid context - qxl_bo_kmap_atomic_page()...splat

2017-05-14 Thread Gabriel Krisman Bertazi
Mike Galbraith writes: > On Tue, 2017-05-09 at 04:37 +0200, Mike Galbraith wrote: >> On Mon, 2017-05-08 at 16:48 -0300, Gabriel Krisman Bertazi wrote: >> >> > Thanks for reporting this. Can you confirm the following patch prevents >> > the issue? >> >> Nope, it still gripes. >

Re: [drm:qxl] BUG: sleeping function called from invalid context - qxl_bo_kmap_atomic_page()...splat

2017-05-14 Thread Gabriel Krisman Bertazi
Mike Galbraith writes: > On Tue, 2017-05-09 at 04:37 +0200, Mike Galbraith wrote: >> On Mon, 2017-05-08 at 16:48 -0300, Gabriel Krisman Bertazi wrote: >> >> > Thanks for reporting this. Can you confirm the following patch prevents >> > the issue? >> >> Nope, it still gripes. > > The reason

Re: [PATCH v2 6/8] drm: Introduce drm_bridge_mode_valid()

2017-05-14 Thread Archit Taneja
On 05/12/2017 04:31 PM, Laurent Pinchart wrote: Hi Archit, On Friday 12 May 2017 16:20:07 Archit Taneja wrote: On 05/12/2017 03:08 PM, Laurent Pinchart wrote: On Wednesday 10 May 2017 17:14:33 Daniel Vetter wrote: On Wed, May 10, 2017 at 04:41:09PM +0300, Ville Syrjälä wrote: On Tue, May

Re: [PATCH v2 6/8] drm: Introduce drm_bridge_mode_valid()

2017-05-14 Thread Archit Taneja
On 05/12/2017 04:31 PM, Laurent Pinchart wrote: Hi Archit, On Friday 12 May 2017 16:20:07 Archit Taneja wrote: On 05/12/2017 03:08 PM, Laurent Pinchart wrote: On Wednesday 10 May 2017 17:14:33 Daniel Vetter wrote: On Wed, May 10, 2017 at 04:41:09PM +0300, Ville Syrjälä wrote: On Tue, May

[PATCH] net: x25: fix one potential use-after-free issue

2017-05-14 Thread linzhang
The function x25_init is not properly unregister related resources on error handler.It is will result in kernel oops if x25_init init failed, so add right unregister call on error handler. Signed-off-by: linzhang --- net/x25/af_x25.c | 6 -- 1 file changed, 4

[PATCH] net: x25: fix one potential use-after-free issue

2017-05-14 Thread linzhang
The function x25_init is not properly unregister related resources on error handler.It is will result in kernel oops if x25_init init failed, so add right unregister call on error handler. Signed-off-by: linzhang --- net/x25/af_x25.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-)

Re: [PATCH v2 1/3] sched/deadline: Zero out positive runtime after throttling constrained tasks

2017-05-14 Thread Xunlei Pang
On 05/12/2017 at 11:32 AM, Xunlei Pang wrote: > When a contrained task is throttled by dl_check_constrained_dl(), > it may carry the remaining positive runtime, as a result when > dl_task_timer() fires and calls replenish_dl_entity(), it will > not be replenished correctly due to the positive

Re: [PATCH v2 1/3] sched/deadline: Zero out positive runtime after throttling constrained tasks

2017-05-14 Thread Xunlei Pang
On 05/12/2017 at 11:32 AM, Xunlei Pang wrote: > When a contrained task is throttled by dl_check_constrained_dl(), > it may carry the remaining positive runtime, as a result when > dl_task_timer() fires and calls replenish_dl_entity(), it will > not be replenished correctly due to the positive

Re: [PATCH] selftests/vm: Fix test for virtual address range mapping for arm64

2017-05-14 Thread Anshuman Khandual
On 05/10/2017 12:30 AM, Michal Suchanek wrote: > Arm64 has 256TB address space so fix the test to pass on Arm as well. > > Also remove unneeded numaif include. > > Signed-off-by: Michal Suchanek > --- > tools/testing/selftests/vm/virtual_address_range.c | 36 >

Re: [PATCH] selftests/vm: Fix test for virtual address range mapping for arm64

2017-05-14 Thread Anshuman Khandual
On 05/10/2017 12:30 AM, Michal Suchanek wrote: > Arm64 has 256TB address space so fix the test to pass on Arm as well. > > Also remove unneeded numaif include. > > Signed-off-by: Michal Suchanek > --- > tools/testing/selftests/vm/virtual_address_range.c | 36 > -- > 1 file

Re: linux-next: build warning after merge of the akpm-current tree

2017-05-14 Thread Xunlei Pang
On 05/15/2017 at 09:56 AM, Stephen Rothwell wrote: > Hi Andrew, > > After merging the akpm-current tree, today's linux-next build (arm > multi_v7_defconfig) produced this warning: > > In file included from include/asm-generic/bug.h:15:0, > from arch/arm/include/asm/bug.h:59, >

Re: linux-next: build warning after merge of the akpm-current tree

2017-05-14 Thread Xunlei Pang
On 05/15/2017 at 09:56 AM, Stephen Rothwell wrote: > Hi Andrew, > > After merging the akpm-current tree, today's linux-next build (arm > multi_v7_defconfig) produced this warning: > > In file included from include/asm-generic/bug.h:15:0, > from arch/arm/include/asm/bug.h:59, >

Re: [PATCH v7 0/7] Introduce ZONE_CMA

2017-05-14 Thread Joonsoo Kim
On Fri, May 12, 2017 at 08:38:15AM +0200, Michal Hocko wrote: > On Fri 12-05-17 11:00:48, Joonsoo Kim wrote: > > On Thu, May 11, 2017 at 11:13:04AM +0200, Michal Hocko wrote: > > > On Thu 11-05-17 11:12:43, Joonsoo Kim wrote: > > > > Sorry for the late response. I was on a vacation. > > > > > > >

Re: [PATCH v7 0/7] Introduce ZONE_CMA

2017-05-14 Thread Joonsoo Kim
On Fri, May 12, 2017 at 08:38:15AM +0200, Michal Hocko wrote: > On Fri 12-05-17 11:00:48, Joonsoo Kim wrote: > > On Thu, May 11, 2017 at 11:13:04AM +0200, Michal Hocko wrote: > > > On Thu 11-05-17 11:12:43, Joonsoo Kim wrote: > > > > Sorry for the late response. I was on a vacation. > > > > > > >

Re: [PATCH v2 2/3] sched/deadline: Throttle the task when missing its deadline

2017-05-14 Thread Xunlei Pang
On 05/13/2017 at 04:58 AM, luca abeni wrote: > On Fri, 12 May 2017 15:19:55 +0800 > Xunlei Pang wrote: > [...] "As seen, enforcing that the total utilization is smaller than M does not guarantee that global EDF schedules the tasks without missing any deadline (in

Re: [PATCH v2 2/3] sched/deadline: Throttle the task when missing its deadline

2017-05-14 Thread Xunlei Pang
On 05/13/2017 at 04:58 AM, luca abeni wrote: > On Fri, 12 May 2017 15:19:55 +0800 > Xunlei Pang wrote: > [...] "As seen, enforcing that the total utilization is smaller than M does not guarantee that global EDF schedules the tasks without missing any deadline (in other words,

RE: [RFC PATCH 6/6] drm/i915/gvt: support QEMU getting the dmabuf

2017-05-14 Thread Chen, Xiaoguang
Hi Alex and Gerd, >-Original Message- >From: Alex Williamson [mailto:alex.william...@redhat.com] >Sent: Saturday, May 13, 2017 12:38 AM >To: Gerd Hoffmann >Cc: Chen, Xiaoguang ; Tian, Kevin >;

RE: [RFC PATCH 6/6] drm/i915/gvt: support QEMU getting the dmabuf

2017-05-14 Thread Chen, Xiaoguang
Hi Alex and Gerd, >-Original Message- >From: Alex Williamson [mailto:alex.william...@redhat.com] >Sent: Saturday, May 13, 2017 12:38 AM >To: Gerd Hoffmann >Cc: Chen, Xiaoguang ; Tian, Kevin >; intel-...@lists.freedesktop.org; linux- >ker...@vger.kernel.org; zhen...@linux.intel.com; Lv,

Re: [PATCH 1/3] Fix ERROR: trailing statements should be on next line

2017-05-14 Thread Alex Williamson
On Mon, 15 May 2017 05:58:05 +0300 "Michael S. Tsirkin" wrote: > On Sun, May 14, 2017 at 07:51:28PM +0200, Maciek Fijalkowski wrote: > > From: Maciej Fijalkowski > > > > Signed-off-by: Maciej Fijalkowski > > I prefer the original form - ;

Re: [PATCH 1/3] Fix ERROR: trailing statements should be on next line

2017-05-14 Thread Alex Williamson
On Mon, 15 May 2017 05:58:05 +0300 "Michael S. Tsirkin" wrote: > On Sun, May 14, 2017 at 07:51:28PM +0200, Maciek Fijalkowski wrote: > > From: Maciej Fijalkowski > > > > Signed-off-by: Maciej Fijalkowski > > I prefer the original form - ; isn't a full statement. > > > --- > >

[PATCH v4 2/2] dt-bindings: pcie: Add documentation for Mediatek PCIe

2017-05-14 Thread Ryder Lee
Add documentation for PCIe host driver available in MT7623 series SoCs. Signed-off-by: Ryder Lee Acked-by: Rob Herring --- .../bindings/pci/mediatek,mt7623-pcie.txt | 130 + 1 file changed, 130 insertions(+) create mode

Re: [PATCH v2 3/3] staging: iio: meter: Replace symbolic permissions with octal permissions.

2017-05-14 Thread harinath Nampally
Jonathan, Thank you for letting me know. In future I will work on 'togreg' branch of iio.git tree to send my patches. Thanks, Harinath On Sun, May 14, 2017 at 11:29 AM, Jonathan Cameron wrote: > On 10/05/17 00:41, Harinath Nampally wrote: >> >> This patch fixes below kind of

[PATCH v4 2/2] dt-bindings: pcie: Add documentation for Mediatek PCIe

2017-05-14 Thread Ryder Lee
Add documentation for PCIe host driver available in MT7623 series SoCs. Signed-off-by: Ryder Lee Acked-by: Rob Herring --- .../bindings/pci/mediatek,mt7623-pcie.txt | 130 + 1 file changed, 130 insertions(+) create mode 100644

Re: [PATCH v2 3/3] staging: iio: meter: Replace symbolic permissions with octal permissions.

2017-05-14 Thread harinath Nampally
Jonathan, Thank you for letting me know. In future I will work on 'togreg' branch of iio.git tree to send my patches. Thanks, Harinath On Sun, May 14, 2017 at 11:29 AM, Jonathan Cameron wrote: > On 10/05/17 00:41, Harinath Nampally wrote: >> >> This patch fixes below kind of warnings: >>

[PATCH v4 0/2] Add PCIe host driver support for Mediatek SoCs

2017-05-14 Thread Ryder Lee
Hi, This patch series add Mediatek Gen2 PCIe host controller driver and dt-binding document. It can be found on MT7623 series SoCs. This driver was validated using Broadcom Tigon3 and Intel(R) 82575/82576 gigabit ethernet card. P.S. Hi Arnd, I still keep interrupt-map properties of the child

[PATCH v4 1/2] PCI: mediatek: Add Mediatek PCIe host controller support

2017-05-14 Thread Ryder Lee
Add support for the Mediatek PCIe Gen2 controller which can be found on MT7623 series SoCs. Signed-off-by: Ryder Lee --- drivers/pci/host/Kconfig | 11 + drivers/pci/host/Makefile| 1 + drivers/pci/host/pcie-mediatek.c | 559

[PATCH v4 0/2] Add PCIe host driver support for Mediatek SoCs

2017-05-14 Thread Ryder Lee
Hi, This patch series add Mediatek Gen2 PCIe host controller driver and dt-binding document. It can be found on MT7623 series SoCs. This driver was validated using Broadcom Tigon3 and Intel(R) 82575/82576 gigabit ethernet card. P.S. Hi Arnd, I still keep interrupt-map properties of the child

[PATCH v4 1/2] PCI: mediatek: Add Mediatek PCIe host controller support

2017-05-14 Thread Ryder Lee
Add support for the Mediatek PCIe Gen2 controller which can be found on MT7623 series SoCs. Signed-off-by: Ryder Lee --- drivers/pci/host/Kconfig | 11 + drivers/pci/host/Makefile| 1 + drivers/pci/host/pcie-mediatek.c | 559 +++ 3 files

Re: [PATCH 3/3] Fix ERROR: code indent should use tabs where possible

2017-05-14 Thread Michael S. Tsirkin
On Sun, May 14, 2017 at 07:51:30PM +0200, Maciek Fijalkowski wrote: > From: Maciej Fijalkowski > > Signed-off-by: Maciej Fijalkowski Acked-by: Michael S. Tsirkin But you really want to fix the subject. Make it less verbose drop upper case and

Re: [PATCH 3/3] Fix ERROR: code indent should use tabs where possible

2017-05-14 Thread Michael S. Tsirkin
On Sun, May 14, 2017 at 07:51:30PM +0200, Maciek Fijalkowski wrote: > From: Maciej Fijalkowski > > Signed-off-by: Maciej Fijalkowski Acked-by: Michael S. Tsirkin But you really want to fix the subject. Make it less verbose drop upper case and add info about module. Something like:

linux-next: Tree for May 15

2017-05-14 Thread Stephen Rothwell
Hi all, Changes since 20170512: Non-merge commits (relative to Linus' tree): 508 569 files changed, 13787 insertions(+), 5574 deletions(-) I have created today's linux-next tree at

linux-next: Tree for May 15

2017-05-14 Thread Stephen Rothwell
Hi all, Changes since 20170512: Non-merge commits (relative to Linus' tree): 508 569 files changed, 13787 insertions(+), 5574 deletions(-) I have created today's linux-next tree at

Re: [PATCH 1/3] Fix ERROR: trailing statements should be on next line

2017-05-14 Thread Michael S. Tsirkin
On Sun, May 14, 2017 at 07:51:28PM +0200, Maciek Fijalkowski wrote: > From: Maciej Fijalkowski > > Signed-off-by: Maciej Fijalkowski I prefer the original form - ; isn't a full statement. > --- > drivers/net/virtio_net.c | 3 ++- > 1 file changed, 2

Re: [PATCH 1/3] Fix ERROR: trailing statements should be on next line

2017-05-14 Thread Michael S. Tsirkin
On Sun, May 14, 2017 at 07:51:28PM +0200, Maciek Fijalkowski wrote: > From: Maciej Fijalkowski > > Signed-off-by: Maciej Fijalkowski I prefer the original form - ; isn't a full statement. > --- > drivers/net/virtio_net.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff

Re: [PATCH 2/3] Fix ERROR: Macros with complex values should be enclosed in parentheses

2017-05-14 Thread Michael S. Tsirkin
On Sun, May 14, 2017 at 07:51:29PM +0200, Maciek Fijalkowski wrote: > From: Maciej Fijalkowski > > Signed-off-by: Maciej Fijalkowski This is not a complex value. > --- > drivers/net/virtio_net.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >

Re: [PATCH 2/3] Fix ERROR: Macros with complex values should be enclosed in parentheses

2017-05-14 Thread Michael S. Tsirkin
On Sun, May 14, 2017 at 07:51:29PM +0200, Maciek Fijalkowski wrote: > From: Maciej Fijalkowski > > Signed-off-by: Maciej Fijalkowski This is not a complex value. > --- > drivers/net/virtio_net.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git

Re: [PATCH] kmod: don't load module unless req process has CAP_SYS_MODULE

2017-05-14 Thread महेश बंडेवार
On Sun, May 14, 2017 at 3:45 AM, Greg Kroah-Hartman wrote: > On Fri, May 12, 2017 at 04:22:59PM -0700, Mahesh Bandewar wrote: >> From: Mahesh Bandewar >> [...] >> Now try to create a bridge inside this newly created net-ns which would >> mean

Re: [PATCH] kmod: don't load module unless req process has CAP_SYS_MODULE

2017-05-14 Thread महेश बंडेवार
On Sun, May 14, 2017 at 3:45 AM, Greg Kroah-Hartman wrote: > On Fri, May 12, 2017 at 04:22:59PM -0700, Mahesh Bandewar wrote: >> From: Mahesh Bandewar >> [...] >> Now try to create a bridge inside this newly created net-ns which would >> mean bridge module need to be loaded. >> # ip link

Re: [PATCH] ACPI / GED: use late init to allow other drivers init

2017-05-14 Thread Sinan Kaya
Hi Rafael, On 5/11/2017 10:52 AM, Rafael J. Wysocki wrote: >> OK. I'll reach out to Harb and let's see where the proposal goes. > It looks like this is about operation regions after all, however, so _DEP as > is > should be sufficient here. > > There is some limited _DEP support in the ACPI

Re: [PATCH] ACPI / GED: use late init to allow other drivers init

2017-05-14 Thread Sinan Kaya
Hi Rafael, On 5/11/2017 10:52 AM, Rafael J. Wysocki wrote: >> OK. I'll reach out to Harb and let's see where the proposal goes. > It looks like this is about operation regions after all, however, so _DEP as > is > should be sufficient here. > > There is some limited _DEP support in the ACPI

Re: [PATCH v3 3/3] media: mtk-mdp: Fix mdp device tree

2017-05-14 Thread Minghsiu Tsai
On Fri, 2017-05-12 at 17:05 +0200, Matthias Brugger wrote: > > On 12/05/17 05:22, Minghsiu Tsai wrote: > > From: Daniel Kurtz > > > > If the mdp_* nodes are under an mdp sub-node, their corresponding > > platform device does not automatically get its iommu assigned

Re: [PATCH v3 3/3] media: mtk-mdp: Fix mdp device tree

2017-05-14 Thread Minghsiu Tsai
On Fri, 2017-05-12 at 17:05 +0200, Matthias Brugger wrote: > > On 12/05/17 05:22, Minghsiu Tsai wrote: > > From: Daniel Kurtz > > > > If the mdp_* nodes are under an mdp sub-node, their corresponding > > platform device does not automatically get its iommu assigned properly. > > > > Fix this

Re: [PATCH v3 6/6] watchdog: ts4600: add driver for TS-4600 watchdog

2017-05-14 Thread Guenter Roeck
On 05/14/2017 07:00 PM, Shawn Guo wrote: On Sun, May 14, 2017 at 07:39:33AM -0700, Guenter Roeck wrote: On 05/11/2017 12:22 AM, Shawn Guo wrote: On Fri, May 05, 2017 at 03:32:59PM -0400, Sebastien Bourdelin wrote: This watchdog is instantiated in a FPGA and can only be access using a GPIOs

Re: [PATCH v3 6/6] watchdog: ts4600: add driver for TS-4600 watchdog

2017-05-14 Thread Guenter Roeck
On 05/14/2017 07:00 PM, Shawn Guo wrote: On Sun, May 14, 2017 at 07:39:33AM -0700, Guenter Roeck wrote: On 05/11/2017 12:22 AM, Shawn Guo wrote: On Fri, May 05, 2017 at 03:32:59PM -0400, Sebastien Bourdelin wrote: This watchdog is instantiated in a FPGA and can only be access using a GPIOs

  1   2   3   4   5   >