Re: [PATCH v3 02/10] Documentation: regulator: tps65218: Update examples

2016-06-27 Thread Lee Jones
This is a more common format for DT bindings: dt-bindings: regulator: On Tue, 28 Jun 2016, Keerthy wrote: > This updates the device tree according to the preferred way of parsing Nit: Device Tree > the nodes using the regulator framework. > > Acked-by: Rob Herring > Signed-off-by: Keerthy

Re: [PATCH v10 05/22] IB/hns: Add initial profile resource

2016-06-27 Thread oulijun
Hi, leon 在 2016/6/24 23:10, Leon Romanovsky 写道: > On Thu, Jun 16, 2016 at 10:35:13PM +0800, Lijun Ou wrote: >> This patch added the operation for cmd, and added some functions >> for initializing eq table and selecting cmd mode. >> >> Signed-off-by: Wei Hu >> Signed-off-by: Nenglong Zhao >> Signe

Re: [PATCH v3 03/10] input: tps65218-pwrbutton: Add platform_device_id table

2016-06-27 Thread Keerthy
On Tuesday 28 June 2016 12:19 PM, Lee Jones wrote: On Tue, 28 Jun 2016, Keerthy wrote: platform_device_id table is needed for adding the tps65218-pwrbutton module to the mfd_cell array. Signed-off-by: Keerthy --- drivers/input/misc/tps65218-pwrbutton.c | 7 +++ 1 file changed, 7 inse

[PATCH] KVM: vmx: fix underflow in TSC deadline calculation

2016-06-27 Thread Wanpeng Li
INFO: rcu_sched detected stalls on CPUs/tasks: 1-...: (11800 GPs behind) idle=45d/140/0 softirq=0/0 fqs=21663 (detected by 0, t=65016 jiffies, g=11500, c=11499, q=719) Task dump for CPU 1: qemu-system-x86 R running task0 3529 3525 0x00080808 8802021791a0 88021289

Re: [PATCH v3 04/10] mfd: tps65218: Use mfd_add_devices instead of of_platform_populate

2016-06-27 Thread Lee Jones
On Tue, 28 Jun 2016, Keerthy wrote: > mfd_add_devices enables parsing device tree nodes without compatibles > for regulators and gpio modules. Replace of_platform_populate with > mfd_add_devices. mfd_cell currently is populated with regulators, > gpio and powerbutton. > > Signed-off-by: Keerthy

Re: [PATCH v3 06/10] gpio: tps65218: Remove the compatible

2016-06-27 Thread Lee Jones
On Tue, 28 Jun 2016, Keerthy wrote: > Remove the individual compatible for the gpio module. > Introduce id_table and update the driver accordingly > to parse device tree nodes by just using the mfd compatible. Aren't there any OF calls in this driver? You can use the MFD API to pass through comp

Re: [PATCH v3 03/10] input: tps65218-pwrbutton: Add platform_device_id table

2016-06-27 Thread Lee Jones
On Tue, 28 Jun 2016, Keerthy wrote: > platform_device_id table is needed for adding the tps65218-pwrbutton > module to the mfd_cell array. > > Signed-off-by: Keerthy > --- > drivers/input/misc/tps65218-pwrbutton.c | 7 +++ > 1 file changed, 7 insertions(+) > > diff --git a/drivers/input/mi

[PATCH v4] acpi, nfit: treat virtual ramdisk SPA as pmem region

2016-06-27 Thread Lee, Chun-Yi
This patch adds logic to treat virtual ramdisk SPA as pmem region, then ramdisk's /dev/pmem* device can be mounted with iso9660. It's useful to work with the httpboot in EFI firmware to pull a remote ISO file to the local memory region for booting and installation. Wiki page of UEFI HTTPBoot with

[PATCH v3 05/19] sh: FDT address save before bank change

2016-06-27 Thread Yoshinori Sato
SH3/4 have register bank of R0-R7. Preset FDT address assigned bank depend on boot loader. Before setting a bank because we don't depend on a boot loader, it's evacuated. Signed-off-by: Yoshinori Sato --- arch/sh/kernel/head_32.S | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff

[PATCH v3 00/19] sh: LANDISK and R2Dplus convert to device tree

2016-06-27 Thread Yoshinori Sato
SH get devicetree support. But it not working on existing H/W. IO-DATA HDL-U (aka landisk) currentry supported. This H/W like SH7751 evalution board. It's a best to use this as a change base H/W. RTS7751R2Dplus is QEMU-SH4 target. So easy trying. Changes V3 - PCI driver update for v4.7. - New Clo

[PATCH v3 08/19] sh: Use GENERIC_IOMAP on device tree mode

2016-06-27 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- arch/sh/boards/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/sh/boards/Kconfig b/arch/sh/boards/Kconfig index 5e52d53..9e4ccd0 100644 --- a/arch/sh/boards/Kconfig +++ b/arch/sh/boards/Kconfig @@ -12,6 +12,7 @@ config SH_DEVICE_TREE sele

[PATCH v3 03/19] sh: Use P1SEGADDR

2016-06-27 Thread Yoshinori Sato
FDT address is P1SEG. So not virtual address. Signed-off-by: Yoshinori Sato --- arch/sh/kernel/setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/sh/kernel/setup.c b/arch/sh/kernel/setup.c index 86f2792..8e3b099 100644 --- a/arch/sh/kernel/setup.c +++ b/arch/sh/kern

[PATCH v3 01/19] sh: More early unflatten device tree

