Re: [PATCH resend v2 3/9] mfd: axp20x: Add support for AXP809 PMIC

2016-04-21 Thread Chen-Yu Tsai
Hi Lee, On Mon, Apr 11, 2016 at 4:24 PM, Lee Jones wrote: > On Tue, 29 Mar 2016, Chen-Yu Tsai wrote: > >> The X-Powers AXP809 is a new PMIC that is paired with Allwinner's A80 >> SoC, along with a slave AXP806 PMIC. >> >> This PMIC is quite similar to the earlier AXP223, though the interrupts >>

Re: [PATCH] usb: core: Do not use sizeof on pointer type

2016-04-21 Thread Bjørn Mork
Vaishali Thakkar writes: > When sizeof is applied to a pointer typed expression, it gives > the size of the pointer. So, do not use sizeof on pointer type. What if the intended result was the size of the pointer? > Problem found using Coccinelle. Yes, sure. But you cannot just blindly apply t

Re: [PATCH v2 2/4] dt-bindings: Add jdi lt070me05000 panel bindings

2016-04-21 Thread Vinay Simha
On Thu, Apr 21, 2016 at 9:15 PM, Rob Herring wrote: > On Wed, Apr 20, 2016 at 03:02:31PM +0530, Vinay Simha BN wrote: >> Add documentation for lt070me05000 panel >> >> Signed-off-by: Vinay Simha BN >> --- >> .../bindings/display/panel/jdi,lt070me05000.txt| 43 >> ++ >> 1

Re: [PATCH net v2 0/3] drivers: net: cpsw: phy-handle fixes

2016-04-21 Thread Mugunthan V N
On Thursday 21 April 2016 11:20 PM, David Rivshin (Allworx) wrote: > From: David Rivshin > > The first patch fixes a bug that makes dual_emac mode break if > either slave uses the phy-handle property in the devicetree. > > The second patch fixes some cosmetic problems with error messages, > and

[v8, 4/7] dt: move guts devicetree doc out of powerpc directory

2016-04-21 Thread Yangbo Lu
Move guts devicetree doc to Documentation/devicetree/bindings/soc/fsl/ since it's used by not only PowerPC but also ARM. And add a specification for 'little-endian' property. Signed-off-by: Yangbo Lu Acked-by: Scott Wood Acked-by: Rob Herring --- Changes for v4: - Added this patch Chang

Re: [PATCH 10/11] x86, rwsem: provide __down_write_killable

2016-04-21 Thread Ingo Molnar
* Peter Zijlstra wrote: > On Wed, Apr 13, 2016 at 02:49:43PM +0200, Michal Hocko wrote: > > On Wed 13-04-16 12:27:31, Ingo Molnar wrote: > > > > > > * Ingo Molnar wrote: > > > > > > > I'm testing your patches today, if they are otherwise OK [...] > > > > > > got this build failure: > > > >

Re: [PATCH] usb: core: Do not use sizeof on pointer type

