[PATCH v2 5/7] gpio: Rename func/macro/var to IP-block,iproc

2015-11-18 Thread Pramod Kumar
Change functions, macros and variables name from cygnus to IP block, iproc, so that it could be used in all iproc based future SoCs having same GPIO controller block. Signed-off-by: Pramod Kumar Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- drivers/pinctrl/bcm/pinctrl-cygnus-gpio.c |

[PATCH v2 3/7] pinctrl: use ngpios propety from DT

2015-11-18 Thread Pramod Kumar
Since identical hardware is used in several instances and every instance will have different in-use pins. Hence extracting this number from DT via "ngpios" property. Signed-off-by: Pramod Kumar Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- drivers/pinctrl/bcm/pinctrl-cygnus-gpio.c | 45

[PATCH v2 7/7] pinctrl: Rename gpio driver from cygnus to iproc

2015-11-18 Thread Pramod Kumar
Rename gpio driver file name from pinctrl-cygnus-gpio.c to pinctrl-iproc-gpio.c to make it more generic so that all iproc based future SoCs using the same gpio block could use this driver. Signed-off-by: Pramod Kumar Reviewed-by: Ray Jui Reviewed-by: Scott Branden Acked-by: Rob Herring ---

[PATCH v2 6/7] Documentation: Rename gpio controller name from cygnus to iproc

2015-11-18 Thread Pramod Kumar
Renamed gpio controller's driver name from cygnus to iproc to make it more generic so that all iProc based SoCs having the same gpio controller could use this. Signed-off-by: Pramod Kumar Reviewed-by: Ray Jui Reviewed-by: Scott Branden --- .../bindings/pinctrl/{brcm,cygnus-gpio.txt =>

[PATCH v2 1/7] dt-binding: Add ngpios property to GPIO controller node

2015-11-18 Thread Pramod Kumar
Add ngpios property to the gpio controller's DT node so that controller driver extracts total number of in-use gpio lines from DT and removes dependency on driver. Signed-off-by: Pramod Kumar Reviewed-by: Ray Jui Reviewed-by: Scott Branden ---

[PATCH v2 0/7] Generalized broadcom cygnus gpio driver

2015-11-18 Thread Pramod Kumar
Generalized pinctrl-cygnus-gpio driver so that it could be used for all iProc architecture based future SoCs having same gpio pin controller. Generalization process made the below changes in driver- 1. Addressed number of pins from DT through "ngpios" property and removed from driver. 2. Since

[PATCH] ASoC: Atmel: ClassD: supports mono audio

2015-11-18 Thread Songjun Wu
Modify the code to support mono audio. Signed-off-by: Songjun Wu --- sound/soc/atmel/atmel-classd.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/sound/soc/atmel/atmel-classd.c b/sound/soc/atmel/atmel-classd.c index 2f5190b..10ac47d 100644 ---

RE: [PATCH perf/core 02/13] perf: Make perf_exec_path always returns malloc'd string

2015-11-18 Thread 平松雅巳 / HIRAMATU,MASAMI
From: Arnaldo Carvalho de Melo [mailto:a...@kernel.org] > >Em Wed, Nov 18, 2015 at 03:40:14PM +0900, Masami Hiramatsu escreveu: >> Since system_path() returns malloc'd string if given path is >> not an absolute path, perf_exec_path sometimes returns static >> string and sometimes returns malloc'd

Re: [PATCH] thermal: Add support for Sunxi THS on the Allwinner H3