2016-06-27 Thread Yoshinori Sato
unflatten required MMU disabled. Signed-off-by: Yoshinori Sato --- arch/sh/boards/of-generic.c | 6 -- arch/sh/kernel/setup.c | 7 +++ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/arch/sh/boards/of-generic.c b/arch/sh/boards/of-generic.c index 8dbf978..3db4294 1006

[PATCH v3 06/19] sh: Passing FDT address on zImage

2016-06-27 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- arch/sh/boot/compressed/head_32.S | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/sh/boot/compressed/head_32.S b/arch/sh/boot/compressed/head_32.S index 3e15032..a980c48 100644 --- a/arch/sh/boot/compressed/head_32.S +++ b/arch/sh/b

[PATCH v3 04/19] sh: command line passing chosen/bootargs in devicetree

2016-06-27 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- arch/sh/kernel/setup.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/sh/kernel/setup.c b/arch/sh/kernel/setup.c index 8e3b099..bdf57e5 100644 --- a/arch/sh/kernel/setup.c +++ b/arch/sh/kernel/setup.c @@ -280,6 +280,7 @@ void __init setup_arch(cha

[PATCH v3 14/19] sh: Move common PCI stuff to arch/sh/kernel

2016-06-27 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- arch/sh/drivers/pci/Makefile | 2 - arch/sh/drivers/pci/common.c | 162 arch/sh/drivers/pci/pci.c| 320 arch/sh/kernel/Makefile | 2 + arch/sh/kernel/pci-common.c | 162 ++

[PATCH v3 17/19] sh: Add separate DTB build rule

2016-06-27 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- arch/sh/Makefile | 7 +++ arch/sh/boot/dts/Makefile | 2 ++ 2 files changed, 9 insertions(+) diff --git a/arch/sh/Makefile b/arch/sh/Makefile index 8adffa8..a44e630 100644 --- a/arch/sh/Makefile +++ b/arch/sh/Makefile @@ -189,6 +189,13 @@ drivers-$(

[PATCH v3 09/19] sh: Add board specific initialize of of-generic

2016-06-27 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- arch/sh/boards/of-generic.c | 64 + 1 file changed, 64 insertions(+) diff --git a/arch/sh/boards/of-generic.c b/arch/sh/boards/of-generic.c index 2d3cda3..709006a 100644 --- a/arch/sh/boards/of-generic.c +++ b/arch/sh/

[PATCH v3 10/19] sh: SH7750/51 CPG Driver

2016-06-27 Thread Yoshinori Sato
Convert SH specific clock framework to CCF. Signed-off-by: Yoshinori Sato --- .../bindings/clock/renesas,sh7750-cpg.txt | 25 ++ arch/sh/boards/Kconfig | 1 + arch/sh/kernel/cpu/Makefile| 8 +- arch/sh/kernel/cpu/clock.c

Re: [PATCH v6v3 02/12] mm: migrate: support non-lru movable page migration

2016-06-27 Thread Minchan Kim
On Mon, Jun 27, 2016 at 11:21:01AM +0530, Anshuman Khandual wrote: > On 06/16/2016 11:07 AM, Minchan Kim wrote: > > On Thu, Jun 16, 2016 at 09:12:07AM +0530, Anshuman Khandual wrote: > >> On 06/16/2016 05:56 AM, Minchan Kim wrote: > >>> On Wed, Jun 15, 2016 at 12:15:04PM +0530, Anshuman Khandual wr

[PATCH v3 19/19] sh: Renesas R0P751RLC0011RL (a.k.a R2Dplus) support

2016-06-27 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- .../interrupt-controller/renesas-r2dplus.txt | 41 ++ arch/sh/boot/dts/Makefile | 1 + arch/sh/boot/dts/r2dplus.dts | 84 + drivers/irqchip/Makefile | 2 +

[PATCH v3 16/19] pci: PCI_HOST_GENERIC enable for SH

2016-06-27 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- drivers/pci/host/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/host/Kconfig b/drivers/pci/host/Kconfig index df60505..83184eb 100644 --- a/drivers/pci/host/Kconfig +++ b/drivers/pci/host/Kconfig @@ -83,7 +83,7 @@ config P

[PATCH v3 07/19] sh: Disable board specific code on device tree mode

2016-06-27 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- arch/sh/Makefile| 2 ++ arch/sh/kernel/cpu/sh4/Makefile | 2 ++ 2 files changed, 4 insertions(+) diff --git a/arch/sh/Makefile b/arch/sh/Makefile index 3b2c8b4..8adffa8 100644 --- a/arch/sh/Makefile +++ b/arch/sh/Makefile @@ -132,6 +132,7 @@ core

[PATCH v3 18/19] sh: IO-DATA HDL-U (a,k.a landisk) support

2016-06-27 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- .../interrupt-controller/iodata-landisk.txt| 34 ++ arch/sh/boot/dts/Makefile | 2 + arch/sh/boot/dts/landisk.dts | 62 ++ drivers/irqchip/Makefile | 2 +-

[PATCH v3 13/19] sh: SH7751 core dtsi

2016-06-27 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- arch/sh/boot/dts/sh7751.dtsi | 85 ++ include/dt-bindings/clock/renesas-sh7750.h | 26 +++ include/dt-bindings/interrupt-controller/sh_intc.h | 2 + 3 files changed, 113 insertions(+) create mode 100644 arch

Re: [PATCH] extcon: Add support for qcom SPMI PMIC USB id detection hardware

2016-06-27 Thread Roger Quadros
On 27/06/16 22:30, Stephen Boyd wrote: > Quoting Roger Quadros (2016-06-27 00:39:51) >> Hi Stephen, >> >> On 26/06/16 08:56, Stephen Boyd wrote: >>> Some Qualcomm PMICs have a misc device that performs USB id pin >>> detection via an interrupt. When the interrupt triggers, we >>> should read the in

[PATCH v3 11/19] sh: Add PCI host bridge driver for SH7751

2016-06-27 Thread Yoshinori Sato
This is an alternative SH7751 PCI driver. Existing driver (arch/sh/drivers/pci/pci-sh7751) uses SH specific interface. But this driver uses common PCI interface. It is more modern and generic. Signed-off-by: Yoshinori Sato --- .../devicetree/bindings/pci/sh7751-pci.txt | 51 arch/s

[PATCH v3 15/19] pci: pci_config_window move to linux/pci.h

2016-06-27 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- drivers/pci/ecam.h | 17 + include/linux/pci.h | 18 ++ 2 files changed, 19 insertions(+), 16 deletions(-) diff --git a/drivers/pci/ecam.h b/drivers/pci/ecam.h index 9878beb..f110091 100644 --- a/drivers/pci/ecam.h +++ b/drivers/

[PATCH v3 02/19] sh: set preset_lpj

2016-06-27 Thread Yoshinori Sato
Generic callibrate delay required this value. Signed-off-by: Yoshinori Sato --- arch/sh/boards/of-generic.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/sh/boards/of-generic.c b/arch/sh/boards/of-generic.c index 3db4294..2d3cda3 100644 --- a/arch/sh/boards/of-generic.c +++ b/ar

Re: [PATCH v3 03/10] input: tps65218-pwrbutton: Add platform_device_id table

2016-06-27 Thread kbuild test robot
Hi, [auto build test ERROR on robh/for-next] [also build test ERROR on v4.7-rc5 next-20160627] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Keerthy/mfd-tps65218-Clean-ups/20160628-141354 base

Re: [QUESTION] Is there a better way to get ftrace dump on guest?

2016-06-27 Thread Namhyung Kim
Send again to correct addresses, sorry! On Tue, Jun 28, 2016 at 3:25 PM, Namhyung Kim wrote: > Hello, > > I'm running some guest machines for kernel development. For debugging > purpose, I use lots of trace_printk() since it's faster than normal > printk(). When kernel crash happens the trace b

Re: [PATCH v10 04/22] IB/hns: Add RoCE engine reset function

2016-06-27 Thread Wei Hu (Xavier)
On 2016/6/27 16:31, oulijun wrote: Hi, Leon 在 2016/6/27 16:01, Leon Romanovsky 写道: On Sat, Jun 25, 2016 at 06:25:37PM +0800, Wei Hu (Xavier) wrote: On 2016/6/24 22:59, Leon Romanovsky wrote: On Thu, Jun 16, 2016 at 10:35:12PM +0800, Lijun Ou wrote: This patch mainly added reset flow of RoC

[PATCH v4 0/5] regulator: add Ricoh RN5T567 PMIC support

2016-06-27 Thread Stefan Agner
This patchset adds RN5T567 PMIC support which is used on the Toradex Colibri iMX7S/iMX7D modules. The existing RN5T618 is from the same family, hence this patchset uses the same driver and adds variant support. The Colibris currently do not use the PMIC's power off capabilities, as do the current

[PATCH v4 4/5] mfd: rn5t618: register power off callback optionally

2016-06-27 Thread Stefan Agner
Only register power off if the PMIC is defined as system power controller (see Documentation/devicetree/bindings/power/ power-controller.txt). Signed-off-by: Stefan Agner Reviewed-by: Marcel Ziswiler --- drivers/mfd/rn5t618.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) dif

[PATCH v4 5/5] mfd: rn5t618: register restart handler

2016-06-27 Thread Stefan Agner
Use the PMIC's repower capability for reboots. Register a restart handler and use a slightly elevated priority of 192 since the PMIC has suprior reset capability (causing a system wide reset). Signed-off-by: Stefan Agner Reviewed-by: Marcel Ziswiler --- drivers/mfd/rn5t618.c | 43 ++

[PATCH v4 2/5] mfd: add Ricoh RN5T567 PMIC support

2016-06-27 Thread Stefan Agner
The Ricoh RN5T567 is from the same family as the Ricoh RN5T618 is, the differences are: + DCDC4 + Slightly different output voltage/currents + 32kHz Output - ADC/Charger capabilities Signed-off-by: Stefan Agner Reviewed-by: Marcel Ziswiler Acked-by: Rob Herring --- Documentation/devicetree/bi

[PATCH v4 3/5] regulator: rn5t618: add RN5T567 PMIC support

2016-06-27 Thread Stefan Agner
Extend the driver to support Ricoh RN5T567. Support the additional DCDC and slightly different voltage range of LDORTC1. Signed-off-by: Stefan Agner Reviewed-by: Marcel Ziswiler Acked-by: Mark Brown Acked-by: Lee Jones --- drivers/regulator/Kconfig | 5 +++-- drivers/regulator/rn

[PATCH v4 1/5] ARM: dts: meson: minix-neo-x8: define PMIC as power controller

2016-06-27 Thread Stefan Agner
The PMIC driver used to register itself as poweroff controller by default, hence assuming that this device is using the PMIC as system power controller. Signed-off-by: Stefan Agner Reviewed-by: Marcel Ziswiler Acked-by: Carlo Caione --- arch/arm/boot/dts/meson8-minix-neo-x8.dts | 1 + 1 file c

Re: [PATCH v2] notifier: Fix soft lockup for notifier_call_chain().

2016-06-27 Thread Eric Dumazet
On Tue, 2016-06-28 at 08:22 +0200, Eric Dumazet wrote: > Follow the stack trace and add another cond_resched() where it is needed > then ? > > Lot of this code was written decade ago where nobody expected a root > user was going to try hard to crash its host ;) > > I did not check if the followi

