Re: [RFC6 PATCH v6 00/21] ILP32 for ARM64 - LTP results

2016-04-22 Thread Zhangjian (Bamvor)
Hi, Yury On 2016/4/6 6:44, Yury Norov wrote: There are about 20 failing tests of 782 in lite scenario. float_bessel float_exp_log float_iperb float_power float_trigo pipeio_1 pipeio_3 pipeio_5 pipeio_8 abort01 clone02 kill11 mmap16 open12 pause01 rename11 rmdir02 umount2_01 umount2_02 umount2_03

Re: [PATCH 12/25] arm64: compat: change config dependences to aarch32

2016-04-22 Thread Zhangjian (Bamvor)
Hi, Yury On 2016/4/23 5:59, Yury Norov wrote: On Fri, Apr 22, 2016 at 04:58:18PM +0100, Catalin Marinas wrote: On Wed, Apr 06, 2016 at 01:08:34AM +0300, Yury Norov wrote: From: Bamvor Jian Zhang With the patches of ILP32, COMPAT is not equivalent to AARCH32 in EL0. This patch fix this by upd

Re: [PATCH 12/25] arm64: compat: change config dependences to aarch32

2016-04-22 Thread Yury Norov
On Fri, Apr 22, 2016 at 04:58:18PM +0100, Catalin Marinas wrote: > On Wed, Apr 06, 2016 at 01:08:34AM +0300, Yury Norov wrote: > > From: Bamvor Jian Zhang > > > > With the patches of ILP32, COMPAT is not equivalent to AARCH32 in EL0. > > This patch fix this by updating the dependency from COMPAT

Re: [PATCH 19/25] arm64: ptrace: handle ptrace_request differently for aarch32 and ilp32

2016-04-22 Thread Yury Norov
On Fri, Apr 22, 2016 at 06:10:09PM +0100, Catalin Marinas wrote: > On Wed, Apr 06, 2016 at 01:08:41AM +0300, Yury Norov wrote: > > Here new aarch32 ptrace syscall handler is introsuced to avoid run-time > > detection of the task type. > > The reason for this patch isn't clear to me. What's wrong w

[PATCH] Changed the path from to the incorrect drivers/char/sysrq.c to drivers/tty/sysrq.c

2016-04-22 Thread René Nyffenegger
This is my first patch submission. Please let me know if I have made a mistake anywhere. Signed-off-by: René Nyffenegger --- Documentation/sysrq.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/sysrq.txt b/Documentation/sysrq.txt index 13f5619..3a3b30a 1006

Re: [PATCH 18/25] arm64: ilp32: introduce binfmt_ilp32.c

2016-04-22 Thread Arnd Bergmann
On Friday 22 April 2016 17:51:30 Catalin Marinas wrote: > On Wed, Apr 06, 2016 at 01:08:40AM +0300, Yury Norov wrote: > > --- /dev/null > > +++ b/arch/arm64/kernel/binfmt_ilp32.c > > [...] > > > +#include "../../../fs/binfmt_elf.c" > > How different is this new binfmt_ilp32.c file from the first

Re: [PATCH] Documentation: devres: Add missing INPUT function

2016-04-22 Thread Tejun Heo
On Thu, Apr 21, 2016 at 07:02:04PM +0200, Alexander Kurz wrote: > devm_input_allocate_device() got introduced with commit 2be975c6d920 > ("Input: introduce managed input devices (add devres support)"). > Add this function to the list of managed interfaces within the > devres documentation. > > Sig

Re: [PATCH 19/25] arm64: ptrace: handle ptrace_request differently for aarch32 and ilp32

2016-04-22 Thread Catalin Marinas
On Wed, Apr 06, 2016 at 01:08:41AM +0300, Yury Norov wrote: > Here new aarch32 ptrace syscall handler is introsuced to avoid run-time > detection of the task type. The reason for this patch isn't clear to me. What's wrong with the run-time detection? It's not some performance critical code. -- C

Re: [PATCH 18/25] arm64: ilp32: introduce binfmt_ilp32.c

2016-04-22 Thread Catalin Marinas
On Wed, Apr 06, 2016 at 01:08:40AM +0300, Yury Norov wrote: > --- /dev/null > +++ b/arch/arm64/kernel/binfmt_ilp32.c [...] > +#include "../../../fs/binfmt_elf.c" How different is this new binfmt_ilp32.c file from the first part of compat_binfmt_elf.c? I wonder whether we could include the latter

Re: [PATCH v11 3/4] tpm: Proxy driver for supporting multiple emulated TPMs

2016-04-22 Thread Jarkko Sakkinen
On Mon, Apr 18, 2016 at 01:26:15PM -0400, Stefan Berger wrote: > This patch implements a proxy driver for supporting multiple emulated TPMs > in a system. > > The driver implements a device /dev/vtpmx that is used to created > a client device pair /dev/tpmX (e.g., /dev/tpm10) and a server side tha

Re: [PATCH v11 4/4] tpm: Add documentation for the tpm_vtpm_proxy device driver