2015-11-18 Thread Chen-Yu Tsai
On Thu, Nov 19, 2015 at 4:51 AM, Josef Gajdusek wrote: > This patch adds support for the Sunxi thermal sensor on the Allwinner H3. > Also adds declaration of the H3 THS clock to clk-sunxi.c ignoring the > dividers as they are not continuous (clk-divider.c cannot be used as it > does not support

[PATCH V2 2/3] PM / OPP: Parse 'opp-supported-hw' binding

2015-11-18 Thread Viresh Kumar
OPP bindings allow a platform to enable OPPs based on the version of the hardware they are used for. Add support to the OPP-core to parse these bindings, by introducing dev_pm_opp_{set|put}_supported_hw() APIs. Signed-off-by: Viresh Kumar --- drivers/base/power/opp/core.c | 142

[PATCH V2 3/3] PM / OPP: Parse 'opp--' bindings

2015-11-18 Thread Viresh Kumar
OPP bindings (for few properties) allow a platform to choose a value/range among a set of available options. The options are present as opp--, where the platform needs to supply the string. The OPP properties which allow such an option are: opp-microvolt and opp-microamp. Add support to the

[PATCH V2 1/3] PM / OPP: Add missing doc comments

2015-11-18 Thread Viresh Kumar
Few doc-style comments were missing, add them. Rearrange another one to match the sequence within the structure. Signed-off-by: Viresh Kumar Acked-by: Pavel Machek Reviewed-by: Stephen Boyd --- drivers/base/power/opp/opp.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

[PATCH v3 12/12] ARM: dts: rockchip: add support mipi panel tv080wum-nl0 for rk3288-evb

2015-11-18 Thread Chris Zhong
This tv080wum-nl0 panel is a mipi panel, it can use in MIPI_TX socket of rk3288 evb board. Signed-off-by: Chris Zhong --- Changes in v3: None Changes in v2: None arch/arm/boot/dts/rk3288-evb.dtsi | 20 +++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git

[PATCH v3 11/12] drm/panel: simple: Add boe,tv080wum-nl0 simple panel device tree binding

2015-11-18 Thread Chris Zhong
This binding specifies a set of common properties for display panels. It can be used as a basis by bindings for specific panels. Bindings for three specific panels are provided to show how the simple panel binding can be used. Signed-off-by: Chris Zhong --- Changes in v3: move

[PATCH v3 10/12] drm/panel: simple: Add support for BOE TV080WUM-NL0

2015-11-18 Thread Chris Zhong
This adds support for the BOE TV080WUM-NL0 1200x1920 mipi panel to the DRM simple panel driver. Signed-off-by: Chris Zhong --- Changes in v3: None Changes in v2: None drivers/gpu/drm/panel/panel-simple.c | 33 + 1 file changed, 33 insertions(+) diff --git

[PATCH v3 09/12] ARM: dts: rockchip: add rk3288 mipi_dsi nodes

2015-11-18 Thread Chris Zhong
Add a mipi_dsi node, and also add mipi_dsi endpoints to vopb and vopl output port nodes. Signed-off-by: Chris Zhong --- Changes in v3: None Changes in v2: None arch/arm/boot/dts/rk3288.dtsi | 39 +++ 1 file changed, 39 insertions(+) diff --git

[PATCH v3 08/12] Documentation: dt-bindings: Add bindings for rk3288 DW MIPI DSI driver

2015-11-18 Thread Chris Zhong
add device tree bindings for rk3288 specific Synopsys DW MIPI DSI driver Signed-off-by: Chris Zhong --- Changes in v3: move dw_mipi_dsi_rockchip.txt to bindings/display/rockchip/ Changes in v2: None .../display/rockchip/dw_mipi_dsi_rockchip.txt | 56 ++ 1 file

[PATCH v3 07/12] drm: rockchip: Support Synopsys DesignWare MIPI DSI host controller

2015-11-18 Thread Chris Zhong
Add support for Synopsys DesignWare MIPI DSI host controller which is embedded in the rk3288 SoCs. Signed-off-by: Chris Zhong --- Changes in v3: None Changes in v2: None drivers/gpu/drm/rockchip/Kconfig| 10 + drivers/gpu/drm/rockchip/Makefile | 1 +

Re: [PATCH] arm64: bpf: fix buffer pointer

2015-11-18 Thread David Miller
From: Zi Shen Lim Date: Wed, 18 Nov 2015 00:56:02 -0800 > During code review, I noticed we were passing a bad buffer pointer > to bpf_load_pointer helper function called by jitted code. > > Point to the buffer allocated by JIT, so we don't silently corrupt > other parts of the stack. > >

[PATCH v3 06/12] drm/bridge: Add Synopsys DesignWare MIPI DSI host controller driver

2015-11-18 Thread Chris Zhong
add Synopsys DesignWare MIPI DSI host controller driver support. Signed-off-by: Chris Zhong --- Changes in v3: None Changes in v2: None drivers/gpu/drm/bridge/Kconfig | 11 + drivers/gpu/drm/bridge/Makefile |1 + drivers/gpu/drm/bridge/dw_mipi_dsi.c | 1055

[PATCH v3 04/12] drm/dsi: Add a helper to get bits per pixel of MIPI DSI pixel format

2015-11-18 Thread Chris Zhong
From: Liu Ying Signed-off-by: Liu Ying Acked-by: Thierry Reding Signed-off-by: Chris Zhong --- Changes in v3: None Changes in v2: None include/drm/drm_mipi_dsi.h | 14 ++ 1 file changed, 14 insertions(+) diff --git a/include/drm/drm_mipi_dsi.h b/include/drm/drm_mipi_dsi.h

[PATCH v3 05/12] Documentation: dt-bindings: Add bindings for Synopsys DW MIPI DSI DRM bridge driver

2015-11-18 Thread Chris Zhong
From: Liu Ying This patch adds device tree bindings for Synopsys DesignWare MIPI DSI host controller DRM bridge driver. Signed-off-by: Liu Ying Signed-off-by: Chris Zhong --- Changes in v3: move the dw_mipi_dsi.txt to Documentation/devicetree/bindings/display/bridge Changes in v2: None

Re: [PATCH v12 1/3] dt-bindings: Add a binding for Mediatek xHCI host controller

2015-11-18 Thread chunfeng yun
Hi, On Tue, 2015-11-17 at 13:58 +0300, Sergei Shtylyov wrote: > Hello. > > On 11/17/2015 12:18 PM, Chunfeng Yun wrote: > > > add a DT binding documentation of xHCI host controller for the > > MT8173 SoC from Mediatek. > > > > Signed-off-by: Chunfeng Yun > > --- > >

[PATCH v3 02/12] clk: rockchip: add mipidsi clocks on rk3288

2015-11-18 Thread Chris Zhong
sclk_mipidsi_24m is the gating of mipi dsi phy. Signed-off-by: Chris Zhong --- Changes in v3: None Changes in v2: None drivers/clk/rockchip/clk-rk3288.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/rockchip/clk-rk3288.c b/drivers/clk/rockchip/clk-rk3288.c

[PATCH v3 03/12] drm/rockchip: return a true clock rate to adjusted_mode

2015-11-18 Thread Chris Zhong
Sometimes the clock driver can not set a accurate clock_rate for vop, get the true rate of vop_dclk and set it back to adjusted_mode, since the mipi dsi driver need to use the clock to make the calculation of Blanking. Signed-off-by: Chris Zhong --- Changes in v3: None Changes in v2: None

[PATCH v3 01/12] clk: rockchip: add id for mipidsi sclk on rk3288

2015-11-18 Thread Chris Zhong
Adds a new id for the sclk supplying the mipidsi on rk3288 socs. Signed-off-by: Chris Zhong --- Changes in v3: None Changes in v2: add the mipi clk id in a single patch include/dt-bindings/clock/rk3288-cru.h | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v3 00/12] Add mipi dsi support for rk3288