Re: [PATCH v3 03/10] input: tps65218-pwrbutton: Add platform_device_id table

2016-06-27 Thread kbuild test robot
Hi, [auto build test ERROR on robh/for-next] [also build test ERROR on v4.7-rc5 next-20160627] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Keerthy/mfd-tps65218-Clean-ups/20160628-141354 base

Re: [PATCH v2] notifier: Fix soft lockup for notifier_call_chain().

2016-06-27 Thread Eric Dumazet
On Tue, 2016-06-28 at 14:09 +0800, Ding Tianhong wrote: > On 2016/6/28 13:13, Eric Dumazet wrote: > > On Tue, 2016-06-28 at 12:56 +0800, Ding Tianhong wrote: > >> The problem was occurs in my system that a lot of drviers register > >> its own handler to the notifiler call chain for netdev_chain, an

[PATCH] clk: Provide notifier stubs when !COMMON_CLK

2016-06-27 Thread Krzysztof Kozlowski
The clk notifier symbols are hidden by COMMON_CLK. However on some platforms HAVE_CLK might be set while COMMON_CLK not which leads to compile test build errors like: $ make.cross ARCH=sh drivers/devfreq/tegra-devfreq.c: In function 'tegra_actmon_rate_notify_cb': >> drivers/devfreq/tegra-devfr