2016-04-21 Thread Clemens Ladisch
Vaishali Thakkar wrote: > When sizeof is applied to a pointer typed expression, it gives > the size of the pointer. And why would that be wrong in this case? > +++ b/drivers/usb/core/hcd.c > @@ -1386,7 +1386,7 @@ static int hcd_alloc_coherent(struct usb_bus *bus, > return -EFAULT; >

Re: [PATCH v7 6/8] [media] vcodec: mediatek: Add Mediatek VP8 Video Encoder Driver

2016-04-21 Thread kbuild test robot
Hi, [auto build test WARNING on linuxtv-media/master] [also build test WARNING on v4.6-rc4 next-20160421] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Tiffany-Lin/Add-MT8173-Video-Encoder

[v8, 0/7] Fix eSDHC host version register bug

2016-04-21 Thread Yangbo Lu
This patchset is used to fix a host version register bug in the T4240-R1.0-R2.0 eSDHC controller. To get the SoC version and revision, it's needed to add the GUTS driver to access the global utilities registers. So, the first four patches are to add the GUTS driver. The following patches except th

[PATCH v2 7/9] mtd: fsl-quadspi: Solve Micron Spansion flash command conflict

2016-04-21 Thread Yunhui Cui
From: Yunhui Cui Add some lut_tables to support quad mode for flash n25q128 on the board ls1021a-twr and solve flash Spansion and Micron command conflict. In switch {}, The value of command SPINOR_OP_RD_EVCR and SPINOR_OP_SPANSION_RDAR is the same. They have to share the same seq_id: SEQID_RDAR_O

[PATCH v2 6/9] mtd: spi-nor: Support R/W for S25FS-S family flash

2016-04-21 Thread Yunhui Cui
From: Yunhui Cui With the physical sectors combination, S25FS-S family flash requires some special operations for read/write functions. Signed-off-by: Yunhui Cui --- drivers/mtd/spi-nor/spi-nor.c | 59 +++ 1 file changed, 59 insertions(+) diff --git a/d

[PATCH v2 1/9] mtd:fsl-quadspi:use the property fields of SPI-NOR

2016-04-21 Thread Yunhui Cui
We can get the read/write/erase opcode from the spi nor framework directly. This patch uses the information stored in the SPI-NOR to remove the hardcode in the fsl_qspi_init_lut(). Signed-off-by: Yunhui Cui Signed-off-by: Yunhui Cui --- drivers/mtd/spi-nor/fsl-quadspi.c | 40 ---

[PATCH v2 2/9] mtd: fsl-quadspi: Rename SEQID_QUAD_READ to SEQID_READ

2016-04-21 Thread Yunhui Cui
There are some read modes for flash, such as NORMAL, FAST, QUAD, DDR QUAD. These modes will use the identical lut table base So rename SEQID_QUAD_READ to SEQID_READ. Signed-off-by: Yunhui Cui Signed-off-by: Yunhui Cui --- drivers/mtd/spi-nor/fsl-quadspi.c | 8 1 file changed, 4 inserti

[PATCH v2 3/9] mtd: spi-nor: fsl-quadspi: add fast-read mode support

2016-04-21 Thread Yunhui Cui
From: Yunhui Cui The qspi driver add generic fast-read mode for different flash venders. There are some different board flash work on different mode, such fast-read, quad-mode. Signed-off-by: Yunhui Cui --- drivers/mtd/spi-nor/fsl-quadspi.c | 21 - 1 file changed, 16 insert

Re: [PATCH 5/8] cpufreq: shmobile: Use generic platdev driver

2016-04-21 Thread Viresh Kumar
On 22-04-16, 08:41, Geert Uytterhoeven wrote: > I was mainly thinking about kernel size. Ahh, I see.. > If this is done once per boot, the array should be __initconst, > (looking at the code > in next) which is fine as cpufreq_dt_platdev_init() is already __init. Sure, makes sense.. I will do th

Re: [regression] linux318, linux41 - kernel stack is corrupted

2016-04-21 Thread Greg Kroah-Hartman
On Fri, Apr 22, 2016 at 08:17:58AM +0200, Philip Müller wrote: > Hi Greg, hi Sasha, > > seems I found another regression within the latest point-releases of > 3.18 and 4.1 kernel series. We tested it on AMD and Intel CPUs so far. > They hit the same regression. Other kernels released on that day a

Re: [PATCH V2] cpuidle: Change ktime_get() with local_clock()

2016-04-21 Thread Peter Zijlstra
On Thu, Apr 21, 2016 at 09:41:14PM +0200, Rafael J. Wysocki wrote: > On Thu, Apr 21, 2016 at 10:56 AM, Daniel Lezcano > wrote: > > The ktime_get() can have a non negligeable overhead, use local_clock() > > instead. > > > > In order to test the difference between ktime_get() and local_clock(), > >

[v8, 2/7] ARM64: dts: ls2080a: add device configuration node

2016-04-21 Thread Yangbo Lu
Add the dts node for device configuration unit that provides general purpose configuration and status for the device. Signed-off-by: Yangbo Lu Acked-by: Scott Wood --- Changes for v5: - Added this patch Changes for v6: - None Changes for v7: - None Changes for v8:

[regression] linux318, linux41 - kernel stack is corrupted

2016-04-21 Thread Philip Müller
Hi Greg, hi Sasha, seems I found another regression within the latest point-releases of 3.18 and 4.1 kernel series. We tested it on AMD and Intel CPUs so far. They hit the same regression. Other kernels released on that day are not affected. Do you guys have a clue what might been have missed here

Re: [regression] linux318, linux41 - kernel stack is corrupted

2016-04-21 Thread Philip Müller
Hi Greg, hi Sasha, seems I found another regression within the latest point-releases of 3.18 and 4.1 kernel series. We tested it on AMD and Intel CPUs so far. They hit the same regression. Other kernels released on that day are not affected. Do you guys have a clue what might been have missed here

Re: [PATCH 5/8] cpufreq: shmobile: Use generic platdev driver

2016-04-21 Thread Geert Uytterhoeven
Hi Viresh, On Fri, Apr 22, 2016 at 5:21 AM, Viresh Kumar wrote: > On 21-04-16, 15:04, Geert Uytterhoeven wrote: >> On Thu, Apr 21, 2016 at 10:43 AM, Viresh Kumar >> wrote: >> > --- a/drivers/cpufreq/cpufreq-dt-platdev.c >> > +++ b/drivers/cpufreq/cpufreq-dt-platdev.c >> > @@ -29,6 +29,18 @@ sta

[v8, 5/7] powerpc/fsl: move mpc85xx.h to include/linux/fsl

2016-04-21 Thread Yangbo Lu
Move mpc85xx.h to include/linux/fsl and rename it to svr.h as a common header file. It has been used for mpc85xx and it will be used for ARM-based SoC as well. Signed-off-by: Yangbo Lu Acked-by: Wolfram Sang Acked-by: Stephen Boyd Acked-by: Scott Wood Acked-by: Joerg Roedel --- Changes for v2

[v8, 6/7] MAINTAINERS: add entry for Freescale SoC specific driver

2016-04-21 Thread Yangbo Lu
Add maintainer entry for Freescale SoC specific driver including the QE library and the GUTS driver. Also add entry for GUTS driver and add maintainer for QE library. Signed-off-by: Yangbo Lu --- Changes for v8: - Added this patch --- MAINTAINERS | 16 +++- 1 file changed, 15

[v8, 7/7] mmc: sdhci-of-esdhc: fix host version for T4240-R1.0-R2.0

2016-04-21 Thread Yangbo Lu
The eSDHC of T4240-R1.0-R2.0 has incorrect vender version and spec version. Acturally the right version numbers should be VVN=0x13 and SVN = 0x1. This patch adds the GUTS driver support for eSDHC driver to get SVR(System version register). And fix host version to avoid that incorrect version number

[v8, 3/7] soc: fsl: add GUTS driver for QorIQ platforms

2016-04-21 Thread Yangbo Lu
The global utilities block controls power management, I/O device enabling, power-onreset(POR) configuration monitoring, alternate function selection for multiplexed signals,and clock control. This patch adds GUTS driver to manage and access global utilities block. Signed-off-by: Yangbo Lu Acked-

[v8, 1/7] Documentation: DT: update Freescale DCFG compatible

2016-04-21 Thread Yangbo Lu
Update Freescale DCFG compatible with 'fsl,-dcfg' instead of 'fsl,ls1021a-dcfg' to include more chips. Signed-off-by: Yangbo Lu --- Changes for v8: - Added this patch --- Documentation/devicetree/bindings/arm/fsl.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc

[PATCH v4 3/3] dmaengine: vdma: Add clock support

2016-04-21 Thread Kedareswara rao Appana
Added basic clock support for axi dma's. The clocks are requested at probe and released at remove. Reviewed-by: Shubhrajyoti Datta Signed-off-by: Kedareswara rao Appana --- Changes for v4: ---> Documented struct members as suggested by Soren. ---> Fixed required clock according to binding but a

[PATCH v4 2/3] Documentation: DT: vdma: Add clock support for dmas

2016-04-21 Thread Kedareswara rao Appana
This patch updates the binding doc with clock description for AXI DMA's. Acked-by: Sören Brinkmann Signed-off-by: Kedareswara rao Appana --- Changes for v4: ---> None. Changes for v3: ---> Added clock support for all the AXI DMA's. Changes for v2: --> Listed down all the clocks supported by the

[PATCH v4 0/3] dmaengine: Add clock support for AXI DMAS

2016-04-21 Thread Kedareswara rao Appana
This patch series adds basic clock support for AXI DMAS This patch series is created on top of the "dmaengine: vdma: AXI DMA's enhancments" patch series. Kedareswara rao Appana (3): dmaengine: vdma: Add config structure to differentiate dmas Documentation: DT: vdma: Add clock support for dmas

[PATCH v4 1/3] dmaengine: vdma: Add config structure to differentiate dmas

2016-04-21 Thread Kedareswara rao Appana
This patch adds config structure in the driver to differentiate AXI DMA's and to add more features(clock support etc..) to these DMA's. Signed-off-by: Kedareswara rao Appana --- Changes for v4: ---> None. Changes for v3: ---> New patch. drivers/dma/xilinx/xilinx_vdma.c | 83

Re: [PATCH v6 07/12] usb: otg: add OTG/dual-role core

2016-04-21 Thread Peter Chen
On Wed, Apr 20, 2016 at 10:03:34AM +0300, Roger Quadros wrote: > On 20/04/16 08:08, Yoshihiro Shimoda wrote: > > Hi, > > > >> From: Peter Chen > >> Sent: Tuesday, April 19, 2016 6:18 PM > >> > >> On Fri, Apr 15, 2016 at 10:03:16AM +, Yoshihiro Shimoda wrote: > >>> Hi, > >>> > From: Yoshih

RE: [PATCH v6 07/12] usb: otg: add OTG/dual-role core

2016-04-21 Thread Yoshihiro Shimoda
Hi, > From: Peter Chen > Sent: Friday, April 22, 2016 12:34 PM > > On Fri, Apr 22, 2016 at 09:26:46AM +0800, Peter Chen wrote: > > On Fri, Apr 15, 2016 at 10:03:16AM +, Yoshihiro Shimoda wrote: > > > Hi, > > > > > > > From: Yoshihiro Shimoda > > > > Sent: Friday, April 15, 2016 6:59 PM > > >

[PATCH RESEND v2 3/4] ARM64: dts: rockchip: add RK3399 evaluation board

2016-04-21 Thread Jianqun Xu
The RK3399 evaluation board is designed with pmic rk808 on top board. Signed-off-by: Jianqun Xu --- changes in v2: - new add patch Documentation/devicetree/bindings/arm/rockchip.txt | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/arm/ro

[PATCH RESEND v2 4/4] ARM64: dts: rockchip: add dts file for RK3399 evaluation board

2016-04-21 Thread Jianqun Xu
This patch add rk3399-evb.dts for RK3399 evaluation board. Tested on RK3399 evb. Signed-off-by: Jianqun Xu --- changes in v2: - remove rk808 since without i2c, which will upstream independently - remove es8316 since without i2c, which will upstream independently - fix codingstyle issues arch/ar

[PATCH RESEND v2 2/4] ARM64: dts: rockchip: add core dtsi file for RK3399 SoCs

2016-04-21 Thread Jianqun Xu
This patch adds core dtsi file for Rockchip RK3399 SoCs. The RK3399 has big/little architecture, which needs a separate node for the PMU of each microarchitecture, for now it missing the pmu node since the old one could not work well. Marc is working on it with: https://lkml.org/lkml/2016/4/11/18

[PATCH RESEND v2 1/4] Documentation: rockchip-dw-mshc: add description for rk3399

2016-04-21 Thread Jianqun Xu
From: Shawn Lin Add "rockchip,rk3399-dw-mshc", "rockchip,rk3288-dw-mshc" for dwmmc on rk3399 platform. Change-Id: Ieefafab5f0e9650271e823659e2bec1556c4a9bc Signed-off-by: Shawn Lin --- changes in v2: - new add patch Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.txt | 1 + 1 file chan

[PATCH RESEND v2 0/4] ARM64: dts: rockchip: add support for RK3399

2016-04-21 Thread Jianqun Xu
Add dtsi file for RK3399 SoCs, and evb dts file for RK3399 evb. To make patch more easily to be reviewed, some nodes have been removed temporarily, after this base file been applied, more patches will be upstreamed independently. Jianqun Xu (3): ARM64: dts: rockchip: add core dtsi file for RK33

[PATCH] usb: core: Do not use sizeof on pointer type

2016-04-21 Thread Vaishali Thakkar
When sizeof is applied to a pointer typed expression, it gives the size of the pointer. So, do not use sizeof on pointer type. Problem found using Coccinelle. Signed-off-by: Vaishali Thakkar --- drivers/usb/core/hcd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/u

Re: [RESEND PATCH v4] clk/axs10x: Add I2S PLL clock driver

2016-04-21 Thread Vineet Gupta
On Thursday 21 April 2016 05:48 PM, Alexey Brodkin wrote: > Hi Jose, > > On Thu, 2016-04-21 at 10:51 +0100, Jose Abreu wrote: >> Hi Alexey, > > > Otherwise, I still prefer two DTS files for the two different FPGA > versions. At the least, please use ioremap for any pointers that > yo

Re: [PATCH 7/9] thermal: of: Add support for hardware-tracked trip points

2016-04-21 Thread Sascha Hauer
On Fri, Apr 22, 2016 at 09:54:19AM +0800, Caesar Wang wrote: > Hi Brian, Eduardo, Sascha > > 在 2016年04月21日 09:12, Brian Norris 写道: > >+ Sascha > > > >On Wed, Apr 20, 2016 at 04:48:18PM -0700, Eduardo Valentin wrote: > >>On Mon, Apr 18, 2016 at 11:35:59AM +0800, Caesar Wang wrote: > >>>From: Mikko

[PATCH v2 4/4] ARM64: dts: rockchip: add dts file for RK3399 evaluation board

2016-04-21 Thread Jianqun Xu
This patch add rk3399-evb.dts for RK3399 evaluation board. Tested on RK3399 evb. Signed-off-by: Jianqun Xu --- changes in v2: - remove rk808 since without i2c, which will upstream independently - remove es8316 since without i2c, which will upstream independently - fix codingstyle issues arch/ar

RE: [PATCH v6 1/2] Documentation: DT: dma: Add Xilinx zynqmp dma device tree binding documentation

2016-04-21 Thread Appana Durga Kedareswara Rao
Hi Rob, Thanks for the review... > -Original Message- > From: Rob Herring [mailto:r...@kernel.org] > Sent: Thursday, April 21, 2016 7:12 PM > To: Appana Durga Kedareswara Rao > Cc: pawel.m...@arm.com; mark.rutl...@arm.com; > ijc+devicet...@hellion.org.uk; ga...@codeaurora.org; Mi

linux-next: Tree for Apr 22

2016-04-21 Thread Stephen Rothwell
Hi all, There will be no linux-next release on Monday (ANZAC Day). Changes since 20160421: New trees: rdma-leon, rdma-leon-test The pci tree gained a build failure so I used the version from next-20160421. The sound-asoc tree gained a build failure so I used the version from next

Re: [PATCH 2/2 v5] irqchip/Layerscape: Add SCFG MSI controller support

2016-04-21 Thread Leo Li
On Mon, Mar 7, 2016 at 3:50 AM, Marc Zyngier wrote: > On Mon, 7 Mar 2016 11:36:22 +0800 > Minghuan Lian wrote: > >> Some kind of NXP Layerscape SoC provides a MSI >> implementation which uses two SCFG registers MSIIR and >> MSIR to support 32 MSI interrupts for each PCIe controller. >> The patch

[PATCH 3/4] ARM64: dts: rockchip: add RK3399 evaluation board

2016-04-21 Thread Jianqun Xu
The RK3399 evaluation board is designed with pmic rk808 on top board. Signed-off-by: Jianqun Xu --- changes in v2: - remove rk808 since without i2c, which will upstream independently - remove es8316 since without i2c, which will upstream independently Documentation/devicetree/bindings/arm/rockc

[PATCH v2 2/4] ARM64: dts: rockchip: add core dtsi file for RK3399 SoCs

2016-04-21 Thread Jianqun Xu
This patch adds core dtsi file for Rockchip RK3399 SoCs. The RK3399 has big/little architecture, which needs a separate node for the PMU of each microarchitecture, for now it missing the pmu node since the old one could not work well. Marc is working on it with: https://lkml.org/lkml/2016/4/11/18

Re: [PATCH v2] Force cppc_cpufreq to report values in KHz to fix user space reporting

2016-04-21 Thread Viresh Kumar
On 19-04-16, 16:12, Ashwin Chaugule wrote: > + Ryan > > Hi Al, > > On 18 April 2016 at 20:11, Al Stone wrote: > > When CPPC is being used by ACPI on arm64, user space tools such as > > cpupower report CPU frequency values from sysfs that are incorrect. > > > > What the driver was doing was repor

Re: [PATCH] drm/exynos/hdmi: Don't print error on deferral due to regulators

2016-04-21 Thread Krzysztof Kozlowski
On 04/21/2016 08:51 PM, Javier Martinez Canillas wrote: > The regulators may not be available just because their driver's probe > function was just not executed and so the regulators not registered. > > So, in this case the Exynos HDMI driver should not print logs since > a -EPROBE_DEFER is not re

[PATCH v2 1/4] Documentation: rockchip-dw-mshc: add description for rk3399

2016-04-21 Thread Jianqun Xu
From: Shawn Lin Add "rockchip,rk3399-dw-mshc", "rockchip,rk3288-dw-mshc" for dwmmc on rk3399 platform. Change-Id: Ieefafab5f0e9650271e823659e2bec1556c4a9bc Signed-off-by: Shawn Lin --- Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.txt | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v2 0/4] ARM64: dts: rockchip: add support for RK3399

