[PATCH v2 8/9] arm64: tegra: set hot trips for Tegra132

2016-04-26 Thread Wei Ni
Enable throttle function for SOC_THERM. Set "hot" trips for cpu and gpu thermal zones, which can trigger the SOC_THERM hardware throttle. Signed-off-by: Wei Ni --- arch/arm64/boot/dts/nvidia/tegra132.dtsi | 41 +--- 1 file changed, 32 insertions(+), 9 deletions(-) di

[PATCH v2 4/9] of: Add bindings of hw throttle for soctherm

2016-04-26 Thread Wei Ni
Add HW throttle configuration sub-node for soctherm, which is used to describe the throttle event, and worked as a cooling device. The "hot" type trip in thermal zone can be bound to this cooling device, and trigger the throttle function. Signed-off-by: Wei Ni --- .../bindings/thermal/nvidia,teg

[PATCH v2 1/9] thermal: tegra: add Tegra132 specific SOC_THERM driver

2016-04-26 Thread Wei Ni
add Tegra132 specific SOC_THERM driver. Signed-off-by: Wei Ni --- drivers/thermal/tegra/Makefile| 1 + drivers/thermal/tegra/soctherm.c | 6 + drivers/thermal/tegra/soctherm.h | 4 + drivers/thermal/tegra/tegra132-soctherm.c | 196 +

[PATCH v2 9/9] arm: tegra: set hot trips for Tegra124

2016-04-26 Thread Wei Ni
Enable throttle function for SOC_THERM. Set "hot" trips for cpu and gpu thermal zones, which can trigger the SOC_THERM hardware throttle. Signed-off-by: Wei Ni --- arch/arm/boot/dts/tegra124.dtsi | 39 ++- 1 file changed, 30 insertions(+), 9 deletions(-) diff

[PATCH v2 3/9] arm64: tegra: set critical trips for Tegra132

2016-04-26 Thread Wei Ni
Set general "critical" trip temperatures for cpu, gpu, mem and pllx thermal zones on Tegra132, these trips can trigger shut down or reset. Signed-off-by: Wei Ni --- arch/arm64/boot/dts/nvidia/tegra132.dtsi | 60 1 file changed, 60 insertions(+) diff --git a/arch

Re: [PATCH] dmaengine: pl330: Fix race in pl330_get_desc()

2016-04-26 Thread Jassi Brar
On Tue, Apr 26, 2016 at 10:00 PM, Robin Murphy wrote: > The current logic in pl330_get_desc() contains a clear race condition, > whereby if the descriptor pool is empty, we will create a new > descriptor, add it to the pool with the lock held, *release the lock*, > then try to remove it from the p

[PATCH v2 0/9] Add HW throttle for Tegra soctherm

2016-04-26 Thread Wei Ni
This series add following functions for Tegra soctherm: 1. add Tegra132 support. 2. add HW throttle function. 3. set hot trip temperatures which can trigger the HW throttle. Main changes from V1: 1. use readl/writel instead of __raw_readl/__raw_writel. 2. rebase on the linux-next. The v1 series i

[PATCH v2 7/9] arm64: tegra: set hot trips for Tegra210

2016-04-26 Thread Wei Ni
Enable throttle function for SOC_THERM. Set "hot" trips for cpu and gpu thermal zones, which can trigger the SOC_THERM hardware throttle. Signed-off-by: Wei Ni --- arch/arm64/boot/dts/nvidia/tegra210.dtsi | 41 +--- 1 file changed, 32 insertions(+), 9 deletions(-) di

[PATCH v2 5/9] thermal: tegra: add hw-throttle function

2016-04-26 Thread Wei Ni
Tegra soctherm support HW throttle, when the soctherm snesors' temperature is above the throttle trip point, it will trigger pulse skiper to tune clocks accroding to the throttle depth. Add this function for Tegra124 and Tegra210. Since Tegra132 use different registers to configure pulse skiper, wi

[PATCH v2 2/9] arm64: tegra: use tegra132-soctherm for Tegra132

2016-04-26 Thread Wei Ni
The Tegra132 has the specific settings for soctherm, so change to use campatible "nvidia,tegra132-soctherm" for it. And adds cpu, gpu, mem and pllx thermal zones. Signed-off-by: Wei Ni --- arch/arm64/boot/dts/nvidia/tegra132.dtsi | 36 ++-- 1 file changed, 34 insertio

[PATCH v2 6/9] thermal: tegra: add hw-throttle for Tegra132

2016-04-26 Thread Wei Ni
Tegra132 use CCROC throttle registers to configure pulse skiper, set these registers to enable throttle function for Tegra132. Signed-off-by: Wei Ni --- drivers/thermal/tegra/soctherm.c| 215 +--- drivers/thermal/tegra/tegra132-soctherm.c | 17 ++ inclu

Re: [PATCH] parisc: fix a bug when syscall number of tracee is __NR_Linux_syscalls

2016-04-26 Thread Dmitry V. Levin
On Tue, Apr 26, 2016 at 10:45:11PM -0400, Mike Frysinger wrote: > On 27 Apr 2016 04:56, Dmitry V. Levin wrote: > > Do not load one entry beyond the end of the syscall table when the > > syscall number of a traced process equals to __NR_Linux_syscalls. > > Similar bug with regular processes was fixe

Re: [PATCH v5 09/21] IB/hns: Add hca support

2016-04-26 Thread oulijun
On 2016/4/26 22:25, Jiri Pirko wrote: > Tue, Apr 26, 2016 at 04:18:21PM CEST, l...@kernel.org wrote: >> On Tue, Apr 26, 2016 at 02:34:44PM +0800, oulijun wrote: >>> On 2016/4/24 15:54, Leon Romanovsky wrote: > > > > +int hns_roce_bitmap_alloc(struct hns_roce_bitmap *bitmap, u32 *obj) > +