Re: [PATCH] KVM: vmx: fix underflow in TSC deadline calculation

2016-06-27 Thread Wanpeng Li
2016-06-27 21:11 GMT+08:00 Paolo Bonzini : > If the TSC deadline timer is programmed really close to the deadline or > even in the past, the computation in vmx_set_hv_timer can underflow and > cause delta_tsc to be set to a huge value. This generally results > in vmx_set_hv_timer returning -ERANGE

Re: Review of ptrace Yama ptrace_scope description

2016-06-27 Thread Michael Kerrisk (man-pages)
Hi Jann, On 06/25/2016 04:30 PM, Jann Horn wrote: On Sat, Jun 25, 2016 at 09:30:43AM +0200, Michael Kerrisk (man-pages) wrote: Hi Kees, So, last year, I added some documentation to ptrace(2) to describe the Yama ptrace_scope file. I don't think I asked you for review at the time, but in the li

[PATCH v3 02/10] Documentation: regulator: tps65218: Update examples

2016-06-27 Thread Keerthy
This updates the device tree according to the preferred way of parsing the nodes using the regulator framework. Acked-by: Rob Herring Signed-off-by: Keerthy --- .../devicetree/bindings/regulator/tps65218.txt | 87 ++ 1 file changed, 71 insertions(+), 16 deletions(-) dif

[PATCH v3 04/10] mfd: tps65218: Use mfd_add_devices instead of of_platform_populate

2016-06-27 Thread Keerthy
mfd_add_devices enables parsing device tree nodes without compatibles for regulators and gpio modules. Replace of_platform_populate with mfd_add_devices. mfd_cell currently is populated with regulators, gpio and powerbutton. Signed-off-by: Keerthy --- drivers/mfd/tps65218.c | 15 +--

[PATCH v3 07/10] ARM: dts: AM437X-GP-EVM: Remove redundant regulator compatibles

2016-06-27 Thread Keerthy
With the device tree parsing using the regulator framework there is a no longer a need for separate compatibles for individual regulator nodes. Hence removing them all. Signed-off-by: Keerthy --- arch/arm/boot/dts/am437x-gp-evm.dts | 6 -- 1 file changed, 6 deletions(-) diff --git a/arch/ar

Re: [PATCH v2] notifier: Fix soft lockup for notifier_call_chain().

2016-06-27 Thread Ding Tianhong
On 2016/6/28 13:13, Eric Dumazet wrote: > On Tue, 2016-06-28 at 12:56 +0800, Ding Tianhong wrote: >> The problem was occurs in my system that a lot of drviers register >> its own handler to the notifiler call chain for netdev_chain, and >> then create 4095 vlan dev for one nic, and add several ipv6

linux-next: Tree for Jun 28

2016-06-27 Thread Stephen Rothwell
Hi all, Changes since 20160627: New tree: binfmt_misc The nfs tree lost its build failure. The net-next tree gained a conflict against the imx-mxs tree. The iommu tree gained a conflict against the arm tree. The audit tree gained a conflict against the security tree. Non-merge commits

[PATCH v3 08/10] ARM: dts: AM437X-SK-EVM: Remove redundant regulator compatibles

2016-06-27 Thread Keerthy
With the device tree parsing using the regulator framework there is a no longer a need for separate compatibles for individual regulator nodes. Hence removing them all. Signed-off-by: Keerthy --- arch/arm/boot/dts/am437x-sk-evm.dts | 5 - 1 file changed, 5 deletions(-) diff --git a/arch/arm

[PATCH v2 5/9] tty: serial: fsl_lpuart: Fix broken 8m/s1 support