2016-04-22 Thread Jarkko Sakkinen
On Mon, Apr 18, 2016 at 01:26:16PM -0400, Stefan Berger wrote: > Add documentation for the tpm_vtpm device driver that implements > support for providing TPM functionality to Linux containers. > > Parts of this documentation were recycled from the Xen vTPM > device driver documentation. > > Updat

Re: [PATCH 12/25] arm64: compat: change config dependences to aarch32

2016-04-22 Thread Catalin Marinas
On Wed, Apr 06, 2016 at 01:08:34AM +0300, Yury Norov wrote: > From: Bamvor Jian Zhang > > With the patches of ILP32, COMPAT is not equivalent to AARCH32 in EL0. > This patch fix this by updating the dependency from COMPAT to > AARCH32_EL0 for ARMV8_DEPRECATED and ARM64_ERRATUM_845719. > > Signed

Re: [PATCH 10/25] arm64: rename COMPAT to AARCH32_EL0 in Kconfig

2016-04-22 Thread Catalin Marinas
On Thu, Apr 14, 2016 at 11:20:29AM +0800, Zhangjian (Bamvor) wrote: > I suggest we enable AARCH32_EL0 by default explicitly. I am not sure > if it should be a dedicated commit. I am ok if you merge my commit, add We currently enable COMPAT in defconfig. I think we keep the same approach and change

[PATCH] Mark "Out of Date" addresses as undeliverable

2016-04-22 Thread Zhigang Gao
--- Documentation/zh_CN/CodingStyle | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Documentation/zh_CN/CodingStyle b/Documentation/zh_CN/CodingStyle index 654afd7..26ff11d 100644 --- a/Documentation/zh_CN/CodingStyle +++ b/Documentation/zh_CN/CodingStyle @@ -5,20 +5

Re: [PATCH v9 04/13] task_isolation: add initial support

2016-04-22 Thread Frederic Weisbecker
On Fri, Apr 08, 2016 at 12:34:48PM -0400, Chris Metcalf wrote: > On 4/8/2016 9:56 AM, Frederic Weisbecker wrote: > >On Wed, Mar 09, 2016 at 02:39:28PM -0500, Chris Metcalf wrote: > >> TL;DR: Let's make an explicit decision about whether task isolation > >> should be "persistent" or "one-shot".

Re: [PATCH v7 00/24] i2c mux cleanup and locking update

2016-04-22 Thread Peter Rosin
Wolfram Sang wrote: > > The problem with waiting until 4.8 with the rest of the series is that it > > will likely go stale, e.g. patch 22 ([media] rtl2832: change the i2c gate > > to be mux-locked) touches a ton of register accesses in that driver since > > it removes a regmap wrapper that is rende

[PATCH v8 08/24] iio: imu: inv_mpu6050: convert to use an explicit i2c mux core

2016-04-22 Thread Peter Rosin
Allocate an explicit i2c mux core to handle parent and child adapters etc. Update the select/deselect ops to be in terms of the i2c mux core instead of the child adapter. Acked-by: Jonathan Cameron Signed-off-by: Peter Rosin --- drivers/iio/imu/inv_mpu6050/inv_mpu_acpi.c | 2 +- drivers/iio/im

Re: [PATCH v7 00/24] i2c mux cleanup and locking update

2016-04-22 Thread Wolfram Sang
> The problem with waiting until 4.8 with the rest of the series is that it > will likely go stale, e.g. patch 22 ([media] rtl2832: change the i2c gate > to be mux-locked) touches a ton of register accesses in that driver since > it removes a regmap wrapper that is rendered obsolete. Expecting tha

RE: [PATCH 1/7] debugobjects: make fixup functions return bool instead of int

2016-04-22 Thread Thomas Gleixner
On Fri, 22 Apr 2016, Du, Changbin wrote: > > On Fri, 22 Apr 2016, changbin...@intel.com wrote: > > > A bad thing is that debug_object_fixup use the return value for > > > arithmetic operation. It confused me that what is the reall return > > > > What's bad about that? The fact that it's used for a

Re: [PATCH 2/7] debugobjects: correct the usage of fixup call results