Re: [PATCH v5 09/21] IB/hns: Add hca support

2016-04-26 Thread oulijun
On 2016/4/26 22:18, Leon Romanovsky wrote: > On Tue, Apr 26, 2016 at 02:34:44PM +0800, oulijun wrote: >> On 2016/4/24 15:54, Leon Romanovsky wrote: >>> On Sat, Apr 23, 2016 at 06:26:47PM +0800, Lijun Ou wrote: This patch mainly setup hca for RoCE. it will do a series of initial works as f

Re: [PATCH 3.2 000/115] 3.2.80-rc1 review

2016-04-26 Thread Guenter Roeck
On 04/26/2016 04:02 PM, Ben Hutchings wrote: This is the start of the stable review cycle for the 3.2.80 release. There are 115 patches in this series, which will be posted as responses to this one. If anyone has any issues with these being applied, please let me know. Responses should be made

Re: [PATCH] iio: tmp006: Set correct iio name

2016-04-26 Thread Yong Li
Thanks for your mails. Is it possible to just merge this patch, then test if there is any application is using it? Considering almost all other I2C devices are using the correct ID name, it should be low risky Yong 2016-04-26 23:21 GMT+08:00 Daniel Baluta : > On Tue, Apr 26, 2016 at 4:14 PM, Yon

linux-next: manual merge of the dt-rh tree with the tegra tree

2016-04-26 Thread Stephen Rothwell
Hi Rob, Today's linux-next merge of the dt-rh tree got a conflict in: Documentation/devicetree/bindings/gpu/nvidia,gk20a.txt between commit: 53cafb93da6f ("dt-bindings: Add documentation for GM20B GPU") from the tegra tree and commit: f43521e95211 ("dt-bindings: tegra: Remove 0, prefix

[PATCH v2 0/3] block: avoid to call .bi_end_io() recursively

2016-04-26 Thread Ming Lei
Hi, The 1st patch handles bio error in dio_end_io() which is only used by btrfs. The 2nd patch uses bio_endio() to call .bi_end_io() in dio_end_io(). The 3rd patch avoids to call .bi_end_io recursively in complete path. xfstests(-g auto) is run over ext4, xfs and btrfs with this patchset and no

[PATCH v2 2/3] fs: direct-io: call .bi_end_io via bio_endio()

2016-04-26 Thread Ming Lei
bio_endio() is the graceful way to complete one bio. Signed-off-by: Ming Lei --- fs/direct-io.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/fs/direct-io.c b/fs/direct-io.c index a8dd60a..0a35e51 100644 --- a/fs/direct-io.c +++ b/fs/direct-io.c @@ -350,15 +350,10 @@

[PATCH v2 3/3] block: avoid to call .bi_end_io() recursively

2016-04-26 Thread Ming Lei
There were reports about heavy stack use by recursive calling .bi_end_io()([1][2][3]). For example, more than 16K stack is consumed in a single bio complete path[3], and in [2] stack overflow can be triggered if 20 nested dm-crypt is used. Also patches[1] [2] [3] were posted for addressing the iss

[PATCH v2 1/3] fs: direct-io: handle error in dio_end_io()

2016-04-26 Thread Ming Lei
If error is passed to dio_end_io(), it should have been dealt with. Unfortunately current code just ignores that silently. Only btrfs uses dio_end_io(). Signed-off-by: Ming Lei --- fs/direct-io.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fs/direct-io.c b/fs/direct-io.c index 472037

Re: [PATCH v2 3/3] block: avoid to call .bi_end_io() recursively

2016-04-26 Thread NeilBrown
On Wed, Apr 27 2016, Ming Lei wrote: > There were reports about heavy stack use by recursive calling > .bi_end_io()([1][2][3]). For example, more than 16K stack is > consumed in a single bio complete path[3], and in [2] stack > overflow can be triggered if 20 nested dm-crypt is used. > > Also patc

Re: [PATCH v5 12/14] arm64, acpi, numa: NUMA support based on SRAT and SLIT

2016-04-26 Thread Hanjun Guo
Hi Dennis, David, Sorry for the late reply, please see my comments below. On 2016/4/27 9:14, David Daney wrote: On 04/21/2016 03:06 AM, Dennis Chen wrote: On 20 April 2016 at 09:40, David Daney wrote: [...] +/* Callback for Proximity Domain -> ACPI processor UID mapping */ +void __init acpi

Re: [PATCH v2 3/3] block: avoid to call .bi_end_io() recursively

2016-04-26 Thread Ming Lei
On Wed, Apr 27, 2016 at 12:02 PM, NeilBrown wrote: > On Wed, Apr 27 2016, Ming Lei wrote: > >> There were reports about heavy stack use by recursive calling >> .bi_end_io()([1][2][3]). For example, more than 16K stack is >> consumed in a single bio complete path[3], and in [2] stack >> overflow ca

RE: [PATCH] scripts/spelling.txt: add "fimware" misspelling

2016-04-26 Thread Zhao Lei
Hi, Kees Cook * From: Kees Cook [mailto:keesc...@chromium.org] > Sent: Wednesday, April 27, 2016 7:48 AM > To: Andrew Morton > Cc: Randy Dunlap ; Andy Whitcroft > ; Joe Perches ; Zhao Lei > ; linux-...@vger.kernel.org; > linux-kernel@vger.kernel.org > Subject: [PATCH] scripts/spelling.txt: add "f

[PATCH] mmc: sdhci-of-arasan: refactor set_clock callback