2016-04-21 Thread Jianqun Xu
Add dtsi file for RK3399 SoCs, and evb dts file for RK3399 evb. To make patch more easily to be reviewed, some nodes have been removed temporarily, after this base file been applied, more patches will be upstreamed independently. Jianqun Xu (3): ARM64: dts: rockchip: add core dtsi file for RK33

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

2016-04-21 Thread Stephen Rothwell
Hi Andrew, After merging the akpm-current tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/net/ethernet/qlogic/qede/qede_main.c: In function 'qede_fill_frag_skb': drivers/net/ethernet/qlogic/qede/qede_main.c:961:31: error: 'struct page' has no member named '_count'

Re: [RFC][PATCH 0/6] /dev/random - a new approach

2016-04-21 Thread Stephan Mueller
Am Donnerstag, 21. April 2016, 22:51:55 schrieb Theodore Ts'o: Hi Theodore, > I still have a massive problem with the claims that the "Jitter" RNG > provides any amount of entropy. Just because you and I might not be > able to analyze it doesn't mean that somebody else couldn't. After > all, DU

Re: [PATCH 8/9] mtd: fsl-quadspi: disable AHB buffer prefetch

2016-04-21 Thread Han Xu
From: Yunhui Cui Sent: Thursday, April 21, 2016 9:52 PM To: Han Xu; Yunhui Cui; dw...@infradead.org; computersforpe...@gmail.com; han...@freescale.com Cc: linux-kernel@vger.kernel.org; linux-...@lists.infradead.org; linux-arm-ker...@lists.infradead.org;

