Re: [PATCH 4/6] bus: add driver for the Technologic Systems NBUS

2016-12-29 Thread Linus Walleij
On Thu, Dec 15, 2016 at 12:12 AM, Sebastien Bourdelin wrote: > This driver implements a GPIOs bit-banged bus, called the NBUS by > Technologic Systems. It is used to communicate with the peripherals in > the FPGA on the TS-4600 SoM. > > Signed-off-by: Sebastien Bourdelin (...) > +#include Use

Re: [PATCH v2 3/3] power: supply: bq24735-charger: allow chargers to share the ac-detect gpio

2016-12-29 Thread Linus Walleij
On Wed, Dec 14, 2016 at 6:41 PM, Peter Rosin wrote: > On 2016-12-14 18:01, Sebastian Reichel wrote: >> [of course I forgot to actually add gpio people, let's try again] >> >> On Wed, Dec 14, 2016 at 05:59:21PM +0100, Sebastian Reichel wrote: >>> Hi, >>> >>> On Wed, Dec 14, 2016 at 12:56:45AM +0100

Re: [PATCH] pinctrl: fix DT bindings for marvell,kirkwood-pinctrl

2016-12-29 Thread Linus Walleij
On Wed, Dec 14, 2016 at 12:08 AM, Andreas Klinger wrote: > On Marvell mv88f6180 mpp pins range from 0 to 19 as well as from 35 to 44. > This is already fixed in commit: 9573e7923007961799beff38bc5c5a7635634eef > > This is the documentation change for above commit. > > Signed-off-by: Andreas Kling

Re: [PATCH 10/20] gpio: pca953x: Add optional reset gpio control

2016-12-29 Thread Lothar Waßmann
Hi, On Thu, 29 Dec 2016 14:27:25 -0800 Steve Longerbeam wrote: > Add optional reset-gpios pin control. If present, de-assert the > specified reset gpio pin to bring the chip out of reset. > > Signed-off-by: Steve Longerbeam > Cc: Linus Walleij > Cc: Alexandre Courbot > Cc: linux-g...@vger.kern

Re: [PATCH] mm: cma: print allocation failure reason and bitmap status

2016-12-29 Thread Jaewon Kim
Hello Michal Hocko and and Michal Nazarewichz On 2016년 12월 29일 23:20, Michal Nazarewicz wrote: > On Thu, Dec 29 2016, Michal Hocko wrote: >> On Thu 29-12-16 11:28:02, Jaewon Kim wrote: >>> There are many reasons of CMA allocation failure such as EBUSY, ENOMEM, >>> EINTR. >>> This patch prints the

Re: [PATCH] mm: Drop "PFNs busy" printk in an expected path.

2016-12-29 Thread Michal Nazarewicz
On Thu, Dec 29 2016, Eric Anholt wrote: > Michal Nazarewicz writes: > >> On Thu, Dec 29 2016, Eric Anholt wrote: >>> Michal Hocko writes: >>> This has been already brought up http://lkml.kernel.org/r/20161130092239.gd18...@dhcp22.suse.cz and there was a proposed patch for that whic

Re: [PATCH] ARM: dts: vf610-zii-dev-rev-b: Add missing newline

2016-12-29 Thread Shawn Guo
On Sun, Nov 27, 2016 at 08:54:44PM +0100, Andreas Färber wrote: > Found while reviewing Marvell dsa bindings usage. > > Fixes: f283745b3caf ("arm: vf610: zii devel b: Add support for switch > interrupts") > Cc: Andrew Lunn > Cc: David S. Miller > Signed-off-by: Andreas Färber Applied, thanks.

Re: [PATCH] ARM: dts: vf610-zii-dev-rev-b: Add missing newline

2016-12-29 Thread Shawn Guo
On Sun, Nov 27, 2016 at 10:35:16PM +0100, Andrew Lunn wrote: > On Sun, Nov 27, 2016 at 10:30:54PM +0100, Andreas Färber wrote: > > Hi, > > > > Am 27.11.2016 um 22:17 schrieb Andrew Lunn: > > > On Sun, Nov 27, 2016 at 08:54:44PM +0100, Andreas Färber wrote: > > >> Found while reviewing Marvell dsa

[PATCH v3 2/2] arm64: dts: exynos: Add support for S6E3HA2 panel device on TM2 board

2016-12-29 Thread Hoegeun Kwon
From: Hyungwon Hwang This patch add the panel device tree node for S6E3HA2 display controller to TM2 dts. Signed-off-by: Hyungwon Hwang Signed-off-by: Andrzej Hajda Signed-off-by: Chanwoo Choi Signed-off-by: Hoegeun Kwon --- arch/arm64/boot/dts/exynos/exynos5433-tm2.dts | 31 +++

[PATCH v3 1/2] drm/panel: Add support for S6E3HA2 panel driver on TM2 board

2016-12-29 Thread Hoegeun Kwon
This patch add support for MIPI-DSI based S6E3HA2 AMOLED panel driver. This panel has 1440x2560 resolution in 5.7-inch physical panel in the TM2 device. Signed-off-by: Donghwa Lee Signed-off-by: Hyungwon Hwang Signed-off-by: Hoegeun Kwon --- Changes for V3: - In the DT binding document, made i

[PATCH v3 0/2] Add support for the S6E3HA2 panel on TM2 board

2016-12-29 Thread Hoegeun Kwon
Purpose of this patch is add support for S6E3HA2 AMOLED panel on the TM2 board. The first patch adds support for S6E3HA2 panel device tree document and driver, the second patch add support for S6E3HA2 panel device tree. Changes for V3: - In the DT binding document, made it clearly that the panel

Re: [PATCH v2] ib umem: bugfix: mixed put_pid()s in ib_umem_get()

2016-12-29 Thread Leon Romanovsky
On Fri, Dec 30, 2016 at 12:50:11PM +0800, Kenneth Lee wrote: > Hi, Leon, > > 1. I do change the title except for the version number itself:) But my English > is quite bad, maybe the title is still quite stupid. I can update it according > to your advice. Yes, please The main points are: 1. Remove