2015-11-18 Thread Chris Zhong
The rk3288 MIPI DSI is a Synopsys DesignWare MIPI DSI host controller IP. This series adds support for a Synopsys DesignWare MIPI DSI host controller DRM bridge driver and a rockchip MIPI DSI specific DRM driver. This series also includes a DRM panel driver for BOE TV080WUM-NL0 panel. This panel

RE: [PATCH 03/11] dts: pinctrl: Add GPIO to Pinctrl pin mapping in DT

2015-11-18 Thread Pramod Kumar
Hi Florian, > -Original Message- > From: Florian Fainelli [mailto:f.faine...@gmail.com] > Sent: 19 November 2015 00:10 > To: Pramod Kumar; Rob Herring; Pawel Moll; Mark Rutland; Ian Campbell; > Kumar Gala; Ray Jui; Scott Branden; Russell King; Linus Walleij; linux- > g...@vger.kernel.org

[PATCH] ASoC: Atmel: ClassD: Set GCK's parent clock

2015-11-18 Thread Songjun Wu
Set GCK's parent clock as audio clock, make sure the GCK's parent clock is audio clock. Signed-off-by: Songjun Wu --- sound/soc/atmel/atmel-classd.c |6 ++ 1 file changed, 6 insertions(+) diff --git a/sound/soc/atmel/atmel-classd.c b/sound/soc/atmel/atmel-classd.c index

[PATCH v2 0/5] Devicetree support for misc/eeprom/eeprom_93xx46.

2015-11-18 Thread Cory Tusar
This series of patches adds an initial set of devicetree bindings to the eeprom_93xx46 driver which mirror the configuration options previously available as a platform device. These bindings are then extended to include support for specific Atmel devices in this family and also to support

[PATCH v2 2/5] Documentation: devicetree: Add DT bindings to eeprom_93xx46 driver.

2015-11-18 Thread Cory Tusar
This commit documents bindings to be added to the eeprom_93xx46 driver which will allow: - Device word size and read-only attributes to be specified. - A device-specific compatible string for use with Atmel AT93C46D EEPROMs. - Specifying a GPIO line to function as a 'select' or 'enable'

[PATCH v2 1/5] misc: eeprom_93xx46: Fix 16-bit read and write accesses.

2015-11-18 Thread Cory Tusar
Compatible at93xx46 devices from both Microchip and Atmel expect a word-based address, regardless of whether the device is strapped for 8- or 16-bit operation. However, the offset parameter passed in when reading or writing at a specific location is always specified in terms of bytes. This

[PATCH v2 3/5] misc: eeprom_93xx46: Implement eeprom_93xx46 DT bindings.

2015-11-18 Thread Cory Tusar
This commit implements bindings in the eeprom_93xx46 driver allowing device word size and read-only attributes to be specified via devicetree. Signed-off-by: Cory Tusar --- drivers/misc/eeprom/eeprom_93xx46.c | 62 + 1 file changed, 62 insertions(+) diff

[PATCH v2 5/5] misc: eeprom_93xx46: Add support for a GPIO 'select' line.

2015-11-18 Thread Cory Tusar
This commit adds support to the eeprom_93x46 driver allowing a GPIO line to function as a 'select' or 'enable' signal prior to accessing the EEPROM. Signed-off-by: Cory Tusar --- drivers/misc/eeprom/eeprom_93xx46.c | 26 ++ include/linux/eeprom_93xx46.h | 1 + 2

[PATCH v2 4/5] misc: eeprom_93xx46: Add quirks to support Atmel AT93C46D device.

2015-11-18 Thread Cory Tusar
Atmel devices in this family have some quirks not found in other similar chips - they do not support a sequential read of the entire EEPROM contents, and the control word sent at the start of each operation varies in bit length. This commit adds quirk support to the driver and modifies the read

Re: [PATCH 3/3] linux/bitmap: Replace find_fisrt_{zero_}bit with the new lightweight api

2015-11-18 Thread hejianet
Thanks, I only compiled and tested in x86_64, will check what's wrong in m68k B.R. Justin 在 11/19/15 10:53 AM, kbuild test robot 写道: Hi Jia, [auto build test ERROR on: v4.4-rc1] [also build test ERROR on: next-20151118] url: https://github.com/0day-ci/linux/commits/Jia-He/Improve

Re: [linux-sunxi] [PATCH] thermal: Add support for Sunxi THS on the Allwinner H3

