Re: [PATCH 22/50] pinctrl: pxa: Use devm_pinctrl_register() for pinctrl registration

2016-02-26 Thread Robert Jarzmik
Laxman Dewangan writes: > Use devm_pinctrl_register() for pin control registration and clean > the error path. > > Signed-off-by: Laxman Dewangan > Cc: Daniel Mack > Cc: Haojian Zhuang > Cc: Robert Jarzmik > Cc: linux-arm-ker...@lists.infradead.org Acked-by: Robert Jarzmik Cheers. -- Rober

Re: [PATCH 14/50] pinctrl: meson: Use devm_pinctrl_register() for pinctrl registration

2016-02-26 Thread Carlo Caione
On Wed, Feb 24, 2016 at 2:15 PM, Laxman Dewangan wrote: > Use devm_pinctrl_register() for pin control registration. > > Signed-off-by: Laxman Dewangan > Cc: Carlo Caione > Cc: Beniamino Galvani > Cc: Lee Jones Acked-by: -- Carlo Caione -- To unsubscribe from this list: send the line "unsub

Re: [PATCH v5 0/3] init: add support to directly boot to a mapped device

2016-02-26 Thread Mike Snitzer
On Fri, Feb 26 2016 at 2:59pm -0500, Kees Cook wrote: > On Fri, Feb 26, 2016 at 11:21 AM, Mike Snitzer wrote: > > On Fri, Feb 26 2016 at 1:52pm -0500, > > Kees Cook wrote: > > > >> On Fri, Feb 26, 2016 at 8:53 AM, Mike Snitzer wrote: > >> > On Mon, Feb 22 2016 at 1:55pm -0500, > >> > Kees C

Re: [PATCH v5 0/3] init: add support to directly boot to a mapped device

2016-02-26 Thread Kees Cook
On Fri, Feb 26, 2016 at 11:21 AM, Mike Snitzer wrote: > On Fri, Feb 26 2016 at 1:52pm -0500, > Kees Cook wrote: > >> On Fri, Feb 26, 2016 at 8:53 AM, Mike Snitzer wrote: >> > On Mon, Feb 22 2016 at 1:55pm -0500, >> > Kees Cook wrote: >> > >> >> On Sun, Feb 21, 2016 at 2:08 PM, Alasdair G Kerg

Re: [PATCH v12 4/4] Watchdog: introduce ARM SBSA watchdog driver