Re: [PATCH 06/12] usb: dwc3: omap: Replace the extcon API

2016-12-29 Thread Chanwoo Choi
Hi Felipe, On 2016년 12월 30일 11:46, Chanwoo Choi wrote: > Hi Felipe, > > On 2016년 12월 02일 18:03, Felipe Balbi wrote: >> >> Hi, >> >> Chanwoo Choi writes: >>> Hi Felipe, >>> >>> On 2016년 11월 30일 19:36, Felipe Balbi wrote: Hi, Chanwoo Choi writes: > This patch uses the reso

Re: [PATCH v2 4/4] ARM64: dts: TM2: comply to the samsung pinctrl naming convention

2016-12-29 Thread Chanwoo Choi
Hi Andi, Looks good to me. I tested these patches for booting on TM2 board. Reviewed-by: Chanwoo Choi Regards, Chanwoo Choi On 2016년 12월 30일 13:14, Andi Shyti wrote: > Change the PIN() macro definition so that it can use the macros > from pinctrl/samsung.h header file. > > Signed-off-by: Andi

Re: [PATCH v2 3/4] ARM64: dts: exynos5433: use macros for pinctrl configuration on Exynos5433

2016-12-29 Thread Chanwoo Choi
Hi Andi, Looks good to me. Reviewed-by: Chanwoo Choi Regards, Chanwoo Choi On 2016년 12월 30일 13:14, Andi Shyti wrote: > Use the macros defined in include/dt-bindings/pinctrl/samsung.h > instead of hardcoded values. > > Signed-off-by: Andi Shyti > --- > arch/arm64/boot/dts/exynos/exynos5433-pi

Re: [PATCH v2 2/4] pinctrl: dt-bindings: samsung: add drive strength macros for Exynos5433

2016-12-29 Thread Chanwoo Choi
Hi Andi, On 2016년 12월 30일 13:14, Andi Shyti wrote: > Commit 5db7e3bb87df ("pinctrl: dt-bindings: samsung: Add header with > values used for configuration") has added a header file for defining the > pinctrl values in order to avoid hardcoded settings in the Exynos > DTS related files. > > Extend

Re: [PATCH] mm: cma: print allocation failure reason and bitmap status

2016-12-29 Thread Jaewon Kim
On 2016년 12월 29일 18:43, Michal Hocko wrote: > On Thu 29-12-16 18:26:38, Jaewon Kim wrote: >> >> On 2016년 12월 29일 18:14, Michal Hocko wrote: >>> On Thu 29-12-16 11:28:02, Jaewon Kim wrote: There are many reasons of CMA allocation failure such as EBUSY, ENOMEM, EINTR. This patch pri

[PATCH v2] drm/mediatek: Support UYVY and YUYV format for overlay

2016-12-29 Thread Bibby Hsieh
MT8173 overlay can support UYVY and YUYV format, we add the format in DRM driver. Signed-off-by: Bibby Hsieh Reviewed-by: Daniel Kurtz --- drivers/gpu/drm/mediatek/mtk_disp_ovl.c | 21 + drivers/gpu/drm/mediatek/mtk_drm_plane.c | 2 ++ 2 files changed, 23 insertions(+) di

Re: [PATCH] pci: rename *host* directory to *controller*

2016-12-29 Thread Kishon Vijay Abraham I
Hi, On Thursday 29 December 2016 06:49 PM, Joao Pinto wrote: > > Hi, > > Às 12:20 PM de 12/29/2016, Kishon Vijay Abraham I escreveu: >> Hi, >> >> On Thursday 29 December 2016 05:38 PM, Joao Pinto wrote: >>> Às 11:58 AM de 12/29/2016, Kishon Vijay Abraham I escreveu: Hi, On Thursda

Re: [PATCH 1/1] usb: xhci: clear EINT bit in status correctly