2016-06-27 Thread Bhuvanchandra DV
By default the driver always configure the mode as 8s1 even when 8m1 mode is selected. Fix this by adding support to control the space/mark bit. Signed-off-by: Bhuvanchandra DV --- drivers/tty/serial/fsl_lpuart.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/driver

[PATCH v2 2/9] clk: imx: vf610: Disable automatic clock gating for lpuart in LPSTOP mode

2016-06-27 Thread Bhuvanchandra DV
From: Stefan Agner In order to allow wake support in STOP sleep mode, clocks are needed. Use imx_clk_gate2_cgr to disable automatic clock gating in low power mode STOP. This allows to enable wake by UART using: echo enabled > /sys/class/tty/ttyLP0/power/wakeup However, if wake is not enabled, th

[PATCH v3 09/10] ARM: dts: AM437X-CM-T43: Remove redundant regulator compatibles

2016-06-27 Thread Keerthy
With the device tree parsing using the regulator framework there is a no longer a need for separate compatibles for individual regulator nodes. Hence removing them all. Signed-off-by: Keerthy --- arch/arm/boot/dts/am437x-cm-t43.dts | 6 -- 1 file changed, 6 deletions(-) diff --git a/arch/ar

[PATCH v3 10/10] ARM: dts: AM43X-EPOS-EVM: Remove redundant regulator compatibles

2016-06-27 Thread Keerthy
With the device tree parsing using the regulator framework there is a no longer a need for separate compatibles for individual regulator nodes. Hence removing them all. Signed-off-by: Keerthy --- arch/arm/boot/dts/am43x-epos-evm.dts | 7 --- 1 file changed, 7 deletions(-) diff --git a/arch/

[PATCH v3 00/10] mfd: tps65218: Clean ups

2016-06-27 Thread Keerthy
The series cleans up mainly the regulator driver and implements the device tree parsing using the regulator framework. Removes all the redundant compatibles for the individual regulators. Removes compatible for gpio driver as well and adds it to the mfd_cell. One of the patch removes redundant rea

[PATCH v3 01/10] mfd: tps65218: Remove redundant read wrapper

2016-06-27 Thread Keerthy
Currently read directly calls the repmap read function. Hence remove the redundant wrapper and use regmap read wherever needed. Signed-off-by: Keerthy --- Changes in v3: * Cleaned up tps65218-pwrbutton and gpio drivers to remove tps65218_reg_read instances. drivers/gpio/gpio-tps65218.c

[PATCH v3 03/10] input: tps65218-pwrbutton: Add platform_device_id table

2016-06-27 Thread Keerthy
platform_device_id table is needed for adding the tps65218-pwrbutton module to the mfd_cell array. Signed-off-by: Keerthy --- drivers/input/misc/tps65218-pwrbutton.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/input/misc/tps65218-pwrbutton.c b/drivers/input/misc/tps65218-

[PATCH v3 05/10] regulator: tps65218: Remove all the compatibles

2016-06-27 Thread Keerthy
Remove all the individual compatibles for all the regulators and introduce id_table and update the driver accordingly to parse device tree nodes using the regulator framework. Acked-by: Mark Brown Signed-off-by: Keerthy --- drivers/regulator/tps65218-regulator.c | 131 +++---

[PATCH v3 06/10] gpio: tps65218: Remove the compatible

2016-06-27 Thread Keerthy
Remove the individual compatible for the gpio module. Introduce id_table and update the driver accordingly to parse device tree nodes by just using the mfd compatible. Signed-off-by: Keerthy --- drivers/gpio/gpio-tps65218.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff -

[PATCH v2 6/9] tty: serial: fsl-lpuart: Use cyclic DMA for Rx

2016-06-27 Thread Bhuvanchandra DV
The initial approach of DMA implementatin for RX is inefficient due to switching from PIO to DMA, this leads to overruns especially on instances with the smaller FIFO. To address these issues this patch uses a cyclic DMA for receiver path. Some part of the code is borrowed from atmel serial driver

Re: linux-next - lockdep whine in MMC/SDHC code

2016-06-27 Thread Adrian Hunter
tocol family 10 > > [2.623472] == > [2.623548] [ INFO: HARDIRQ-safe -> HARDIRQ-unsafe lock order detected ] > [2.623638] 4.7.0-rc4-next-20160627-dirty #303 Not tainted > [2.623733] -- > [2.623817] kwor

RE: [PATCH 2/4] dmaengine: vdma: Add support for mulit-channel dma mode

