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

2016-02-24 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-24 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..1db880c 100644 --- a/Documentation/adding-syscalls.txt +++ b/

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

2016-02-24 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 2/5] all: introduce COMPAT_WRAPPER option and enable it for s390

2016-02-24 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 4/5] all: s390: move compat_wrappers.c from arch/s390/kernel to kernel/

2016-02-24 Thread Yury Norov
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_wrapper.c | 129 - kernel/Makefile | 1 + kernel/comp

Re: [PATCH 13/50] pinctrl: mtk-common: Use devm_pinctrl_register() for pinctrl registration

2016-02-24 Thread Hongzhou Yang
On Wed, 2016-02-24 at 18:45 +0530, Laxman Dewangan wrote: > Use devm_pinctrl_register() for pin control registration and clean > the error path. > > Signed-off-by: Laxman Dewangan > Cc: Matthias Brugger > Cc: Hongzhou Yang > Cc: Yingjoe Chen > --- Acked-by: Hongzhou Yang Thanks, Hongzhou >

Re:magnet materials for your oil industry

2016-02-24 Thread Thomas
Dear, How are you?Long time not contact! We have met on the exhibition before,and we talked about the magnet items.I am Thomas from Topmag Co.,ltd,HongKong,China. These day the NdFeB price becomes more and more lower,do you have any new items use the magnets? Maybe we can help you for the mag

Re: [RFC v5 0/8] Additional kmsg devices

2016-02-24 Thread Andrew Morton
On Wed, 16 Dec 2015 10:27:57 -0500 Tejun Heo wrote: > On Wed, Dec 16, 2015 at 08:47:35AM +0100, Richard Weinberger wrote: > > > Andrew? Are you or anyone else interested in picking up this patchset? > > > > I know I'm repeating myself. But this should be done in userspace. > > Nothing in this

Re: [PATCH 26/50] pinctrl: spear: Use devm_pinctrl_register() for pinctrl registration

2016-02-24 Thread Viresh Kumar
On 24-02-16, 18:45, Laxman Dewangan wrote: > Use devm_pinctrl_register() for pin control registration and remove > need of .remove callback. > > Signed-off-by: Laxman Dewangan > Cc: Viresh Kumar > Cc: spear-de...@list.st.com > Cc: linux-arm-ker...@lists.infradead.org > --- > drivers/pinctrl/spe

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

2016-02-24 Thread Xinliang Liu
On 24 February 2016 at 02:37, Mark Rutland wrote: Hi Mark, thanks for review. > On Tue, Feb 23, 2016 at 11:00:21AM +0800, Xinliang Liu wrote: >> Add ADE display controller binding doc. >> Add DesignWare DSI Host Controller v1.20a binding doc. >> >> v5: >> - Remove endpoint unit address of dsi out

[PATCH] Documentation: gpio: board: fix GPIO_LOOKUP{,_IDX} documentation

2016-02-24 Thread Gabor Juhos
The 'dev_id' parameter of the GPIO_LOOKUP{,_IDX} macros were removed by commit ad824783fb23 ("gpio: better lookup method for platform GPIOs"). Update the documentation to reflect that. Signed-off-by: Gabor Juhos --- Documentation/gpio/board.txt | 11 +-- 1 file changed, 5 insertions(+

<    1   2