2016-12-29 Thread kbuild test robot
Hi Lu, [auto build test WARNING on usb/usb-testing] [also build test WARNING on v4.10-rc1 next-20161224] [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/Lu-Baolu/usb-xhci-clear-EINT-bit-in-status

Re: [PATCH 1/1] usb: xhci: clear EINT bit in status correctly

2016-12-29 Thread kbuild test robot
Hi Lu, [auto build test WARNING on usb/usb-testing] [also build test WARNING on v4.10-rc1 next-20161224] [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/Lu-Baolu/usb-xhci-clear-EINT-bit-in-status

[PATCH 1/1] usb: xhci: clear EINT bit in status correctly

2016-12-29 Thread Lu Baolu
EINT(Event Interrupt) is a write-1-to-clear type of bit in xhci status register. It should be cleared by writing a 1. Writing 0 to this bit has no effect. Xhci driver tries to clear this bit by writing 0 to it. This is not the right way to go. This patch corrects this by reading the register first

Re: [v2 5/7] x86: Add emulation code for UMIP instructions

2016-12-29 Thread Ricardo Neri
On Tue, 2016-12-27 at 16:48 -0800, Andy Lutomirski wrote: > On Tue, Dec 27, 2016 at 4:39 PM, Ricardo Neri > wrote: > > On Fri, 2016-12-23 at 18:11 -0800, Andy Lutomirski wrote: > >> On Fri, Dec 23, 2016 at 5:37 PM, Ricardo Neri > >> wrote: > >> > The feature User-Mode Instruction Prevention prese

Re: [PATCH net-next V2 3/3] tun: rx batching

2016-12-29 Thread Jason Wang
On 2016年12月30日 00:35, David Miller wrote: From: Jason Wang Date: Wed, 28 Dec 2016 16:09:31 +0800 + spin_lock(&queue->lock); + qlen = skb_queue_len(queue); + if (qlen > rx_batched) + goto drop; + __skb_queue_tail(queue, skb); + if (!more || qlen + 1

Re: [PATCH v2 1/3] introduce memcpy_nocache()

2016-12-29 Thread Dan Williams
On Thu, Dec 29, 2016 at 7:52 PM, Al Viro wrote: > On Thu, Dec 29, 2016 at 10:23:15AM -0800, Dan Williams wrote: > >> > BTW, your "it's iovec, only non-temporal stores there" logics in >> > arch_copy_from_iter_pmem() is simply wrong - for one thing, unaligned >> > copies will have parts done via no

Re: [PATCH v2] ib umem: bugfix: mixed put_pid()s in ib_umem_get()

2016-12-29 Thread Kenneth Lee
Hi, Leon, 1. I do change the title except for the version number itself:) But my English is quite bad, maybe the title is still quite stupid. I can update it according to your advice. 2. I catched the bug by reading the final code, not by bisect-ing the old commit. Do you means I should find out

[PATCH v2] usb: musb: sunxi: Uses the resource-managed extcon API when registering extcon notifier

2016-12-29 Thread Chanwoo Choi
This patch just uses the resource-managed extcon API when registering the extcon notifier. Signed-off-by: Chanwoo Choi Acked-by: Maxime Ripard Acked-by: Bin Liu --- Changes from v1: - Rebase this patch based on v4.10-rc1. - Add acked-by tag from Maxime Ripard and Bin Lin. - Drop the phy/power-s

[PATCH v2 2/6] usb: phy: msm: Replace the extcon API

2016-12-29 Thread Chanwoo Choi
This patch uses the resource-managed extcon API for extcon_register_notifier() and replaces the deprecated extcon API as following: - extcon_get_cable_state_() -> extcon_get_state() Signed-off-by: Chanwoo Choi Acked-by: Felipe Balbi --- drivers/usb/phy/phy-msm-usb.c | 33 +++

[PATCH v2 0/4] Use Exynos macros for pinctrl settings

2016-12-29 Thread Andi Shyti
Hi, This patchset fixes the width and offsets of the PINCFG_TYPE_DRV bitfields for the Exynos5433 SoC. Moreover it refactors the pinctrl definitions by using the dt-bindings/pinctrl/samsung.h definitions introduced by Krzysztof in 5db7e3bb87df ("pinctrl: dt-bindings: samsung: Add header with val

[PATCH v2 2/4] pinctrl: dt-bindings: samsung: add drive strength macros for Exynos5433

2016-12-29 Thread Andi Shyti
Commit 5db7e3bb87df ("pinctrl: dt-bindings: samsung: Add header with values used for configuration") has added a header file for defining the pinctrl values in order to avoid hardcoded settings in the Exynos DTS related files. Extend samsung.h to the Exynos5433 for drive strength values which are

[PATCH v2 4/4] ARM64: dts: TM2: comply to the samsung pinctrl naming convention

2016-12-29 Thread Andi Shyti
Change the PIN() macro definition so that it can use the macros from pinctrl/samsung.h header file. Signed-off-by: Andi Shyti --- arch/arm64/boot/dts/exynos/exynos5433-pinctrl.dtsi | 25 +- arch/arm64/boot/dts/exynos/exynos5433-tm2.dts | 254 ++--- 2 files changed, 133 inse

[PATCH v2] usb: chipdata: Replace the extcon API

2016-12-29 Thread Chanwoo Choi
This patch uses the resource-managed extcon API for extcon_register_notifier() and replaces the deprecated extcon API as following: - extcon_get_cable_state_() -> extcon_get_state() Cc: Peter Chen Signed-off-by: Chanwoo Choi --- Changes from v1: - Rebase these patches based on v4.10-rc1. - Drop

[PATCH v2 1/4] pinctrl: samsung: Fix the width of PINCFG_TYPE_DRV bitfields for Exynos5433

2016-12-29 Thread Andi Shyti
From: Chanwoo Choi This patch fixes the wrong width of PINCFG_TYPE_DRV bitfields for Exynos5433 because PINCFG_TYPE_DRV of Exynos5433 has 4bit fields in the *_DRV registers. Usually, other Exynos have 2bit field for PINCFG_TYPE_DRV. Fixes: 3c5ecc9ed353 ("pinctrl: exynos: Add support for Exynos54

[PATCH v2 3/4] ARM64: dts: exynos5433: use macros for pinctrl configuration on Exynos5433

2016-12-29 Thread Andi Shyti
Use the macros defined in include/dt-bindings/pinctrl/samsung.h instead of hardcoded values. Signed-off-by: Andi Shyti --- arch/arm64/boot/dts/exynos/exynos5433-pinctrl.dtsi | 348 +++-- 1 file changed, 175 insertions(+), 173 deletions(-) diff --git a/arch/arm64/boot/dts/exynos/

[PATCH v2 1/2] phy: rcar-gen3-usb2: Replace the deprecated extcon API

2016-12-29 Thread Chanwoo Choi
This patch replaces the deprecated extcon API as following: - extcon_set_cable_state_() -> extcon_set_state_sync() Signed-off-by: Chanwoo Choi Acked-by: Yoshihiro Shimoda --- drivers/phy/phy-rcar-gen3-usb2.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/phy

[PATCH v2 0/2] phy: Replace the deprecated extcon API

2016-12-29 Thread Chanwoo Choi
This patches just replace the deprecated extcon API without any change of extcon operation and use the resource-managed function for extcon_register_notifier(). The new extcon API instead of deprecated API. - extcon_set_cable_state_() -> extcon_set_state_sync(); - extcon_get_cable_state_() -> extc

[PATCH v2 6/6] usb: renesas_usbhs: Replace the deprecated extcon API

2016-12-29 Thread Chanwoo Choi
This patch replaces the deprecated extcon API as following: - extcon_get_cable_state_() -> extcon_get_state() Cc: Rob Herring Cc: Geert Uytterhoeven Signed-off-by: Chanwoo Choi Acked-by: Felipe Balbi Acked-by: Yoshihiro Shimoda --- drivers/usb/renesas_usbhs/common.c | 2 +- 1 file changed, 1

[PATCH v2 2/2] phy: sun4i-usb: Replace the deprecated extcon API

2016-12-29 Thread Chanwoo Choi
This patch replaces the deprecated extcon API as following: - extcon_set_cable_state_() -> extcon_set_state_sync() Cc: Kishon Vijay Abraham I Cc: Maxime Ripard Cc: Chen-Yu Tsai Signed-off-by: Chanwoo Choi --- drivers/phy/phy-sun4i-usb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-

[PATCH v2 4/6] usb: phy: qcom-8x16-usb: Replace the extcon API

2016-12-29 Thread Chanwoo Choi
This patch uses the resource-managed extcon API for extcon_register_notifier() and replaces the deprecated extcon API as following: - extcon_get_cable_state_() -> extcon_get_state() Signed-off-by: Chanwoo Choi Acked-by: Felipe Balbi --- drivers/usb/phy/phy-qcom-8x16-usb.c | 13 - 1

[PATCH v2 0/6] usb: Replace the deprecated extcon API

2016-12-29 Thread Chanwoo Choi
This patches just replace the deprecated extcon API without any change of extcon operation and use the resource-managed function for extcon_register_notifier(). The new extcon API instead of deprecated API. - extcon_set_cable_state_() -> extcon_set_state_sync(); - extcon_get_cable_state_() -> extc

[PATCH v2 1/6] usb: dwc3: omap: Replace the extcon API

2016-12-29 Thread Chanwoo Choi
This patch uses the resource-managed extcon API for extcon_register_notifier() and replaces the deprecated extcon API as following: - extcon_get_cable_state_() -> extcon_get_state() Signed-off-by: Chanwoo Choi Acked-by: Felipe Balbi --- drivers/usb/dwc3/dwc3-omap.c | 20 +++- 1

1f6e761378: RIP:call_usermodehelper_exec_work

2016-12-29 Thread kernel test robot
FYI, we noticed the following commit: commit: 1f6e761378c2e6dcf1b12ee7d54a0ef799c2b32e ("Make call_usermodehelper_exec possible to set namespaces") url: https://github.com/0day-ci/linux/commits/Cao-Shufeng/Make-core_pattern-support-namespace/20161207-024824 in testcase: boot on test machine:

[PATCH v2 3/6] usb: phy: omap-otg: Replace the extcon API

2016-12-29 Thread Chanwoo Choi
This patch uses the resource-managed extcon API for extcon_register_notifier() and replaces the deprecated extcon API as following: - extcon_get_cable_state_() -> extcon_get_state() Signed-off-by: Chanwoo Choi Acked-by: Felipe Balbi --- drivers/usb/phy/phy-omap-otg.c | 24 ++

[PATCH v2 5/6] usb: phy: tahvo: Replace the deprecated extcon API

2016-12-29 Thread Chanwoo Choi
This patch replaces the deprecated extcon API as following: - extcon_set_cable_state_() -> extcon_set_state_sync() Signed-off-by: Chanwoo Choi Acked-by: Felipe Balbi --- drivers/usb/phy/phy-tahvo.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/usb/phy/ph

Re: [PATCH] drm/amd/amdgpu: fix spelling mistake: "comleted" -> "completed"

2016-12-29 Thread Edward O'Callaghan
Reviewed-by: Edward O'Callaghan On 12/30/2016 12:39 PM, Zhou, David(ChunMing) wrote: > +amd-gfx, patch is Reviewed-by: Chunming Zhou > > -Original Message- > From: Colin King [mailto:colin.k...@canonical.com] > Sent: Thursday, December 29, 2016 11:47 PM > To: Deucher, Alexander ; Koeni

Re: [PATCH v2 1/3] introduce memcpy_nocache()

2016-12-29 Thread Al Viro
On Thu, Dec 29, 2016 at 10:23:15AM -0800, Dan Williams wrote: > > BTW, your "it's iovec, only non-temporal stores there" logics in > > arch_copy_from_iter_pmem() is simply wrong - for one thing, unaligned > > copies will have parts done via normal stores, for another 32bit will > > _not_ go for no

Re: 4.10rc1 ipc locking bug.

2016-12-29 Thread Mike Galbraith
On Thu, 2016-12-29 at 21:47 -0500, Dave Jones wrote: > This is a new one for me.. > > = > [ BUG: bad unlock balance detected! ] > 4.10.0-rc1-think+ #8 Not tainted > - > trinity-c47/31138 is trying to release lock ( > [CONT STA

ppp_generic.c crash. linux 4.4.y

2016-12-29 Thread bmajal222
Dear Sir, I am having lots of trouble PPP crashing in the kernel. I am using ubuntu 16.04 based on linux kernel 4.4.y. The BUG is already fixed in 4.8.y branch and 3.12.y branch. I have included the link here for your reference. Please import this bug-fix patch in to 4.4.y branch. BUG: ppp: de

Re: [PATCH] ceph: fix spelling mistake: "enabing" -> "enabling"

2016-12-29 Thread Yan, Zheng
On Fri, Dec 30, 2016 at 4:19 AM, Colin King wrote: > From: Colin Ian King > > trivial fix to spelling mistake in debug message > > Signed-off-by: Colin Ian King > --- > fs/ceph/cache.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/fs/ceph/cache.c b/fs/ceph/cache.c > i

Re: [PATCH net-next] net: dsa: Implement ndo_get_phys_port_id

2016-12-29 Thread David Miller
From: Florian Fainelli Date: Thu, 29 Dec 2016 14:20:56 -0800 > Implement ndo_get_phys_port_id() by returning the physical port number > of the switch this per-port DSA created network interface corresponds > to. > > Signed-off-by: Florian Fainelli Applied, thanks.

Re: [PATCH] Revert "mmc: dw_mmc-rockchip: add runtime PM support"

2016-12-29 Thread Jaehoon Chung
On 12/30/2016 11:44 AM, Randy Li wrote: > > > On 12/30/2016 10:35 AM, Jaehoon Chung wrote: >> On 12/30/2016 12:07 AM, ayaka wrote: >>> >>> >>> On 12/29/2016 10:04 PM, Jaehoon Chung wrote: Hi, On 12/29/2016 09:55 PM, ayaka wrote: > [5.849733] rk_gmac-dwmac ff29.ethernet

4.10rc1 ipc locking bug.

2016-12-29 Thread Dave Jones
This is a new one for me.. = [ BUG: bad unlock balance detected! ] 4.10.0-rc1-think+ #8 Not tainted - trinity-c47/31138 is trying to release lock ( [CONT START] &(&new->lock)->rlock [CONT START] ) at: [] SYSC_semtimedop+0x97f/

Re: [PATCH 06/12] usb: dwc3: omap: Replace the extcon API

2016-12-29 Thread Chanwoo Choi
Hi Felipe, On 2016년 12월 02일 18:03, Felipe Balbi wrote: > > Hi, > > Chanwoo Choi writes: >> Hi Felipe, >> >> On 2016년 11월 30일 19:36, Felipe Balbi wrote: >>> >>> Hi, >>> >>> Chanwoo Choi writes: This patch uses the resource-managed extcon API for extcon_register_notifier() and re

Re: [PATCH v2 2/5] arm64: Work around Falkor erratum 1003

2016-12-29 Thread kbuild test robot
Hi Shanker, [auto build test ERROR on next-20161224] [also build test ERROR on v4.10-rc1] [cannot apply to arm64/for-next/core v4.9-rc8 v4.9-rc7 v4.9-rc6] [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/

Re: [PATCH] Revert "mmc: dw_mmc-rockchip: add runtime PM support"

2016-12-29 Thread Randy Li
On 12/30/2016 10:35 AM, Jaehoon Chung wrote: On 12/30/2016 12:07 AM, ayaka wrote: On 12/29/2016 10:04 PM, Jaehoon Chung wrote: Hi, On 12/29/2016 09:55 PM, ayaka wrote: [5.849733] rk_gmac-dwmac ff29.ethernet (unnamed net_device) (uninitialized): Enable RX Mitigation via HW Watchdo

Re: [PATCH 2/2 v2] ARM: i.MX25: add the optional security violation irq

2016-12-29 Thread Shawn Guo
On Thu, Dec 22, 2016 at 12:01:16AM +0100, Martin Kaiser wrote: > Add the security violation irq as an optional entry to rtc-imxdi's > device tree bindings and to i.MX25's dtsi file. > > Signed-off-by: Martin Kaiser > --- > v2: > - clarify that the security violation interrupt is optional > -

Re: Re: [PATCH v3 2/2] drivers: net: ethernet: 3com: fix return value

2016-12-29 Thread Thomas Preisner
On Tue, 2016-12-27 at 22:17:35 +0100, David Dillow wrote: >On Sun, 2016-12-25 at 01:30 +0100, Thomas Preisner wrote: >> In some cases the return value of a failing function is not being used >> and the function typhoon_init_one() returns another negative error >> code instead. > >I'm not sure these

[PATCH v4 1/2] net: 3com: typhoon: typhoon_init_one: fix incorrect return values

2016-12-29 Thread Thomas Preisner
In a few cases the err-variable is not set to a negative error code if a function call in typhoon_init_one() fails and thus 0 is returned instead. It may be better to set err to the appropriate negative error code before returning. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=188841 Repo

[PATCH v4 2/2] net: 3com: typhoon: typhoon_init_one: make return values more specific

2016-12-29 Thread Thomas Preisner
In some cases the return value of a failing function is not being used and the function typhoon_init_one() returns another negative error code instead. Signed-off-by: Thomas Preisner Signed-off-by: Milan Stephan --- drivers/net/ethernet/3com/typhoon.c | 16 1 file changed, 8 in

Re: [PATCH 2/2] arm64: dts: updated sata node on ls1046a dts

2016-12-29 Thread Shawn Guo
On Thu, Nov 17, 2016 at 03:59:20PM +0800, yuantian.t...@nxp.com wrote: > From: Tang Yuantian > > On ls1046a soc, sata ecc should be disabled. So added sata ecc disabled or enabled? Shawn > register address so that driver can get this information. > > Signed-off-by: Tang Yuantian > --- > arc

Re: [PATCH] Revert "mmc: dw_mmc-rockchip: add runtime PM support"

2016-12-29 Thread Jaehoon Chung
On 12/30/2016 12:07 AM, ayaka wrote: > > > On 12/29/2016 10:04 PM, Jaehoon Chung wrote: >> Hi, >> >> On 12/29/2016 09:55 PM, ayaka wrote: >>> [5.849733] rk_gmac-dwmac ff29.ethernet (unnamed net_device) >>> (uninitialized): Enable RX Mitigation via HW Watchdog Timer >>> [5.944512] mmc

Re: [RFC PATCH] mm, memcg: fix (Re: OOM: Better, but still there on)

2016-12-29 Thread Minchan Kim
On Thu, Dec 29, 2016 at 10:04:32AM +0100, Michal Hocko wrote: > On Thu 29-12-16 10:20:26, Minchan Kim wrote: > > On Tue, Dec 27, 2016 at 04:55:33PM +0100, Michal Hocko wrote: > > > Hi, > > > could you try to run with the following patch on top of the previous > > > one? I do not think it will make

Re: [PATCH v4 2/3] ARM: dts: vf610-zii-dev: Add .dts file for rev. C

2016-12-29 Thread Shawn Guo
On Sun, Dec 18, 2016 at 11:17:56PM -0800, Andrey Smirnov wrote: > Add .dts file for rev. C of the board by factoring out commonalities > into a shared include file (vf610-zii-dev-rev-b-c.dtsi) and deriving > revision specific file from it (vf610-zii-dev-rev-b.dts and > vf610-zii-dev-reb-c.dts). >

Re: [PATCH 4/7] mm, vmscan: show LRU name in mm_vmscan_lru_isolate tracepoint

2016-12-29 Thread Minchan Kim
On Thu, Dec 29, 2016 at 08:56:49AM +0100, Michal Hocko wrote: > On Thu 29-12-16 15:02:04, Minchan Kim wrote: > > On Wed, Dec 28, 2016 at 04:30:29PM +0100, Michal Hocko wrote: > > > From: Michal Hocko > > > > > > mm_vmscan_lru_isolate currently prints only whether the LRU we isolate > > > from is

RE: [PATCH] drm/amd/amdgpu: fix spelling mistake: "comleted" -> "completed"

2016-12-29 Thread Zhou, David(ChunMing)
+amd-gfx, patch is Reviewed-by: Chunming Zhou -Original Message- From: Colin King [mailto:colin.k...@canonical.com] Sent: Thursday, December 29, 2016 11:47 PM To: Deucher, Alexander ; Koenig, Christian ; David Airlie ; Zhou, David(ChunMing) ; StDenis, Tom ; Liu, Monk ; dri-de...@lists

Re: [PATCH 2/7] mm, vmscan: add active list aging tracepoint

2016-12-29 Thread Minchan Kim
On Thu, Dec 29, 2016 at 08:52:46AM +0100, Michal Hocko wrote: > On Thu 29-12-16 14:33:59, Minchan Kim wrote: > > On Wed, Dec 28, 2016 at 04:30:27PM +0100, Michal Hocko wrote: > > > From: Michal Hocko > > > > > > Our reclaim process has several tracepoints to tell us more about how > > > things ar

Re: [PATCH] x86/apic: Implement set_state_oneshot_stopped() callback

2016-12-29 Thread Wanpeng Li
2016-12-30 0:45 GMT+08:00 Frederic Weisbecker : > When clock_event_device::set_state_oneshot_stopped() is not implemented, > hrtimer_cancel() can't stop the clock when there is no more timer in > the queue. So the ghost of the freshly cancelled hrtimer haunts us back > later with an extra interrupt

RE: [PATCH RFC 0/4] 5-level EPT

2016-12-29 Thread Li, Liang Z
> Subject: Re: [PATCH RFC 0/4] 5-level EPT > > On Thu, 29 Dec 2016 17:25:59 +0800, Liang Li said: > > x86-64 is currently limited physical address width to 46 bits, which > > can support 64 TiB of memory. Some vendors require to support more for > > some use case. Intel plans to extend the physica

Re: [PATCH] Input: mousedev - stop offering PS/2 to userspace by default

2016-12-29 Thread Peter Hutterer
On 30/12/2016 04:07 , Dmitry Torokhov wrote: Evdev interface has been available for many years and by now everyone is switched to using it, so let's stop offering /dev/input/mouseN and /dev/psaux by default. Signed-off-by: Dmitry Torokhov Acked-by: Peter Hutterer Cheers, Peter --- driv

Re: mm: fix typo of cache_alloc_zspage()

2016-12-29 Thread Sergey Senozhatsky
Hello, On (12/29/16 18:34), Xishi Qiu wrote: > Hi, Minchan and Sergey, > > OK, but I will have a vacation soon, so could you just add > that typo in your patch? or I will resend v3 several days later. works for me. the patch is trivial, so I definitely can wait for v3. if there is a chance to fi

RE: [PATCH v2 1/8] PM / devfreq: exynos-bus: Add the detailed correlation for Exynos5433

2016-12-29 Thread MyungJoo Ham
>This patch adds the detailed corrleation between sub-blocks and VDD_INT power >line for Exynos5433. VDD_INT provided the power source to INT (Internal) block. > >Cc: Rob Herring >Cc: Kukjin Kim >Cc: Krzysztof Kozlowski >Cc: Javier Martinez Canillas >Cc: linux-samsung-...@vger.kernel.org >Cc: d

Re: [PATCH v2 4/5] arm64: dts: exynos5433: Add bus dt node using VDD_INT for Exynos5433

2016-12-29 Thread Chanwoo Choi
Hi Krzysztof, On 2016년 12월 09일 02:52, Krzysztof Kozlowski wrote: > On Thu, Dec 08, 2016 at 01:58:10PM +0900, Chanwoo Choi wrote: >> This patch adds the bus nodes using VDD_INT for Exynos5433 SoC. >> Exynos5433 has the following AMBA AXI buses to translate data >> between DRAM and sub-blocks. >> >>

Re: [RFC PATCH v2 3/4] hwmon: adc128d818: Trivial code style fixup

2016-12-29 Thread Guenter Roeck
On 12/29/2016 12:30 PM, Alexander Koch wrote: On 12/29/2016 08:46 PM, Guenter Roeck wrote: On Thu, Dec 29, 2016 at 07:22:12PM +0100, Alexander Koch wrote: On 12/26/2016 11:47 AM, Guenter Roeck wrote: On 12/23/2016 02:12 PM, Alexander Koch wrote: Replace sysfs symbolic file permissions, e.g. '

[Patch v2 0/2] Support ARM SMCC SoC vendor quirks

2016-12-29 Thread Andy Gross
At least one SoC vendor (Qualcomm) requires additional processing done during ARM SMCCC calls. As such, an additional parameter to the arm_smccc_smc is required to be able to handle SoC specific quirks. The Qualcomm quirk is necessary due to the fact that the scm call can be interrupted on Qualco

[Patch v2 2/2] firmware: qcom: scm: Fix interrupted SCM calls

2016-12-29 Thread Andy Gross
This patch adds a Qualcomm specific quirk to the arm_smccc_smc call. On Qualcomm ARM64 platforms, the SMC call can return before it has completed. If this occurs, the call can be restarted, but it requires using the returned session ID value from the interrupted SMC call. The quirk stores off th

[Patch v2 1/2] arm: kernel: Add SMC structure parameter

2016-12-29 Thread Andy Gross
This patch adds a quirk parameter to the arm_smccc_smc call. The quirk structure allows for specialized SMC operations due to SoC specific requirements. The current arm_smccc_smc is renamed and macros are used instead to specify the standard arm_smccc_smc or the arm_smccc_smc_quirk function. Thi

Re: [PATCH] mm: Drop "PFNs busy" printk in an expected path.

2016-12-29 Thread Eric Anholt
Michal Nazarewicz writes: > On Thu, Dec 29 2016, Eric Anholt wrote: >> Michal Hocko writes: >> >>> This has been already brought up >>> http://lkml.kernel.org/r/20161130092239.gd18...@dhcp22.suse.cz and there >>> was a proposed patch for that which ratelimited the output >>> http://lkml.kernel.o

4.10-rc1 on Nokia N900: regression, WARN_ON() omap_l3_smx.c

2016-12-29 Thread Pavel Machek
Hi! I forgot I had v4.10-rc1 running, and now I got warning on all the consoles (hand-copied). Unhandled fault: external abort on non-linefetch (0x1028) at 0xfa0ab060 ... Comm: kworker/0:0 Not tainted. Workqueue: events musb_irq_work ... PC is at musb_default_readb(). ... WARNING: CPU: 0 ... at

Re: [PATCH v2 2/5] arm64: Work around Falkor erratum 1003

2016-12-29 Thread Timur Tabi
On 12/29/2016 04:43 PM, Christopher Covington wrote: +config QCOM_FALKOR_E1003_RESERVED_ASID + int + default 1 + depends on QCOM_FALKOR_ERRATUM_1003 Also, since this can't be changed via the menu, why bother putting it in? -- Qualcomm Datacenter Technologies, Inc. as an affil

Re: [PATCH v2 2/5] arm64: Work around Falkor erratum 1003

2016-12-29 Thread Timur Tabi
On 12/29/2016 04:43 PM, Christopher Covington wrote: -| Implementor| Component | Erratum ID | Kconfig | -++-+-+-+ -| ARM| Cortex-A53 | #826319 | ARM64_ERRATUM_826319

lkp: make.cross: old aarch64-gcc has been removed

2016-12-29 Thread Masami Hiramatsu
Hi Fengguang, Recently I tried to build a cross-build environment ( https://github.com/mhiramat/linux-cross ) by using your make.cross ( https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross ). And I've found that it failed to setup cross gcc for aarch64, because

[PATCH v2 5/5] arm64: Work around Falkor erratum 1009

2016-12-29 Thread Christopher Covington
During a TLB invalidate sequence targeting the inner shareable domain, Falkor may prematurely complete the DSB before all loads and stores using the old translation are observed; instruction fetches are not subject to the conditions of this erratum. Signed-off-by: Christopher Covington Change-Id

[PATCH v2 3/5] arm64: Create and use __tlbi_dsb() macros

2016-12-29 Thread Christopher Covington
This refactoring will allow an errata workaround that repeats tlbi dsb sequences to only change one location. This is not intended to change the generated assembly and comparing before and after preprocessor output of arch/arm64/mm/mmu.c and vmlinux objdump show no functional changes. Signed-off-b

[PATCH v2 4/5] arm64: Use __tlbi_dsb() macros in KVM code

2016-12-29 Thread Christopher Covington
Refactor the KVM code to use the newly introduced __tlbi_dsb macros, which will allow an errata workaround that repeats tlbi dsb sequences to only change one location. This is not intended to change the generated assembly and comparing before and after vmlinux objdump shows no functional changes.

[PATCH v2 1/5] arm64: Define Falkor v1 CPU

2016-12-29 Thread Christopher Covington
From: Shanker Donthineni Define the MIDR implementer and part number field values for the Qualcomm Datacenter Technologies Falkor processor version 1 in the usual manner. Signed-off-by: Shanker Donthineni Signed-off-by: Christopher Covington --- arch/arm64/include/asm/cputype.h | 4 1 fi

[PATCH v2 2/5] arm64: Work around Falkor erratum 1003

2016-12-29 Thread Christopher Covington
From: Shanker Donthineni On the Qualcomm Datacenter Technologies Falkor v1 CPU, memory accesses may allocate TLB entries using an incorrect ASID when TTBRx_EL1 is being updated. Changing the TTBRx_EL1[ASID] and TTBRx_EL1[BADDR] fields separately using a reserved ASID will ensure that there are no

[PATCH 02/20] ARM: dts: imx6qdl: Add mipi_ipu1/2 multiplexers, mipi_csi, and their connections

2016-12-29 Thread Steve Longerbeam
From: Philipp Zabel This patch adds the device tree graph connecting the input multiplexers to the IPU CSIs and the MIPI-CSI2 gasket on i.MX6. The MIPI_IPU multiplexers are added as children of the iomuxc-gpr syscon device node. On i.MX6Q/D two two-input multiplexers in front of IPU1 CSI0 and IPU

[PATCH 04/20] ARM: dts: imx6-sabrelite: add OV5642 and OV5640 camera sensors

2016-12-29 Thread Steve Longerbeam
Enables the OV5642 parallel-bus sensor, and the OV5640 MIPI CSI-2 sensor. Both hang off the same i2c2 bus, so they require different (and non- default) i2c slave addresses. The OV5642 connects to the parallel-bus mux input port on ipu1_csi0_mux. The OV5640 connects to the input port on the MIPI C

[PATCH] i2c: fix spelling mistake: "insufficent" -> "insufficient"

2016-12-29 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in WARN message, insufficient has an insufficient number of i's in the spelling. Signed-off-by: Colin Ian King --- drivers/i2c/i2c-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/i2c-core.c b/drivers/i2

[PATCH 13/20] media: imx: Add SMFC subdev driver

2016-12-29 Thread Steve Longerbeam
This is a media entity subdevice driver for the i.MX Sensor Multi-FIFO Controller module. Video frames are received from the CSI and can be routed to various sinks including the i.MX Image Converter for scaling, color-space conversion, motion compensated deinterlacing, and image rotation. --- driv

[PATCH 08/20] ARM: dts: imx6-sabreauto: add pinctrl for gpt input capture

2016-12-29 Thread Steve Longerbeam
Add pinctrl groups for both GPT input capture channels. Signed-off-by: Steve Longerbeam --- arch/arm/boot/dts/imx6qdl-sabreauto.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi b/arch/arm/boot/dts/imx6qdl-sabreauto.dtsi index 516bac

[PATCH 07/20] ARM: dts: imx6-sabreauto: add reset-gpios property for max7310_b

2016-12-29 Thread Steve Longerbeam
The reset pin to the port expander chip (MAX7310) is controlled by a gpio, so define a reset-gpios property to control it. There are three MAX7310's on the SabreAuto CPU card (max7310_[abc]), but all use the same pin for their reset. Since all can't acquire the same pin, assign it to max7310_b, tha

[PATCH 10/20] gpio: pca953x: Add optional reset gpio control

2016-12-29 Thread Steve Longerbeam
Add optional reset-gpios pin control. If present, de-assert the specified reset gpio pin to bring the chip out of reset. Signed-off-by: Steve Longerbeam Cc: Linus Walleij Cc: Alexandre Courbot Cc: linux-g...@vger.kernel.org Cc: linux-kernel@vger.kernel.org --- v2: - documented optional reset-

[PATCH 03/20] ARM: dts: imx6qdl: add media device

2016-12-29 Thread Steve Longerbeam
Signed-off-by: Steve Longerbeam --- arch/arm/boot/dts/imx6q.dtsi | 4 arch/arm/boot/dts/imx6qdl.dtsi | 8 2 files changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/imx6q.dtsi b/arch/arm/boot/dts/imx6q.dtsi index 56a314f..2fbe0b3 100644 --- a/arch/arm/boot/dts/imx6q.dtsi ++

[PATCH 01/20] ARM: dts: imx6qdl: Add compatible, clocks, irqs to MIPI CSI-2 node

2016-12-29 Thread Steve Longerbeam
Add to the MIPI CSI2 receiver node: compatible string, interrupt sources, clocks. Signed-off-by: Steve Longerbeam --- arch/arm/boot/dts/imx6qdl.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi index 53e6e63..7b546e3 1

[PATCH 05/20] ARM: dts: imx6-sabresd: add OV5642 and OV5640 camera sensors

2016-12-29 Thread Steve Longerbeam
Enables the OV5642 parallel-bus sensor, and the OV5640 MIPI CSI-2 sensor. The OV5642 connects to the parallel-bus mux input port on ipu1_csi0_mux. The OV5640 connects to the input port on the MIPI CSI-2 receiver on mipi_csi. It is set to transmit over MIPI virtual channel 1. Until the OV5652 sen

[PATCH 06/20] ARM: dts: imx6-sabreauto: create i2cmux for i2c3

2016-12-29 Thread Steve Longerbeam
The sabreauto uses a steering pin to select between the SDA signal on i2c3 bus, and a data-in pin for an SPI NOR chip. Use i2cmux to control this steering pin. Idle state of the i2cmux selects SPI NOR. This is not a classic way to use i2cmux, since one side of the mux selects something other than a

[PATCH 17/20] media: imx: Add video switch subdev driver

2016-12-29 Thread Steve Longerbeam
From: Philipp Zabel This driver can handle SoC internal and extern video bus multiplexers, controlled either by register bit fields or by GPIO. Signed-off-by: Sascha Hauer Signed-off-by: Philipp Zabel Signed-off-by: Steve Longerbeam --- drivers/staging/media/imx/Makefile | 1 + d

[PATCH 15/20] media: imx: Add Camera Interface subdev driver

2016-12-29 Thread Steve Longerbeam
This is the camera interface driver that provides the v4l2 user interface. Frames can be received from various sources: - directly from SMFC for capturing unconverted images directly from camera sensors. - from the IC pre-process encode task. - from the IC pre-process viewfinder task. - from

[PATCH 20/20] ARM: imx_v6_v7_defconfig: Enable staging video4linux drivers

2016-12-29 Thread Steve Longerbeam
Enable imx v4l2 staging drivers. For video capture on the SabreAuto, the ADV7180 video decoder also requires the i2c-mux-gpio and the max7310 port expander. The Sabrelite requires PWM clocks for the OV5640. Signed-off-by: Steve Longerbeam --- arch/arm/configs/imx_v6_v7_defconfig | 10 +-

  1   2   3   4   >