2016-04-22 Thread Thomas Gleixner
On Fri, 22 Apr 2016, changbin...@intel.com wrote: > From: "Du, Changbin" > > If debug_object_fixup() return non-zero when problem has been > fixed. But the code got it backwards, it taks 0 as fixup > successfully. So fix it. Wrong. > @@ -415,7 +415,7 @@ int debug_object_activate(void *addr, st

Re: [PATCH v5] irqchip, gicv3-its, numa: Enable workaround for Cavium thunderx erratum 23144

2016-04-22 Thread Will Deacon
On Fri, Apr 22, 2016 at 09:01:05AM +0100, Marc Zyngier wrote: > On 21/04/16 18:40, Robert Richter wrote: > > On 15.04.16 21:30:05, Robert Richter wrote: > >> From: Ganapatrao Kulkarni > >> > >> The erratum fixes the hang of ITS SYNC command by avoiding inter node > >> io and collections/cpu mappin

RE: [PATCH 1/7] debugobjects: make fixup functions return bool instead of int

2016-04-22 Thread Du, Changbin
Hi, > On Fri, 22 Apr 2016, changbin...@intel.com wrote: > > From: "Du, Changbin" > > > > The object debugging infrastructure core provides some fixup callbacks > > for the subsystem who use it. These callbacks are called from the debug > > code whenever a problem in debug_object_init is detected.

Re: [PATCH 1/7] debugobjects: make fixup functions return bool instead of int

2016-04-22 Thread Thomas Gleixner
On Fri, 22 Apr 2016, changbin...@intel.com wrote: > From: "Du, Changbin" > > The object debugging infrastructure core provides some fixup callbacks > for the subsystem who use it. These callbacks are called from the debug > code whenever a problem in debug_object_init is detected. And > debugobje

[PATCH 2/7] debugobjects: correct the usage of fixup call results

2016-04-22 Thread changbin . du
From: "Du, Changbin" If debug_object_fixup() return non-zero when problem has been fixed. But the code got it backwards, it taks 0 as fixup successfully. So fix it. Signed-off-by: Du, Changbin --- lib/debugobjects.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/debugo

[PATCH 6/7] percpu_counter: update debugobjects fixup callbacks return type

2016-04-22 Thread changbin . du
From: "Du, Changbin" Update the return type to use bool instead of int, corresponding to cheange (debugobjects: make fixup functions return bool instead of int). Signed-off-by: Du, Changbin --- lib/percpu_counter.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/p

[PATCH 0/7] Make debugobjects fixup functions return bool type

2016-04-22 Thread changbin . du
From: "Du, Changbin" Hello, I am going to introduce debugobjects infrastructure to USB subsystem. But before this, I found the code of debugobjects could be improved. This patchset will make fixup functions return bool type instead of int. Because fixup only need report success or no. boolean is

[PATCH 3/7] workqueue: update debugobjects fixup callbacks return type

2016-04-22 Thread changbin . du
From: "Du, Changbin" Update the return type to use bool instead of int, corresponding to cheange (debugobjects: make fixup functions return bool instead of int) Signed-off-by: Du, Changbin --- kernel/workqueue.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff

[PATCH 7/7] Documentation: update debugobjects doc

2016-04-22 Thread changbin . du
From: "Du, Changbin" Update documentation creangponding to change(debugobjects: make fixup functions return bool instead of int). Signed-off-by: Du, Changbin --- Documentation/DocBook/debugobjects.tmpl | 26 ++ 1 file changed, 14 insertions(+), 12 deletions(-) diff --g

[PATCH 4/7] timer: update debugobjects fixup callbacks return type

2016-04-22 Thread changbin . du
From: "Du, Changbin" Update the return type to use bool instead of int, corresponding to cheange (debugobjects: make fixup functions return bool instead of int). Signed-off-by: Du, Changbin --- kernel/time/hrtimer.c | 18 +- kernel/time/timer.c | 30 +++---

[PATCH 5/7] rcu: update debugobjects fixup callbacks return type

2016-04-22 Thread changbin . du
From: "Du, Changbin" Update the return type to use bool instead of int, corresponding to cheange (debugobjects: make fixup functions return bool instead of int). Signed-off-by: Du, Changbin --- kernel/rcu/update.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel

[PATCH 1/7] debugobjects: make fixup functions return bool instead of int

2016-04-22 Thread changbin . du
From: "Du, Changbin" The object debugging infrastructure core provides some fixup callbacks for the subsystem who use it. These callbacks are called from the debug code whenever a problem in debug_object_init is detected. And debugobjects core suppose them returns 1 when the fixup was successful,

Re: [PATCH v5] irqchip, gicv3-its, numa: Enable workaround for Cavium thunderx erratum 23144

2016-04-22 Thread Marc Zyngier
On 21/04/16 18:40, Robert Richter wrote: > On 15.04.16 21:30:05, Robert Richter wrote: >> From: Ganapatrao Kulkarni >> >> The erratum fixes the hang of ITS SYNC command by avoiding inter node >> io and collections/cpu mapping on thunderx dual-socket platform. >> >> This fix is only applicable for

Re: [PATCH v7 00/24] i2c mux cleanup and locking update

2016-04-22 Thread Peter Rosin
Hi Wolfram, Wolfram Sang wrote: > This was the diff of v6: > > > 32 files changed, 1277 insertions(+), 915 deletions(-) > > This is v7: > > > 32 files changed, 1225 insertions(+), 916 deletions(-) > > So, we gained a little overall. And while the individual drivers have a > few lines more no

[PATCH] doc: correct Documentation/x86/x86_64/mm.txt

2016-04-22 Thread Juergen Gross
Correct the size of the module mapping space and the maximum available physical memory size of current processors. Signed-off-by: Juergen Gross --- Documentation/x86/x86_64/mm.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/x86/x86_64/mm.txt b/Document