2016-04-26 Thread Shawn Lin
commit 61b914eb81f8 ("mmc: sdhci-of-arasan: add phy support for sdhci-of-arasan") introduce phy support for arasan. According to the vendor's databook, we should make sure the phy is in poweroff status before we configure the clk stuff. Otherwise it may cause some IO sample timing issues from the t

Re: random(4) changes

2016-04-26 Thread Herbert Xu
On Tue, Apr 26, 2016 at 01:47:09PM -0700, Andi Kleen wrote: > > I posted patches to fix this. At some point it definitely has to be. Can you point me to the patch submission? Thanks, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herber

[PATCH] IPMI: reserve memio regions separately

2016-04-26 Thread minyard
From: Corey Minyard Commit d61a3ead2680 ("[PATCH] IPMI: reserve I/O ports separately") changed the way I/O ports were reserved and includes this comment in log: Some BIOSes reserve disjoint I/O regions in their ACPI tables for the IPMI controller. This causes problems when trying to register

Re: [PATCH 1/1] simplified security.nscapability xattr

2016-04-26 Thread Serge E. Hallyn
Quoting Kees Cook (keesc...@chromium.org): > On Tue, Apr 26, 2016 at 3:26 PM, Serge E. Hallyn wrote: > > Quoting Kees Cook (keesc...@chromium.org): > >> On Fri, Apr 22, 2016 at 10:26 AM, wrote: > >> > From: Serge Hallyn > >> > > >> > This can only be set by root in his own namespace, and will >

Re: [PATCH 1/6] bus: Add shared MDIO bus framework

2016-04-26 Thread Anup Patel
On Wed, Apr 27, 2016 at 1:11 AM, Andrew Lunn wrote: > On Tue, Apr 26, 2016 at 09:24:34PM +0200, Arnd Bergmann wrote: >> On Tuesday 26 April 2016 20:23:35 Andrew Lunn wrote: >> > > A more complex problem would be having a PHY driver for a device >> > > that can be either an ethernet phy or some oth

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

2016-04-26 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the staging tree got a conflict in: drivers/iio/magnetometer/ak8975.c between commit: 05be8d4101d9 ("iio: ak8975: fix maybe-uninitialized warning") from the staging.current tree and commit: 97eacb9166f4 ("iio:ak8975: add mounting matrix support") fr

[GIT PULL] platform-drivers-x86 for 4.6-3

2016-04-26 Thread Darren Hart
Hi Linus, The following changes since commit 5d07163334ba016c053b033cd0bb3c92d7dc0229: platform:x86 decouple telemetry driver from the optional IPC resources (2016-04-19 13:51:41 -0700) are available in the git repository at: git://git.infradead.org/users/dvhart/linux-platform-drivers-x86.

Re: [PATCH] xen/x86: actually allocate legacy interrupts on PV guests

2016-04-26 Thread Juergen Gross
On 21/04/16 11:30, Stefano Stabellini wrote: > On Thu, 21 Apr 2016, Juergen Gross wrote: >> On 20/04/16 15:15, Stefano Stabellini wrote: >>> b4ff8389ed14 is incomplete: relies on nr_legacy_irqs() to get the number >>> of legacy interrupts when actually nr_legacy_irqs() returns 0 after >>> probe_825

Re: [GIT PULL] platform-drivers-x86 for 4.6-3

2016-04-26 Thread Darren Hart
On Tue, Apr 26, 2016 at 09:58:01PM -0700, Darren Hart wrote: > Hi Linus, > > The following changes since commit 5d07163334ba016c053b033cd0bb3c92d7dc0229: > > platform:x86 decouple telemetry driver from the optional IPC resources > (2016-04-19 13:51:41 -0700) > > are available in the git repos

Re: [PATCH V2 1/2] devicetree/bindings: Add binding for operator panel on FSP machines

2016-04-26 Thread Stewart Smith
Suraj Jitindar Singh writes: > Add a binding to Documentation/devicetree/bindings/powerpc/opal > (oppanel-opal.txt) for the operator panel which is present on IBM > pseries machines with FSPs. It's not pseries (as that implies PowerVM / PAPR) - while here we're all about OPAL. With a slight chan

Re: [RESEND PATCH v2 1/7] usb: xhci: plat: Fix suspend/resume when the optional clk exists

