Re: [PATCH v2 3/7] tty/serial: convert 8250 to generic earlycon

2014-04-25 Thread Yinghai Lu
On Fri, Apr 18, 2014 at 3:19 PM, Rob Herring wrote: > From: Rob Herring > > With the generic earlycon infrastructure in place, convert the 8250 > early console to use it. > > Signed-off-by: Rob Herring > Cc: Greg Kroah-Hartman > Cc: Jiri Slaby > --- > drivers/tty/serial/8250/8250_early.c | 13

Re: [PATCH v2 3/7] tty/serial: convert 8250 to generic earlycon

2014-04-25 Thread Yinghai Lu
On Fri, Apr 18, 2014 at 3:19 PM, Rob Herring wrote: > From: Rob Herring > > With the generic earlycon infrastructure in place, convert the 8250 > early console to use it. > > Signed-off-by: Rob Herring > Cc: Greg Kroah-Hartman > Cc: Jiri Slaby > --- > drivers/tty/serial/8250/8250_early.c | 13

Re: [PATCH 2/3] sched: idle: Add sched balance option

2014-04-25 Thread Ingo Molnar
* Rafael J. Wysocki wrote: > > > Well, so now the question is whether or not we relly want to > > > always go to the "power" (or "energy efficiency" if you will) > > > mode if the system is on battery. That arguably may not be a > > > good thing even for energy efficiency depending on how ex

Re: [PATCH v2] X86: Hook apic vector allocation domain only when interrupt routing are set to ignore

2014-04-25 Thread Ingo Molnar
* Oren Twaig wrote: > On 4/25/2014 11:01 AM, Ingo Molnar wrote: > > > > * Oren Twaig wrote: > > > >> vSMP Foundation provides locality based interrupt routing which needed > >> vector_allocation_domain to allow all online cpus can handle all > possible > >> vectors. > >> > >> Enforcing Interrup

Re: [PATCH 4/4] x86/gart: Tidy messages and add bridge device info

2014-04-25 Thread Ingo Molnar
* Bjorn Helgaas wrote: > Print the AGP bridge info the same way as the rest of the kernel, e.g., > ":00:04.0" instead of "00:04:00". > > Also print the AGP aperture address range the same way we print resources, > and label it explicitly as a bus address range. > > No functional change. >

[PATCH -mm] intel-iommu: add missing include of dma-contiguous.h

2014-04-25 Thread Akinobu Mita
This patch fixes build error on ia64, that is introduced by the patch intel-iommu-integrate-dma-cma.patch in -mm tree, and this change should be folded into it. Reported-by: Fengguang Wu Signed-off-by: Akinobu Mita Cc: Fengguang Wu Cc: Marek Szyprowski Cc: Konrad Rzeszutek Wilk Cc: David Wood

Re: [PATCH v3 2/3] Input: gpio_keys - convert to use devm_*

2014-04-25 Thread Dmitry Torokhov
On Fri, Apr 25, 2014 at 07:22:16PM +0300, Andy Shevchenko wrote: > This makes the error handling much more simpler than open-coding everything > and > in addition makes the probe function smaller an tidier. > > Signed-off-by: Andy Shevchenko > Acked-by: Linus Walleij > --- > drivers/input/keyb

Re: [PATCH v2 01/10] ARM: EXYNOS: Make exynos machine_ops as static

2014-04-25 Thread Pankaj Dubey
HI Tomasz, Thanks for review and suggestions. On Sat, Apr 26, 2014 at 6:05 AM, Tomasz Figa wrote: > Hi Pankaj, > > > On 25.04.2014 14:32, Pankaj Dubey wrote: >> >> As machine function ops are used only in this file let's make >> them static. >> >> Signed-off-by: Pankaj Dubey >> --- >> arch/ar

Re: [PATCH v3 3/3] Input: gpio_keys - convert struct descriptions to kernel-doc

2014-04-25 Thread Dmitry Torokhov
On Fri, Apr 25, 2014 at 07:22:17PM +0300, Andy Shevchenko wrote: > This patch converts descriptions of the structures defined in > linux/gpio_keys.h > to follow kernel-doc format. > > There is no functional change. > > Signed-off-by: Andy Shevchenko > Acked-by: Linus Walleij Applied, thank yo

Re: [PATCH v2 10/10] ARM: EXYNOS: Add device tree based initialization support for PMU.

2014-04-25 Thread Pankaj Dubey
HI Tomasz, Thanks for review. On Sat, Apr 26, 2014 at 7:40 AM, Tomasz Figa wrote: > Hi, > > > On 25.04.2014 14:32, Pankaj Dubey wrote: >> >> This patch adds device tree based initialization for PMU and modifies >> PMU initialization implementation in following way: >> >> 1: Let's initialize PMU

Re: [PATCH] pinctrl-baytrail: fix for irq descriptor conflict on ASUS T100TA

2014-04-25 Thread Jin, Yao
On 2014/4/26 11:04, Jin, Yao wrote: > > > On 2014/4/25 23:13, Adam Williamson wrote: >> On Fri, 2014-04-25 at 11:32 +0200, Linus Walleij wrote: >>> On Thu, Apr 24, 2014 at 11:33 PM, Adam Williamson >>> wrote: >>> Well, I just ran another test too. I built a kernel (3.15rc2) with both >>>

Re: [PATCH v2 05/10] ARM: EXYNOS: Remove regs-pmu.h header dependency from pm_domain

2014-04-25 Thread Pankaj Dubey
HI Tomasz, On Sat, Apr 26, 2014 at 6:19 AM, Tomasz Figa wrote: > Hi, > > > On 25.04.2014 14:32, Pankaj Dubey wrote: >> >> From: Young-Gun Jang >> >> Current "pm_domain.c" file uses "S5P_INT_LOCAL_PWR_EN" definition from >> "regs-pmu.h" and hence needs to include this header file. As there is >>