2016-02-26 Thread Timur Tabi
fu@linaro.org wrote: + if (action) { + irq = platform_get_irq(pdev, 0); + if (irq < 0) { + action = 0; + dev_warn(dev, "unable to get ws0 interrupt.\n"); + } else { + if (devm_req

Re: [PATCH v5 0/3] init: add support to directly boot to a mapped device

2016-02-26 Thread Mike Snitzer
On Fri, Feb 26 2016 at 1:52pm -0500, Kees Cook wrote: > On Fri, Feb 26, 2016 at 8:53 AM, Mike Snitzer wrote: > > On Mon, Feb 22 2016 at 1:55pm -0500, > > Kees Cook wrote: > > > >> On Sun, Feb 21, 2016 at 2:08 PM, Alasdair G Kergon wrote: > >> > On Sat, Feb 20, 2016 at 10:13:49AM -0800, Kees

Re: [PATCH v5 0/3] init: add support to directly boot to a mapped device

2016-02-26 Thread Kees Cook
On Fri, Feb 26, 2016 at 8:53 AM, Mike Snitzer wrote: > On Mon, Feb 22 2016 at 1:55pm -0500, > Kees Cook wrote: > >> On Sun, Feb 21, 2016 at 2:08 PM, Alasdair G Kergon wrote: >> > On Sat, Feb 20, 2016 at 10:13:49AM -0800, Kees Cook wrote: >> >> This is a resurrection of a patch series from a few

Re: [PATCHv2 08/10] rfkill: Use switch to demux userspace operations

2016-02-26 Thread Jouni Malinen
On Mon, Feb 22, 2016 at 11:36:39AM -0500, João Paulo Rechi Vita wrote: > Using a switch to handle different ev.op values in rfkill_fop_write() > makes the code easier to extend, as out-of-range values can always be > handled by the default case. This breaks rfkill.. There are automated test script

Re: [PATCH v5 0/3] init: add support to directly boot to a mapped device

2016-02-26 Thread Mike Snitzer
On Mon, Feb 22 2016 at 1:55pm -0500, Kees Cook wrote: > On Sun, Feb 21, 2016 at 2:08 PM, Alasdair G Kergon wrote: > > On Sat, Feb 20, 2016 at 10:13:49AM -0800, Kees Cook wrote: > >> This is a resurrection of a patch series from a few years back, first > >> brought to the dm maintainers in 2010.

Re: [PATCH v6 0/8] Additional kmsg devices

2016-02-26 Thread Petr Mladek
On Fri 2016-02-26 14:22:42, Kazimierz Krosman wrote: > On 02/25/2016 10:47 PM, Tejun Heo wrote: > >I'm not sure this is the right layer to implement generic logging > >facility. > In general this patches add only one feature- possibility of adding > and deleting > new kmsg devices, so I think that

[PATCH 4/5] all: s390: move compat_wrappers.c from arch/s390/kernel to kernel

2016-02-26 Thread Yury Norov
S390-specific wrappers are moved to arch/s390/kernel/compat_linux.c Some syscalls are declared conditionally, so corresponding wrappers are conditional accordingly. Signed-off-by: Yury Norov --- arch/s390/kernel/Makefile | 2 +- arch/s390/kernel/compat_linux.c | 4 + arch/s390/ker

[PATCH v3 0/5] all: s390: make compat wrappers the generic solution

2016-02-26 Thread Yury Norov
The problem that makes us use wrappers is that some compat architectures allows user code to access top halves of registers. This is not a problem for syscalls that are already handled by compat code, or for that who has types of the same size in kernel and userspace. In case of s390 and lp64/ilp32

[PATCH 3/5] all: s390: move wrapper infrastructure to generic headers

2016-02-26 Thread Yury Norov
This patch moves required code to generic files to let other arches use it if needed. Here also, additional code is introduced, as s390 uses asm syscall tables, while in general case, wrappers may be used in C code. __SC_COMPAT_CAST for s390 is too specific due to 31-bit pointer length, so it's mo

[PATCH 2/5] all: introduce COMPAT_WRAPPER option and enable it for s390

2016-02-26 Thread Yury Norov
Signed-off-by: Yury Norov --- arch/Kconfig | 4 arch/s390/Kconfig | 1 + 2 files changed, 5 insertions(+) diff --git a/arch/Kconfig b/arch/Kconfig index f6b649d..6393093 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -583,6 +583,10 @@ config HAVE_COPY_THREAD_TLS normal C par

[PATCH 5/5] all: wrap needed syscalls in generic unistd

2016-02-26 Thread Yury Norov
As generic unistd syscall table is written in C, syscall prototypes declaration is needed. It's added to compat header. Signed-off-by: Yury Norov --- include/linux/compat.h| 225 + include/uapi/asm-generic/unistd.h | 227 +++

[PATCH 1/5] all: syscall wrappers: add documentation

2016-02-26 Thread Yury Norov
Signed-off-by: Yury Norov --- Documentation/adding-syscalls.txt | 32 1 file changed, 32 insertions(+) diff --git a/Documentation/adding-syscalls.txt b/Documentation/adding-syscalls.txt index cc2d4ac..d02a6bd 100644 --- a/Documentation/adding-syscalls.txt +++ b/

Re: [PATCH v6 3/8] kmsg: introduce additional kmsg devices support

2016-02-26 Thread Petr Mladek
On Wed 2016-02-24 12:53:16, Kazimierz Krosman wrote: > From: Marcin Niesluchowski > > kmsg device provides operations on cyclic logging buffer used mainly > by kernel but also in userspace by privileged processes. > > Additional kmsg devices keep the same log format but may be added > dynamicall

Re: [PATCH v6 0/8] Additional kmsg devices

2016-02-26 Thread Kazimierz Krosman
On 02/25/2016 10:47 PM, Tejun Heo wrote: I'm not sure this is the right layer to implement generic logging facility. In general this patches add only one feature- possibility of adding and deleting new kmsg devices, so I think that it can be treated as kmsg upgrade. 2. Using kmsg can cause low

Re: [PATCH 31/50] pinctrl: uniphier: Use devm_pinctrl_register() for pinctrl registration

2016-02-26 Thread Masahiro Yamada
2016-02-24 22:15 GMT+09:00 Laxman Dewangan : > Use devm_pinctrl_register() for pin control registration and remove > need of .remove callback. > > Signed-off-by: Laxman Dewangan > Cc: Masahiro Yamada > --- Acked-by: Masahiro Yamada Thanks! -- Best Regards Masahiro Yamada -- To unsubscribe

Re: [PATCH v6 02/11] drm/hisilicon: Add hisilicon kirin drm master driver

2016-02-26 Thread Xinliang Liu
Hi, On 26 February 2016 at 16:54, Archit Taneja wrote: > Hi, > > I had some minor comments. Sorry about sharing this late. Otherwise, > the looks good to me. Hi Archit, you are welcome :-) Thanks for review again. > > > On 02/26/2016 02:10 PM, Xinliang Liu wrote: >> >> Add kirin DRM master dri

Re: [PATCH v6 02/11] drm/hisilicon: Add hisilicon kirin drm master driver

2016-02-26 Thread Archit Taneja
Hi, I had some minor comments. Sorry about sharing this late. Otherwise, the looks good to me. On 02/26/2016 02:10 PM, Xinliang Liu wrote: Add kirin DRM master driver for hi6220 SoC which used in HiKey board. Add dumb buffer feature. Add prime dmabuf feature. v6: None. v5: None. v4: None. v3:

[PATCH v6 10/11] MAINTAINERS: Add maintainer for hisilicon DRM driver

2016-02-26 Thread Xinliang Liu
Add maintainer and reviewer for hisilicon DRM driver. v6: None. v5: None. v4: - Add Chen Feng as Designated reviewer. v3: First version. Signed-off-by: Xinliang Liu --- MAINTAINERS | 10 ++ 1 file changed, 10 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 4978dc19a4d2..b94

[PATCH v6 08/11] drm/hisilicon: Add designware dsi host driver

2016-02-26 Thread Xinliang Liu
Add DesignWare dsi host driver for hi6220 SoC. v6: None. v5: None. v4: None. v3: None. v2: - Remove abtraction layer. Signed-off-by: Xinliang Liu --- drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c | 50 1 file changed, 50 insertions(+) diff --git a/drivers/gpu/drm/hi

[PATCH v6 09/11] drm/hisilicon: Add support for external bridge

2016-02-26 Thread Xinliang Liu
Add support for external HDMI bridge. v6: None. v5: None. v4: None. v3: - Fix a typo: s/exteranl/external. v2: - Remove abtraction layer. Signed-off-by: Xinliang Liu --- drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c | 52 1 file changed, 52 insertions(+) diff --git

[PATCH v6 04/11] drm/hisilicon: Add plane driver for ADE

2016-02-26 Thread Xinliang Liu
Add plane funcs and helper funcs for ADE. v6: None. v5: None. v4: None. v3: - A few cleanup. v2: - Remove abtraction layer. Signed-off-by: Xinliang Liu --- drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c | 535 +++- 1 file changed, 534 insertions(+), 1 deletion(-) diff --gi

[PATCH v6 05/11] drm/hisilicon: Add vblank driver for ADE

2016-02-26 Thread Xinliang Liu
Add vblank irq handle. v6: None. v5: None. v4: None. v3: - Remove hisi_get_crtc_from_index func. - A few cleanup. v2: - Remove abtraction layer. Signed-off-by: Xinliang Liu --- drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c | 62 + drivers/gpu/drm/hisilicon/kirin/kirin_

[PATCH v6 11/11] arm64: dts: hisilicon: Add display subsystem DT nodes for hi6220

2016-02-26 Thread Xinliang Liu
Add ade, dsi and adv7533 DT nodes for hikey board. Signed-off-by: Xinliang Liu --- arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 40 +++ arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 55 ++ 2 files changed, 95 insertions(+) diff --git a/arch/arm64/b

[PATCH v6 06/11] drm/hisilicon: Add cma fbdev and hotplug

2016-02-26 Thread Xinliang Liu
Add cma Fbdev, Fbdev is legency and optional, you can enable/disable it by configuring DRM_FBDEV_EMULATION. Add hotplug. v6: None. v5: None. v4: None. v3: None. v2: - Use CONFIG_DRM_FBDEV_EMULATION instead of CONFIG_DRM_HISI_FBDEV. Signed-off-by: Xinliang Liu --- drivers/gpu/drm/hisilicon/kirin

[PATCH v6 07/11] drm/hisilicon: Add designware dsi encoder driver

2016-02-26 Thread Xinliang Liu
Add DesignWare MIPI DSI Host Controller v1.02 encoder driver for hi6220 SoC. v6: - Change "pclk_dsi" to "pclk". v5: None. v4: None. v3: - Rename file name to dw_drm_dsi.c - Make encoder type as DRM_MODE_ENCODER_DSI. - A few cleanup. v2: - Remove abtraction layer. Signed-off-by: Xinliang Liu Sign

[PATCH v6 00/11] Add DRM Driver for HiSilicon Kirin hi6220 SoC

2016-02-26 Thread Xinliang Liu
This patch set adds a new drm driver for HiSilicon Kirin hi6220 SoC. Current testing and support board is Hikey board which is one of Linaro 96boards. It is an arm64 open source board. For more information about this board, please access https://www.96boards.org. Hardware Detail ---

[PATCH v6 01/11] drm/hisilicon: Add device tree binding for hi6220 display subsystem

2016-02-26 Thread Xinliang Liu
Add ADE display controller binding doc. Add DesignWare DSI Host Controller v1.20a binding doc. v6: - Cleanup values part of reg and clocks properties. - Change "pclk_dsi" clock name to "pclk". v5: - Remove endpoint unit address of dsi output port. - Add "hisilicon,noc-syscon" property for ADE NOC

[PATCH v6 02/11] drm/hisilicon: Add hisilicon kirin drm master driver

2016-02-26 Thread Xinliang Liu
Add kirin DRM master driver for hi6220 SoC which used in HiKey board. Add dumb buffer feature. Add prime dmabuf feature. v6: None. v5: None. v4: None. v3: - Move and rename all the files to kirin sub-directory. So that we could separate different seires SoCs' driver. - Replace drm_platform_init,

[PATCH v6 03/11] drm/hisilicon: Add crtc driver for ADE

2016-02-26 Thread Xinliang Liu
Add crtc funcs and helper funcs for ADE. v6: - Cleanup reg-names dt parsing. v5: - Use syscon to access ADE media NOC QoS registers instread of directly writing registers. - Use reset controller to reset ADE instead of directly writing registers. v4: None. v3: - Make ade as the master driver. -