2015-11-18 Thread Siarhei Siamashka
Hello, On Wed, 18 Nov 2015 21:51:48 +0100 Josef Gajdusek wrote: > This patch adds support for the Sunxi thermal sensor on the Allwinner H3. > Also adds declaration of the H3 THS clock to clk-sunxi.c ignoring the > dividers as they are not continuous (clk-divider.c cannot be used as it > does

linux-next: Tree for Nov 19

2015-11-18 Thread Stephen Rothwell
Hi all, Changes since 20151118: The drm-intel tree gained a conflict against Linus' tree. The sound-soc tree gained build failures so I used the version from next-20151118. The audit tree gained a conflict against Linus' tree. Non-merge commits (relative to Linus' tree): 1871 1839 files

Re: [PATCH v5 00/32] HiSilicon SAS driver

2015-11-18 Thread Martin K. Petersen
> "John" == John Garry writes: John> thanks, please note that we still have the dependency on John> http://www.spinics.net/lists/arm-kernel/msg452833.html John> Without it the driver can only be built into the kernel, and not John> as a module. I have your driver in a staging branch rather

RE: [PATCH perf/core 01/13] perf probe: Fix to free temporal Dwarf_Frame

2015-11-18 Thread 平松雅巳 / HIRAMATU,MASAMI
From: Namhyung Kim [mailto:namhy...@gmail.com] >On November 19, 2015 7:36:39 AM GMT+09:00, Arnaldo Carvalho de Melo > wrote: >>Em Wed, Nov 18, 2015 at 03:40:12PM +0900, Masami Hiramatsu escreveu: >>> Since dwarf_cfi_addrframe returns malloc'd Dwarf_Frame >>> object, it has to be freed after used.

[PATCH V4] acpi: add support for extended IRQ to PCI link

2015-11-18 Thread Sinan Kaya
The ACPI compiler uses the extended format when used interrupt numbers are greater than 256. The PCI link code currently only supports simple interrupt format. The IRQ numbers are represented using 32 bits when extended IRQ syntax. This patch changes the interrupt number type to 32 bits and places

Re: [PATCH 10/71] atari_NCR5380: Remove RESET_BOOT, CONFIG_ATARI_SCSI_TOSHIBA_DELAY and CONFIG_ATARI_SCSI_RESET_BOOT

2015-11-18 Thread Michael Schmitz
Hi Finn, Am 18.11.2015 um 21:35 schrieb Finn Thain: > The bus reset may raise an interrupt. That would be new behaviour for > atari_scsi only when CONFIG_ATARI_SCSI_RESET_BOOT=n. The ST DMA interrupt > is not assigned to atari_scsi at this stage, so > CONFIG_ATARI_SCSI_RESET_BOOT=y may well be

Re: [PATCH 2/3] PM / OPP: Parse 'opp-supported-hw' binding

2015-11-18 Thread Viresh Kumar
On 19-11-15, 07:30, Viresh Kumar wrote: > -8<- > > From: Viresh Kumar > Date: Tue, 15 Sep 2015 12:53:00 +0530 > Subject: [PATCH] PM / OPP: Parse 'opp-supported-hw' binding > > OPP bindings allow a platform to enable OPPs based on the version of

Re: [PATCH 3/3] PM / OPP: Parse 'opp--' bindings

2015-11-18 Thread Viresh Kumar
On 18-11-15, 17:12, Stephen Boyd wrote: > > + /* Operations on OPP structures must be done from within rcu locks */ > > + rcu_read_lock(); > > + > > + dev_opp = _add_device_opp(dev); > > + if (!dev_opp) > > + return -ENOMEM; > > + > > + /* Do we already have a prop-name

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

2015-11-18 Thread Vinod Koul
On Thu, Nov 19, 2015 at 11:35:28AM +1100, Stephen Rothwell wrote: > Hi all, > > After merging the sound-asoc tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > sound/soc/fsl/fsl-asoc-card.c: In function 'fsl_asoc_card_late_probe': > sound/soc/fsl/fsl-asoc-card.c:420:38:

Re: [PATCH 4/5] PCI: iproc: Add iProc PCIe MSI support

2015-11-18 Thread Ray Jui
Hi Marc, On 11/18/2015 5:37 PM, Ray Jui wrote: Hi Marc, On 11/18/2015 12:48 AM, Marc Zyngier wrote: On Tue, 17 Nov 2015 16:31:54 -0800 Ray Jui wrote: +static int iproc_msi_irq_domain_alloc(struct irq_domain *domain, + unsigned int virq, unsigned int nr_irqs, +

RE: [PATCH perf/core 00/13] perf memory/refcnt leak fixes

2015-11-18 Thread 平松雅巳 / HIRAMATU,MASAMI
From: Arnaldo Carvalho de Melo [mailto:a...@kernel.org] > >Em Wed, Nov 18, 2015 at 03:40:09PM +0900, Masami Hiramatsu escreveu: >> Hi, >> >> Here is a series to fix some memory leaks and refcount >> leaks on map and dso. This also includes the refcnt APIs >> with backtrace debugging feature. >

Re: [PATCH 3/3] linux/bitmap: Replace find_fisrt_{zero_}bit with the new lightweight api

2015-11-18 Thread kbuild test robot
Hi Jia, [auto build test ERROR on: v4.4-rc1] [also build test ERROR on: next-20151118] url: https://github.com/0day-ci/linux/commits/Jia-He/Improve-bitmap_empty-and-bitmap_full/20151119-103554 config: m68k-allyesconfig (attached as .config) reproduce: wget https://git.kernel.org

Re: [PATCH 00/71] More fixes, cleanup and modernization for NCR5380 drivers

2015-11-18 Thread Michael Schmitz
Hi Finn, >>> >>> I have compile-tested all patches to all NCR5380 drivers (x86, ARM, >>> m68k) and regression tested mac_scsi and dmx3191d modules on suitable >>> hardware. Testing the mac_scsi and dmx3191d modules provides only >>> limited coverage. It would be good to see some testing of ISA

Re: [PATCH 02/10] KVM: x86: MMU: Add helper function to clear a bit in unsync child bitmap

2015-11-18 Thread Xiao Guangrong
On 11/19/2015 08:59 AM, Takuya Yoshikawa wrote: On 2015/11/18 11:44, Xiao Guangrong wrote: On 11/12/2015 07:50 PM, Takuya Yoshikawa wrote: +if (!ret) { +clear_unsync_child_bit(sp, i); +continue; +} else if (ret > 0) {

Re: [RESEND RFC/PATCH 1/8] dt-bindings: Add a binding for Mediatek Video Processor Unit

2015-11-18 Thread andrew-ct chen
On Tue, 2015-11-17 at 14:13 +, Mark Rutland wrote: > On Tue, Nov 17, 2015 at 08:54:38PM +0800, Tiffany Lin wrote: > > From: Andrew-CT Chen > > > > Add a DT binding documentation of Video Processor Unit for the > > MT8173 SoC from Mediatek. > > > > Signed-off-by: Andrew-CT Chen > > --- > >

Re: [PATCH v4 3/3] ARM: dts: rockchip: Add the OTP gpio pinctrl

2015-11-18 Thread Caesar Wang
Hi Heiko, 在 2015年10月25日 15:55, Heiko Stübner 写道: Am Freitag, 23. Oktober 2015, 08:25:08 schrieb Doug Anderson: On Fri, Oct 23, 2015 at 4:25 AM, Caesar Wang wrote: Add the "init" anf "sleep" pinctrl as the OTP gpio state. We need the OTP pin is gpio state before resetting the TSADC

[PATCH 0/7] drm/fsl-dcu: fixes and enhancements

2015-11-18 Thread Stefan Agner
During testing the DCU DRM driver on the Freescale Vybrid platform I came across some (platform independent) bugs and problems which this patchset addresses. Note: To use the driver on Vybrid some platform/device-tree enhancements are needed which are not part of this patchset. I still need to

[PATCH 4/7] drm/fsl-dcu: handle initialization errors properly

2015-11-18 Thread Stefan Agner
If initialization fails (e.g. due to missing panel node or deferred probe) make sure to roll-back all operations and return the error code. Signed-off-by: Stefan Agner --- drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_kms.c | 24 1 file changed, 20 insertions(+), 4 deletions(-)

[PATCH 5/7] drm/fsl-dcu: mask all interrupts on initialization

2015-11-18 Thread Stefan Agner
The state of the interrupt mask register on initialization is unknown, e.g. U-Boot could already used the DCU. So depending on the boot loader, the outcome of the interrupt mask register could be different. A defined state is much more preferable. Also, there is no value in keeping interrupts

[PATCH 1/7] drm/fsl-dcu: specify volatile registers

2015-11-18 Thread Stefan Agner
Since we are using cached registers, we need to specify volatile registers explicitly to avoid reading their value from the cache. This allows to read the correct interrupt status in fsl_dcu_drm_irq and clear the asserted bits only. Signed-off-by: Stefan Agner ---

[PATCH 3/7] drm/fsl-dcu: avoid memory leak on errors

2015-11-18 Thread Stefan Agner
Improve error handling during CRTC initialization. Especially avoid memory leaks in the primary plane initialization error path. Signed-off-by: Stefan Agner --- drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_crtc.c | 7 ++- drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c | 1 + 2 files changed, 7

[PATCH 7/7] drm/fsl-dcu: use mode flags for hsync/vsync pixelclk polarity

2015-11-18 Thread Stefan Agner
The current default configuration is as follows: - Display samples data on the falling edge - Invert VSYNC signal (active LOW) - Invert HSYNC signal (active LOW) The mode flags allow to specify the required polarity per display. Furthermore, none of the current driver settings is actually a

[PATCH 6/7] drm/fsl-dcu: fix alpha blending

2015-11-18 Thread Stefan Agner
Fix alpha blending by enabling alpha blending for the whole frame if a color mode with alpha channel is selected (DRM_FORMAT_ARGB*). Also support color modes without alpha channel (DRM_FORMAT_XRGB*) by just not enabling alpha blending on layer level. Signed-off-by: Stefan Agner ---

[PATCH 2/7] drm/fsl-dcu: remove regmap return value checks

2015-11-18 Thread Stefan Agner
It is not common to do regmap return value checks, especially not for memory mapped device. We can rule out most error returns since the conditions are static and we know they are ok (e.g. offset aligned to register stride). Also without proper error handling they are not really valuable for the

Re: [PATCH v2 1/5] crypto: Multi-buffer encryptioin infrastructure support

2015-11-18 Thread Tim Chen
On Thu, 2015-11-19 at 08:12 +0800, Herbert Xu wrote: > On Wed, Nov 18, 2015 at 07:58:56AM -0800, Tim Chen wrote: > > > > IPSec will invoke this multi-buffer encrypt with async request. > > The work is done in crypto daemon, so it wouldn't be in atomic > > context. But anyway, I'm okay with

Re: A new, fast and "unbreakable" encryption algorithm

2015-11-18 Thread Ismail Kizir
I am not a cyrptoanalyst, not a mathematicien. But, I wanted to enumerate some facts about "The Hohha Dynamic XOR Encryption" algorithm I mentioned earlier. My algorithm is "fundamentally different" from classical encryption methods, because, it dynamically "encrypts" the key itself "during a

Re: [PATCH] usb: gadget: Add the console support for usb-to-serial port

2015-11-18 Thread Baolin Wang
On 18 November 2015 at 23:32, Peter Hurley wrote: > Hi Baolin, > > On 11/16/2015 02:05 AM, Baolin Wang wrote: >> It dose not work when we want to use the usb-to-serial port based >> on one usb gadget as a console. Thus this patch adds the console >> initialization to support this request. > > I

[PATCH 3/3] linux/bitmap: Replace find_fisrt_{zero_}bit with the new lightweight api

2015-11-18 Thread Jia He
This is to replace find_fisrt_{zero_}bit with the new lightweight api all_bit_is_{one,zero} in bitmap_{full,empty} Signed-off-by: Jia He --- include/asm-generic/bitops/find.h | 3 +++ include/linux/bitmap.h| 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git

[PATCH 2/3] lib: Introduce 2 find bit api: all_is_bit_{one,zero}

2015-11-18 Thread Jia He
This patch introduces 2 lightweight bit api. all_bit_is_zero return 1 if the bit string is all zero. The addr is the start address, the size is the bit size of the bit string. all_bit_is_one is the opposite. Signed-off-by: Jia He --- lib/find_bit.c | 50

[PATCH 0/3] Improve bitmap_empty and bitmap_full

2015-11-18 Thread Jia He
find_fisrt_{zero_}bit are too heavy for bitmap_{full,empty}. We don't need to calculate and compare the position of bitmap. This set of patch instroduces lightweight api and replaces the heavy one. Jia He (3): linux/bitmap: Move 2 mask macro from bitmap.h to bitops.h lib: Introduce 2 find

[PATCH 1/3] linux/bitmap: Move 2 mask macro to bitops.h

2015-11-18 Thread Jia He
This patch moves the mask macro to bitops.h and then the new introduced api in find_bit.c can use it. Signed-off-by: Jia He --- include/linux/bitmap.h | 3 --- include/linux/bitops.h | 4 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/include/linux/bitmap.h

Re: perf BPF/elfdep intermitent build problems

2015-11-18 Thread Wangnan (F)
On 2015/11/19 10:21, Wangnan (F) wrote: On 2015/11/19 9:24, Wangnan (F) wrote: On 2015/11/19 6:44, Arnaldo Carvalho de Melo wrote: Have you guys ever saw this? [acme@zoo linux]$ alias m alias m='perf stat -e cycles make O=/tmp/build/perf -C tools/perf install-bin' [acme @zoo linux]$ m

Re: [PATCH 00/71] More fixes, cleanup and modernization for NCR5380 drivers

2015-11-18 Thread Finn Thain
On Wed, 18 Nov 2015, Ondrej Zary wrote: > On Wednesday 18 November 2015, Finn Thain wrote: > > > Like my previous work on the NCR5380 drivers, this patch series has > > bug fixes, code cleanup and modernization. These drivers suffer from > > mistakes, poor style and neglect and this long

Re: perf BPF/elfdep intermitent build problems

2015-11-18 Thread Wangnan (F)
On 2015/11/19 9:24, Wangnan (F) wrote: On 2015/11/19 6:44, Arnaldo Carvalho de Melo wrote: Have you guys ever saw this? [acme@zoo linux]$ alias m alias m='perf stat -e cycles make O=/tmp/build/perf -C tools/perf install-bin' [acme @zoo linux]$ m make: Entering directory

Re: [PATCH 07/10] KVM: x86: MMU: Encapsulate the type of rmap-chain head in a new struct

2015-11-18 Thread Takuya Yoshikawa
On 2015/11/18 18:09, Paolo Bonzini wrote: On 18/11/2015 04:21, Xiao Guangrong wrote: On 11/12/2015 07:55 PM, Takuya Yoshikawa wrote: @@ -1720,7 +1724,7 @@ static struct kvm_mmu_page *kvm_mmu_alloc_page(struct kvm_vcpu *vcpu, * this feature. See the comments in

Re: kernel oops on mmotm-2015-10-15-15-20

2015-11-18 Thread Minchan Kim
On Tue, Nov 17, 2015 at 11:32:13AM +0200, Kirill A. Shutemov wrote: > On Tue, Nov 17, 2015 at 04:35:39PM +0900, Minchan Kim wrote: > > On Mon, Nov 16, 2015 at 12:54:53PM +0200, Kirill A. Shutemov wrote: > > > On Mon, Nov 16, 2015 at 07:32:20PM +0900, Minchan Kim wrote: > > > > On Mon, Nov 16, 2015

...

2015-11-18 Thread Albert James
Hello, DO YOU NEED FINANCIAL HELP? IF YES, CONTACT US VIA EMAIL: ( f-cs...@att.net ). Thank you. Albert James. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH RESEND] pwm: ftm: fix clock enable/disable when using PM

2015-11-18 Thread Stefan Agner
Thierry, I realized that this patch did not make it into 4.4-rc1, while others, IMHO less important patches which have been posted later (e.g. sunxi whitespace fixes) have made it! :-( Anything wrong with that? Or am I on your spam list? Note that this is already a RESEND :-) -- Stefan On

Re: [PATCH 1/3] ARM: imx: clk-vf610: fix SAI clock tree

2015-11-18 Thread Stefan Agner
Hi Shawn, Any thoughts on that patchset? I kind of hoped that it would make it into 4.4 since it actually fixes issues (at least 1 and 2)... That said, I don't think it is stable material since it also breaks the device tree... -- Stefan On 2015-10-17 21:05, Stefan Agner wrote: > The

Re: [PATCH 2/3] PM / OPP: Parse 'opp-supported-hw' binding

2015-11-18 Thread Viresh Kumar
On 18-11-15, 14:53, Stephen Boyd wrote: > Why do we need to allocate an array to check the property a u32 > at a time? We should be able to call of_property_read_u32_index() > in a loop and check that against the version array. No allocation > needed.

Re: [PATCH V6 RESEND 2/3] reset: hi6220: Reset driver for hisilicon hi6220 SoC

2015-11-18 Thread chenfeng
Zabel, On 2015/11/19 1:27, Philipp Zabel wrote: > Am Freitag, den 30.10.2015, 11:19 +0800 schrieb Chen Feng: >> Add reset driver for hi6220-hikey board,this driver supply deassert >> of IP on hi6220 SoC. >> >> Signed-off-by: Chen Feng > [...] >> diff --git a/drivers/reset/hisilicon/Kconfig >>

Re: [PATCH V6 RESEND 1/3] reset: hisilicon: document hisi-hi6220 reset controllers bindings

2015-11-18 Thread chenfeng
On 2015/11/19 1:27, Philipp Zabel wrote: > Am Freitag, den 30.10.2015, 11:19 +0800 schrieb Chen Feng: >> Add DT bindings documentation for hi6220 SoC reset controller. >> >> Signed-off-by: Chen Feng >> --- >> .../bindings/reset/hisilicon,hi6220-reset.txt | 34 +++ >>

Re: [PATCH v2 2/2] usb: dwc2: host: Clear interrupts before handling them

2015-11-18 Thread John Youn
On 11/16/2015 9:22 AM, Doug Anderson wrote: > Felipe, > > On Mon, Nov 16, 2015 at 8:28 AM, Felipe Balbi wrote: >> >> Hi, >> >> Douglas Anderson writes: >>> In general it is wise to clear interrupts before processing them. If >>> you don't do that, you can get: >>> 1. Interrupt happens >>> 2.

Re: [PATCH 4/5] PCI: iproc: Add iProc PCIe MSI support

2015-11-18 Thread Ray Jui
Hi Marc, On 11/18/2015 12:48 AM, Marc Zyngier wrote: On Tue, 17 Nov 2015 16:31:54 -0800 Ray Jui wrote: Hi Ray, A few comments below. This patch adds PCIe MSI support for both PAXB and PAXC interfaces on all iProc based platforms. The patch follows the latest trend in the kernel to use MSI

Re: [PATCH] perf test: Add bpf-output event

2015-11-18 Thread Wangnan (F)
On 2015/11/19 7:14, Alexei Starovoitov wrote: On Wed, Nov 18, 2015 at 05:50:39PM -0300, Arnaldo Carvalho de Melo wrote: Em Wed, Nov 18, 2015 at 11:26:04AM -0800, Sukadev Bhattiprolu escreveu: >From 8f71d55dd3e27e6ca2138e3ed6dfeceb1c00a426 Mon Sep 17 00:00:00 2001 From: Sukadev Bhattiprolu

Re: [PATCH] PCI: Fix logic OF logic in pci_dma_configure()

2015-11-18 Thread Rafael J. Wysocki
On Wednesday, November 18, 2015 06:54:16 PM Suravee Suthikulanit wrote: > Arg... sorry for the typo in the subject. It should say: > > [PATCH] PCI: Fix OF logic in pci_dma_configure() OK, applied. Thanks, Rafael -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

Re: perf BPF/elfdep intermitent build problems

2015-11-18 Thread Wangnan (F)
On 2015/11/19 6:44, Arnaldo Carvalho de Melo wrote: Have you guys ever saw this? [acme@zoo linux]$ alias m alias m='perf stat -e cycles make O=/tmp/build/perf -C tools/perf install-bin' [acme @zoo linux]$ m make: Entering directory '/home/git/linux/tools/perf' BUILD: Doing 'make -j4'

Re: [PATCH 1/2] usb: doc: dwc3-xilinx: Add devicetree bindings

2015-11-18 Thread Rob Herring
On Wed, Nov 18, 2015 at 5:02 PM, Felipe Balbi wrote: > > Hi, > > Rob Herring writes: >> On Wed, Nov 18, 2015 at 06:20:31PM +0530, Subbaraya Sundeep Bhatta wrote: >>> This patch adds binding doc for Xilinx DWC3 glue driver. >>> >>> Signed-off-by: Subbaraya Sundeep Bhatta >> >> I really dislike

Re: [PATCH v3 2/5] dt-bindings: soc: add document for rockchip reboot notifier driver

2015-11-18 Thread Andy Yan
Hi Rob: On 2015年11月19日 06:59, Rob Herring wrote: On Wed, Nov 18, 2015 at 05:53:30PM +0800, Andy Yan wrote: Add devicetree binding document for rockchip reboot nofifier driver Just reading the subject this is way too specific to the Linux driver needs rather than a h/w description. Please

Re: [PATCH 3/3] PM / OPP: Parse 'opp--' bindings

2015-11-18 Thread Stephen Boyd
On 11/16, Viresh Kumar wrote: > @@ -794,20 +806,32 @@ static int _opp_add_v1(struct device *dev, unsigned > long freq, long u_volt, > } > > /* TODO: Support multiple regulators */ > -static int opp_parse_supplies(struct dev_pm_opp *opp, struct device *dev) > +static int

[PATCH V2] regulator: pv88060: new regulator driver

2015-11-18 Thread James Ban
From: James Ban This is the driver for the Powerventure PV88060 BUCKs and LDOs regulator. It communicates via an I2C bus to the device. Signed-off-by: James Ban --- Changes since PATCH V1 - Removed parsing the DT manually. - Removed setting the constraints in driver. - Removed printing an

Re: [RFD] CAT user space interface revisited

2015-11-18 Thread Marcelo Tosatti
On Wed, Nov 18, 2015 at 10:01:53PM -0200, Marcelo Tosatti wrote: > On Wed, Nov 18, 2015 at 07:25:03PM +0100, Thomas Gleixner wrote: > > Folks! > > > > After rereading the mail flood on CAT and staring into the SDM for a > > while, I think we all should sit back and look at it from scratch > >

linux-next: manual merge of the audit tree with Linus' tree

2015-11-18 Thread Stephen Rothwell
Hi Paul, Today's linux-next merge of the audit tree got a conflict in: kernel/audit.c between commit: d0164adc89f6 ("mm, page_alloc: distinguish between being unable to sleep, unwilling to sleep and avoiding waking kswapd") from Linus' tree and commit: 14eeba1d242e ("audit: include

Re: kernel BUG at drivers/scsi/scsi_lib.c:1096!

2015-11-18 Thread Michael Ellerman
On Wed, 2015-11-18 at 09:03 -0500, Mark Salter wrote: > On Wed, 2015-11-18 at 20:18 +1100, Michael Ellerman wrote: > > Hi folks, > > > > I'm intermittently seeing the following oops on at least one powerpc box. > > > > The BUG_ON() is from: > > > > static int scsi_init_sgtable(struct request

Re: [patch -mm] mm, vmalloc: remove VM_VPAGES

2015-11-18 Thread David Rientjes
On Thu, 19 Nov 2015, kbuild test robot wrote: > Hi David, > > [auto build test ERROR on: next-20151118] > [also build test ERROR on: v4.4-rc1] > You need to teach your bot what patches I'm proposing for the -mm tree (notice the patch title) instead of your various trees. --

Re: [PATCH 02/10] KVM: x86: MMU: Add helper function to clear a bit in unsync child bitmap

2015-11-18 Thread Takuya Yoshikawa
On 2015/11/18 11:44, Xiao Guangrong wrote: On 11/12/2015 07:50 PM, Takuya Yoshikawa wrote: +if (!ret) { +clear_unsync_child_bit(sp, i); +continue; +} else if (ret > 0) { nr_unsync_leaf += ret; Just a single line here,

Re: [PATCH v3] SPI: s3c64xx: pass DMA arguments in platform data

2015-11-18 Thread Krzysztof Kozlowski
On 18.11.2015 23:21, Arnd Bergmann wrote: > The s3c64xx platform data already contains a pointer to the > DMA filter function, but not to the associated data. > > This simplifies the code and makes it more generic by > passing the data along with the filter function like > we do for other

Re: [PATCH v3 5/5] x86/entry/64: Bypass enter_from_user_mode on non-context-tracking boots

2015-11-18 Thread Frederic Weisbecker
On Mon, Nov 16, 2015 at 03:57:05PM -0800, Andy Lutomirski wrote: > On Mon, Nov 16, 2015 at 2:50 PM, Frederic Weisbecker > wrote: > > On Mon, Nov 16, 2015 at 11:10:55AM -0800, Andy Lutomirski wrote: > >> On Nov 13, 2015 7:26 AM, "Frederic Weisbecker" wrote: > >> > > >> > On Thu, Nov 12, 2015 at

Re: [PATCH 3/3 v2] dl2k: Implement suspend

2015-11-18 Thread Francois Romieu
Ondrej Zary : [...] > diff --git a/drivers/net/ethernet/dlink/dl2k.c > b/drivers/net/ethernet/dlink/dl2k.c > index 9e9baa0..28a96d3 100644 > --- a/drivers/net/ethernet/dlink/dl2k.c > +++ b/drivers/net/ethernet/dlink/dl2k.c [...] > @@ -1824,11 +1831,55 @@ rio_remove1 (struct pci_dev *pdev) >

Re: [PATCH] PCI: Fix logic OF logic in pci_dma_configure()

2015-11-18 Thread Suravee Suthikulanit
Arg... sorry for the typo in the subject. It should say: [PATCH] PCI: Fix OF logic in pci_dma_configure() Suravee On 11/18/2015 6:49 PM, Suravee Suthikulpanit wrote: This patch fixes a bug introduced by previous commit, which incorrectly checkes the of_node of the end-point device. Instead,

[PATCH] PCI: Fix logic OF logic in pci_dma_configure()

2015-11-18 Thread Suravee Suthikulpanit
This patch fixes a bug introduced by previous commit, which incorrectly checkes the of_node of the end-point device. Instead, it should check the of_node of the host bridge. Fixes: 50230713b639 ("PCI: OF: Move of_pci_dma_configure() to pci_dma_configure()") Reported-by: Robin Murphy Cc: Rafael

[RESEND PATCH v3] dt-bindings: Consolidate SRAM bindings from all vendors

2015-11-18 Thread Krzysztof Kozlowski
SRAM bindings for various SoCs, using the mmio-sram genalloc API, are spread over different places - per SoC vendor. Since all of these are quite similar (they depend on mmio-sram) move them to a common place. Suggested-by: Rob Herring Signed-off-by: Krzysztof Kozlowski Cc: Heiko Stuebner Cc:

Re: [PATCH v3 3/5] soc: rockchip: add reboot notifier driver

2015-11-18 Thread kbuild test robot
Hi Andy, [auto build test WARNING on rockchip/for-next] [also build test WARNING on v4.4-rc1 next-20151118] url: https://github.com/0day-ci/linux/commits/Andy-Yan/Add-reboot-notifier-driver-for-rockchip-platform/20151118-181000 base: https://git.kernel.org/pub/scm/linux/kernel/git/mmind

Re: [patch -mm] mm, vmalloc: remove VM_VPAGES

2015-11-18 Thread kbuild test robot
Hi David, [auto build test WARNING on: next-20151118] [also build test WARNING on: v4.4-rc1] url: https://github.com/0day-ci/linux/commits/David-Rientjes/mm-vmalloc-remove-VM_VPAGES/20151119-083326 config: x86_64-randconfig-x015-11181928 (attached as .config) reproduce: # save

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