2016-06-27 Thread Appana Durga Kedareswara Rao
Hi Vinod, Thanks for the review... > > > > > > /** > > > > > > + * struct xilinx_mcdma_config - DMA Multi channel > > > > > > +configuration structure > > > > > > + * @tdest: Channel to operate on > > > > > > + * @tid: Channel configuration > > > > > > + * @tuser: Tuser configuration >

[PATCH v2 4/9] tty: serial: fsl_lpuart: fix clearing of receive flag

2016-06-27 Thread Bhuvanchandra DV
From: Stefan Agner Commit 8e4934c6d6c6 ("tty: serial: fsl_lpuart: clear receive flag on FIFO flush") implemented clearing of the receive flag by reading the status register only. It turned out that even though we flush the FIFO afterwards, a explicit read of the data register is still required.

[PATCH v2 1/9] tty: serial: fsl_lpuart: consider TX FIFO too in tx_empty

2016-06-27 Thread Bhuvanchandra DV
From: Stefan Agner Currently the tx_empty callback only considers the Transmit Complete Flag (TC). The reference manual is not quite clear if the TC flag covers the TX FIFO too. Debug prints on real hardware have shown that from time to time the TC flag is asserted (indicating Transmitter idle) w

Re: [PATCH net-next 6/9] net: hns: normalize two different loop

2016-06-27 Thread Daode Huang
On 2016/6/27 20:13, Andy Shevchenko wrote: On Mon, 2016-06-27 at 05:08 -0700, Joe Perches wrote: On Mon, 2016-06-27 at 15:00 +0300, Andy Shevchenko wrote: On Mon, 2016-06-27 at 04:49 -0700, Joe Perches wrote: On Mon, 2016-06-27 at 17:54 +0800, Yisen Zhuang wrote: From: Daode Huang There a

Re: [PATCH v3 1/3]nbd: fix might_sleep warning on socket shutdown

2016-06-27 Thread Pranay Srivastava
Hi Markus, On Fri, Jun 24, 2016 at 3:39 PM, Pranay Kr. Srivastava wrote: > spinlocked ranges should be small and not contain calls into huge > subfunctions. Fix my mistake and just get the pointer to the socket > instead of doing everything with spinlock held. > > Reported-by: Mikulas Patocka >

Re: [PATCH 2/3] powerpc/spinlock: support vcpu preempted check

2016-06-27 Thread xinhui
On 2016年06月28日 13:03, Boqun Feng wrote: On Tue, Jun 28, 2016 at 11:39:18AM +0800, xinhui wrote: [snip] +{ + struct lppaca *lp = &lppaca_of(cpu); + + if (unlikely(!(lppaca_shared_proc(lp) || + lppaca_dedicated_proc(lp Do you want to detect whether we are

Re: [PATCH] arc: warn only once if DW2_UNWIND is disabled

2016-06-27 Thread Alexey Brodkin
Hi Vineet, On Tue, 2016-06-28 at 10:00 +0530, Vineet Gupta wrote: > On Thursday 23 June 2016 01:30 PM, Alexey Brodkin wrote: > > > > If CONFIG_ARC_DW2_UNWIND is disabled every time arc_unwind_core() > > gets called following message gets printed in debug console: > > ->8--

Re: [PATCH 5/8] KEYS: Provide software public key query function [ver #2]

2016-06-27 Thread Herbert Xu
On Mon, Jun 27, 2016 at 03:27:13PM +0100, David Howells wrote: > > I have some patches I need to finish revamping. I had it kind of working > (though with a slightly different user interface) - then TPMv2 support was > added to the TPM driver before I finished and I need to redo the patches. In

[RFC/PATCH v2] ftrace: Reduce size of function graph entries

2016-06-27 Thread Namhyung Kim
Currently ftrace_graph_ent{,_entry} and ftrace_graph_ret{,_entry} struct can have padding bytes at the end due to alignment in 64-bit data type. As these data are recorded so frequently, those paddings waste non-negligible space. As some archs can have efficient unaligned accesses, reducing the al

Re: [PATCH 1/2] ipc/sem.c: Fix complex_count vs. simple op race

2016-06-27 Thread Davidlohr Bueso
On Thu, 23 Jun 2016, Manfred Spraul wrote: What I'm not sure yet is if smp_load_acquire() is sufficient: Thread A: if (!READ_ONCE(sma->complex_mode)) { The code is test_and_test, no barrier requirements for first test Yeah, it would just make us take the big lock unnecessarily, nothin

Re: [PATCH 0/4] ftrace: One more check on x86 and some small fixes

2016-06-27 Thread Namhyung Kim
On Mon, Jun 27, 2016 at 10:54 PM, Petr Mladek wrote: > 1st patch adds one more paranoid check of the modified function on x86. > > Plus there are 3 small changes that appeared when hunting down > the 1st patch. For the series, Acked-by: Namhyung Kim Thanks, Namhyung > > Petr Mladek (4): >

Re: [PATCH V3] tracing: Make latency tracers fully support the set_graph_notrace

2016-06-27 Thread Namhyung Kim
Hello, On Fri, Jun 24, 2016 at 7:55 PM, Chunyu Hu wrote: > latency tracers(wakeup, wakeup_rt, wakeup_dl, irqsoff) can use the > function_graph trace when display_graph trace option is set by user > via tracefs. And currently the set_graph_notrace filter is not fully > supported in latency tracers

[PATCH v2 0/2] Add mt6755 basic chip support

2016-06-27 Thread Mars Cheng
This patch adds basic support for Mediatek's new 8-core chip, mt6755. Based on 4.7-rc1 Changes in v2: 1. use evb as project suffix 2. add "disable" property for uart dts nodes 3. only alias uart0 as serial0, since we don't enable uart1 Mars Cheng (2): Document: DT: Add bindings for mediatek MT6

[PATCH v2 1/2] Document: DT: Add bindings for mediatek MT6755 SoC Platform

2016-06-27 Thread Mars Cheng
This adds DT binding documentation for Mediatek MT6755. Signed-off-by: Mars Cheng --- Documentation/devicetree/bindings/arm/mediatek.txt |4 .../interrupt-controller/mediatek,sysirq.txt |1 + .../devicetree/bindings/serial/mtk-uart.txt|1 + 3 files changed, 6 inser

[PATCH v2 2/2] arm64: dts: mediatek: add mt6755 support

2016-06-27 Thread Mars Cheng
This adds basic chip support for MT6755 SoC. Signed-off-by: Mars Cheng --- arch/arm64/boot/dts/mediatek/Makefile |1 + arch/arm64/boot/dts/mediatek/mt6755-evb.dts | 38 +++ arch/arm64/boot/dts/mediatek/mt6755.dtsi| 145 +++ 3 files changed, 184 insert

RE: [PATCH v3 2/3] iio: Add driver for Broadcom iproc-static-adc

2016-06-27 Thread Raveendra Padasalagi
> -Original Message- > From: Jonathan Cameron [mailto:ji...@kernel.org] > Sent: 28 June 2016 00:41 > To: Raveendra Padasalagi > Cc: Peter Meerwald-Stadler; Rob Herring; Russell King; Arnd Bergmann; > linux- > i...@vger.kernel.org; devicet...@vger.kernel.org; linux-arm- > ker...@lists.infrad

Re: [PATCH v2] notifier: Fix soft lockup for notifier_call_chain().

2016-06-27 Thread Eric Dumazet
On Tue, 2016-06-28 at 12:56 +0800, Ding Tianhong wrote: > The problem was occurs in my system that a lot of drviers register > its own handler to the notifiler call chain for netdev_chain, and > then create 4095 vlan dev for one nic, and add several ipv6 address > on each one of them, just like thi

RE: acpi: broken suspend to RAM with v4.7-rc1

2016-06-27 Thread Zheng, Lv
Hi, > From: Andrey Skvortsov [mailto:andrej.skvort...@gmail.com] > Subject: Re: acpi: broken suspend to RAM with v4.7-rc1 > > On 27 Jun, Zheng, Lv wrote: > > Hi, > > > > > From: Andrey Skvortsov [mailto:andrej.skvort...@gmail.com] > > > Subject: Re: acpi: broken suspend to RAM with v4.7-rc1 > > >

Re: [PATCH] capabilities: add capability cgroup controller

2016-06-27 Thread Eric W. Biederman
Topi Miettinen writes: > On 06/24/16 17:21, Eric W. Biederman wrote: >> "Serge E. Hallyn" writes: >> >>> Quoting Tejun Heo (t...@kernel.org): Hello, On Fri, Jun 24, 2016 at 10:59:16AM -0500, Serge E. Hallyn wrote: > Quoting Tejun Heo (t...@kernel.org): >> But isn't being

Re: [PATCH 2/2] dt-bindings: pinctrl: Add MDM9615 TLMM bindings

2016-06-27 Thread Bjorn Andersson
On Fri 17 Jun 03:15 PDT 2016, Neil Armstrong wrote: > Signed-off-by: Neil Armstrong Acked-by: Bjorn Andersson Regards, Bjorn

[PATCH V1] regulator: da9211: add descriptions for da9212/da9214

2016-06-27 Thread James Ban
From: James Ban This is a patch for adding description for da9212/da9214. Signed-off-by: James Ban --- This patch applies against linux-next and next-20160624 .../devicetree/bindings/regulator/da9211.txt | 44 ++-- drivers/regulator/da9211-regulator.c

Re: [PATCH 1/2] pinctrl: qcom: Add support for MDM9615 TLMM

2016-06-27 Thread Bjorn Andersson
On Fri 17 Jun 03:15 PDT 2016, Neil Armstrong wrote: > In order to support the Qualcomm MDM9615 SoC, add support for the TLMM > using the Qualcomm pinctrl generic driver. > > Note: the pinctrl is partial, need Documentation to complete all the groups. > Signed-off-by: Neil Armstrong Unfortunatel

Re: [PATCH 2/3] powerpc/spinlock: support vcpu preempted check

2016-06-27 Thread Boqun Feng
On Tue, Jun 28, 2016 at 11:39:18AM +0800, xinhui wrote: [snip] > > > +{ > > > + struct lppaca *lp = &lppaca_of(cpu); > > > + > > > + if (unlikely(!(lppaca_shared_proc(lp) || > > > + lppaca_dedicated_proc(lp > > > > Do you want to detect whether we are running in a guest(ie. pse

Re: IP ID check (flush_id) in inet_gro_receive is necessary or not?

2016-06-27 Thread Eric Dumazet
On Tue, 2016-06-28 at 12:40 +0800, Tan Xiaojun wrote: > Hi everyone, > > I'm sorry to bother you. But I was confused. > > The IP ID check (flush_id) in inet_gro_receive is only used by > tcp_gro_receive, and in tcp_gro_receive we have tcphdr check to ensure > the order of skbs, >

[PATCH v2] notifier: Fix soft lockup for notifier_call_chain().

2016-06-27 Thread Ding Tianhong
The problem was occurs in my system that a lot of drviers register its own handler to the notifiler call chain for netdev_chain, and then create 4095 vlan dev for one nic, and add several ipv6 address on each one of them, just like this: for i in `seq 1 4095`; do ip link add link eth0 name eth0.$i

RE: [PATCH] usb: otg-fsm: Cancel HNP polling work when not used

2016-06-27 Thread Jun Li
Hi > -Original Message- > From: Stephen Boyd [mailto:stephen.b...@linaro.org] > Sent: Tuesday, June 28, 2016 9:18 AM > To: Peter Chen ; Felipe Balbi > Cc: linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org; > linux-...@vger.kernel.org; Jun Li ; Greg Kroah-Hartman > > Subj

[PATCH] regulator: pwm: Fix regulator ramp delay for continuous mode

2016-06-27 Thread Douglas Anderson
The original commit adding support for continuous voltage mode didn't handle the regulator ramp delay properly. It treated the delay as a fixed delay in uS despite the property being defined as uV / uS. Let's adjust it. Luckily there appear to be no users of this ramp delay for PWM regulators (a

Re: [PATCH 15/21] usb: chipidea: msm: Mux over secondary phy at the right time

2016-06-27 Thread Bjorn Andersson
On Sun 26 Jun 00:28 PDT 2016, Stephen Boyd wrote: > We need to pick the correct phy at runtime based on how the SoC > has been wired onto the board. If the secondary phy is used, take > it out of reset and mux over to it by writing into the TCSR > register. Make sure to do this on reset too, becau

[PATCH v1 3/5] ARM: dts: rockchip: add eDP/panel display device nodes for rk3288-evb

2016-06-27 Thread Yakir Yang
The default eDP panel on RK3288 EVB board is LG LP079QX1-SP0V TFT LCD, we haven't declared the panel regulator in the 'panel-simple' device node here, so the specific board like ACT8846 / RK8080 need to support the panel power supply. Signed-off-by: Yakir Yang --- arch/arm/boot/dts/rk3288-evb.dt

[PATCH v1 4/5] ARM: dts: rockchip: add the panel power supply for rk3288-evb board with act8846 pmu

2016-06-27 Thread Yakir Yang
Panel regulator is controller by a normal GPIO, so we need to write a regulator-fixed node for it. Signed-off-by: Yakir Yang --- arch/arm/boot/dts/rk3288-evb-act8846.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/rk3288-evb-act8846.dts b/arch/arm/boot/dts/rk3288-e

[PATCH v1 2/5] drm/panel: simple: Add support for LG LP079QX1-SP0V 1536x2048 panel

2016-06-27 Thread Yakir Yang
The LG LP079QX1-SP0V is an 7.9" QXGA TFT with LED Backlight unit and 32 pins eDP interface. This module supports 1536x2048 mode. Signed-off-by: Yakir Yang --- drivers/gpu/drm/panel/panel-simple.c | 26 ++ 1 file changed, 26 insertions(+) diff --git a/drivers/gpu/drm/pane

[PATCH v1 1/5] dt-bindings: Add support for LG LP079QX1-SP0V 1536x2048 panel

2016-06-27 Thread Yakir Yang
The LG LP079QX1-SP0V is an 7.9" QXGA TFT with LED Backlight unit and 32 pins eDP interface. This module supports 1536x2048 mode. Signed-off-by: Yakir Yang --- .../devicetree/bindings/display/panel/lg,lp079qx1-sp0v.txt | 7 +++ 1 file changed, 7 insertions(+) create mode 100644 Docu

[PATCH v1 5/5] ARM: dts: rockchip: add the panel power supply for rk3288-evb board with rk808 pmu

2016-06-27 Thread Yakir Yang
Panel regulator is controller by a normal GPIO, so we need to write a regulator-fixed node for it. Signed-off-by: Yakir Yang --- arch/arm/boot/dts/rk3288-evb-rk808.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/rk3288-evb-rk808.dts b/arch/arm/boot/dts/rk3288-evb-r

[PATCH v1 0/5] Enable graphic support on RK3288 EVB boards

2016-06-27 Thread Yakir Yang
Hi Heiko, This series just want to enable the graphic support on RK3288 EVB boards, most of them are DTS changes, but still have one change about new eDP panel support. Thanks, - Yakir Yakir Yang (5): dt-bindings: Add support for LG LP079QX1-SP0V 1536x2048 panel drm/panel: simple: Add s

[PATCH V4 2/3] powerpc/opal: Add #define to get rc from an ASYNC_COMP opal_msg

2016-06-27 Thread Suraj Jitindar Singh
An opal_msg of type OPAL_MSG_ASYNC_COMP contains the return code in the params[1] struct member. However this isn't intuitive or obvious when reading the code and requires that a user look at the skiboot documentation or opal-api.h to verify this. Add a #define to get the return code from an opal_

[PATCH V4 3/3] powerpc/drivers: Add driver for operator panel on FSP machines

2016-06-27 Thread Suraj Jitindar Singh
Implement new character device driver to allow access from user space to the operator panel display present on IBM Power Systems machines with FSPs. This will allow status information to be presented on the display which is visible to a user. The driver implements a character buffer which a user

[PATCH V4 1/3] devicetree/bindings: Add binding for operator panel on FSP machines

2016-06-27 Thread Suraj Jitindar Singh
Add a binding to Documentation/devicetree/bindings/powerpc/opal (oppanel-opal.txt) for the operator panel which is present on IBM Power Systems machines with FSPs. Signed-off-by: Suraj Jitindar Singh Acked-by: Rob Herring Acked-by: Stewart Smith --- Change Log: V1 -> V2: - Nothing V2

IP ID check (flush_id) in inet_gro_receive is necessary or not?

2016-06-27 Thread Tan Xiaojun
Hi everyone, I'm sorry to bother you. But I was confused. The IP ID check (flush_id) in inet_gro_receive is only used by tcp_gro_receive, and in tcp_gro_receive we have tcphdr check to ensure the order of skbs, like below: flush |= (__force int)(th->ack_seq ^ th

RE: [PATCH 1/1] regulator: max77620: check for valid regulator info

2016-06-27 Thread Venkat Reddy Talla
> * PGP Signed by an unknown key > > On Mon, Jun 27, 2016 at 05:13:44PM +0530, Venkat Reddy Talla wrote: > > Check for valid regulator information data before configuring FPS > > source and FPS power up/down period to avoid NULL pointer exception if > > entries for PMIC regulators not provided thr

  1   2   3   4   5   6   7   8   9   >