Re: [PATCH V3 29/29] ethernet: use parity8 in broadcom/tg3.c

2016-04-21 Thread Siva Reddy Kallam
On Thu, Apr 14, 2016 at 8:42 AM, wrote: > > From: Zhaoxiu Zeng > > Signed-off-by: Zhaoxiu Zeng Looks good to me. Acked-by: Siva Reddy Kallam > --- > drivers/net/ethernet/broadcom/tg3.c | 6 +- > 1 file changed, 1 insertion(+), 5 deletions(-) > > diff --git a/drivers/net/ethernet/broadcom/t

Re: [PATCH] ARM: dts: omap3: Fix ISP syscon register offset

2016-04-21 Thread Ivaylo Dimitrov
On 16.04.2016 09:20, Ivaylo Dimitrov wrote: According to the TRM, SCM CONTROL_CSIRXFE register is on offset 0x6c Signed-off-by: Ivaylo Dimitrov --- arch/arm/boot/dts/omap34xx.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/omap34xx.dtsi b/arch/arm

[PATCH v7 8/8] arm64: dts: mediatek: Add Video Encoder for MT8173

2016-04-21 Thread Tiffany Lin
Add video encoder node for MT8173 Signed-off-by: Tiffany Lin --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 39 ++ 1 file changed, 39 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index ae147bb..348