Re: [PATCH v2 08/10] ARM: EXYNOS: Refactored code for using PMU address via DT

2014-04-25 Thread Pankaj Dubey
Hi Tomasz, Thanks for review. On Sat, Apr 26, 2014 at 7:19 AM, Tomasz Figa wrote: > Hi, > > > On 25.04.2014 14:32, Pankaj Dubey wrote: >> >> Under "arm/mach-exynos" many files are using PMU register offsets. >> Since we have added support for accessing PMU base address via DT, >> now we can remo

[rfc PATCH] checkpatch: allow multiple const * types

2014-04-25 Thread Joe Perches
On Fri, 2014-04-25 at 10:50 +0300, Dan Carpenter wrote: > On Fri, Apr 25, 2014 at 01:06:44AM -0300, Nicolas Del Piano wrote: > > diff --git a/drivers/staging/comedi/drivers.c > > b/drivers/staging/comedi/drivers.c [] > > @@ -439,6 +439,7 @@ static void *comedi_recognize(struct comedi_driver > > *

Re: [PATCH V3] Add support for flag status register on Micron chips.

2014-04-25 Thread Huang Shijie
On Sat, Apr 26, 2014 at 12:12:24AM +0200, Marek Vasut wrote: > > > > the drivers may fills this hook itself, so the code should like this: > > > >-- > > > > > > > > if ((info->flags & USE_FSR) && > > > > > > > >

Re: [PATCH] pinctrl-baytrail: fix for irq descriptor conflict on ASUS T100TA

2014-04-25 Thread Jin, Yao
On 2014/4/25 23:13, Adam Williamson wrote: > On Fri, 2014-04-25 at 11:32 +0200, Linus Walleij wrote: >> On Thu, Apr 24, 2014 at 11:33 PM, Adam Williamson >> wrote: >> >>> Well, I just ran another test too. I built a kernel (3.15rc2) with both >>> v3 of Doug's SDIO device enumeration patch - >>>

Re: [PATCH v2 RESEND 0/5] clk: bcm21664: add common clock support

2014-04-25 Thread Matt Porter
On Fri, Apr 25, 2014 at 05:09:15PM -0700, Mike Turquette wrote: > Quoting Alex Elder (2014-04-21 14:26:22) > > This is series has two parts. The first two patches are changes > > to the existing Broadcom Kona family clock code to prepare for the > > addition of support for another SoC, bcm21664. >

[PATCH V1 net-next 1/1] hyperv: Properly handle checksum offload

2014-04-25 Thread K. Y. Srinivasan
Do checksum offload only if the client of the driver wants checksum to be offloaded. In this version of the patch, I have addressed comments from Stephen Hemminger and Eric Dumazet . This patch fixes a bug that is exposed in gateway scenarios. Signed-off-by: K. Y. Srinivasan Reviewed-by: Haiy

Re: [PATCH v2 RESEND 5/5] ARM: dts: use real clocks for bcm21664

2014-04-25 Thread Matt Porter
On Mon, Apr 21, 2014 at 04:26:27PM -0500, Alex Elder wrote: > Replace the "fake" fixed-rate clocks used previously for the > bcm21664 family with "real" ones. > > Signed-off-by: Alex Elder Acked-by: Matt Porter > --- > arch/arm/boot/dts/bcm21664.dtsi | 190 > +---

Re: [PATCH 00/13] Refactor pci_is_brdige() to simplify code

2014-04-25 Thread Yijing Wang
On 2014/4/25 17:42, David Laight wrote: > From: Yijing Wang >> This patchset rename the current pci_is_bridge() to pci_has_subordinate(), >> and introduce a new pci_is_bridge() which determine pci bridge by check >> dev->hdr_type. The new one is more accurate. PCIe Spec define the pci >> device is

RE: [PATCH net-next 1/1] hyperv: Properly handle checksum offload

2014-04-25 Thread KY Srinivasan
> -Original Message- > From: driverdev-devel-boun...@linuxdriverproject.org [mailto:driverdev- > devel-boun...@linuxdriverproject.org] On Behalf Of KY Srinivasan > Sent: Friday, April 25, 2014 7:24 PM > To: Eric Dumazet; Stephen Hemminger > Cc: o...@aepfle.de; net...@vger.kernel.org; jaso

Re: [PATCH] staging: dgap: implement error handling in dgap_tty_register()

2014-04-25 Thread DaeSeok Youn
Hi, please check below my comments. 2014-04-25 23:41 GMT+09:00 Mark Hounschell : > On 04/25/2014 08:59 AM, Dan Carpenter wrote: >> On Fri, Apr 25, 2014 at 08:29:41AM -0400, Mark Hounschell wrote: >>> On 04/25/2014 07:02 AM, DaeSeok Youn wrote: Hi, Dan. 2014-04-25 18:26 GMT+09:00 Da

RE: [PATCH net-next 1/1] hyperv: Properly handle checksum offload

2014-04-25 Thread KY Srinivasan
> -Original Message- > From: Eric Dumazet [mailto:eric.duma...@gmail.com] > Sent: Friday, April 25, 2014 6:15 PM > To: Stephen Hemminger > Cc: KY Srinivasan; da...@davemloft.net; net...@vger.kernel.org; linux- > ker...@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle.de; > a...@

RE: [PATCH net-next 1/1] hyperv: Properly handle checksum offload

2014-04-25 Thread KY Srinivasan
> -Original Message- > From: Stephen Hemminger [mailto:step...@networkplumber.org] > Sent: Friday, April 25, 2014 5:43 PM > To: KY Srinivasan > Cc: da...@davemloft.net; net...@vger.kernel.org; linux- > ker...@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle.de; > a...@canonical.

Re: [PATCH v2 00/10] ARM: Exynos: PMU cleanup and refactoring for using DT

2014-04-25 Thread Pankaj Dubey
Hi Tomasz, On Sat, Apr 26, 2014 at 7:43 AM, Tomasz Figa wrote: > > Hi Pankaj, > > Just a small note - please refrain from sending next versions of series in > reply to previous version. With threading applied, it gets hard to notice > that a new version was posted, because the first message of

Re: [PATCH RFC 0/2] percpu_ida: Take into account CPU topology when stealing tags

2014-04-25 Thread Jens Axboe
On 2014-04-25 18:01, Ming Lei wrote: Hi Jens, On Sat, Apr 26, 2014 at 5:23 AM, Jens Axboe wrote: On 04/25/2014 03:10 AM, Ming Lei wrote: Sorry, I did run it the other day. It has little to no effect here, but that's mostly because there's so much other crap going on in there. The most effecti

Re: [PATCH/RFC 3/4] of/clk: Register clocks suitable for Runtime PM with the PM core

2014-04-25 Thread Tomasz Figa
On 24.04.2014 15:11, Ulf Hansson wrote: On 24 April 2014 12:13, Geert Uytterhoeven wrote: When adding a device from DT, check if its clocks are suitable for Runtime PM, and register them with the PM core. If Runtime PM is disabled, just enable the clock. This allows the PM core to automatica

Re: [PATCH v2 10/12] scsi/NCR5380: remove unused macro definitions

2014-04-25 Thread Michael Schmitz
Acked-by: MIchael Schmitz Remove the unused (and divergent) debugging macro definitions from the sun3_NCR5380 and atari_NCR5380 drivers. These drivers have been converted to use the common macros in NCR5380.h. Signed-off-by: Finn Thain --- drivers/scsi/atari_scsi.h | 93 -

Re: [PATCH v2] clk: qcom: Add support for IPQ8064's global clock controller (GCC)

2014-04-25 Thread Stephen Boyd
On 04/04/14 13:19, Kumar Gala wrote: > + > +#define P_PXO0 > +#define P_PLL8 1 > +#define P_CXO2 > +#define P_PLL3 3 This #define needs to be 1. Unfortunately the way we do this mapping requires that they match the parents string array. If you have a better idea I'm all

Re: [PATCH v2 08/12] scsi/NCR5380: adopt dprintk()

2014-04-25 Thread Michael Schmitz
Acked-by: Michael Schmitz All NCR5380 drivers already include the NCR5380.h header. Better to adopt those macros rather than have three variations on them. Moreover, the macros in NCR5380.h are preferable because the atari_NCR5380 and sun3_NCR5380 versions are inflexible. For example, they can

Re: [PATCH v2 07/12] scsi/NCR5380: adopt NCR5380_dprint() and NCR5380_dprint_phase()

2014-04-25 Thread Michael Schmitz
Acked-by: Michael Schmitz All NCR5380 drivers already include the NCR5380.h header. Better to adopt those macros rather than have three variations on them. Moreover, the macros in NCR5380.h are preferable anyway: the atari_NCR5380 and sun3_NCR5380 versions are inflexible. For example, they can

Re: [PATCH v2 RESEND 0/5] clk: bcm21664: add common clock support

2014-04-25 Thread Alex Elder
On 04/25/2014 07:09 PM, Mike Turquette wrote: > Quoting Alex Elder (2014-04-21 14:26:22) >> This is series has two parts. The first two patches are changes >> to the existing Broadcom Kona family clock code to prepare for the >> addition of support for another SoC, bcm21664. >> >> The remaining th

Re: [PATCH 1/2] mfd: pm8x41: add support for Qualcomm 8x41 PMICs

2014-04-25 Thread David Collins
On 04/23/2014 04:36 PM, Courtney Cavin wrote: > On Wed, Apr 23, 2014 at 11:46:26PM +0200, Josh Cartwright wrote: >> On Tue, Apr 22, 2014 at 05:31:49PM -0700, Courtney Cavin wrote: [..] >>> +++ b/drivers/mfd/pm8x41.c >>> @@ -0,0 +1,63 @@ >>> +/* Copyright (c) 2013, The Linux Foundation. All rights r

Re: [GIT PULL] at91: fixes for 3.15 #1

2014-04-25 Thread Nicolas Ferre
On 18/04/2014 14:52, Nicolas Ferre : > Arnd, Olof, Kevin, > > Two little fixes for AT91. The one that moves the dt-bindings include > directory is pretty interesting as, with Exynos, AT91 was the only one > to use this "clk" directory. > > Thanks, best regards, > > The following changes since co

Re: [PATCH net-next 1/1] hyperv: Properly handle checksum offload

2014-04-25 Thread Eric Dumazet
On Fri, 2014-04-25 at 17:43 -0700, Stephen Hemminger wrote: > On Fri, 25 Apr 2014 11:45:14 -0700 > "K. Y. Srinivasan" wrote: > > > @@ -474,6 +477,9 @@ static int netvsc_start_xmit(struct sk_buff *skb, > > struct net_device *net) > > csum_info = (struct ndis_tcp_ip_checksum_info *)((void *)pp

Re: [PATCH 1/2] mfd: pm8x41: add support for Qualcomm 8x41 PMICs

2014-04-25 Thread Frank Rowand
On 4/25/2014 5:40 PM, Courtney Cavin wrote: > On Sat, Apr 26, 2014 at 02:28:06AM +0200, Frank Rowand wrote: >> On 4/23/2014 6:19 AM, Ivan T. Ivanov wrote: > [...] +static int pm8x41_probe(struct spmi_device *sdev) +{ + struct regmap *regmap; + + regmap = devm_regmap_init_

Re: [PATCHv4 7/7] ARM: dts: Add device tree sources for Exynos3250

2014-04-25 Thread Tomasz Figa
Hi Chanwoo, On 25.04.2014 03:16, Chanwoo Choi wrote: From: Tomasz Figa This patch add new exynos3250.dtsi to support Exynos3250 SoC based on Cortex-A7 dual core and includes following dt nodes: - GIC interrupt controller - Pinctrl to control GPIOs - Clock controller - CPU information (Cortex-

Re: [PATCH net-next 1/1] hyperv: Properly handle checksum offload

2014-04-25 Thread Stephen Hemminger
On Fri, 25 Apr 2014 11:45:14 -0700 "K. Y. Srinivasan" wrote: > @@ -474,6 +477,9 @@ static int netvsc_start_xmit(struct sk_buff *skb, struct > net_device *net) > csum_info = (struct ndis_tcp_ip_checksum_info *)((void *)ppi + > ppi->ppi_offset); > > + ip_hdr(skb)-

Re: [PATCHv4 2/7] ARM: EXYNOS: Support secondary CPU boot of Exynos4212

2014-04-25 Thread Tomasz Figa
Hi, On 25.04.2014 03:16, Chanwoo Choi wrote: From: Kyungmin Park This patch fix the offset of CPU boot address and change parameter of smc call of SMC_CMD_CPU1BOOT command for Exynos4212. Signed-off-by: Kyungmin Park Signed-off-by: Chanwoo Choi --- arch/arm/mach-exynos/firmware.c | 15 +++

Re: [PATCHv4 1/7] ARM: EXYNOS: Add Exynos3250 SoC ID

2014-04-25 Thread Tomasz Figa
Hi Chanwoo, On 25.04.2014 03:16, Chanwoo Choi wrote: This patch add Exynos3250's SoC ID. Exynos 3250 is System-On-Chip(SoC) that is based on the 32-bit RISC processor for Smartphone. Exynos3250 uses Cortex-A7 dual cores and has a target speed of 1.0GHz. Signed-off-by: Chanwoo Choi Acked-by: Ky

Re: [PATCH 1/2] mfd: pm8x41: add support for Qualcomm 8x41 PMICs

2014-04-25 Thread Courtney Cavin
On Sat, Apr 26, 2014 at 02:28:06AM +0200, Frank Rowand wrote: > On 4/23/2014 6:19 AM, Ivan T. Ivanov wrote: [...] > >> +static int pm8x41_probe(struct spmi_device *sdev) > >> +{ > >> + struct regmap *regmap; > >> + > >> + regmap = devm_regmap_init_spmi_ext(sdev, &pm8x41_regmap_config); > >> + if

Re: [PATCHv4 5/7] clk: samsung: exynos3250: Add clocks using common clock framework

2014-04-25 Thread Tomasz Figa
Hi Chanwoo, On 25.04.2014 03:16, Chanwoo Choi wrote: From: Tomasz Figa This patch add new the clock drvier of Exynos3250 SoC based on Cortex-A7 using common clock framework. The CMU (Clock Management Unit) of Exynos3250 control PLLs(Phase Locked Loops) and generate system clocks for CPU, buses

Re: [PATCHv4 4/7] ARM: EXYNOS: Enter a15 lowpower mode for Exynos3250 based on Cortex-a7

2014-04-25 Thread Russell King - ARM Linux
On Sat, Apr 26, 2014 at 02:25:03AM +0200, Tomasz Figa wrote: > On 25.04.2014 03:16, Chanwoo Choi wrote: >> This patch decide proper lowpower mode of either a15 or a9 according to own >> ID >> from Main ID register. >> >> Cc: Arnd Bergmann >> Cc: Marc Zynigier >> Signed-off-by: Chanwoo Choi >> A

Re: [PATCH 1/2] mfd: pm8x41: add support for Qualcomm 8x41 PMICs

2014-04-25 Thread Frank Rowand
On 4/23/2014 6:19 AM, Ivan T. Ivanov wrote: > > Hi, > > On Tue, 2014-04-22 at 17:31 -0700, Courtney Cavin wrote: >> From: Josh Cartwright >> >> The Qualcomm 8941 and 8841 PMICs are components used with the Snapdragon >> 800 series SoC family. This driver exists largely as a glue mfd component,

[PATCH] tty: serial: 8250_core.c Bug fix for Exar chips.

2014-04-25 Thread Michael Welling
The sleep function was updated to put the serial port to sleep only when necessary. This appears to resolve the errant behavior of the driver as described in Kernel Bug 61961 – "My Exar Corp. XR17C/D152 Dual PCI UART modem does not work with 3.8.0". Signed-off-by: Michael Welling --- drivers/tt

Re: [PATCH] staging: silicom: Add appropriate ifdef conditions in bpctl_mod.c

2014-04-25 Thread DaeSeok Youn
2014-04-26 7:33 GMT+09:00, Greg KH : > On Mon, Apr 07, 2014 at 12:03:41PM +0900, Daeseok Youn wrote: >> >> The bp_proc_create() can be called if BP_PROC_SUPPORT is defined. >> >> Signed-off-by: Daeseok Youn >> --- >> drivers/staging/silicom/bpctl_mod.c |5 + >> 1 files changed, 5 insertio

Re: [PATCHv4 4/7] ARM: EXYNOS: Enter a15 lowpower mode for Exynos3250 based on Cortex-a7

2014-04-25 Thread Tomasz Figa
Hi Chanwoo, On 25.04.2014 03:16, Chanwoo Choi wrote: This patch decide proper lowpower mode of either a15 or a9 according to own ID from Main ID register. Cc: Arnd Bergmann Cc: Marc Zynigier Signed-off-by: Chanwoo Choi Acked-by: Kyungmin Park --- arch/arm/mach-exynos/hotplug.c | 19 ++

Re: [PATCH v7 00/11] CPU idle for Armada XP

2014-04-25 Thread Jason Cooper
On Mon, Apr 14, 2014 at 05:10:03PM +0200, Gregory CLEMENT wrote: > This patch set adds the CPU idle support for Armada XP and prepares > the support for Armada 370. This was based on the work of Nadav > Haklai. > > The main change in this new version is a rebasing onto the v3.15-rc1 > and the last

Re: [PATCH v7 04/11] ARM: mvebu: Remove the unused argument of set_cpu_coherent()

2014-04-25 Thread Jason Cooper
On Mon, Apr 14, 2014 at 05:10:07PM +0200, Gregory CLEMENT wrote: > set_cpu_coherent() took the SMP group ID as parameter. But this > parameter was never used, and the CPU always uses the SMP group 0. So > we can remove this parameter. > > Signed-off-by: Gregory CLEMENT > --- > arch/arm/mach-mveb

[GIT PULL] ACPI and power management fixes for v3.15-rc3

2014-04-25 Thread Rafael J. Wysocki
Hi Linus, Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ pm+acpi-3.15-rc3 to receive ACPI, power management and PNP fixes for v3.15-rc3 with top-most commit d4c9c8a09cff85f69b2c224ca7dbeb42431da2b3 Merge branches 'pnp' and 'acpi-hotplug' on top of comm

[PATCH] serial: sc16is7xx: dynamically allocate tx/rx buffer

2014-04-25 Thread jon
From: Jon Ringle This fixes the warnings: drivers/tty/serial/sc16is7xx.c: In function 'sc16is7xx_handle_rx': >> drivers/tty/serial/sc16is7xx.c:548:1: warning: 'sc16is7xx_handle_rx' uses >> dynamic stack allocation [enabled by default] drivers/tty/serial/sc16is7xx.c: In function 'sc16is7xx

Re: [PATCH v2 RESEND 0/5] clk: bcm21664: add common clock support

2014-04-25 Thread Mike Turquette
Quoting Alex Elder (2014-04-21 14:26:22) > This is series has two parts. The first two patches are changes > to the existing Broadcom Kona family clock code to prepare for the > addition of support for another SoC, bcm21664. > > The remaining three define the binding and code for bcm21664, and >

Re: [PATCH 2/3] sched: idle: Add sched balance option

2014-04-25 Thread Rafael J. Wysocki
On Friday, April 25, 2014 03:20:55 PM Peter Zijlstra wrote: > On Fri, Apr 25, 2014 at 01:46:53PM +0200, Rafael J. Wysocki wrote: > > _trim_ emails!!! one of these days I'm going to write a bot to flame > your head of if there's excessive quoting. Words ... > > > > Well, so now the question is w

Re: [PATCH RFC 0/2] percpu_ida: Take into account CPU topology when stealing tags

2014-04-25 Thread Ming Lei
Hi Jens, On Sat, Apr 26, 2014 at 5:23 AM, Jens Axboe wrote: > On 04/25/2014 03:10 AM, Ming Lei wrote: > > Sorry, I did run it the other day. It has little to no effect here, but > that's mostly because there's so much other crap going on in there. The > most effective way to currently make it wor

[PATCHv3 1/5] Input: add common DT binding for touchscreens

2014-04-25 Thread Sebastian Reichel
Add common DT binding documentation for touchscreen devices and implement input_parse_touchscreen_of_params, which parses the common properties and configures the input device accordingly. The method currently does not interpret the axis inversion properties, since there is no matching flag in the

[PATCHv3 3/5] Input: tsc2005: convert driver to use devm_*

2014-04-25 Thread Sebastian Reichel
Simplify the driver by using managed resources for memory allocation of internal struct, input device allocation and irq request. Signed-off-by: Sebastian Reichel --- drivers/input/touchscreen/tsc2005.c | 30 ++ 1 file changed, 10 insertions(+), 20 deletions(-) diff

[PATCHv3 4/5] Input: tsc2005: add DT support

2014-04-25 Thread Sebastian Reichel
This adds DT support to the tsc2005 touchscreen driver. Signed-off-by: Sebastian Reichel --- drivers/input/touchscreen/tsc2005.c | 96 + 1 file changed, 77 insertions(+), 19 deletions(-) diff --git a/drivers/input/touchscreen/tsc2005.c b/drivers/input/touchs

[PATCHv3 5/5] Documentation: dt: Document TSC2005 DT binding

2014-04-25 Thread Sebastian Reichel
Add devicetree binding documentation for TSC2005 touchscreen. Signed-off-by: Sebastian Reichel --- .../bindings/input/touchscreen/tsc2005.txt | 39 ++ 1 file changed, 39 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/touchscreen/tsc2005.txt

[PATCHv3 2/5] Input: tsc2005: use dev_err for error messages

2014-04-25 Thread Sebastian Reichel
Change some dev_dbg() invocations to dev_err() ones, because they are supposed to output error messages. Signed-off-by: Sebastian Reichel --- drivers/input/touchscreen/tsc2005.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/input/touchscreen/tsc2005.c b/drivers

[PATCHv3 0/5] tsc2005 DT binding

2014-04-25 Thread Sebastian Reichel
Hi, This adds device tree support for the tsc2005 touchscreen controller, which is currently only used by the Nokia N900 board. The patch does not update the reset pin handling for platform data based probe to avoid merge conflicts. The n900 platform code will be removed in the near future (3.16?

Re: [PATCH 25/28] nios2: ptrace support

2014-04-25 Thread Pedro Alves
Does this support PTRACE_GETREGSET / PTRACE_SETREGSET ? IMO, the kernel shouldn't accept ports without those anymore. And IMHO, we shouldn't even allow new ports having PTRACE_GETREGS. http://sourceware.org/ml/archer/2010-q3/msg00193.html -- Pedro Alves -- To unsubscribe from this list: send t

Re: [PATCH/RFC 3/4] of/clk: Register clocks suitable for Runtime PM with the PM core

2014-04-25 Thread Kevin Hilman
Geert Uytterhoeven writes: > When adding a device from DT, check if its clocks are suitable for Runtime > PM, and register them with the PM core. > If Runtime PM is disabled, just enable the clock. > > This allows the PM core to automatically manage gate clocks of devices for > Runtime PM. ...un

Re: [PATCH 2/3] powerpc, ptrace: Add new ptrace request macros for transactional memory

2014-04-25 Thread Pedro Alves
On 04/02/2014 08:02 AM, Anshuman Khandual wrote: > This patch adds following new sets of ptrace request macros for transactional > memory expanding the existing ptrace ABI on PowerPC. > > /* TM special purpose registers */ > PTRACE_GETTM_SPRREGS > PTRACE_SETTM_SPRREGS > >

Re: [PATCH] Staging: xgifb: Coding style cleanup, newline added after declarations

2014-04-25 Thread Greg KH
On Wed, Apr 02, 2014 at 11:25:19AM +0200, Martin Berglund wrote: > Added newlines after declarations. > > Signed-off-by: Martin Berglund > --- > drivers/staging/xgifb/XGI_main_26.c | 2 ++ > drivers/staging/xgifb/vb_init.c | 2 ++ > drivers/staging/xgifb/vb_setmode.c | 2 ++ > 3 files chang

Re: [PATCH/RFC v3 1/5] leds: Add sysfs and kernel internal API for flash LEDs

2014-04-25 Thread Bryan Wu
On Fri, Apr 11, 2014 at 7:56 AM, Jacek Anaszewski wrote: > Some LED devices support two operation modes - torch and > flash. Do we have a method to look up the capabilities from LED devices driver? For example, the LED device supports Torch/Flash then LED device driver should set a flag like LED_

Re: Tux3 Report: Untar Unleashed

2014-04-25 Thread Daniel Phillips
Yesterday I wrote: > When we checked read performance on the untarred tree, we immediately saw > mixed results. Re-tarring the kernel tree is faster than Ext4, but directory listing is > slower by a multiple. So we need to analyze and fix ls without breaking the good tar > and untar behavior. Th

Re: [PATCH] staging/imx-drm: fix code line width

2014-04-25 Thread Greg Kroah-Hartman
On Sat, Apr 12, 2014 at 02:04:21PM +0400, Brilliantov Kirill Vladimirovich wrote: > Signed-off-by: Brilliantov Kirill Vladimirovich > --- > drivers/staging/imx-drm/imx-tve.c | 3 ++- > drivers/staging/imx-drm/ipu-v3/imx-ipu-v3.h | 3 ++- > drivers/staging/imx-drm/ipu-v3/ipu-common.c

[PATCH 09/10] ARM: dts: OMAP4: clk: Add clk node for DES IP

2014-04-25 Thread Joel Fernandes
From: Lokesh Vutla DES IP already has main and interface clk as des_fck. Node for des_fck is missing in clk tree. Adding the same. Signed-off-by: Lokesh Vutla Signed-off-by: Joel Fernandes --- arch/arm/boot/dts/omap44xx-clocks.dtsi |8 drivers/clk/ti/clk-44xx.c |

[PATCH 05/10] ARM: OMAP4: hwmod: Add hwmod data for AES IP

2014-04-25 Thread Joel Fernandes
Crypto modules AES0/1 belong to: PD_L4_PER power domain CD_L4_SEC clock domain On the L3, the AES modules are mapped to L3_CLK2: Peripherals and multimedia sub clock domain We add hwmod data for the same. Signed-off-by: Joel Fernandes --- arch/arm/mach-omap2/omap_hwmod_44xx_data

Re: [PATCH v8 1/3] ARM: EXYNOS: Add support for EXYNOS5410 SoC

2014-04-25 Thread Tomasz Figa
Hi Kevin, On 26.04.2014 00:52, Kevin Hilman wrote: Tarek Dakhran writes: EXYNOS5410 is SoC in Samsung's Exynos5 SoC series. Add initial support for this SoC. Signed-off-by: Tarek Dakhran Signed-off-by: Vyacheslav Tyrtov Reviewed-by: Tomasz Figa [...] diff --git a/arch/arm/mach-exynos/

[PATCH 08/10] ARM: dts: DRA7: Add DT node for AES IP

2014-04-25 Thread Joel Fernandes
DRA7 SoC has same AES IP as on OMAP4. Add DT entries for the same. Signed-off-by: Joel Fernandes --- arch/arm/boot/dts/dra7.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi index 0533b89..c45f7e9 100644 --- a/arch/a

Re: [PATCH v6 1/2] phy: Add new Exynos5 USB 3.0 PHY driver

2014-04-25 Thread Tomasz Figa
Hi Vivek, I have reviewed v5 without noticing this one, but I think most of the comments still apply. Best regards, Tomasz On 22.04.2014 13:24, Vivek Gautam wrote: Add a new driver for the USB 3.0 PHY on Exynos5 series of SoCs. The new driver uses the generic PHY framework and will interact

[PATCH 01/10] ARM: OMAP: hwmod: Add SYSC offsets for AES IP

2014-04-25 Thread Joel Fernandes
The AES IP has the SIDLE offset by 2 and not 3, to allow SIDLE modes to work for AES, we add a new SYSC type to HWMOD code. Signed-off-by: Joel Fernandes --- arch/arm/mach-omap2/omap_hwmod.h | 11 +++ arch/arm/mach-omap2/omap_hwmod_common_data.c | 10 ++ 2 files c

[PATCH 02/10] ARM: DRA7xx: hwmod: Add hwmod data for DES IP

2014-04-25 Thread Joel Fernandes
dra7xx SoC has a DES module. Add the required data to hwmod. Signed-off-by: Joel Fernandes --- arch/arm/mach-omap2/omap_hwmod_7xx_data.c | 39 + 1 file changed, 39 insertions(+) diff --git a/arch/arm/mach-omap2/omap_hwmod_7xx_data.c b/arch/arm/mach-omap2/omap_hwmo

[PATCH 06/10] ARM: OMAP4: hwmod: add hwmod data for DES IP

2014-04-25 Thread Joel Fernandes
OMAP4 has a DES IP for DES and 3DES encryption, Add hwmod data for the same. Signed-off-by: Joel Fernandes --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 35 1 file changed, 35 insertions(+) diff --git a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c b/arch/arm/mac

[PATCH 04/10] ARM: DRA7xx: Add hwmod entries for RNG module

2014-04-25 Thread Joel Fernandes
Add the CLKCTRL offsets, SYSC offsets to the RNG module. Signed-off-by: Joel Fernandes --- arch/arm/mach-omap2/omap_hwmod_7xx_data.c | 35 + 1 file changed, 35 insertions(+) diff --git a/arch/arm/mach-omap2/omap_hwmod_7xx_data.c b/arch/arm/mach-omap2/omap_hwmod_7x

[PATCH 10/10] ARM: dts: OMAP4: Add clock nodes for AES/DES nodes

2014-04-25 Thread Joel Fernandes
AES/DES nodes have clock nodes in the clock tree, use them. Internal trees were using hwmod, but now that clock nodes are there, we can use them instead and upstream it. Signed-off-by: Joel Fernandes --- arch/arm/boot/dts/omap4.dtsi |4 1 file changed, 4 insertions(+) diff --git a/arch

[PATCH 03/10] ARM: DRA7xx: hwmod: Add hwmod data for AES IP

2014-04-25 Thread Joel Fernandes
DRA7xx SoC has same AES IP as OMAP4. Add hwmod data for the same. Signed-off-by: Joel Fernandes --- arch/arm/mach-omap2/omap_hwmod_7xx_data.c | 39 + 1 file changed, 39 insertions(+) diff --git a/arch/arm/mach-omap2/omap_hwmod_7xx_data.c b/arch/arm/mach-omap2/omap

Re: radeon: screen garbled after page allocator change, was: Re: [patch v2 3/3] mm: page_alloc: fair zone allocator policy

2014-04-25 Thread Jerome Glisse
On Fri, Apr 25, 2014 at 05:50:57PM -0400, Jerome Glisse wrote: > On Fri, Apr 25, 2014 at 05:47:48PM -0400, Jerome Glisse wrote: > > On Thu, Apr 24, 2014 at 09:37:22AM -0400, Johannes Weiner wrote: > > > Hi Thomas, > > > > > > On Wed, Apr 02, 2014 at 04:26:08PM +0200, Thomas Schwinge wrote: > > > >

[PATCH 07/10] ARM: dts: DRA7: Add DT node for DES IP

2014-04-25 Thread Joel Fernandes
DRA7xx SoCs have a DES3DES IP. Add DT data for the same. Signed-off-by: Joel Fernandes --- arch/arm/boot/dts/dra7.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi index 1c0f8e1..0533b89 100644 --- a/arch/arm/boot/dt

Re: [PATCH v5 1/2] phy: Add new Exynos5 USB 3.0 PHY driver

2014-04-25 Thread Tomasz Figa
Hi Vivek, On 22.04.2014 10:03, Vivek Gautam wrote: Add a new driver for the USB 3.0 PHY on Exynos5 series of SoCs. The new driver uses the generic PHY framework and will interact with DWC3 controller present on Exynos5 series of SoCs. Thereby, removing old phy-samsung-usb3 driver and related cod

[PATCH 00/10] ARM: OMAP: dts and HWMOD entries for crypto modules

2014-04-25 Thread Joel Fernandes
Hi Tony, Benoit, Here are some dts/hwmod patches for crypto on OMAP4 and DRA7, couple of them are resends and some are sent for first time now that clock nodes are available in dts. If there's no other feedback, I would like these queued for v3.16. Thanks. Patches 1,2 and 3 are dts, the rest ar

Re: [PATCH v4 RESEND 0/7] clk: bcm281xx: updates

2014-04-25 Thread Mike Turquette
Quoting Alex Elder (2014-04-21 14:11:36) > This series includes updates for the bcm281xx clock code. It is > dependent on the following patch, which has been taken into the > clk-fixes tree: > clk: bcm281xx: don't use unnamed structs or unions > https://lkml.org/lkml/2014/4/7/322 Thanks f

Re: [PATCH v8 0/3] Exynos 5410 support

2014-04-25 Thread Kevin Hilman
Tarek Dakhran writes: > The series of patches represent support of Exynos 5410 SoC > > The Exynos 5410 is the first Samsung SoC based on bigLITTLE architecture > > Patches add new platform description, support of clock controller and device > tree for Exynos 5410. > > Has been build on Linux Kern

[PATCH V2 2/2] fs/ext4/fsync.c: generic_file_fsync call based on barrier flag

2014-04-25 Thread Fabian Frederick
generic_file_fsync has been updated to issue a flush for older filesystems. This patch checks barrier flag in ext4 mount flags and calls the right function. Suggested-by: Jan Kara Suggested-by: Christoph Hellwig Cc: Jan Kara Cc: Christoph Hellwig Cc: Alexander Viro Cc: "Theodore Ts'o" Cc: A

Re: [GIT PULL] SCSI fixes for 3.15-rc3

2014-04-25 Thread Linus Torvalds
On Fri, Apr 25, 2014 at 3:49 PM, David Rientjes wrote: > > Hmm, I see why this is needed because of the scsi_put_command(cmd), but I > think you need to do struct scsi_device *sdev = ACCESS_ONCE(cmd->device) > instead to prevent gcc from messing with the code generation. No, if gcc were to move t

Re: [PATCH v8 1/3] ARM: EXYNOS: Add support for EXYNOS5410 SoC

2014-04-25 Thread Kevin Hilman
Tarek Dakhran writes: > EXYNOS5410 is SoC in Samsung's Exynos5 SoC series. > Add initial support for this SoC. > > Signed-off-by: Tarek Dakhran > Signed-off-by: Vyacheslav Tyrtov > Reviewed-by: Tomasz Figa [...] > diff --git a/arch/arm/mach-exynos/hotplug.c b/arch/arm/mach-exynos/hotplug.c >

[PATCH V2 1/2] FS: Add generic data flush to fsync

2014-04-25 Thread Fabian Frederick
This patch issues a flush in generic_file_fsync. (Modern filesystems already do it) -Behaviour can be reversed using /sys/devices/.../cache_type -Filesystems can also call __generic_file_fsync with bool flush false Suggested-by: Jan Kara Suggested-by: Christoph Hellwig Cc: Jan Kara Cc: Christo

[ANNOUNCE] Git v2.0.0-rc1

2014-04-25 Thread Junio C Hamano
A release candidate Git v2.0.0-rc1 is now available for testing at the usual places. The tarballs are found at: https://www.kernel.org/pub/software/scm/git/testing/ The following public repositories all have a copy of the 'v2.0.0-rc1' tag and the 'master' branch that the tag points at: ur

Re: [GIT PULL] SCSI fixes for 3.15-rc3

2014-04-25 Thread David Rientjes
On Fri, 25 Apr 2014, James Bottomley wrote: > diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c > index 65a123d..9db097a 100644 > --- a/drivers/scsi/scsi_lib.c > +++ b/drivers/scsi/scsi_lib.c > @@ -137,6 +137,7 @@ static void __scsi_queue_insert(struct scsi_cmnd *cmd, > int reason, i

[RFC/PATCH 3/4] clk: Use lockless functions for debug printing

2014-04-25 Thread Stephen Boyd
In the near future we're going to move the prepare lock to a per-clock ww_mutex. Use the lockless functions here for printing the rate and accuracy so that we don't run into AA deadlocks in the future. Signed-off-by: Stephen Boyd --- drivers/clk/clk.c | 8 1 file changed, 4 insertions(+

[RFC/PATCH 1/4] clk: Recalc rate and accuracy in underscore functions if not caching

2014-04-25 Thread Stephen Boyd
When we move this code to use ww_mutex we'll need to call __clk_get_rate() and __clk_get_accuracy(), instead of their non-underscore counterparts, while holding the clock's prepare mutex. Move the recalculation of these values into the underscore functions so that we can call __clk_get_rate() and _

[RFC/PATCH 0/4] Use wound/wait mutexes in the common clock framework

2014-04-25 Thread Stephen Boyd
The prepare mutex in the common clock framework can lead to tasks waiting a long time for other tasks to finish a frequency switch or prepare/unprepare step. In my particular case I have a clock controlled by a co-processor that can take 10s of millliseconds to change rate. I've seen scenarios wher

[RFC/PATCH 4/4] clk: Use ww_mutexes for clk_prepare_{lock/unlock}

2014-04-25 Thread Stephen Boyd
Changing the rate of a "slow" clock can take 10s of milliseconds while changing the rate of a "fast" clock can be done in a few microseconds. With one prepare mutex a task that's trying to change the rate of a fast clock may have to wait for a slow clock's rate to change before it can proceed. Cons

[RFC/PATCH 2/4] clk: Make __clk_lookup() use a list instead of tree search

2014-04-25 Thread Stephen Boyd
In the near future we're going to move the prepare lock to be a per-clock ww_mutex. __clk_lookup() is called very deep in the set-rate path and we would like to avoid having to take all the locks in the clock tree to search for a clock (basically defeating the purpose of introducing per-clock locks

Re: [PATCH v2 00/10] ARM: Exynos: PMU cleanup and refactoring for using DT

2014-04-25 Thread Tomasz Figa
Hi Pankaj, Just a small note - please refrain from sending next versions of series in reply to previous version. With threading applied, it gets hard to notice that a new version was posted, because the first message of the thread is always v1. Also it makes threads unnecessarily long. Best

[PATCH 0/8] [v4] x86: rework tlb range flushing code

2014-04-25 Thread Dave Hansen
Changes from v3: * Include the patch I was using to gather detailed statistics about the length of the ranged TLB flushes * Fix some documentation typos * Add a patch to rework the remote tlb flush code to plumb the tracepoints in easier, and add missing tracepoints * use __print_symbolic

[PATCH 2/8] x86: mm: rip out complicated, out-of-date, buggy TLB flushing

2014-04-25 Thread Dave Hansen
From: Dave Hansen I think the flush_tlb_mm_range() code that tries to tune the flush sizes based on the CPU needs to get ripped out for several reasons: 1. It is obviously buggy. It uses mm->total_vm to judge the task's footprint in the TLB. It should certainly be using some measure of

Re: [PATCH v2 10/10] ARM: EXYNOS: Add device tree based initialization support for PMU.

2014-04-25 Thread Tomasz Figa
Hi, On 25.04.2014 14:32, Pankaj Dubey wrote: This patch adds device tree based initialization for PMU and modifies PMU initialization implementation in following way: 1: Let's initialize PMU based on device tree compatibility string. 2: Obtain PMU regmap handle using "syscon_early_regmap_lookup

[PATCH 5/8] x86: mm: add tracepoints for TLB flushes

2014-04-25 Thread Dave Hansen
Changes from v3: * remove trace_tlb.c and __print_symbolic() instead * make sure to cover all cases in flush_tlb_func() * remove _DONE "reason" since it was not precise enough -- From: Dave Hansen We don't have any good way to figure out what kinds of flushes are being attempted. Right now

  1   2   3   4   5   6   7   8   9   >