2016-04-26 Thread Felipe Balbi
Hi, (since you're fixing somebody else's commit, it's nice to Cc authors) Jisheng Zhang writes: > Commit 4718c1774051 ("usb: host: xhci-plat: add clock support") adds > optional clk support, but it forgets to prepare/disable and ^^^

Re: [RESEND PATCH v2 2/7] usb: xhci: plat: attach the usb_phy to the correct hcd

2016-04-26 Thread Felipe Balbi
Hi, (Cc authors and maintainer, otherwise you're patch might be forgotten ;-) Jisheng Zhang writes: > Commit 7b8ef22ea547 ("usb: xhci: plat: Add USB phy support") adds the > usb_phy for usb3, but it attached the usb_phy to incorrect hcd. The where did you see that's the USB3 phy ? I can't see

Re: [RESEND PATCH v2 3/7] usb: xhci: plat: Fix suspend/resume when the optional usb_phy exists

2016-04-26 Thread Felipe Balbi
Hi, Jisheng Zhang writes: > Commit 7b8ef22ea547 ("usb: xhci: plat: Add USB phy support") adds the > usb_phy for usb3, but it forgets to shutdown/init the usb_phy in the > suspend/resume path. This patch fixes this issue by adding missing > usb_phy related calls. Fixes: 7b8ef22ea547 ("usb: xhci:

Re: [RFC] a corner case of open(2)

2016-04-26 Thread Al Viro
Fun bugs caught while trying to massage atomic_open()... Patch below is in vfs.git#for-linus (along with two more fixes); I would like to get an ACK from Miklos on that one - it's his code and this thing had been present in there since the original merge. I might be misreading what it tries to do

Re: [RESEND PATCH v2 5/7] usb: xhci: plat: Remove checks for optional clock in error/remove path

2016-04-26 Thread Felipe Balbi
Jisheng Zhang writes: > Commit 63589e92c2d9 ("clk: Ignore error and NULL pointers passed to > clk_{unprepare, disable}()") allows NULL or error pointer to be passed > unconditionally. > > This patch is to simplify probe error and remove code paths. this seems wrong to me. xhci->clk isn't initiali

Re: [PATCH V6 05/13] acpi, pci: Support IO resources when parsing PCI host bridge resources.

2016-04-26 Thread Jon Masters
On 04/26/2016 10:39 PM, Bjorn Helgaas wrote: > On Fri, Apr 15, 2016 at 07:06:40PM +0200, Tomasz Nowicki wrote: >> Platforms that have memory mapped IO port (such as ARM64) need special >> handling for PCI I/O resources. For host bridge's resource probing case >> these resources need to be fixed up

Re: [RESEND PATCH v2 6/7] usb: xhci: plat: add generic PHY support

2016-04-26 Thread Felipe Balbi
Hi, Jisheng Zhang writes: > Marvell BG4CT SoC needs two phy: one for usb2 and another for usb3. Add > the calls to retrieve generic PHY to xhci plat in order to support this. > > Signed-off-by: Jisheng Zhang > --- > drivers/usb/host/xhci-plat.c | 87 > ++---

Re: + mm-zswap-use-workqueue-to-destroy-pool.patch added to -mm tree

2016-04-26 Thread Sergey Senozhatsky
Hello, On (04/26/16 16:52), a...@linux-foundation.org wrote: [..] > -static void __zswap_pool_release(struct rcu_head *head) > +static void __zswap_pool_release(struct work_struct *work) > { > - struct zswap_pool *pool = container_of(head, typeof(*pool), rcu_head); > + struct zswap_pool *

Re: [RESEND PATCH v2 7/7] usb: xhci: plat: add vbus regulator control

2016-04-26 Thread Felipe Balbi
Hi, Jisheng Zhang writes: > The Marvell BG4CT STB board has board level vbus control through gpio. > This patch adds the vbus regulator control to support this board. > > Signed-off-by: Jisheng Zhang > --- > drivers/usb/host/xhci-plat.c | 40 +++- > drivers/

Re: [PATCH 05/12] nvmem: vif610-ocotp: remove nvmem regmap dependency

2016-04-26 Thread maitysanchayan
Hello Srinivas, On 16-04-24 20:28:09, Srinivas Kandagatla wrote: > This patch moves to nvmem support in the driver to use callback > instead of regmap. Minor nit, it says "vif610-octop" it should have been vf610-ocotp. For what it's worth, I tested this on Colibri Vybrid VF61 for a while and all

Re: Double-Fetch bug in Linux-4.5/drivers/scsi/aacraid/commctrl.c

2016-04-26 Thread Julia Lawall
On Tue, 26 Apr 2016, Kees Cook wrote: > On Mon, Apr 25, 2016 at 7:50 AM, Pengfei Wang wrote: > > Hello, > > > > I found this Double-Fetch bug in Linux-4.5/drivers/scsi/aacraid/commctrl.c > > when I was examining the source code. > > Thanks for these reports! I wrote a coccinelle script to find

Re: [PATCH 02/19] radix-tree: Miscellaneous fixes

2016-04-26 Thread NeilBrown
On Fri, Apr 15 2016, Matthew Wilcox wrote: > Typos, whitespace, grammar, line length, using the correct types, etc. > > Signed-off-by: Matthew Wilcox > Reviewed-by: Ross Zwisler > > -static inline void root_tag_clear(struct radix_tree_root *root, unsigned int > tag) > +static inline void roo

Re: [PATCH] usb: dwc3: host: inherit dma configuration from parent dev

2016-04-26 Thread Felipe Balbi
Hi, Grygorii Strashko writes: > On 04/26/2016 09:17 AM, Felipe Balbi wrote: >> >> Hi, >> >> Grygorii Strashko writes: >>> Now not all DMA paremters configured properly for "xhci-hcd" platform >>> device which is created manually. For example: dma_pfn_offset, dam_ops >>> and iommu configuratio

[PATCH v2] net: Add Qualcomm IPC router

2016-04-26 Thread Bjorn Andersson
From: Courtney Cavin Add an implementation of Qualcomm's IPC router protocol, used to communicate with service providing remote processors. Signed-off-by: Courtney Cavin Signed-off-by: Bjorn Andersson [bjorn: Cope with 0 being a valid node id and implement RTM_NEWADDR] Signed-off-by: Bjorn And

Re: [PATCH 1/1] [RFC] workqueue: fix ghost PENDING flag while doing MQ IO

2016-04-26 Thread Hannes Reinecke
On 04/26/2016 07:45 PM, Tejun Heo wrote: > Hello, Peter. > > On Tue, Apr 26, 2016 at 10:27:59AM -0700, Peter Hurley wrote: >>> It's unlikely to make any measureable difference. Is xchg() actually >>> cheaper than store + rmb? >> >> store + mfence (full barrier), yes. Roughly 2x faster. >> >> http

Re: [RESEND PATCH v2 1/7] usb: xhci: plat: Fix suspend/resume when the optional clk exists

2016-04-26 Thread Jisheng Zhang
Dear Felipe, On Wed, 27 Apr 2016 08:25:38 +0300 Felipe Balbi wrote: > Hi, > > (since you're fixing somebody else's commit, it's nice to Cc authors) > > Jisheng Zhang writes: > > Commit 4718c1774051 ("usb: host: xhci-plat: add clock support") adds > > optional clk support, but it forgets to pre

Re: [PATCH v2] OMAPDSS: HDMI5: Fix AVI infoframe

2016-04-26 Thread Tomi Valkeinen
On 21/04/16 20:49, J.D. Schroeder wrote: > From: Jim Lodes > > The AVI infoframe R0-R3 in the 2nd data byte represents the > Active Format Aspect Ratio. It is four bits long not two bits. > This fixes that mask used to extract the bits before writing the > bits to the hardware registers. > > Sig

Re: [PATCH v2] OMAPDSS: HDMI5: Change DDC timings

2016-04-26 Thread Tomi Valkeinen
On 21/04/16 20:27, J.D. Schroeder wrote: > From: Jim Lodes > > The DDC scl high and low times were set to the minimum values > from the i2c specification, but the i2c specification takes into > account the rise time and fall time to calculate the frequency. > To pass HDMI certification DDC can no

Re: [PATCH] block: partitions: efi: Always check for alternative GPT at end of drive

2016-04-26 Thread Ard Biesheuvel
On 26 April 2016 at 22:34, Elliott, Robert (Persistent Memory) wrote: > > >> -Original Message- >> From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- >> ow...@vger.kernel.org] On Behalf Of Davidlohr Bueso >> Sent: Tuesday, April 26, 2016 1:34 PM >> To: Karel Zak >> Cc: Julius

Re: [RESEND PATCH v2 2/7] usb: xhci: plat: attach the usb_phy to the correct hcd

2016-04-26 Thread Jisheng Zhang
Dear Felipe, On Wed, 27 Apr 2016 08:29:34 +0300 Felipe Balbi wrote: > Hi, > > (Cc authors and maintainer, otherwise you're patch might be forgotten ;-) Thanks a lot for the kind remind. I just run get_maintainer.pl to get the To and Cc lists. It seems Mathias's email changed, MAINTAINERS need t

Re: [PATCH v2 4/5] ARM: dts: omap5: describe control for ckobuffer

2016-04-26 Thread H. Nikolaus Schaller
> Am 26.04.2016 um 19:27 schrieb Tony Lindgren : > > Tero, > > * H. Nikolaus Schaller [160418 11:23]: >> OMAP5 has a register to control if the ckobuffer is enabled >> and defines the polarity. ckobuffer is required to drive a twl6040 >> with the system clock. Hence, add the pinctrl,single to t

linux-next: manual merge of the akpm-current tree with the gpio tree

2016-04-26 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm-current tree got a conflict in: arch/cris/Kconfig between commit: f518abf00d50 ("cris: do away with ARCH_REQUIRE_GPIOLIB") from the gpio tree and commit: 11eaeaeaa756 ("exit_thread: remove empty bodies") from the akpm-current tree. I fix

Re: [RESEND PATCH v2 2/7] usb: xhci: plat: attach the usb_phy to the correct hcd

2016-04-26 Thread Felipe Balbi
Hi, Jisheng Zhang writes: > Dear Felipe, > > On Wed, 27 Apr 2016 08:29:34 +0300 Felipe Balbi wrote: > >> Hi, >> >> (Cc authors and maintainer, otherwise you're patch might be forgotten ;-) > > Thanks a lot for the kind remind. I just run get_maintainer.pl to get the > To and Cc lists. It seems

[GIT PULL] ARM: EXYNOS: fixes for v4.6

2016-04-26 Thread Krzysztof Kozlowski
Hi, Please pull one fix for current release. Best regards, Krzysztof The following changes since commit f55532a0c0b8bb6148f4e07853b876ef73bc69ca: Linux 4.6-rc1 (2016-03-26 16:03:24 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.gi

Re: [git pull] stm class/intel_th: Updates for char-misc-next

2016-04-26 Thread Greg KH
On Wed, Apr 20, 2016 at 04:08:58PM +0300, Alexander Shishkin wrote: > Hi Greg, > > [accidentally busted the "Date:" header on the previous one, apologies for > the noise] > > These are patches I have queued for the v4.7 merge window. Please > consider pulling. > > The following changes since co

Re: [PATCH 08/12] nvmem: mtk-efuse: remove nvmem regmap dependency

2016-04-26 Thread andrew-ct chen
Hi Srinivas, On Sun, 2016-04-24 at 20:28 +0100, Srinivas Kandagatla wrote: > This patch moves to nvmem support in the driver to use callback > instead of regmap. > > Signed-off-by: Srinivas Kandagatla > --- Thanks for the patch. It works on our platform. This driver doesn't support "efuse write

RE: [PATCH v3] mmc: sdhci-pci: add Support of Synopsys DWC_MSHC IP

2016-04-26 Thread Prabu Thangamuthu
Hi Ludovic, On 04/26/2016 06:59 PM, Ludovic Desroches wrote: > > On Tue, Apr 26, 2016 at 12:31:50PM +, Prabu Thangamuthu wrote: > > Hi Ludovic, Jaehoon Chung, > > > > Thank you for your review comments, > > > > On 04/26/2016 04:15 PM, Jaehoon Chung wrote: > > > > > > On 04/26/2016 05:58 PM, L

Re: Applied "regulator: rk808: remove linear range definitions with a single range" to the regulator tree

2016-04-26 Thread Wadim Egorov
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git > with this patch applied, 4.6.0-rc5-next-20160426 fails to boot on > rk3288-veyron devices with the bug below. Reverting this one patch > results in the system booting again: > This is because I missed to add the correct ops for LDO_REG3 in this patch.

Re: [RFC v2 1/8] dma-buf/fence: add fence_collection fences

2016-04-26 Thread Daniel Vetter
On Tue, Apr 26, 2016 at 12:02:08PM -0300, Gustavo Padovan wrote: > 2016-04-26 Daniel Vetter : > > > On Mon, Apr 25, 2016 at 07:33:21PM -0300, Gustavo Padovan wrote: > > > From: Gustavo Padovan > > > > > > struct fence_collection inherits from struct fence and carries a > > > collection of fences

Re: [RESEND PATCH v2 5/7] usb: xhci: plat: Remove checks for optional clock in error/remove path

2016-04-26 Thread Jisheng Zhang
Dear Felipe, On Wed, 27 Apr 2016 08:33:52 +0300 Felipe Balbi wrote: > Jisheng Zhang writes: > > Commit 63589e92c2d9 ("clk: Ignore error and NULL pointers passed to > > clk_{unprepare, disable}()") allows NULL or error pointer to be passed > > unconditionally. > > > > This patch is to simplify pr

Re: [RFC v2 5/8] drm/fence: add in-fences support

2016-04-26 Thread Daniel Vetter
On Tue, Apr 26, 2016 at 01:48:02PM -0700, Greg Hackmann wrote: > On 04/26/2016 01:05 PM, Daniel Vetter wrote: > >On Tue, Apr 26, 2016 at 09:55:06PM +0300, Ville Syrjälä wrote: > >>On Tue, Apr 26, 2016 at 08:23:46PM +0200, Daniel Vetter wrote: > >>>On Tue, Apr 26, 2016 at 08:40:45PM +0300, Ville Syr

Re: [PATCH v6 2/4] dmaengine: dw: revisit data_width property

2016-04-26 Thread Viresh Kumar
On 25-04-16, 15:35, Andy Shevchenko wrote: > There are several changes are done here: > > - Convert the property to be in bytes > > Besides this is common practice for such property the use of a value in bytes > much more convenient than handling the encoded value. > > - Rename data_width to dat

Re: [PATCH v6 1/4] dmaengine: dw: platform: check nr_masters to be non-zero

2016-04-26 Thread Viresh Kumar
On 25-04-16, 15:35, Andy Shevchenko wrote: > The nr_masters value equal to 0 is invalid since this DMA controller has to > have at least one master. > > Check this before we proceed with the rest of properties. > > Signed-off-by: Andy Shevchenko > --- > drivers/dma/dw/platform.c | 20 ++

Re: [PATCH v6 3/4] dmaengine: dw: keep entire platform data in struct dw_dma

2016-04-26 Thread Viresh Kumar
On 25-04-16, 15:35, Andy Shevchenko wrote: > Keep the entire platform data in the struct dw_dma. > It makes the driver a bit cleaner. > > Signed-off-by: Andy Shevchenko > --- > drivers/dma/dw/core.c| 30 +++--- > drivers/dma/dw/platform.c| 4 +

Re: [PATCH v6 4/4] dmaengine: dw: pass platform data via struct dw_dma_chip

2016-04-26 Thread Viresh Kumar
On 25-04-16, 15:35, Andy Shevchenko wrote: > We pass struct dw_dma_chip to the dw_dma_probe() anyway, thus we may use it to > pass platform data as well. > > While here, constify the source of platform data. > > Signed-off-by: Andy Shevchenko > --- > drivers/ata/sata_dwc_460ex.c | 2 +-

Re: [PATCH 3/6] intel_sgx: driver for Intel Secure Guard eXtensions

2016-04-26 Thread Jethro Beekman
On 25-04-16 10:34, Jarkko Sakkinen wrote: > diff --git a/drivers/staging/intel_sgx/isgx_ioctl.c b/drivers/staging/intel_sgx/isgx_ioctl.c > new file mode 100644 > index 000..9d8b36b > --- /dev/null > +++ b/drivers/staging/intel_sgx/isgx_ioctl.c > > +static long isgx_ioctl_enclave_create(struct f

Re: [RESEND PATCH v2 6/7] usb: xhci: plat: add generic PHY support

2016-04-26 Thread Jisheng Zhang
Dear Felipe, On Wed, 27 Apr 2016 08:35:58 +0300 Felipe Balbi wrote: > Hi, > > Jisheng Zhang writes: > > Marvell BG4CT SoC needs two phy: one for usb2 and another for usb3. Add > > the calls to retrieve generic PHY to xhci plat in order to support this. > > > > Signed-off-by: Jisheng Zhang > >

[PATCHv2] musb_host: fix lockup on rxcsr_h_error

2016-04-26 Thread Max Uvarov
Fix soft lockup when resetting remote device attached to usb host. Configuration: pppd -> musb hub -> usb-serial -> gsm modem When gsm modem resets, musb rolls in incoming rx interrupts which does not give any time to other application as result it totally lock ups. Solution is to keep original log

Re: [RFC v2 5/8] drm/fence: add in-fences support

2016-04-26 Thread Daniel Stone
Hi, On 26 April 2016 at 21:48, Greg Hackmann wrote: > On 04/26/2016 01:05 PM, Daniel Vetter wrote: >> On Tue, Apr 26, 2016 at 09:55:06PM +0300, Ville Syrjälä wrote: >>> What are they doing that can't stuff the fences into an array >>> instead of props? >> >> The hw composer interface is one in-fe

Re: [PATCH] cpu/hotplug: handle unbalanced hotplug enable/disable

2016-04-26 Thread Lianwei Wang
On Mon, Apr 25, 2016 at 1:22 AM, Thomas Gleixner wrote: > On Fri, 22 Apr 2016, Lianwei Wang wrote: >> Any way is Ok for debugging purpose. But think the kernel run on a >> customer machine, such as PC, Mobile phone or other devices. How we >> let the customer debug it but not recover it smartly? >

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

2016-04-26 Thread Jun Li
Hi > -Original Message- > From: Peter Chen [mailto:hzpeterc...@gmail.com] > Sent: Tuesday, April 26, 2016 2:28 PM > To: Jun Li > Cc: Roger Quadros ; st...@rowland.harvard.edu; > ba...@kernel.org; gre...@linuxfoundation.org; peter.c...@freescale.com; > dan.j.willi...@intel.com; jun...@free

Re: [PATCH 2/2] vhost: lockless enqueuing

2016-04-26 Thread Jason Wang
On 04/26/2016 02:24 PM, Pankaj Gupta wrote: > Hi Jason, > > Overall patches look good. Just one doubt I have is below: >> We use spinlock to synchronize the work list now which may cause >> unnecessary contentions. So this patch switch to use llist to remove >> this contention. Pktgen tests shows

Re: [PATCH v8 2/7] Input: cros_ec_keyb - Stop handling interrupts directly

2016-04-26 Thread Tomeu Vizoso
On 26 April 2016 at 08:57, Lee Jones wrote: > On Tue, 26 Apr 2016, Tomeu Vizoso wrote: > >> On 25 April 2016 at 23:17, Dmitry Torokhov wrote: >> > On Tue, Apr 12, 2016 at 02:32:25PM +0200, Tomeu Vizoso wrote: >> >> From: Vic Yang >> >> >> >> Because events other that keyboard ones will be handle

Re: [PATCH 1/5] leds: triggers: Allow to switch the trigger to "panic" on a kernel panic

2016-04-26 Thread Jacek Anaszewski
Hi Ezequiel, On 04/25/2016 06:27 PM, Ezequiel Garcia wrote: On 25 April 2016 at 03:56, Jacek Anaszewski wrote: On 04/24/2016 11:29 AM, Pavel Machek wrote: On Sun 2016-04-24 11:25:51, Pavel Machek wrote: On Mon 2016-04-04 17:22:02, Ezequiel Garcia wrote: This commit adds a new led_cdev fl

linux-next: Tree for Apr 26

2016-04-26 Thread Stephen Rothwell
Hi all, Changes since 20160422: New tree: kbuild-pitre The arm-soc tree gained a build failure so I used the version from next-20160422. The pci tree lost its build failure but gained another for which I applied a merg fix patch. The pm tree gained a conflict against the renesas tree. The net

Re: [PATCH] scsi: fc: force inlining of wwn conversion functions

2016-04-26 Thread Arnd Bergmann
On Monday 25 April 2016 20:37:31 James Bottomley wrote: > On Mon, 2016-04-25 at 22:40 -0400, Martin K. Petersen wrote: > > > > > > > "Josh" == Josh Poimboeuf writes: > > > > Josh> Can you merge this patch for 4.6? > > > > I am really not a big fan of working around compiler bugs in a device > >

Bisected: spontaneous reboot in early boot on x86-64 in 4.6-rc

2016-04-26 Thread Meelis Roos
Today I finished bisecting a boot problem on my IBM X346 (with 64-bit P4 Xeons). 4.5.0 worked fine but I saw the spontaneous reboots during early boot in 4.6-rc4 and bisected it down to the commit below. The server does not seem to have NX - dmesg has this: Notice: NX (Execute Disable) protecti

Re: [EXT] Re: [PATCH RESEND 3/5] USB: serial: cp210x: Added comments to CRTSCT flag code.

2016-04-26 Thread Johan Hovold
On Mon, Apr 25, 2016 at 06:09:01PM +, Konstantin Shkolnyy wrote: > I was planning to define all these bits in a separate future patch. > Would you rather prefer the magic numbers defined before fixing the bugs? Fixing the RTS bug (patch 1), which is the only "real" bug, should be done before a

Re: [PATCH v3 5/5] arm64: dts: marvell: add XOR node for Armada 3700 SoC

2016-04-26 Thread Thomas Petazzoni
Hello Vinod, On Tue, 26 Apr 2016 09:05:36 +0530, Vinod Koul wrote: > On Thu, Apr 14, 2016 at 06:53:38PM +0200, Gregory CLEMENT wrote: > > From: Marcin Wojtas > > > > Armada 3700 SoC comprise one dual-channel XOR engine and this > > patch adds its according representation. > > This need an ACK f

Re: [PATCH 2/3] Documentation: devicetree: deprecate "soft_bch" nand-ecc-mode value

2016-04-26 Thread Boris Brezillon
On Fri, 22 Apr 2016 13:23:14 +0200 Rafał Miłecki wrote: > Now that we support nand-ecc-algo property it should be used together > with "soft" to specify software BCH ECC. > > Signed-off-by: Rafał Miłecki > --- > Documentation/devicetree/bindings/mtd/nand.txt | 6 -- > 1 file changed, 4 ins

Re: [PATCH 1/3] mtd: nand: add support for "nand-ecc-algo" DT property

2016-04-26 Thread Boris Brezillon
On Fri, 22 Apr 2016 13:23:13 +0200 Rafał Miłecki wrote: > So far it was only possible to specify ECC algorithm using "soft" and > "soft_bch" values of nand-ecc-mode prop. There wasn't a way to specify > it for a hardware ECC mode. > > Now that we have independent field in NAND subsystem for stor

Re: [PATCH v7 03/15] i2c: octeon: Remove I2C_FUNC_SMBUS_QUICK support

2016-04-26 Thread Wolfram Sang
> > Yes, I thought briefly about splitting SMBUS_QUICK into read-write > > variants too. To me the question is if this feature is still used on modern > > devices or if this is more a relict of the past. I don't know enough > > about SMBUS to answer that. Well, note that there are zero-length mes

[PATCH 2/3] net: nps_enet: Sync access to packet sent flag

2016-04-26 Thread Noam Camus
From: Elad Kanfi Below is a description of a possible problematic sequence. CPU-A is sending a frame and CPU-B handles the interrupt that indicates the frame was sent. CPU-B reads an invalid value of tx_packet_sent. CPU-A CPU-B -

[PATCH 1/3] net: nps_enet: code style

2016-04-26 Thread Noam Camus
From: Elad Kanfi Add an inline function that returns true if a packet was sent and requires driver handling, or returns false otherwise. It avoids code duplication in current driver, and will be used also in the next bugs fix. Signed-off-by: Elad Kanfi Acked-by: Noam Camus --- drivers/net/et

[PATCH 0/3] Net driver bugs fix and code style

2016-04-26 Thread Noam Camus
From: Elad Kanfi Summary: 1. Bug description: TX done interrupts that arrives while interrupts are masked, during NAPI poll, will not trigger an interrupt handling. Since TX interrupt is of level edge we will lose the TX done interrupt. As a result all pending tx frames will get no s

Re: [PATCH 3/3] mtd: brcmnand: respect ECC algorithm set by NAND subsystem

2016-04-26 Thread Boris Brezillon
Hi Brian, On Mon, 25 Apr 2016 22:53:55 -0700 Brian Norris wrote: > On Fri, Apr 22, 2016 at 01:23:15PM +0200, Rafał Miłecki wrote: > > It's more reliable than guessing based on ECC strength. It allows using > > NAND on devices with BCH-1 (e.g. D-Link DIR-885L). > > > > Signed-off-by: Rafał Miłec

[PATCH 0/4] ACPI / osi: Fix several issues in _OSI handling

2016-04-26 Thread Lv Zheng
This patchset cleans up _OSI handling code and fixes several issues in it. Chen Yu (1): ACPI / osi: Change default _OSI(Darwin) support Lv Zheng (3): ACPI / osi: Fix an issue that acpi_osi=!* cannot disable ACPICA internal strings ACPI / osi: Cleanup _OSI("Linux") related code before in

[PATCH 2/4] ACPI / osi: Cleanup _OSI("Linux") related code before introducing new support

2016-04-26 Thread Lv Zheng
This patch cleans up OSI code in osl.c in order to make osi_linux not _OSI("Linux") specific to allow new features to reuse this structure. Signed-off-by: Lv Zheng --- drivers/acpi/blacklist.c |2 +- drivers/acpi/osl.c | 83 +++--- include/linu

Re: linux-next: build failure after merge of the arm-soc tree

2016-04-26 Thread Arnd Bergmann
On Tuesday 26 April 2016 10:51:50 Stephen Rothwell wrote: > Hi Arnd, > > On Tue, 26 Apr 2016 01:54:20 +0200 Arnd Bergmann wrote: > > > > Ah, sorry about that. I think I fixed it up just as you pulled it in. > > If you don't mind, could you try pulling the tree once more on top > > of what you hav

[PATCH 4/4] ACPI / osi: Collect _OSI handling into one single file

2016-04-26 Thread Lv Zheng
_OSI handling code grows giant and it's time to move them into one file. This patch collects all _OSI handling code into one single file. So that we only have the following functions to be used externally: early_acpi_osi_init(): Used by DMI detections; acpi_osi_init(): Used to initialize OSI com

[PATCH 3/4] ACPI / osi: Change default _OSI(Darwin) support

2016-04-26 Thread Lv Zheng
From: Chen Yu Commit 7bc5a2bad0b8 ("ACPI: Support _OSI("Darwin") correctly") always reports positive value when Apple hardware queries _OSI("Darwin"). However since this implementation places the judgement in runtime, it breaks acpi_osi=!Darwin and cannot return unsupported for _OSI("WinXXX") inv

[PATCH 1/4] ACPI / osi: Fix an issue that acpi_osi=!* cannot disable ACPICA internal strings

2016-04-26 Thread Lv Zheng
The order of the _OSI related functionalities is as follows: acpi_blacklisted() acpi_dmi_osi_linux() acpi_osi_setup() acpi_osi_setup() acpi_update_interfaces() if "!*" parse_args() __setup("acpi_osi=") acpi_osi_setup_linux() a

Re: [PATCH v2] mmc: dw_mmc: Fix UHS tuning on some brand of cards.

2016-04-26 Thread Jaehoon Chung
Hi Enric, On 04/26/2016 12:29 AM, Enric Balletbo Serra wrote: > Oh, damn, I didn't include the proper tags, > > [PATCH v2] mmc: dw_mmc: Wait for data transfer after response errors. > [PATCH v2] mmc: dw_mmc: Fix UHS tuning on some brand of cards > > should be > > [PATCH v2 0/1] mmc: dw_mmc: Fix

Re: [PATCH v4 1/2] KVM: remove NULL return path for vcpu ids >= KVM_MAX_VCPUS

2016-04-26 Thread Cornelia Huck
On Thu, 21 Apr 2016 16:15:05 +0200 Greg Kurz wrote: > Commit c896939f7cff ("KVM: use heuristic for fast VCPU lookup by id") added > a return path that prevents vcpu ids to exceed KVM_MAX_VCPUS. This is a > problem for powerpc where vcpu ids can grow up to 8*KVM_MAX_VCPUS. > > This patch simply r

Re: [PATCH v3 4/8] regulator: rk808: Migrate to regulator core's simplified DT parsing code

2016-04-26 Thread Wadim Egorov
On 25.04.2016 19:39, Mark Brown wrote: > On Mon, Apr 25, 2016 at 03:20:44PM +0200, Wadim Egorov wrote: >> A common simplified DT parsing code for regulators was introduced in >> commit a0c7b164ad11 ("regulator: of: Provide simplified DT parsing >> method") > This doesn't apply against current cod

<    4   5   6   7   8   9   10   11   12   13   >