[PATCH v7 1/8] dt-bindings: Add a binding for Mediatek Video Processor

2016-04-21 Thread Tiffany Lin
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 Signed-off-by: Tiffany Lin Acked-by: Rob Herring --- .../devicetree/bindings/media/mediatek-vpu.txt | 31 1 file changed, 31

[PATCH v7 4/8] dt-bindings: Add a binding for Mediatek Video Encoder

2016-04-21 Thread Tiffany Lin
Add a DT binding documentation of Video Encoder for the MT8173 SoC from Mediatek. Signed-off-by: Tiffany Lin Acked-by: Rob Herring --- .../devicetree/bindings/media/mediatek-vcodec.txt | 59 1 file changed, 59 insertions(+) create mode 100644 Documentation/devicetree/b

[PATCH v7 5/8] [media] vcodec: mediatek: Add Mediatek V4L2 Video Encoder Driver

2016-04-21 Thread Tiffany Lin
Add v4l2 layer encoder driver for MT8173 Signed-off-by: Tiffany Lin --- drivers/media/platform/Kconfig | 16 + drivers/media/platform/Makefile|2 + drivers/media/platform/mtk-vcodec/Makefile | 14 + drivers/media/platform/mtk-vcodec/mtk_vc

[PATCH v7 0/8] Add MT8173 Video Encoder Driver and VPU Driver

2016-04-21 Thread Tiffany Lin
== Introduction == The purpose of this series is to add the driver for video codec hw embedded in the Mediatek's MT8173 SoCs. Mediatek Video Codec is able to handle video encoding of in a range of formats. This patch series also include VPU driver. Mediatek Video Codec d

[PATCH v7 7/8] [media] vcodec: mediatek: Add Mediatek H264 Video Encoder Driver

2016-04-21 Thread Tiffany Lin
Add h264 encoder driver for MT8173 Signed-off-by: PoChun Lin Signed-off-by: Tiffany Lin --- drivers/media/platform/mtk-vcodec/Makefile |1 + .../media/platform/mtk-vcodec/venc/venc_h264_if.c | 687 drivers/media/platform/mtk-vcodec/venc_drv_if.c|4 +-

[PATCH v7 2/8] [media] VPU: mediatek: support Mediatek VPU

2016-04-21 Thread Tiffany Lin
From: Andrew-CT Chen The VPU driver for hw video codec embedded in Mediatek's MT8173 SOCs. It is able to handle video decoding/encoding of in a range of formats. The driver provides with VPU firmware download, memory management and the communication interface between CPU and VPU. For VPU initiali

[PATCH v7 6/8] [media] vcodec: mediatek: Add Mediatek VP8 Video Encoder Driver

2016-04-21 Thread Tiffany Lin
Add vp8 encoder driver for MT8173 Signed-off-by: PoChun Lin Signed-off-by: Tiffany Lin --- drivers/media/platform/mtk-vcodec/Makefile |6 +- .../media/platform/mtk-vcodec/venc/venc_vp8_if.c | 488 drivers/media/platform/mtk-vcodec/venc_drv_if.c|7 +-

[PATCH v7 3/8] arm64: dts: mediatek: Add node for Mediatek Video Processor Unit

2016-04-21 Thread Tiffany Lin
From: Andrew-CT Chen Add VPU drivers for MT8173 Signed-off-by: Andrew-CT Chen Signed-off-by: Tiffany Lin --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 23 +++ 1 file changed, 23 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts

Re: [PATCH] ARM64: dts: rockchip: add core dtsi file for RK3399 SoCs

