RE: [PATCH v2] video: AMBA CLCD: Remove unncessary include in amba-clcd.c

2016-04-04 Thread Wang, Annie
Hi Tomi, Any comments of this patch? Regards, Hongcheng Wang(Annie) >-Original Message- >From: Wang Hongcheng [mailto:annie.w...@amd.com] >Sent: Monday, March 14, 2016 10:29 AM >To: Russell King; Jean-Christophe Plagniol-Villard; Tomi Valkeinen; linux- >fb...@vger.kernel.org; linux-kern

Re: [PATCH RFC] sched/fair: let cpu's cfs_rq to reflect task migration

2016-04-04 Thread Leo Yan
On Mon, Apr 04, 2016 at 09:48:23AM +0100, Morten Rasmussen wrote: > On Sat, Apr 02, 2016 at 03:11:54PM +0800, Leo Yan wrote: > > On Fri, Apr 01, 2016 at 03:28:49PM -0700, Steve Muckle wrote: > > > I think I follow - Leo please correct me if I mangle your intentions. > > > It's an issue that Morten

Re: [PATCH v9 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2016-04-04 Thread Peter Chen
On Fri, Apr 01, 2016 at 03:21:48PM +0800, Baolin Wang wrote: > Currently the Linux kernel does not provide any standard integration of this > feature that integrates the USB subsystem with the system power regulation > provided by PMICs meaning that either vendors must add this in their kernels > o

[PATCH 6/6] ARM: dts: pxa3xx: add pincontrol helpers

2016-04-04 Thread Robert Jarzmik
The various pxa3xx variants have a really weird pin scheme assignement, when you want the pin number relative to a known gpio pin. This change adds the various tools to ease up writing the pinmux and pinconf devicetree parts. Signed-off-by: Robert Jarzmik --- arch/arm/boot/dts/pxa3xx.dtsi | 90

[PATCH 4/6] ARM: dts: pxa: fix the ohci clock for pxa3xx

2016-04-04 Thread Robert Jarzmik
Fix the USB host clock, which is CLK_USBH. CLK_USBHOST is the clock of the usb host of pxa27x SoCs. Signed-off-by: Robert Jarzmik --- arch/arm/boot/dts/pxa3xx.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/pxa3xx.dtsi b/arch/arm/boot/dts/pxa3xx.dtsi in

[PATCH 5/6] ARM: dts: pxa: add pinctrl to pxa3xx

2016-04-04 Thread Robert Jarzmik
Add pincontrol to pxa3xx, based on pinconf-simple. Signed-off-by: Robert Jarzmik --- arch/arm/boot/dts/pxa3xx.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/pxa3xx.dtsi b/arch/arm/boot/dts/pxa3xx.dtsi index 5e2dea0f1436..6995b11ce042 100644 --- a/arch/arm/boo

[PATCH 1/6] ARM: dts: pxa: add pxa framebuffer device

2016-04-04 Thread Robert Jarzmik
Add the framebuffer device, or display controller, available on pxa2xx and pxa3xx platforms. Signed-off-by: Robert Jarzmik --- arch/arm/boot/dts/pxa2xx.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/pxa2xx.dtsi b/arch/arm/boot/dts/pxa2xx.dtsi index 5e5af078b9b

[PATCH 3/6] ARM: dts: add pincontroller to pxa27x

2016-04-04 Thread Robert Jarzmik
Add the new pincontrol driver to pxa27x based boards. Signed-off-by: Robert Jarzmik --- arch/arm/boot/dts/pxa27x.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/pxa27x.dtsi b/arch/arm/boot/dts/pxa27x.dtsi index 210192c38df3..9e73dc6b3ed3 100644 --- a/arch/arm/bo

[PATCH 2/6] ARM: dts: pxa: add pxa3xx pwm nodes

2016-04-04 Thread Robert Jarzmik
The pxa3xx SoC has 4 PWMs, exactly as the pxa27x does. Add them to the description. Signed-off-by: Robert Jarzmik --- arch/arm/boot/dts/pxa3xx.dtsi | 32 1 file changed, 32 insertions(+) diff --git a/arch/arm/boot/dts/pxa3xx.dtsi b/arch/arm/boot/dts/pxa3xx.dtsi

[PATCH 4/6] x86/tsc: Save an indentation level in recalibrate_cpu_khz()

2016-04-04 Thread Borislav Petkov
From: Borislav Petkov ... by flipping the check. Signed-off-by: Borislav Petkov Cc: Thomas Gleixner Cc: Peter Zijlstra --- arch/x86/kernel/tsc.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/x86/kernel/tsc.c b/arch/x86/kernel/tsc.c index 5bb702c77e

[PATCH 1/6] x86/fpu/regset: Use boot_cpu_has()

2016-04-04 Thread Borislav Petkov
From: Borislav Petkov fpregs_{g,s}et() are not sizzling-hot paths to justify the need for static_cpu_has(). Use the normal boot_cpu_has() helper. Signed-off-by: Borislav Petkov --- arch/x86/kernel/fpu/regset.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/ker

[PATCH 0/6] x86: Misc cleanups

2016-04-04 Thread Borislav Petkov
From: Borislav Petkov Hi, here a bunch of minor cleanups ontop of the cpu_has_YYY removal pile. Borislav Petkov (6): x86/fpu/regset: Use boot_cpu_has() x86/cpu: Simplify extended APIC ID detection on AMD x86/tsc: Do not check X86_FEATURE_CONSTANT_TSC in notifier call x86/tsc: Save an in

[PATCH 6/6] x86/fpu: Get rid of x87 math exception helpers

2016-04-04 Thread Borislav Petkov
From: Borislav Petkov ... and integrate their functionality into their single user fpu__exception_code(). No functionality change. Signed-off-by: Borislav Petkov --- arch/x86/kernel/fpu/core.c | 44 +--- 1 file changed, 13 insertions(+), 31 deletions(-)

[PATCH 3/6] x86/tsc: Do not check X86_FEATURE_CONSTANT_TSC in notifier call

2016-04-04 Thread Borislav Petkov
From: Borislav Petkov ... because the notifier-registering routine already does that. Also, rename cpufreq_tsc() init call to something more telling. Signed-off-by: Borislav Petkov Cc: Thomas Gleixner Cc: Peter Zijlstra --- arch/x86/kernel/tsc.c | 7 ++- 1 file changed, 2 insertions(+),

[PATCH 2/6] x86/cpu: Simplify extended APIC ID detection on AMD

2016-04-04 Thread Borislav Petkov
From: Borislav Petkov Both if-branches are under if (boot_cpu_has(X86_FEATURE_APIC)), unify them. Also, simplify the test for bits: - 17 ("ApicExtBrdCst: APIC extended broadcast enable") and - 18 ("ApicExtId: APIC extended ID enable.") in "D18F0x68 Link Transaction Control." No functionality

[PATCH 5/6] x86/fpu: Remove check_fpu() indirection

2016-04-04 Thread Borislav Petkov
From: Borislav Petkov Rename it to fpu__init_check_bugs() and do the CPU feature check at entry, thus getting rid of the old fpu__init_check_bugs() wrapper. Signed-off-by: Borislav Petkov --- arch/x86/kernel/fpu/bugs.c | 16 +--- 1 file changed, 5 insertions(+), 11 deletions(-) di

RE: [PATCH] usb: gadget: udc-core: remove manual dma configuration

2016-04-04 Thread Yoshihiro Shimoda
Hi, > From: Grygorii Strashko [mailto:grygorii.stras...@ti.com] > Sent: Monday, April 04, 2016 8:32 PM > > Since commit 7ace8fc8219e ("usb: gadget: udc: core: Fix argument of > dma_map_single for IOMMU") it is not necessary to configure DMA for > usb_gadget device manually, because all DMA operat

Re: [PATCH] kvm: x86: make lapic hrtimer pinned

2016-04-04 Thread Yang Zhang
On 2016/4/5 5:00, Rik van Riel wrote: On Mon, 2016-04-04 at 16:46 -0400, Luiz Capitulino wrote: When a vCPU runs on a nohz_full core, the hrtimer used by the lapic emulation code can be migrated to another core. When this happens, it's possible to observe milisecond latency when delivering timer

Re: [RFC PATCH v2 0/5] Media Device Allocator API

2016-04-04 Thread Takashi Iwai
On Tue, 05 Apr 2016 05:35:55 +0200, Shuah Khan wrote: > > There are known problems with media device life time management. When media > device is released while an media ioctl is in progress, ioctls fail with > use-after-free errors and kernel hangs in some cases. > > Media Device can be in any t

Re: [bug] mapping multiple BARs

2016-04-04 Thread Borislav Petkov
On Thu, Mar 24, 2016 at 02:36:56PM +0100, Jiri Olsa wrote: > On Thu, Mar 24, 2016 at 11:15:06AM +0100, Borislav Petkov wrote: > > On Thu, Mar 24, 2016 at 10:44:41AM +0100, Jiri Olsa wrote: > > > hi, > > > I'm hitting following lines in dmesg: > > > resource sanity check: requesting [mem 0xfed1000

Re: [PATCH v5 1/6] pwms: pwm-ti*: Get the clock from the PWMSS (parent)

2016-04-04 Thread Sekhar Nori
On Tuesday 08 March 2016 06:53 AM, Franklin S Cooper Jr wrote: > The eCAP and ePWM doesn't have their own separate clocks. They simply > utilize the clock provided directly by the PWMSS. Therefore, they simply > need to grab a reference to their parent's clock. > > Signed-off-by: Franklin S Cooper

Re: [PATCH v6 4/4] perf config: Initialize perf_config_set with all default configs

2016-04-04 Thread Taeung Song
Hi, Masami On 04/04/2016 10:28 PM, Masami Hiramatsu wrote: On Mon, 4 Apr 2016 18:17:07 +0900 Taeung Song wrote: To avoid duplicated config variables and use perf_config_set classifying between standard perf config variables and unknown or new config variables other than them, initialize perf

[PATCH v3 09/14] sh: use of_platform_default_populate() to populate default bus

2016-04-04 Thread Kefeng Wang
Use helper of_platform_default_populate() in linux/of_platform when possible, instead of calling of_platform_populate() with the default match table. Cc: Rich Felker Cc: Yoshinori Sato Signed-off-by: Kefeng Wang --- arch/sh/boards/of-generic.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletio

[PATCH v3 14/14] Revert "of/platform: export of_default_bus_match_table"

2016-04-04 Thread Kefeng Wang
This reverts commit b80443c2211c7daaabd20fbbe9e7beb3fa3408e0. After covering to use helper of_platform_default_populate() to populate the default bus, no need to export of_default_bus_match_table anymore. Reviewed-by: Masahiro Yamada Cc: Masahiro Yamada Cc: Rob Herring Cc: Frank Rowand Cc: Gr

[PATCH v3 01/14] arm: use of_platform_default_populate() to populate default bus

2016-04-04 Thread Kefeng Wang
Use helper of_platform_default_populate() in linux/of_platform when possible, instead of calling of_platform_populate() with the default match table. Acked-by: Shawn Guo Acked-by: Heiko Stuebner Acked-by: Krzysztof Halasa Acked-by: Nicolas Ferre Acked-by: Viresh Kumar Cc: Lars Persson Cc: Ni

Re: [PATCH char-misc-linus] misc: mic: Fix randconfig build error

2016-04-04 Thread Greg Kroah-Hartman
On Mon, Apr 04, 2016 at 10:00:23PM -0700, Sudeep Dutt wrote: > On Mon, 2016-04-04 at 21:41 -0700, Greg Kroah-Hartman wrote: > > On Mon, Apr 04, 2016 at 09:32:30PM -0700, Sudeep Dutt wrote: > > > Fixes randconfig build error reported at > > > https://lkml.org/lkml/2016/4/3/135 by ensuring that > > >

staging:iio:adis162** cleanup

2016-04-04 Thread Valentin Rothberg
Hi Lars-Peter, both of your commits 88ae3aedb8ec ("staging:iio:adis16204: Remove adis16204 driver") and 2bcdb3f2e05f ("staging:iio:adis16220: Remove adis16220 driver") have shown up in today's linux-next. The corresponding Kconfig options are still referenced in the __initdata struct in arch/blac

[PATCH v3 12/14] memory: omap-gpmc: use of_platform_default_populate() to populate default bus

2016-04-04 Thread Kefeng Wang
Use helper of_platform_default_populate() in linux/of_platform when possible, instead of calling of_platform_populate() with the default match table. Acked-by: Roger Quadros Cc: Roger Quadros Cc: Tony Lindgren Signed-off-by: Kefeng Wang --- drivers/memory/omap-gpmc.c | 3 +-- 1 file changed,

[PATCH v3 13/14] of: unittest: use of_platform_default_populate() to populate default bus

2016-04-04 Thread Kefeng Wang
Use helper of_platform_default_populate() in linux/of_platform when possible, instead of calling of_platform_populate() with the default match table. Cc: Rob Herring Cc: Frank Rowand Cc: Grant Likely Signed-off-by: Kefeng Wang --- drivers/of/unittest.c | 5 ++--- 1 file changed, 2 insertions(

[PATCH v3 11/14] bus: uniphier-system-bus: use of_platform_default_populate() to populate default bus

2016-04-04 Thread Kefeng Wang
Use helper of_platform_default_populate() in linux/of_platform when possible, instead of calling of_platform_populate() with the default match table. Acked-by: Masahiro Yamada Cc: Masahiro Yamada Signed-off-by: Kefeng Wang --- drivers/bus/uniphier-system-bus.c | 3 +-- 1 file changed, 1 insert

[PATCH v3 10/14] bus: imx-weim: use of_platform_default_populate() to populate default bus

2016-04-04 Thread Kefeng Wang
Use helper of_platform_default_populate() in linux/of_platform when possible, instead of calling of_platform_populate() with the default match table. Acked-by: Shawn Guo Cc: Signed-off-by: Huang Shijie Cc: Shawn Guo Signed-off-by: Kefeng Wang --- drivers/bus/imx-weim.c | 5 ++--- 1 file chang

[PATCH v3 06/14] cris: use of_platform_default_populate() to populate default bus

2016-04-04 Thread Kefeng Wang
Use helper of_platform_default_populate() in linux/of_platform when possible, instead of calling of_platform_populate() with the default match table. Cc: Mikael Starvik Cc: Jesper Nilsson Signed-off-by: Kefeng Wang --- arch/cris/kernel/setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH v1] regulator: twl: Provide of_map_mode for twl4030

2016-04-04 Thread Ivaylo Dimitrov
of_map_mode is needed so to be possible to set initial regulators mode from the board DTS. Otherwise, for DT boot, regulators are left in their default state after reset/reboot. Document device specific modes as well. Signed-off-by: Ivaylo Dimitrov --- .../bindings/regulator/twl-regulator.txt

[PATCH v3 02/14] arm64: use of_platform_default_populate() to populate default bus

2016-04-04 Thread Kefeng Wang
Use helper of_platform_default_populate() in linux/of_platform when possible, instead of calling of_platform_populate() with the default match table. Acked-by: Catalin Marinas Cc: Catalin Marinas Cc: Will Deacon Cc: Arnd Bergmann Signed-off-by: Kefeng Wang --- arch/arm64/kernel/setup.c | 3 +

[PATCH v3 03/14] mips: use of_platform_default_populate() to populate default bus

2016-04-04 Thread Kefeng Wang
Use helper of_platform_default_populate() in linux/of_platform when possible, instead of calling of_platform_populate() with the default match table. Tested-by: Joshua Henderson Cc: Ralf Baechle Signed-off-by: Kefeng Wang --- arch/mips/ath79/setup.c | 2 +- arch/mips/jz4740/setup.c

[PATCH v3 08/14] xtensa: use of_platform_default_populate() to populate default bus

2016-04-04 Thread Kefeng Wang
Use helper of_platform_default_populate() in linux/of_platform when possible, instead of calling of_platform_populate() with the default match table. Acked-by: Max Filippov Cc: Chris Zankel Cc: Max Filippov Signed-off-by: Kefeng Wang --- arch/xtensa/kernel/setup.c | 2 +- 1 file changed, 1 in

[PATCH v3 04/14] c6x: use of_platform_default_populate() to populate default bus

2016-04-04 Thread Kefeng Wang
Use helper of_platform_default_populate() in linux/of_platform when possible, instead of calling of_platform_populate() with the default match table. Acked-by: Mark Salter Cc: Mark Salter Cc: Aurelien Jacquiot Signed-off-by: Kefeng Wang --- arch/c6x/platforms/platform.c | 2 +- 1 file changed

[PATCH v3 05/14] metag: use of_platform_default_populate() to populate default bus

2016-04-04 Thread Kefeng Wang
Use helper of_platform_default_populate() in linux/of_platform when possible, instead of calling of_platform_populate() with the default match table. Acked-by: James Hogan Cc: James Hogan Signed-off-by: Kefeng Wang --- arch/metag/kernel/setup.c | 3 +-- 1 file changed, 1 insertion(+), 2 deleti

Re: [PATCH 1/2] qcom: ipq4019: Add regulator support to DK04 device tree

2016-04-04 Thread Andy Gross
On Mon, Apr 04, 2016 at 02:08:10PM -0700, Sreedhar Sambangi wrote: > This adds the regulator nodes to DK04 device tree to support > > Change-Id: I9c1df0e720a330bf6db1889fd2247f6a70ea6faa > Signed-off-by: Sreedhar Sambangi > --- > .../bindings/regulator/ipq4019-regulator.txt | 19 >

[PATCH v3 07/14] nios2: use of_platform_default_populate() to populate default bus

2016-04-04 Thread Kefeng Wang
Use helper of_platform_default_populate() in linux/of_platform when possible, instead of calling of_platform_populate() with the default match table. Cc: Ley Foon Tan Signed-off-by: Kefeng Wang --- arch/nios2/platform/platform.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --gi

[PATCH v3 00/14] use of_platform_default_populate() to populate default bus

2016-04-04 Thread Kefeng Wang
Use helper of_platform_default_populate() in linux/of_platform when possible, instead of calling of_platform_populate() with the default match table. Then it is possible for driver code build as a module, and no need to export of_default_bus_match_table anymore. This patchset is based on Linux 4.

RE: [PATCH] drivers/idle: make intel_idle.c driver more explicitly non-modular

2016-04-04 Thread Brown, Len
> -Original Message- > From: rcoch...@linutronix.de [mailto:rcoch...@linutronix.de] > Sent: Tuesday, April 05, 2016 12:30 AM > To: Brown, Len > Cc: Gortmaker, Paul (Wind River); linux-kernel@vger.kernel.org; Len Brown; > linux...@vger.kernel.org > Subject: Re: [PATCH] drivers/idle: make i

Re: [PATCH 2/2] qcom: ipq4019: Add LDO regulator driver for SDHC controller

2016-04-04 Thread Andy Gross
On Mon, Apr 04, 2016 at 02:08:24PM -0700, Sreedhar Sambangi wrote: > From: Kirthik Srinivasan > > Add LDO regulator driver to enable SD /MMC card to > switch between 3.0 volts and 1.8 volts > > Change-Id: I66f770878570b1f5b1db044ba626e0f6989acc3f > Signed-off-by: Kirthik Srinivasan > Signed-of

[PATCH v4] serial: 8250_dw: fix wrong logic in dw8250_check_lcr()

2016-04-04 Thread Kefeng Wang
Commit cdcea058e510 ("serial: 8250_dw: Avoid serial_outx code duplicate with new dw8250_check_lcr()") introduce a wrong logic when write val to LCR reg. When CONFIG_64BIT enabled, __raw_writeq is used unconditionally. The __raw_readq/__raw_writeq is introduced by commit bca2092d7897 ("serial: 8250

RE: [PATCH] mwifiex: add __GFP_REPEAT to skb allocation call

2016-04-04 Thread Amitkumar Karwar
Hi Eric, Thanks for the comments. > From: Eric Dumazet [mailto:eric.duma...@gmail.com] > Sent: Tuesday, March 29, 2016 6:29 PM > To: Wei-Ning Huang > Cc: Kalle Valo; Linux Wireless; LKML; Amitkumar Karwar; Nishant > Sarmukadam; Sameer Nanda; net...@vger.kernel.org; Sonny Rao; Douglas > Anderson >

Re: [PATCHv2 6/7] ARM: socfpga: Enable Arria10 OCRAM ECC on startup

2016-04-04 Thread Borislav Petkov
On Tue, Apr 05, 2016 at 12:25:33AM -0500, Thor Thayer wrote: > I realize that I'm not calling iounmap(ecc_block_base) and I'll fix that in > the next revision with a goto. I'm assuming nothing else changes. Because I've applied 1-4 already. Yes, no? If no, then please send only an updated versio

[PATCH v3 4/9] drm/fsl-dcu: add extra clock for pixel clock

2016-04-04 Thread Stefan Agner
The Vybrid DCU variant has two independent clock inputs, one for the registers (IPG bus clock) and one for the pixel clock. Support this distinction in the DCU DRM driver while staying backward compatible for old device trees. Signed-off-by: Stefan Agner --- Documentation/devicetree/bindings/dis

[PATCH v3 3/9] drm/fsl-dcu: disable clock on initialization failure and remove

2016-04-04 Thread Stefan Agner
Fix error handling during probe by reordering initialization and adding a error path which disables clock again. Also disable the clock on remove. Signed-off-by: Stefan Agner --- drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c | 44 +++ 1 file changed, 21 insertions(+), 23

[PATCH v3 6/9] drm/fsl-dcu: add TCON driver

2016-04-04 Thread Stefan Agner
Add driver for the TCON (timing controller) module. The TCON module is a separate module attached after the DCU (display controller unit). Each DCU instance has its own, directly connected TCON instance. The DCU's RGB and timing signals are passing through the TCON module. TCON can provide timing s

[PATCH v3 8/9] ARM: dts: vf610-colibri: enable display controller

2016-04-04 Thread Stefan Agner
Enable dcu node which is used by the DCU DRM driver. Assign the 5.7" EDT panel with VGA resolution which Toradex sells often with the evaluation board. Signed-off-by: Stefan Agner --- arch/arm/boot/dts/vf-colibri-eval-v3.dtsi | 16 +++ arch/arm/boot/dts/vf-colibri.dtsi | 33 +

[PATCH v3 5/9] drm/fsl-dcu: use common clock framework for pixel clock divider

2016-04-04 Thread Stefan Agner
Use the common clock framework to calculate the pixel clock dividier. The previous implementation rounded down the calculated factor. Thanks to the CLK_DIVIDER_ROUND_CLOSEST flag using the common clock framework divider implementation improves the pixel clock accuracy in some cases. Ontop of that i

[PATCH v3 9/9] ARM: dts: ls1021a: add pix clock to DCU dts node

2016-04-04 Thread Stefan Agner
The DCU IP has distinct clock inputs for register access and the pixel clocks, at least in some implementations. LS1021a seems to use the same clock, therefore specify the same clock for "dcu" and "pix". Signed-off-by: Stefan Agner --- arch/arm/boot/dts/ls1021a.dtsi | 5 +++-- 1 file changed, 3

[PATCH v3 7/9] ARM: dts: vf610: add display nodes

2016-04-04 Thread Stefan Agner
Add the dcu and tcon nodes to enable the Display Controller Unit and Timing Controller in Vybrid's SoC level device-tree file. Signed-off-by: Stefan Agner --- arch/arm/boot/dts/vfxxx.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/vfxxx.dtsi b/arch

[PATCH v3 1/9] ARM: imx: clk-vf610: fix DCU clock tree

2016-04-04 Thread Stefan Agner
Similar to an earlier fix for the SAI clocks, the DCU clock hierarchy mixes the bus clock with the display controllers pixel clock. Tests have shown that the gates in CCM_CCGR3/9 registers do not control the DCU pixel clock, but only the register access clock (bus clock). Fix this by defining the

[PATCH REPOST] Extend PCIE_BUS_PEER2PEER to set MRSS=128 to fix CNS3xxx BM DMA.

2016-04-04 Thread Krzysztof Halasa
I think this bug needs to be fixed, this way or another. The platform in question is Cavium CNS3xxx, ARMv6. A recent patch by Arnd Bergmann (498a92d42596 "ARM: cns3xxx: pci: avoid potential stack overflow") converted an explicit setting of PCI_EXP_DEVCTL_READRQ = 0 (i.e., max 128 bytes for bus-ma

[PATCH v3 0/9] add TCON and Vybrid support

2016-04-04 Thread Stefan Agner
This patchset adds the missing pieces to make the Freescale DCU DRM driver work on Freescale Vybrid. Foremost, it adds support for the timing controller (TCON) module. The module is between the Display Controller and the actual output pins. It allows to alter the timings for RAW TFT displays, but

[PATCH v3 2/9] ARM: imx: clk-vf610: add TCON ipg clock

2016-04-04 Thread Stefan Agner
Add the ipg (bus) clock for the TCON modules (Timing Controller). This module is required by the new DCU DRM driver, since the display signals pass through TCON. Signed-off-by: Stefan Agner --- drivers/clk/imx/clk-vf610.c | 3 +++ include/dt-bindings/clock/vf610-clock.h | 4 +++- 2 f

Re: [PATCH v2] parport: register driver later

2016-04-04 Thread Sudip Mukherjee
On Mon, Mar 07, 2016 at 10:32:55AM -0700, Ross Zwisler wrote: > On Sun, Mar 06, 2016 at 08:40:10PM +0530, Sudip Mukherjee wrote: > > If the parport bus is not yet registered and any device using parallel > > port tries to register with the bus we get a stackdump with a message > > of Kernel bug. >

Re: [PATCH] perf config: Fix build with older toolchain.

2016-04-04 Thread Taeung Song
Hi, On 04/05/2016 07:07 AM, Vinson Lee wrote: Fix build error on Ubuntu 12.04.5 with GCC 4.6.3. CC util/config.o util/config.c: In function ‘perf_buildid_config’: util/config.c:384:15: error: declaration of ‘dirname’ shadows a global declaration [-Werror=shadow] I'm sorry, lately I

Re: [PATCH] usb: dwc3: keystone: drop dma_mask configuration

2016-04-04 Thread Felipe Balbi
Hi, Grygorii Strashko writes: > On 04/04/2016 02:45 PM, Felipe Balbi wrote: >> >> Hi, >> >> Grygorii Strashko writes: >>> The Keystone 2 supports DT-boot only, as result dma_mask will be >>> always configured properly from DT - >>> of_platform_device_create_pdata()->of_dma_configure(). More ove

Re: [PATCHv2 6/7] ARM: socfpga: Enable Arria10 OCRAM ECC on startup

2016-04-04 Thread Thor Thayer
Hi, On 03/31/2016 01:48 PM, ttha...@opensource.altera.com wrote: From: Thor Thayer Enable ECC for Arria10 On-Chip RAM on machine startup. The ECC has to be enabled and memory initialized before data is stored in memory otherwise the ECC will fail on reads. Signed-off-by: Thor Thayer --- v2:

Re: [PATCH v3 2/2] usb:dwc3: pass arch data to xhci-hcd child

2016-04-04 Thread Felipe Balbi
santosh shilimkar writes: > On 4/3/2016 11:28 PM, Felipe Balbi wrote: >> santosh shilimkar writes: >>> +Arnd, RMK, >>> >>> On 4/1/2016 4:57 AM, Felipe Balbi wrote: Hi, Grygorii Strashko writes: > On 04/01/2016 01:20 PM, Felipe Balbi wrote: >>> >>> [...] >>> > commit 7

Re: [PATCH v10 1/2] printk: Make printk() completely async

2016-04-04 Thread Sergey Senozhatsky
Hello Andrew, On (04/04/16 15:51), Andrew Morton wrote: [..] > The whole idea remains worrisome. It is definitely making printk() > less reliable in the vast majority of cases: what happens if the > scheduler is busted or random memory has been scribbled on, etc. yes. well, printk, in some sens

[PATCH v4 1/6] xen: sync xen header

2016-04-04 Thread Juergen Gross
Import the actual version of include/xen/interface/sched.h from Xen. Signed-off-by: Juergen Gross --- include/xen/interface/sched.h | 100 ++ 1 file changed, 82 insertions(+), 18 deletions(-) diff --git a/include/xen/interface/sched.h b/include/xen/interf

[PATCH v4 5/6] dcdbas: make use of smp_call_on_cpu()

2016-04-04 Thread Juergen Gross
Use smp_call_on_cpu() to raise SMI on cpu 0. Make call secure by adding get_online_cpus() to avoid e.g. suspend resume cycles in between. Signed-off-by: Juergen Gross --- V4: add call to get_online_cpus() --- drivers/firmware/dcdbas.c | 51 --- 1 file

[PATCH v4 3/6] smp: add function to execute a function synchronously on a cpu

2016-04-04 Thread Juergen Gross
On some hardware models (e.g. Dell Studio 1555 laptop) some hardware related functions (e.g. SMIs) are to be executed on physical cpu 0 only. Instead of open coding such a functionality multiple times in the kernel add a service function for this purpose. This will enable the possibility to take sp

[PATCH v4 2/6] virt, sched: add generic vcpu pinning support

2016-04-04 Thread Juergen Gross
Add generic virtualization support for pinning the current vcpu to a specified physical cpu. As this operation isn't performance critical (a very limited set of operations like BIOS calls and SMIs is expected to need this) just add a hypervisor specific indirection. Signed-off-by: Juergen Gross -

[PATCH v4 6/6] hwmon: use smp_call_on_cpu() for dell-smm i8k

2016-04-04 Thread Juergen Gross
Use the smp_call_on_cpu() function to call system management mode on cpu 0. Make call secure by adding get_online_cpus() to avoid e.g. suspend resume cycles in between. Signed-off-by: Juergen Gross --- V4: add call to get_online_cpus() --- drivers/hwmon/dell-smm-hwmon.c | 35

[PATCH v4 4/6] xen: add xen_pin_vcpu() to support calling functions on a dedicated pcpu

2016-04-04 Thread Juergen Gross
Some hardware models (e.g. Dell Studio 1555 laptops) require calls to the firmware to be issued on cpu 0 only. As Dom0 might have to use these calls, add xen_pin_vcpu() to achieve this functionality. In case either the domain doesn't have the privilege to make the related hypercall or the hypervis

[PATCH v4 0/6] Support calling functions on dedicated physical cpu

2016-04-04 Thread Juergen Gross
Some hardware (e.g. Dell Studio laptops) require special functions to be called on physical cpu 0 in order to avoid occasional hangs. When running as dom0 under Xen this could be achieved only via special boot parameters (vcpu pinning) limiting the hypervisor in it's scheduling decisions. This pat

Re: [PATCH char-misc-linus] misc: mic: Fix randconfig build error

2016-04-04 Thread Sudeep Dutt
On Mon, 2016-04-04 at 21:41 -0700, Greg Kroah-Hartman wrote: > On Mon, Apr 04, 2016 at 09:32:30PM -0700, Sudeep Dutt wrote: > > Fixes randconfig build error reported at > > https://lkml.org/lkml/2016/4/3/135 by ensuring that > > the VOP driver selects VIRTIO. > > > > Reported-by: Fengguang Wu > >

[GIT PULL] extcon fixes for 4.6-rc3

2016-04-04 Thread Chanwoo Choi
Dear Greg, This is extcon fixes pull request for v4.6-rc3. I add detailed description of this pull request on below. Please pull extcon with following updates. Best Regards, Chanwoo Choi The following changes since commit 9735a22799b9214d17d3c231fe377fc852f042e9: Linux 4.6-rc2 (2016-04-03 09:

[PATCH net-next 4/8] bpf: support bpf_get_stackid() and bpf_perf_event_output() in tracepoint programs

2016-04-04 Thread Alexei Starovoitov
needs two wrapper functions to fetch 'struct pt_regs *' to convert tracepoint bpf context into kprobe bpf context to reuse existing helper functions Signed-off-by: Alexei Starovoitov --- include/linux/bpf.h | 1 + kernel/bpf/stackmap.c| 2 +- kernel/trace/bpf_trace.c | 42

[PATCH net-next 3/8] bpf: register BPF_PROG_TYPE_TRACEPOINT program type

2016-04-04 Thread Alexei Starovoitov
register tracepoint bpf program type and let it call the same set of helper functions as BPF_PROG_TYPE_KPROBE Signed-off-by: Alexei Starovoitov --- kernel/trace/bpf_trace.c | 45 +++-- 1 file changed, 43 insertions(+), 2 deletions(-) diff --git a/kernel/t

[PATCH net-next 7/8] samples/bpf: tracepoint example

2016-04-04 Thread Alexei Starovoitov
modify offwaketime to work with sched/sched_switch tracepoint instead of kprobe into finish_task_switch Signed-off-by: Alexei Starovoitov --- samples/bpf/offwaketime_kern.c | 26 ++ 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/samples/bpf/offwaketime_ker

Re: [PATCH v3] serial: 8250_dw: fix wrong logic in dw8250_check_lcr()

2016-04-04 Thread Kefeng Wang
On 2016/4/5 12:02, Greg Kroah-Hartman wrote: > On Tue, Apr 05, 2016 at 11:32:46AM +0800, Kefeng Wang wrote: >> Commit cdcea058e510 ("serial: 8250_dw: Avoid serial_outx code duplicate >> with new dw8250_check_lcr()") introduce a wrong logic when write val to >> LCR reg. When CONFIG_64BIT enabled,

Re: [PATCH 1/2] phy: Group vendor specific phy drivers

2016-04-04 Thread Vivek Gautam
On Fri, Apr 1, 2016 at 8:31 AM, kbuild test robot wrote: > Hi Vivek, > > [auto build test ERROR on rockchip/for-next] > [also build test ERROR on v4.6-rc1 next-20160401] > [if your patch is applied to the wrong git tree, please drop us a note to > help improving the system] > > url: > https:/

[PATCH net-next 0/8] allow bpf attach to tracepoints

2016-04-04 Thread Alexei Starovoitov
Hi Steven, Peter, last time we discussed bpf+tracepoints it was a year ago [1] and the reason we didn't proceed with that approach was that bpf would make arguments arg1, arg2 to trace_xx(arg1, arg2) call to be exposed to bpf program and that was considered unnecessary extension of abi. Back then

[PATCH net-next 5/8] bpf: sanitize bpf tracepoint access

2016-04-04 Thread Alexei Starovoitov
during bpf program loading remember the last byte of ctx access and at the time of attaching the program to tracepoint check that the program doesn't access bytes beyond defined in tracepoint fields This also disallows access to __dynamic_array fields, but can be relaxed in the future. Signed-off

[PATCH net-next 6/8] samples/bpf: add tracepoint support to bpf loader

2016-04-04 Thread Alexei Starovoitov
Recognize "tracepoint/" section name prefix and attach the program to that tracepoint. Signed-off-by: Alexei Starovoitov --- samples/bpf/bpf_load.c | 26 +- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/samples/bpf/bpf_load.c b/samples/bpf/bpf_load.c inde

[PATCH net-next 1/8] perf: optimize perf_fetch_caller_regs

2016-04-04 Thread Alexei Starovoitov
avoid memset in perf_fetch_caller_regs, since it's the critical path of all tracepoints. It's called from perf_sw_event_sched, perf_event_task_sched_in and all of perf_trace_##call with this_cpu_ptr(&__perf_regs[..]) which are zero initialized by perpcu_alloc and subsequent call to perf_arch_fet

Re: [PATCH] s390/kexec: Consolidate crash_map/unmap_reserved_pages() and arch_kexec_protect(unprotect)_crashkres()

2016-04-04 Thread Xunlei Pang
On 2016/04/04 at 22:58, Michael Holzheu wrote: > Hello Xunlei, > > On Sat, 2 Apr 2016 09:23:50 +0800 > Xunlei Pang wrote: > >> On 2016/04/02 at 01:41, Michael Holzheu wrote: >>> Hello Xunlei again, >>> >>> Some initial comments below... >>> >>> On Wed, 30 Mar 2016 19:47:21 +0800 >>> Xunlei Pang w

[PATCH net-next 8/8] samples/bpf: add tracepoint vs kprobe performance tests

2016-04-04 Thread Alexei Starovoitov
the first microbenchmark does fd=open("/proc/self/comm"); for() { write(fd, "test"); } and on 4 cpus in parallel: writes per sec base (no tracepoints, no kprobes) 930k with kprobe at __set_task_comm() 420k with tracepoint at task:task_rename

[PATCH net-next 2/8] perf, bpf: allow bpf programs attach to tracepoints

2016-04-04 Thread Alexei Starovoitov
introduce BPF_PROG_TYPE_TRACEPOINT program type and allow it to be attached to tracepoints. The tracepoint will copy the arguments in the per-cpu buffer and pass it to the bpf program as its first argument. The layout of the fields can be discovered by doing 'cat /sys/kernel/debug/tracing/events/sc

Re: [PATCH 1/2] phy: Group vendor specific phy drivers

2016-04-04 Thread Vivek Gautam
Hi Krzysztof, On Sat, Apr 2, 2016 at 11:05 PM, Krzysztof Kozlowski wrote: > On Fri, Apr 01, 2016 at 04:59:15PM +0530, Vivek Gautam wrote: >> Adding vendor specific directories in phy to group >> phy drivers under their respective vendor umbrella. >> >> Signed-off-by: Vivek Gautam >> --- >> >> W

linux-next: Tree for Apr 5

2016-04-04 Thread Stephen Rothwell
Hi all, Changes since 20160404: The btrfs-kdave tree gained conflicts Linus' tree. The ceph tree gained conflicts Linus' tree. The staging tree gained conflicts against the staging.current and Linus' trees. Non-merge commits (relative to Linus' tree): 2132 2023

Re: linux-next: manual merge of the staging tree with the staging.current tree

2016-04-04 Thread Greg KH
On Tue, Apr 05, 2016 at 01:03:26PM +1000, Stephen Rothwell wrote: > Hi Greg, > > Today's linux-next merge of the staging tree got a conflict in: > > drivers/iio/gyro/bmg160_core.c > > between commit: > > b475c59b113d ("iio: gyro: bmg160: fix buffer read values") > > from the staging.curren

Re: [PATCH char-misc-linus] misc: mic: Fix randconfig build error

2016-04-04 Thread Greg Kroah-Hartman
On Mon, Apr 04, 2016 at 09:32:30PM -0700, Sudeep Dutt wrote: > Fixes randconfig build error reported at > https://lkml.org/lkml/2016/4/3/135 by ensuring that > the VOP driver selects VIRTIO. > > Reported-by: Fengguang Wu > Reviewed-by: Ashutosh Dixit > Signed-off-by: Sudeep Dutt > --- > driver

[PATCH char-misc-linus] misc: mic: Fix randconfig build error

2016-04-04 Thread Sudeep Dutt
Fixes randconfig build error reported at https://lkml.org/lkml/2016/4/3/135 by ensuring that the VOP driver selects VIRTIO. Reported-by: Fengguang Wu Reviewed-by: Ashutosh Dixit Signed-off-by: Sudeep Dutt --- drivers/misc/mic/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/

Re: [PATCH] drivers/idle: make intel_idle.c driver more explicitly non-modular

2016-04-04 Thread rcochran
On Tue, Apr 05, 2016 at 04:20:47AM +, Brown, Len wrote: > The first idle driver to register with cpuidle wins. > > intel_idle should always get the opportunity > to probe and register before acpi_idle (processor_idle.c) > > When intel_idle was allowed to be modular, > some distros build their

[PATCH V2 02/30] Include generic parity.h in some architectures' bitops.h

2016-04-04 Thread Zeng Zhaoxiu
From: Zhaoxiu Zeng Use the generic version --- arch/arc/include/asm/bitops.h | 1 + arch/arm/include/asm/bitops.h | 1 + arch/arm64/include/asm/bitops.h| 1 + arch/avr32/include/asm/bitops.h| 1 + arch/c6x/include/asm/bitops.h | 1 + arch/cris/include/asm/bitops.h | 1

Re: [Xen-devel] [PATCH] xen: Add comment for missing FROZEN notifier transitions

2016-04-04 Thread Juergen Gross
On 04/04/16 18:48, Boris Ostrovsky wrote: > On 04/04/2016 12:30 PM, David Vrabel wrote: >> On 04/04/16 17:21, Julien Grall wrote: >>> (CC Stefano new e-mail address) >>> >>> Hello Anna-Maria, >>> >>> On 04/04/2016 13:32, Anna-Maria Gleixner wrote: Xen guests do not offline/online CPUs during s

RE: [PATCH] drivers/idle: make intel_idle.c driver more explicitly non-modular

2016-04-04 Thread Brown, Len
The first idle driver to register with cpuidle wins. intel_idle should always get the opportunity to probe and register before acpi_idle (processor_idle.c) When intel_idle was allowed to be modular, some distros build their kernel and loaded modules such that acpi_idle could probe first. In such

Re: [PATCH] tty: serial: 8250_omap: do not defer termios changes

2016-04-04 Thread Peter Hurley
On 03/31/2016 01:41 AM, John Ogness wrote: > From: Sebastian Andrzej Siewior > > It has been observed that the TX-DMA can stall Does this happen on any other OMAP part besides am335x? I looked back over the LKML history of this and didn't see any other design implicated in this problem. > if te

ATTEN: BENEFICIARY

2016-04-04 Thread mrs . graceegobia

Re: [PATCH v3] serial: 8250_dw: fix wrong logic in dw8250_check_lcr()

2016-04-04 Thread Greg Kroah-Hartman
On Tue, Apr 05, 2016 at 11:32:46AM +0800, Kefeng Wang wrote: > Commit cdcea058e510 ("serial: 8250_dw: Avoid serial_outx code duplicate > with new dw8250_check_lcr()") introduce a wrong logic when write val to > LCR reg. When CONFIG_64BIT enabled, __raw_writeq is used unconditionally. > > The __raw

[PATCH 1/2] spi: Add DMA support for spi_flash_read()

2016-04-04 Thread Vignesh R
Few SPI devices provide accelerated read interfaces to read from SPI-NOR flash devices. These hardwares also support DMA to transfer data from flash to memory either via mem-to-mem DMA or dedicated slave DMA channels. Hence, add support for DMA in order to improve throughput and reduce CPU load. Us

[PATCH 2/2] spi: spi-ti-qspi: Add DMA support for QSPI mmap read

2016-04-04 Thread Vignesh R
Use mem-to-mem DMA to read from flash when reading in mmap mode. This gives improved read performance and reduces CPU load. With this patch the raw-read throughput is ~16MB/s on DRA74 EVM. And CPU load is <20%. UBIFS read ~13 MB/s. Signed-off-by: Vignesh R --- drivers/spi/spi-ti-qspi.c | 132 ++

[PATCH 0/2] spi: Add DMA support for ti-qspi

2016-04-04 Thread Vignesh R
This series adds support for DMA during QSPI flash read via memory mapped mode. Tested on DRA74 EVM on linux-next with patch for mtd support[1] applied. Also tested with series[2] from Boris refractoring spi_map_buf(). [1]http://lists.infradead.org/pipermail/linux-mtd/2016-March/066335.html [2]h

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

2016-04-04 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the staging tree got conflicts in: drivers/staging/lustre/lnet/selftest/brw_test.c drivers/staging/lustre/lustre/include/lu_object.h drivers/staging/lustre/lustre/lclient/lcommon_cl.c drivers/staging/lustre/lustre/llite/llite_internal.h drivers/stagi

  1   2   3   4   5   6   7   8   9   >