2016-04-21 Thread Huang, Tao
Hi, Doug: On 2016年04月22日 06:38, Doug Anderson wrote: > >>> + i2c1: i2c@ff11 { >>> + compatible = "rockchip,rk3399-i2c"; >> David respun the rk3399 i2c-support on tuesday, so this and the others below >> are waiting on Wolfram to take a look. > I think it can work with the rk3288

RE: [PATCH 8/9] mtd: fsl-quadspi: disable AHB buffer prefetch

2016-04-21 Thread Yunhui Cui
> -Original Message- > From: Han Xu > Sent: Thursday, April 21, 2016 11:48 PM > To: Yunhui Cui; Yunhui Cui; dw...@infradead.org; > computersforpe...@gmail.com; han...@freescale.com > Cc: linux-kernel@vger.kernel.org; linux-...@lists.infradead.org; linux- > arm-ker...@lists.infradead.org;

Re: [PATCH V4] audit: add tty field to LOGIN event

2016-04-21 Thread Richard Guy Briggs
On 16/04/21, Paul Moore wrote: > On Thu, Apr 21, 2016 at 2:14 PM, Richard Guy Briggs wrote: > > The tty field was missing from AUDIT_LOGIN events. > > > > Refactor code to create a new function audit_get_tty(), using it to > > replace the call in audit_log_task_info() and to add it to > > audit_lo

[PATCH] iio: tmp006: Set correct iio name

2016-04-21 Thread Yong Li
When load the driver using the below command: echo tmp006 0x40 > /sys/bus/i2c/devices/i2c-0/new_device In sysfs, the i2c name is tmp006, however the iio name is 0-0040, they are inconsistent. With this patch, the iio name will be the same as the i2c device name Signed-off-by: Yong Li --- driver

Re: [PATCH v6 07/12] usb: otg: add OTG/dual-role core

2016-04-21 Thread Peter Chen
On Fri, Apr 22, 2016 at 09:26:46AM +0800, Peter Chen wrote: > On Fri, Apr 15, 2016 at 10:03:16AM +, Yoshihiro Shimoda wrote: > > Hi, > > > > > From: Yoshihiro Shimoda > > > Sent: Friday, April 15, 2016 6:59 PM > > > > > > Hi, > > > > > > > From: Roger Quadros > > > > Sent: Thursday, April 14

Re: [PATCH] Revert "cpufreq: governor: Fix negative idle_time when configured with CONFIG_HZ_PERIODIC"

2016-04-21 Thread Viresh Kumar
On 21-04-16, 20:57, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Revert commit 0df35026c6a5 (cpufreq: governor: Fix negative idle_time > when configured with CONFIG_HZ_PERIODIC) that introduced a regression > by causing the ondemand cpufreq governor to misbehave for > CONFIG_TICK_CPU_AC

Re: [PATCH v3 2/6] sched/rtmutex/deadline: Fix a PI crash for deadline tasks

2016-04-21 Thread Xunlei Pang
Hi Peter, On 2016/04/20 at 21:49, Xunlei Pang wrote: > On 2016/04/20 at 21:19, Peter Zijlstra wrote: >> On Thu, Apr 14, 2016 at 07:37:03PM +0800, Xunlei Pang wrote: >>> + /* Updated under pi_lock and rtmutex lock */ >>> struct rb_node *pi_waiters_leftmost; >>> + struct rb_node *pi_waiters_

Re: [PATCH 5/8] cpufreq: shmobile: Use generic platdev driver

2016-04-21 Thread Viresh Kumar
On 21-04-16, 15:04, Geert Uytterhoeven wrote: > Hi Viresh, > > On Thu, Apr 21, 2016 at 10:43 AM, Viresh Kumar > wrote: > > --- a/drivers/cpufreq/cpufreq-dt-platdev.c > > +++ b/drivers/cpufreq/cpufreq-dt-platdev.c > > @@ -29,6 +29,18 @@ static const struct of_device_id machines[] = { > >

[PATCH] PM / OPP: -ENOSYS is applicable only to syscalls

2016-04-21 Thread Viresh Kumar
Some of the routines have use -ENOSYS, which is supposed to be used only for syscalls. Replace that with -EINVAL. Signed-off-by: Viresh Kumar --- I am including this patch into the series and this one will be the first patch of the series. Also, later patches will be updated to *not* use -ENOSYS.

Re: [PATCH V3] powerpc: Implement {cmp}xchg for u8 and u16

2016-04-21 Thread Boqun Feng
On Fri, Apr 22, 2016 at 09:59:22AM +0800, Pan Xinhui wrote: > On 2016年04月21日 23:52, Boqun Feng wrote: > > On Thu, Apr 21, 2016 at 11:35:07PM +0800, Pan Xinhui wrote: > >> On 2016年04月20日 22:24, Peter Zijlstra wrote: > >>> On Wed, Apr 20, 2016 at 09:24:00PM +0800, Pan Xinhui wrote: > >>> > +#def

Re: [PATCH 1/5] x86, KASLR: Update description for decompressor worst case size

2016-04-21 Thread Baoquan He
On 04/21/16 at 01:04pm, Kees Cook wrote: > On Thu, Apr 21, 2016 at 7:47 AM, Borislav Petkov wrote: > > On Wed, Apr 20, 2016 at 01:55:42PM -0700, Kees Cook wrote: > > ... > > What's "non compressed data overhead"? > > > > Does that want to say: > > > > "... resulting in 18 bytes overhead of uncompr

Re: [RFC][PATCH 0/6] /dev/random - a new approach

2016-04-21 Thread Theodore Ts'o
I still have a massive problem with the claims that the "Jitter" RNG provides any amount of entropy. Just because you and I might not be able to analyze it doesn't mean that somebody else couldn't. After all, DUAL-EC DRNG was very complicated and hard to analyze. So would be something like A

Re: [PATCH v2 all 00/14] use of_platform_default_populate() to populate default bus

2016-04-21 Thread Kefeng Wang
On 2016/4/21 21:10, Rob Herring wrote: > On Thu, Apr 21, 2016 at 2:55 AM, Kefeng Wang > wrote: >> Hi Rob, >> >> On 2016/4/20 5:10, Rob Herring wrote: >>> On Wed, Mar 16, 2016 at 2:35 AM, Kefeng Wang >>> wrote: Use helper of_platform_default_populate() in linux/of_platform when possi

Re: [RFC][PATCH 2/4] tracing: Use pid bitmap instead of a pid array for set_event_pid

2016-04-21 Thread Namhyung Kim
Hi Steve, On Tue, Apr 19, 2016 at 10:34:23AM -0400, Steven Rostedt wrote: > From: Steven Rostedt > > In order to add the ability to let tasks that are filtered by the events > have their children also be traced on fork (and then not traced on exit), > convert the array into a pid bitmask. Most o

Re: [PATCH V3 05/11] staging: mt29f_spinand: set ECC algorithm explicitly

2016-04-21 Thread Greg Kroah-Hartman
On Thu, Apr 21, 2016 at 10:20:56PM +0200, Boris Brezillon wrote: > Hi Greg, > > On Sun, 17 Apr 2016 22:53:01 +0200 > Rafał Miłecki wrote: > > > This is part of process deprecating NAND_ECC_SOFT_BCH (and switching to > > enum nand_ecc_algo). > > Do you mind if I take this patch through the NAND

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

2016-04-21 Thread Stephen Rothwell
^ sound/soc/codecs/hdmi-codec.c:70:19: error: 'struct hdmi_codec_priv' has no member named 'eld_lock' mutex_unlock(&hcp->eld_lock); ^ Caused by commit 81151cfb6bfe ("ASoC: hdmi-codec: Add ELD control") I have used the sound-asoc tree from next-20160421 for today. -- Cheers, Stephen Rothwell

Re: [PATCH V3] powerpc: Implement {cmp}xchg for u8 and u16

2016-04-21 Thread Pan Xinhui
On 2016年04月21日 23:52, Boqun Feng wrote: > On Thu, Apr 21, 2016 at 11:35:07PM +0800, Pan Xinhui wrote: >> On 2016年04月20日 22:24, Peter Zijlstra wrote: >>> On Wed, Apr 20, 2016 at 09:24:00PM +0800, Pan Xinhui wrote: >>> +#define __XCHG_GEN(cmp, type, sfx, skip, v) >

[PATCH][RESEND] of: add missing const for of_parse_phandle_with_args() in !CONFIG_OF

2016-04-21 Thread Kuninori Morimoto
From: Kuninori Morimoto commit 93c667ca2598bd84f1bd3f2fa176af69707699fe ("of: *node argument to of_parse_phandle_with_args should be const") changed to const for struct device node *np, but it cares CONFIG_OF case only, !CONFIG_OF case need it too. Signed-off-by: Kuninori Morimoto --- include/

Re: [PATCH 7/9] thermal: of: Add support for hardware-tracked trip points

2016-04-21 Thread Caesar Wang
Hi Brian, Eduardo, Sascha 在 2016年04月21日 09:12, Brian Norris 写道: + Sascha On Wed, Apr 20, 2016 at 04:48:18PM -0700, Eduardo Valentin wrote: On Mon, Apr 18, 2016 at 11:35:59AM +0800, Caesar Wang wrote: From: Mikko Perttunen This adds support for hardware-tracked trip points to the device tree

[PATCH] dma: rcar-dmac: use list_add() on rcar_dmac_desc_put()

2016-04-21 Thread Kuninori Morimoto
From: Kuninori Morimoto Current rcar_dmac_desc_put() is using list_add_tail() in order to push used descriptor to list of free descriptors, and next DMA transfer try to reuse it from this list. But because it is using *_tail(), this reuse effect can't be obtained without using all of them. For a

Re: [PATCH] ARM64: dts: rockchip: add core dtsi file for RK3399 SoCs

2016-04-21 Thread jay.xu
Hi Marc: On 2016年04月22日 05:12, Marc Zyngier wrote: On Thu, 21 Apr 2016 22:24:09 +0200 Heiko Stübner wrote: Am Donnerstag, 21. April 2016, 12:30:18 schrieb Marc Zyngier: On Thu, 21 Apr 2016 18:47:20 +0800 "Huang, Tao" wrote: Hi, Mark: On 2016年04月21日 18:19, Mark Rutland wrote: On Thu, Apr

Re: [PATCH v3] KVM: remove buggy vcpu id check on vcpu creation

2016-04-21 Thread Wanpeng Li
2016-04-21 23:29 GMT+08:00 Radim Krčmář : > 2016-04-21 13:29+0200, Greg Kurz: >> On Wed, 20 Apr 2016 20:29:09 +0200 >> Radim Krčmář wrote: >>> 2016-04-20 17:44+0200, Greg Kurz: >>> > Commit 338c7dbadd26 ("KVM: Improve create VCPU parameter (CVE-2013-4587)") >>> > introduced a check to prevent pote

RE: [PATCH kernel 1/2] mm: add the related functions to build the free page bitmap

2016-04-21 Thread Li, Liang Z
> On Wed, Apr 20, 2016 at 01:41:24AM +, Li, Liang Z wrote: > > > Cc: Rik van Riel; v...@zeniv.linux.org.uk; > > > linux-kernel@vger.kernel.org; quint...@redhat.com; > > > amit.s...@redhat.com; pbonz...@redhat.com; dgilb...@redhat.com; > > > linux...@kvack.org; k...@vger.kernel.org; qemu- de...@

Re: [PATCH v6 07/12] usb: otg: add OTG/dual-role core

2016-04-21 Thread Peter Chen
On Fri, Apr 15, 2016 at 10:03:16AM +, Yoshihiro Shimoda wrote: > Hi, > > > From: Yoshihiro Shimoda > > Sent: Friday, April 15, 2016 6:59 PM > > > > Hi, > > > > > From: Roger Quadros > > > Sent: Thursday, April 14, 2016 8:32 PM > > > > > > On 14/04/16 14:15, Yoshihiro Shimoda wrote: > > > > H

Re: [PATCH V4] audit: add tty field to LOGIN event

2016-04-21 Thread Paul Moore
On Thu, Apr 21, 2016 at 2:14 PM, Richard Guy Briggs wrote: > The tty field was missing from AUDIT_LOGIN events. > > Refactor code to create a new function audit_get_tty(), using it to > replace the call in audit_log_task_info() and to add it to > audit_log_set_loginuid(). Lock and bump the kref t

Re: [PATCH v11 3/3] printk: make printk.synchronous param rw

2016-04-21 Thread Sergey Senozhatsky
ernel command line: BOOT_IMAGE=/vmlinuz-4.6.0-rc4-next-20160421 ... printk.synchronous=0 [..] [0.00] [] printk_sync_set+0x12/0x52 [0.00] [] parse_args+0x1ad/0x2bb [0.00] [] ? vprintk_default+0x18/0x1a [0.00] [] start_kernel+0x175/0x378 [0.00] [] ? set_in

Re: [PATCH] bcache: bch_writeback_thread() is not freezable

2016-04-21 Thread Eric Wheeler
On Wed, 20 Apr 2016, Jiri Kosina wrote: > On Tue, 19 Apr 2016, Eric Wheeler wrote: > > > > bch_writeback_thread() is calling try_to_freeze(), but that's just an > > > expensive no-op given the fact that the thread is not marked freezable. > > > > > > I/O helper kthreads, exactly such as the bcac

Re: [PATCH 2/3] ASoC: simple-card: Add support jack detection via codec

2016-04-21 Thread Xing Zheng
On 2016年04月21日 22:19, Rob Herring wrote: On Mon, Apr 18, 2016 at 04:17:31PM +0800, Xing Zheng wrote: In most cases, many codecs already supports jack detection, previouslly, we need to create a customized machine driver every time. Hence, the simple-card need to support use them dynamically vi

RE: {standard input}:136: Error: number (0x9000000080000000) larger than 32 bits

2016-04-21 Thread Maciej W. Rozycki
On Tue, 19 Apr 2016, Matthew Fortune wrote: > > I have a fix in the works and to have it integrated upstream I just > > need to accompany it with suitable cases -- like the fragment above -- > > for the GAS testsuite. I'll send an update when it's ready. > > I do not think the change in behavio

Re: [PATCH v3 0/2] Align mmap address for DAX pmd mappings

2016-04-21 Thread Toshi Kani
On 4/21/2016 8:22 PM, Matthew Wilcox wrote: On Thu, Apr 21, 2016 at 07:43:39PM -0400, Toshi Kani wrote: On 4/21/2016 4:21 PM, Mike Kravetz wrote: Might want to keep the future possibility of PUD_SIZE THP in mind? Yes, this is why the func name does not say 'pmd'. It can be extended to support

[git pull] drm fixes

2016-04-21 Thread Dave Airlie
Hi Linus, i915, nouveau and amdgpu/radeon fixes in this. Two nouveau fixes, one for a regression with dithering and one for a bug hit by the userspace drivers. i915 has a few fixes, mostly things heading for stable, two important skylake GT3/4 hangs. radeon/amdgpu has some audio, suspend/resum

linux-next: build failure after merge of the pci tree

2016-04-21 Thread Stephen Rothwell
ion) ks_pcie->np = node; ^ Caused by commit 7be92716c1aa ("PCI: keystone: Add error IRQ handler") I have used the pci tree from next-20160421 for today. -- Cheers, Stephen Rothwell

Re: [PATCH 1/3] mfd: add Cypress FM33256B Processor Companion driver

2016-04-21 Thread kbuild test robot
Hi, [auto build test ERROR on ljones-mfd/for-mfd-next] [also build test ERROR on v4.6-rc4 next-20160421] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Jeppe-Ledet-Pedersen/Cypress-FM33256B

[BUG linux-next] kernel NULL pointer dereference on linux-next-20160420

2016-04-21 Thread Shi, Yang
Hi folks, I did the below test with huge tmpfs on linux-next-20160420: # mount -t tmpfs huge=1 tmpfs /mnt # cd /mnt Then clone linux kernel Then I got the below bug, such test works well on non-huge tmpfs. BUG: unable to handle kernel NULL pointer dereference at (null) IP: [] release

Re: [PATCH] cpufreq: mt8173: use list_for_each_entry*()

2016-04-21 Thread Rafael J. Wysocki
On Tuesday, April 05, 2016 08:35:57 AM Viresh Kumar wrote: > On 05-04-16, 10:38, Geliang Tang wrote: > > Use list_for_each_entry*() instead of list_for_each*() to simplify > > the code. > > > > Signed-off-by: Geliang Tang > > --- > > drivers/cpufreq/mt8173-cpufreq.c | 14 -- > > 1 fi

Re: [PATCH] cpuidle: Indicate when a device has been unregistered

2016-04-21 Thread Rafael J. Wysocki
On Wednesday, April 06, 2016 12:00:48 PM Daniel Lezcano wrote: > On Tue, Apr 05, 2016 at 02:05:38PM -0500, Dave Gerlach wrote: > > Currently the 'registered' member of the cpuidle_device struct is set > > to 1 during cpuidle_register_device. In this same function there are > > checks to see if the

  1   2   3   4   5   6   7   8   9   >