Re: [RFC PATCH] mtd: rawnand: ams-delta: use ->exec_op()

2018-10-04 Thread Janusz Krzysztofik
On Thursday, October 4, 2018 3:59:33 PM CEST Boris Brezillon wrote: > On Thu, 04 Oct 2018 15:52:57 +0200 > Janusz Krzysztofik wrote: > > > Hi Boris, > > > > On Wednesday, October 3, 2018 4:06:34 PM CEST Boris Brezillon wrote: > > > On Wed, 03 Oct 2018 15:55:25 +0200 > > > Janusz Krzysztofik

Re: [RFC PATCH] mtd: rawnand: ams-delta: use ->exec_op()

2018-10-04 Thread Janusz Krzysztofik
On Thursday, October 4, 2018 3:59:33 PM CEST Boris Brezillon wrote: > On Thu, 04 Oct 2018 15:52:57 +0200 > Janusz Krzysztofik wrote: > > > Hi Boris, > > > > On Wednesday, October 3, 2018 4:06:34 PM CEST Boris Brezillon wrote: > > > On Wed, 03 Oct 2018 15:55:25 +0200 > > > Janusz Krzysztofik

Re: [PATCH v5 12/21] tpm: move pcr extend code to tpm2-cmd.c

2018-10-04 Thread Roberto Sassu
On 10/4/2018 3:46 PM, Winkler, Tomas wrote: On 10/4/2018 1:45 PM, Winkler, Tomas wrote: -Original Message- From: Jarkko Sakkinen [mailto:jarkko.sakki...@linux.intel.com] Sent: Thursday, October 04, 2018 14:35 To: Winkler, Tomas Cc: Jason Gunthorpe ; Nayna Jain ; Usyskin, Alexander

Re: [PATCH v5 12/21] tpm: move pcr extend code to tpm2-cmd.c

2018-10-04 Thread Roberto Sassu
On 10/4/2018 3:46 PM, Winkler, Tomas wrote: On 10/4/2018 1:45 PM, Winkler, Tomas wrote: -Original Message- From: Jarkko Sakkinen [mailto:jarkko.sakki...@linux.intel.com] Sent: Thursday, October 04, 2018 14:35 To: Winkler, Tomas Cc: Jason Gunthorpe ; Nayna Jain ; Usyskin, Alexander

Re: [PATCH RT 1/2] x86/kconfig: Use ticket spinlocks for -rt

2018-10-04 Thread Sebastian Andrzej Siewior
On 2018-10-04 15:46:21 [+0200], Daniel Wagner wrote: > diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig > index 6df130a37d41..21f9418d850f 100644 > --- a/arch/x86/Kconfig > +++ b/arch/x86/Kconfig > @@ -42,7 +42,7 @@ config X86 > select ARCH_USE_BUILTIN_BSWAP > select

Re: [PATCH RT 1/2] x86/kconfig: Use ticket spinlocks for -rt

2018-10-04 Thread Sebastian Andrzej Siewior
On 2018-10-04 15:46:21 [+0200], Daniel Wagner wrote: > diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig > index 6df130a37d41..21f9418d850f 100644 > --- a/arch/x86/Kconfig > +++ b/arch/x86/Kconfig > @@ -42,7 +42,7 @@ config X86 > select ARCH_USE_BUILTIN_BSWAP > select

Re: [PATCH] bcache: add separate workqueue for journal_write to avoid deadlock

2018-10-04 Thread Eddie Chapman
On 28/09/18 03:32, Coly Li wrote: On 9/27/18 11:53 PM, Eddie Chapman wrote: On 27/09/18 16:23, Coly Li wrote: On 9/27/18 9:45 PM, guoju wrote: After write SSD completed, bcache schedule journal_write work to system_wq, that is a public workqueue in system, without WQ_MEM_RECLAIM flag.

Re: [PATCH] bcache: add separate workqueue for journal_write to avoid deadlock

2018-10-04 Thread Eddie Chapman
On 28/09/18 03:32, Coly Li wrote: On 9/27/18 11:53 PM, Eddie Chapman wrote: On 27/09/18 16:23, Coly Li wrote: On 9/27/18 9:45 PM, guoju wrote: After write SSD completed, bcache schedule journal_write work to system_wq, that is a public workqueue in system, without WQ_MEM_RECLAIM flag.

[PATCH 01/11] x86/entry: remove _TIF_ALLWORK_MASK

2018-10-04 Thread Sebastian Andrzej Siewior
There is no user of _TIF_ALLWORK_MASK since commit 21d375b6b34ff ("x86/entry/64: Remove the SYSCALL64 fast path"). Remove unused define _TIF_ALLWORK_MASK. Signed-off-by: Sebastian Andrzej Siewior --- arch/x86/include/asm/thread_info.h | 8 1 file changed, 8 deletions(-) diff --git

[PATCH 01/11] x86/entry: remove _TIF_ALLWORK_MASK

2018-10-04 Thread Sebastian Andrzej Siewior
There is no user of _TIF_ALLWORK_MASK since commit 21d375b6b34ff ("x86/entry/64: Remove the SYSCALL64 fast path"). Remove unused define _TIF_ALLWORK_MASK. Signed-off-by: Sebastian Andrzej Siewior --- arch/x86/include/asm/thread_info.h | 8 1 file changed, 8 deletions(-) diff --git

[PATCH 00/11 v3] x86: load FPU registers on return to userland

2018-10-04 Thread Sebastian Andrzej Siewior
This is a refurbished series originally started by by Rik van Riel. The goal is load the FPU registers on return to userland and not on every context switch. By this optimisation we can: - avoid loading the registers if the task stays in kernel and does not return to userland - make

[PATCH 04/11] x86/fpu: eager switch PKRU state

2018-10-04 Thread Sebastian Andrzej Siewior
From: Rik van Riel While most of a task's FPU state is only needed in user space, the protection keys need to be in place immediately after a context switch. The reason is that any accesses to userspace memory while running in kernel mode also need to abide by the memory permissions specified

[PATCH 00/11 v3] x86: load FPU registers on return to userland

2018-10-04 Thread Sebastian Andrzej Siewior
This is a refurbished series originally started by by Rik van Riel. The goal is load the FPU registers on return to userland and not on every context switch. By this optimisation we can: - avoid loading the registers if the task stays in kernel and does not return to userland - make

[PATCH 04/11] x86/fpu: eager switch PKRU state

2018-10-04 Thread Sebastian Andrzej Siewior
From: Rik van Riel While most of a task's FPU state is only needed in user space, the protection keys need to be in place immediately after a context switch. The reason is that any accesses to userspace memory while running in kernel mode also need to abide by the memory permissions specified

[PATCH 06/11] x86/pkeys: make init_pkru_value static

2018-10-04 Thread Sebastian Andrzej Siewior
The variable init_pkru_value isn't used outside of this file. Make init_pkru_value static. Signed-off-by: Sebastian Andrzej Siewior --- arch/x86/mm/pkeys.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/mm/pkeys.c b/arch/x86/mm/pkeys.c index 4409ada551c5e..a150984171684 100644 ---

[PATCH 03/11] x86/fpu: make __raw_xsave_addr() use feature number instead of mask

2018-10-04 Thread Sebastian Andrzej Siewior
Most users of __raw_xsave_addr() use a feature number, shift it to a mask and then __raw_xsave_addr() shifts it back to the feature number. Make __raw_xsave_addr() use the feature number as argument. Signed-off-by: Sebastian Andrzej Siewior --- arch/x86/kernel/fpu/xstate.c | 16

[PATCH 06/11] x86/pkeys: make init_pkru_value static

2018-10-04 Thread Sebastian Andrzej Siewior
The variable init_pkru_value isn't used outside of this file. Make init_pkru_value static. Signed-off-by: Sebastian Andrzej Siewior --- arch/x86/mm/pkeys.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/mm/pkeys.c b/arch/x86/mm/pkeys.c index 4409ada551c5e..a150984171684 100644 ---

[PATCH 03/11] x86/fpu: make __raw_xsave_addr() use feature number instead of mask

2018-10-04 Thread Sebastian Andrzej Siewior
Most users of __raw_xsave_addr() use a feature number, shift it to a mask and then __raw_xsave_addr() shifts it back to the feature number. Make __raw_xsave_addr() use the feature number as argument. Signed-off-by: Sebastian Andrzej Siewior --- arch/x86/kernel/fpu/xstate.c | 16

[PATCH 07/11] x86/pkeys: Drop the preempt-disable section

2018-10-04 Thread Sebastian Andrzej Siewior
From: Rik van Riel The fpu->initialized flag should not be changed underneath us. This might be a fallout during the removal of the LazyFPU support. The FPU is marked initialized as soon as the state has been set to an initial value. It does not signal if the CPU's FPU registers are loaded.

[PATCH 05/11] x86/fpu: set PKRU state for kernel threads

2018-10-04 Thread Sebastian Andrzej Siewior
The PKRU value is not set for kernel threads because they do not have the ->initialized value set. As a result the kernel thread has a random PKRU value set which it inherits from the previous task. It has been suggested by Paolo Bonzini to set it for kernel threads, too because it might be a fix.

[PATCH 07/11] x86/pkeys: Drop the preempt-disable section

2018-10-04 Thread Sebastian Andrzej Siewior
From: Rik van Riel The fpu->initialized flag should not be changed underneath us. This might be a fallout during the removal of the LazyFPU support. The FPU is marked initialized as soon as the state has been set to an initial value. It does not signal if the CPU's FPU registers are loaded.

[PATCH 05/11] x86/fpu: set PKRU state for kernel threads

2018-10-04 Thread Sebastian Andrzej Siewior
The PKRU value is not set for kernel threads because they do not have the ->initialized value set. As a result the kernel thread has a random PKRU value set which it inherits from the previous task. It has been suggested by Paolo Bonzini to set it for kernel threads, too because it might be a fix.

[PATCH 09/11] x86/entry: add TIF_LOAD_FPU

2018-10-04 Thread Sebastian Andrzej Siewior
Add TIF_LOAD_FPU. This is reserved for loading the FPU registers before returning to userpace. This flag must not be set for systems without a FPU. It is introduced now, so we can add code handling it now before adding the main feature. Signed-off-by: Sebastian Andrzej Siewior ---

[PATCH 08/11] x86/fpu: Always store the registers in copy_fpstate_to_sigframe()

2018-10-04 Thread Sebastian Andrzej Siewior
From: Rik van Riel copy_fpstate_to_sigframe() has two callers and both invoke the function only if fpu->initialized is set. So the check in the function for ->initialized makes no sense. It might be a relict from the lazy-FPU time: If the FPU registers were "loaded" then we could save them

[PATCH 09/11] x86/entry: add TIF_LOAD_FPU

2018-10-04 Thread Sebastian Andrzej Siewior
Add TIF_LOAD_FPU. This is reserved for loading the FPU registers before returning to userpace. This flag must not be set for systems without a FPU. It is introduced now, so we can add code handling it now before adding the main feature. Signed-off-by: Sebastian Andrzej Siewior ---

[PATCH 08/11] x86/fpu: Always store the registers in copy_fpstate_to_sigframe()

2018-10-04 Thread Sebastian Andrzej Siewior
From: Rik van Riel copy_fpstate_to_sigframe() has two callers and both invoke the function only if fpu->initialized is set. So the check in the function for ->initialized makes no sense. It might be a relict from the lazy-FPU time: If the FPU registers were "loaded" then we could save them

[PATCH 10/11] x86/fpu: prepare copy_fpstate_to_sigframe for TIF_LOAD_FPU

2018-10-04 Thread Sebastian Andrzej Siewior
From: Rik van Riel If TIF_LOAD_FPU is set, then the registers are saved (not loaded). In that case we skip the saving part. Signed-off-by: Rik van Riel Signed-off-by: Sebastian Andrzej Siewior --- arch/x86/kernel/fpu/signal.c | 16 ++-- 1 file changed, 10 insertions(+), 6

[PATCH 10/11] x86/fpu: prepare copy_fpstate_to_sigframe for TIF_LOAD_FPU

2018-10-04 Thread Sebastian Andrzej Siewior
From: Rik van Riel If TIF_LOAD_FPU is set, then the registers are saved (not loaded). In that case we skip the saving part. Signed-off-by: Rik van Riel Signed-off-by: Sebastian Andrzej Siewior --- arch/x86/kernel/fpu/signal.c | 16 ++-- 1 file changed, 10 insertions(+), 6

[PATCH 11/11] x86/fpu: defer FPU state load until return to userspace

2018-10-04 Thread Sebastian Andrzej Siewior
From: Rik van Riel Defer loading of FPU state until return to userspace. This gives the kernel the potential to skip loading FPU state for tasks that stay in kernel mode, or for tasks that end up with repeated invocations of kernel_fpu_begin. It also increases the chances that a task's FPU

[PATCH 11/11] x86/fpu: defer FPU state load until return to userspace

2018-10-04 Thread Sebastian Andrzej Siewior
From: Rik van Riel Defer loading of FPU state until return to userspace. This gives the kernel the potential to skip loading FPU state for tasks that stay in kernel mode, or for tasks that end up with repeated invocations of kernel_fpu_begin. It also increases the chances that a task's FPU

[PATCH 02/11] x86/fpu: add (__)make_fpregs_active helpers

2018-10-04 Thread Sebastian Andrzej Siewior
From: Rik van Riel Add helper function that ensures the floating point registers for the current task are active. Use with preemption disabled. Signed-off-by: Rik van Riel Signed-off-by: Sebastian Andrzej Siewior --- arch/x86/include/asm/fpu/internal.h | 27 ++- 1

[PATCH RT 1/2] x86/kconfig: Use ticket spinlocks for -rt

2018-10-04 Thread Daniel Wagner
v4.4.148-rt166-rc1 stable review patch. If anyone has any objections, please let me know. --- Sebastian writes: """ We reproducibly observe cache line starvation on a Core2Duo E6850 (2 cores), a i5-6400 SKL (4 cores) and on a NXP LS2044A ARM Cortex-A72 (4 cores). The problem can be

[PATCH 02/11] x86/fpu: add (__)make_fpregs_active helpers

2018-10-04 Thread Sebastian Andrzej Siewior
From: Rik van Riel Add helper function that ensures the floating point registers for the current task are active. Use with preemption disabled. Signed-off-by: Rik van Riel Signed-off-by: Sebastian Andrzej Siewior --- arch/x86/include/asm/fpu/internal.h | 27 ++- 1

[PATCH RT 1/2] x86/kconfig: Use ticket spinlocks for -rt

2018-10-04 Thread Daniel Wagner
v4.4.148-rt166-rc1 stable review patch. If anyone has any objections, please let me know. --- Sebastian writes: """ We reproducibly observe cache line starvation on a Core2Duo E6850 (2 cores), a i5-6400 SKL (4 cores) and on a NXP LS2044A ARM Cortex-A72 (4 cores). The problem can be

[PATCH] media: ivtv: make const array addr_list static

2018-10-04 Thread Colin King
From: Colin Ian King The const array addr_list can be made static, saves populating it on the stack and will make it read-only. Signed-off-by: Colin Ian King --- drivers/media/pci/ivtv/ivtv-i2c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH] media: ivtv: make const array addr_list static

2018-10-04 Thread Colin King
From: Colin Ian King The const array addr_list can be made static, saves populating it on the stack and will make it read-only. Signed-off-by: Colin Ian King --- drivers/media/pci/ivtv/ivtv-i2c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH v6 09/10] dt-binding: mtd: Document gpio-addr-flash

2018-10-04 Thread Boris Brezillon
On Thu, 4 Oct 2018 15:01:09 +0200 Ricardo Ribalda Delgado wrote: > Add documentation for gpio-addr-flash. This binding allow creating > flash devices that are paged using GPIOs. > > Cc: devicet...@vger.kernel.org > Reviewed-by: Rob Herring > Signed-off-by: Ricardo Ribalda Delgado > --- >

Re: [PATCH v6 09/10] dt-binding: mtd: Document gpio-addr-flash

2018-10-04 Thread Boris Brezillon
On Thu, 4 Oct 2018 15:01:09 +0200 Ricardo Ribalda Delgado wrote: > Add documentation for gpio-addr-flash. This binding allow creating > flash devices that are paged using GPIOs. > > Cc: devicet...@vger.kernel.org > Reviewed-by: Rob Herring > Signed-off-by: Ricardo Ribalda Delgado > --- >

Re: [RFC PATCH] mtd: rawnand: ams-delta: use ->exec_op()

2018-10-04 Thread Boris Brezillon
On Thu, 04 Oct 2018 15:52:57 +0200 Janusz Krzysztofik wrote: > Hi Boris, > > On Wednesday, October 3, 2018 4:06:34 PM CEST Boris Brezillon wrote: > > On Wed, 03 Oct 2018 15:55:25 +0200 > > Janusz Krzysztofik wrote: > > > > > > > > > > > > Implementation of NAND_OP_WAITRDY_INSTR has been

Re: [RFC PATCH] mtd: rawnand: ams-delta: use ->exec_op()

2018-10-04 Thread Boris Brezillon
On Thu, 04 Oct 2018 15:52:57 +0200 Janusz Krzysztofik wrote: > Hi Boris, > > On Wednesday, October 3, 2018 4:06:34 PM CEST Boris Brezillon wrote: > > On Wed, 03 Oct 2018 15:55:25 +0200 > > Janusz Krzysztofik wrote: > > > > > > > > > > > > Implementation of NAND_OP_WAITRDY_INSTR has been

Re: [PATCH] PM / core: Clear the direct_complete flag on errors

2018-10-04 Thread Alan Cooper
> On 4 October 2018 at 11:08, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > If __device_suspend() returns early on an error or pending wakeup > > and the power.direct_complete flag has been set for the device > > already, the subsequent device_resume() will be confused by it > >

Re: [PATCH] PM / core: Clear the direct_complete flag on errors

2018-10-04 Thread Alan Cooper
> On 4 October 2018 at 11:08, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > If __device_suspend() returns early on an error or pending wakeup > > and the power.direct_complete flag has been set for the device > > already, the subsequent device_resume() will be confused by it > >

[PATCH] power: max8925: mark expected switch fall-through

2018-10-04 Thread Gustavo A. R. Silva
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Addresses-Coverity-ID: 201510 ("Missing break in switch") Signed-off-by: Gustavo A. R. Silva --- drivers/power/supply/max8925_power.c | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH] power: max8925: mark expected switch fall-through

2018-10-04 Thread Gustavo A. R. Silva
In preparation to enabling -Wimplicit-fallthrough, mark switch cases where we are expecting to fall through. Addresses-Coverity-ID: 201510 ("Missing break in switch") Signed-off-by: Gustavo A. R. Silva --- drivers/power/supply/max8925_power.c | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH RT 2/2] Linux 4.4.148-rt166-rc1

2018-10-04 Thread Daniel Wagner
v4.4.148-rt166-rc1 stable review patch. If anyone has any objections, please let me know. --- Signed-off-by: Daniel Wagner --- localversion-rt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localversion-rt b/localversion-rt index 2c9cfa2ea86c..f3735ed9a3c0 100644

[PATCH RT 2/2] Linux 4.4.148-rt166-rc1

2018-10-04 Thread Daniel Wagner
v4.4.148-rt166-rc1 stable review patch. If anyone has any objections, please let me know. --- Signed-off-by: Daniel Wagner --- localversion-rt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localversion-rt b/localversion-rt index 2c9cfa2ea86c..f3735ed9a3c0 100644

Re: [PATCH] regulator: fixed: Use more standard GPIO binding

2018-10-04 Thread Mark Brown
On Thu, Oct 04, 2018 at 01:32:13PM +0200, Linus Walleij wrote: > On Thu, Oct 4, 2018 at 12:50 PM Mark Brown wrote: > > On Thu, Oct 04, 2018 at 11:06:54AM +0200, Linus Walleij wrote: > > > Optional properties: > > > -- gpio: gpio to use for enable control > > > +- gpios: gpio to use for enable

Re: [PATCH] regulator: fixed: Use more standard GPIO binding

2018-10-04 Thread Mark Brown
On Thu, Oct 04, 2018 at 01:32:13PM +0200, Linus Walleij wrote: > On Thu, Oct 4, 2018 at 12:50 PM Mark Brown wrote: > > On Thu, Oct 04, 2018 at 11:06:54AM +0200, Linus Walleij wrote: > > > Optional properties: > > > -- gpio: gpio to use for enable control > > > +- gpios: gpio to use for enable

Re: [RFC PATCH] mtd: rawnand: ams-delta: use ->exec_op()

2018-10-04 Thread Janusz Krzysztofik
Hi Boris, On Wednesday, October 3, 2018 4:06:34 PM CEST Boris Brezillon wrote: > On Wed, 03 Oct 2018 15:55:25 +0200 > Janusz Krzysztofik wrote: > > > > > > > > > Implementation of NAND_OP_WAITRDY_INSTR has been based on legacy > > > > nand_wait_ready(), > > > > > > I don't remember what

Re: [RFC PATCH] mtd: rawnand: ams-delta: use ->exec_op()

2018-10-04 Thread Janusz Krzysztofik
Hi Boris, On Wednesday, October 3, 2018 4:06:34 PM CEST Boris Brezillon wrote: > On Wed, 03 Oct 2018 15:55:25 +0200 > Janusz Krzysztofik wrote: > > > > > > > > > Implementation of NAND_OP_WAITRDY_INSTR has been based on legacy > > > > nand_wait_ready(), > > > > > > I don't remember what

Re: [SCHEDULER] Performance drop in 4.19 compared to 4.18 kernel

2018-10-04 Thread Jon Masters
On 9/7/18 5:34 AM, Jirka Hladky wrote: > We would also be more than happy to test the new patches for the > performance - please let us know if you are interested. We have a > pool of 1 NUMA up to 8 NUMA boxes for that, both AMD and Intel, > covering different CPU generations from Sandy Bridge

Re: [SCHEDULER] Performance drop in 4.19 compared to 4.18 kernel

2018-10-04 Thread Jon Masters
On 9/7/18 5:34 AM, Jirka Hladky wrote: > We would also be more than happy to test the new patches for the > performance - please let us know if you are interested. We have a > pool of 1 NUMA up to 8 NUMA boxes for that, both AMD and Intel, > covering different CPU generations from Sandy Bridge

Re: [PATCH] rtc: m41t80: fix fall-through annotation

2018-10-04 Thread Gustavo A. R. Silva
On 10/4/18 2:53 PM, Alexandre Belloni wrote: > Hi, > > On 04/10/2018 14:35:28+0200, Gustavo A. R. Silva wrote: >> Replace "Fall" with a proper "Fall through" annotation. >> >> This fix is part of the ongoing efforts to enabling >> -Wimplicit-fallthrough >> > > Can we agree that this is

Re: [PATCH] rtc: m41t80: fix fall-through annotation

2018-10-04 Thread Gustavo A. R. Silva
On 10/4/18 2:53 PM, Alexandre Belloni wrote: > Hi, > > On 04/10/2018 14:35:28+0200, Gustavo A. R. Silva wrote: >> Replace "Fall" with a proper "Fall through" annotation. >> >> This fix is part of the ongoing efforts to enabling >> -Wimplicit-fallthrough >> > > Can we agree that this is

Re: [PATCH v9 03/11] PM / Domains: Document flags for genpd

2018-10-04 Thread Tony Lindgren
Hi, * Ulf Hansson [181003 14:43]: > + * GENPD_FLAG_IRQ_SAFE: This informs genpd that its backend > callbacks, > + * ->power_on|off(), doesn't sleep. Hence, these > + * can be invoked from within atomic context, which > + *

Re: [PATCH v9 03/11] PM / Domains: Document flags for genpd

2018-10-04 Thread Tony Lindgren
Hi, * Ulf Hansson [181003 14:43]: > + * GENPD_FLAG_IRQ_SAFE: This informs genpd that its backend > callbacks, > + * ->power_on|off(), doesn't sleep. Hence, these > + * can be invoked from within atomic context, which > + *

[PATCH] kernel/sysctl.c: remove duplicated include

2018-10-04 Thread Michael Schupikov
Remove one include of . No functional changes. Signed-off-by: Michael Schupikov --- kernel/sysctl.c | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/sysctl.c b/kernel/sysctl.c index cc02050fd0c4..523cb36b72eb 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c @@ -66,7 +66,6 @@

[PATCH] kernel/sysctl.c: remove duplicated include

2018-10-04 Thread Michael Schupikov
Remove one include of . No functional changes. Signed-off-by: Michael Schupikov --- kernel/sysctl.c | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/sysctl.c b/kernel/sysctl.c index cc02050fd0c4..523cb36b72eb 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c @@ -66,7 +66,6 @@

Re: linux-next: Tree for Oct 4

2018-10-04 Thread Guenter Roeck
On Thu, Oct 04, 2018 at 06:34:49PM +1000, Stephen Rothwell wrote: > Hi all, > > Changes since 20181003: > > The bpf-next tree still had its build failure so I used the version > from next-20181002. > > The kvm-arm tree gained conflicts against the arm64 tree. > > The tty tree gained a build

Re: linux-next: Tree for Oct 4

2018-10-04 Thread Guenter Roeck
On Thu, Oct 04, 2018 at 06:34:49PM +1000, Stephen Rothwell wrote: > Hi all, > > Changes since 20181003: > > The bpf-next tree still had its build failure so I used the version > from next-20181002. > > The kvm-arm tree gained conflicts against the arm64 tree. > > The tty tree gained a build

RE: [PATCH v5 12/21] tpm: move pcr extend code to tpm2-cmd.c

2018-10-04 Thread Winkler, Tomas
> > On 10/4/2018 1:45 PM, Winkler, Tomas wrote: > > > > > >> -Original Message- > >> From: Jarkko Sakkinen [mailto:jarkko.sakki...@linux.intel.com] > >> Sent: Thursday, October 04, 2018 14:35 > >> To: Winkler, Tomas > >> Cc: Jason Gunthorpe ; Nayna Jain > >> ; Usyskin, Alexander > >> ;

RE: [PATCH v5 12/21] tpm: move pcr extend code to tpm2-cmd.c

2018-10-04 Thread Winkler, Tomas
> > On 10/4/2018 1:45 PM, Winkler, Tomas wrote: > > > > > >> -Original Message- > >> From: Jarkko Sakkinen [mailto:jarkko.sakki...@linux.intel.com] > >> Sent: Thursday, October 04, 2018 14:35 > >> To: Winkler, Tomas > >> Cc: Jason Gunthorpe ; Nayna Jain > >> ; Usyskin, Alexander > >> ;

[PATCH V2 0/4] Add TIOCM Signals support for RPMSG char devices

2018-10-04 Thread Arun Kumar Neelakantam
Glink transport support signals to exchange state notification between local and remote side clients. Adding support to send/receive the signal command and notify the clients through callback and POLL notification. Changes since v1: - Split the patches as per functional areas like core, char,

Re: [PATCH v9 5/5] lib/dlock-list: Scale dlock_lists_empty()

2018-10-04 Thread Waiman Long
On 10/04/2018 03:16 AM, Jan Kara wrote: > On Wed 12-09-18 15:28:52, Waiman Long wrote: >> From: Davidlohr Bueso >> >> Instead of the current O(N) implementation, at the cost >> of adding an atomic counter, we can convert the call to >> an atomic_read(). The counter only serves for accounting >>

[PATCH V2 0/4] Add TIOCM Signals support for RPMSG char devices

2018-10-04 Thread Arun Kumar Neelakantam
Glink transport support signals to exchange state notification between local and remote side clients. Adding support to send/receive the signal command and notify the clients through callback and POLL notification. Changes since v1: - Split the patches as per functional areas like core, char,

Re: [PATCH v9 5/5] lib/dlock-list: Scale dlock_lists_empty()

2018-10-04 Thread Waiman Long
On 10/04/2018 03:16 AM, Jan Kara wrote: > On Wed 12-09-18 15:28:52, Waiman Long wrote: >> From: Davidlohr Bueso >> >> Instead of the current O(N) implementation, at the cost >> of adding an atomic counter, we can convert the call to >> an atomic_read(). The counter only serves for accounting >>

[PATCH V2 3/4] rpmsg: char: Add TIOCMGET/TIOCMSET ioctl support

2018-10-04 Thread Arun Kumar Neelakantam
Add TICOMGET and TIOCMSET ioctl support for rpmsg char device nodes to get/set the low level transport signals. Signed-off-by: Arun Kumar Neelakantam --- drivers/rpmsg/rpmsg_char.c | 54 +++--- 1 file changed, 51 insertions(+), 3 deletions(-) diff --git

[PATCH V2 3/4] rpmsg: char: Add TIOCMGET/TIOCMSET ioctl support

2018-10-04 Thread Arun Kumar Neelakantam
Add TICOMGET and TIOCMSET ioctl support for rpmsg char device nodes to get/set the low level transport signals. Signed-off-by: Arun Kumar Neelakantam --- drivers/rpmsg/rpmsg_char.c | 54 +++--- 1 file changed, 51 insertions(+), 3 deletions(-) diff --git

[PATCH v8 01/10] mtd: physmap_of: Release resources on error

2018-10-04 Thread Ricardo Ribalda Delgado
During probe, if there was an error the memory region and the memory map were not properly released.This can lead a system unusable if deferred probe is in use. Replace mem_request and map with devm_ioremap_resource Signed-off-by: Ricardo Ribalda Delgado --- drivers/mtd/maps/physmap_of_core.c

[PATCH v8 01/10] mtd: physmap_of: Release resources on error

2018-10-04 Thread Ricardo Ribalda Delgado
During probe, if there was an error the memory region and the memory map were not properly released.This can lead a system unusable if deferred probe is in use. Replace mem_request and map with devm_ioremap_resource Signed-off-by: Ricardo Ribalda Delgado --- drivers/mtd/maps/physmap_of_core.c

[PATCH V2 2/4] rpmsg: glink: Add support to handle signals command

2018-10-04 Thread Arun Kumar Neelakantam
Remote peripherals send signal notifications over glink with commandID 15. Add support to send and receive the signal command and convert the signals from NATIVE to TIOCM while receiving and vice versa while sending. Signed-off-by: Chris Lew Signed-off-by: Arun Kumar Neelakantam ---

[PATCH] pinctrl: sirf: make const array rsc_ids static

2018-10-04 Thread Colin King
From: Colin Ian King The const array rsc_ids can be made static, saves populating it on the stack and will make it read-only. Signed-off-by: Colin Ian King --- drivers/pinctrl/sirf/pinctrl-sirf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH V2 4/4] rpmsg: char: Add signal callback and POLLPRI support

2018-10-04 Thread Arun Kumar Neelakantam
Register a callback to get the signal notifications from rpmsg and send POLLPRI mask to indicate the signal change in POLL system call. Signed-off-by: Arun Kumar Neelakantam --- drivers/rpmsg/rpmsg_char.c | 21 + 1 file changed, 21 insertions(+) diff --git

[PATCH V2 1/4] rpmsg: core: Add signal API support

2018-10-04 Thread Arun Kumar Neelakantam
Some transports like Glink support the state notifications between clients using signals similar to serial protocol signals. Signed-off-by: Chris Lew Signed-off-by: Arun Kumar Neelakantam --- drivers/rpmsg/rpmsg_core.c | 42 ++

[PATCH V2 2/4] rpmsg: glink: Add support to handle signals command

2018-10-04 Thread Arun Kumar Neelakantam
Remote peripherals send signal notifications over glink with commandID 15. Add support to send and receive the signal command and convert the signals from NATIVE to TIOCM while receiving and vice versa while sending. Signed-off-by: Chris Lew Signed-off-by: Arun Kumar Neelakantam ---

[PATCH] pinctrl: sirf: make const array rsc_ids static

2018-10-04 Thread Colin King
From: Colin Ian King The const array rsc_ids can be made static, saves populating it on the stack and will make it read-only. Signed-off-by: Colin Ian King --- drivers/pinctrl/sirf/pinctrl-sirf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH V2 4/4] rpmsg: char: Add signal callback and POLLPRI support

2018-10-04 Thread Arun Kumar Neelakantam
Register a callback to get the signal notifications from rpmsg and send POLLPRI mask to indicate the signal change in POLL system call. Signed-off-by: Arun Kumar Neelakantam --- drivers/rpmsg/rpmsg_char.c | 21 + 1 file changed, 21 insertions(+) diff --git

[PATCH V2 1/4] rpmsg: core: Add signal API support

2018-10-04 Thread Arun Kumar Neelakantam
Some transports like Glink support the state notifications between clients using signals similar to serial protocol signals. Signed-off-by: Chris Lew Signed-off-by: Arun Kumar Neelakantam --- drivers/rpmsg/rpmsg_core.c | 42 ++

Re: [GIT PULL] parisc fixes for kernel v4.19

2018-10-04 Thread Arnd Bergmann
On Thu, Oct 4, 2018 at 10:42 AM Helge Deller wrote: > On 04.10.2018 01:02, gregkh wrote: > > On Wed, Oct 03, 2018 at 09:49:08PM +0200, Arnd Bergmann wrote: > >> On Wed, Oct 3, 2018 at 8:16 PM Greg Kroah-Hartman > >> wrote: > >>> On Wed, Oct 03, 2018 at 04:47:30PM +0200, Helge Deller wrote: >

Re: [GIT PULL] parisc fixes for kernel v4.19

2018-10-04 Thread Arnd Bergmann
On Thu, Oct 4, 2018 at 10:42 AM Helge Deller wrote: > On 04.10.2018 01:02, gregkh wrote: > > On Wed, Oct 03, 2018 at 09:49:08PM +0200, Arnd Bergmann wrote: > >> On Wed, Oct 3, 2018 at 8:16 PM Greg Kroah-Hartman > >> wrote: > >>> On Wed, Oct 03, 2018 at 04:47:30PM +0200, Helge Deller wrote: >

Re: [PATCH 4/4] PCI: imx: Add PME_Turn_Off support

2018-10-04 Thread Lucas Stach
Am Donnerstag, den 04.10.2018, 15:25 +0200 schrieb Philipp Zabel: > On Thu, 2018-10-04 at 13:20 +, Leonard Crestez wrote: > > On Thu, 2018-10-04 at 10:59 +0200, Lucas Stach wrote: > > > Am Montag, den 01.10.2018, 22:53 +0300 schrieb Leonard Crestez: > > > > When the root complex suspends it

Re: [PATCH 4/4] PCI: imx: Add PME_Turn_Off support

2018-10-04 Thread Lucas Stach
Am Donnerstag, den 04.10.2018, 15:25 +0200 schrieb Philipp Zabel: > On Thu, 2018-10-04 at 13:20 +, Leonard Crestez wrote: > > On Thu, 2018-10-04 at 10:59 +0200, Lucas Stach wrote: > > > Am Montag, den 01.10.2018, 22:53 +0300 schrieb Leonard Crestez: > > > > When the root complex suspends it

[PATCH v8 10/10] mtd: maps: gpio-addr-flash: Add support for device-tree devices

2018-10-04 Thread Ricardo Ribalda Delgado
Allow creating gpio-addr-flash via device-tree and not just via platform data. Mimic what physmap_of_versatile and physmap_of_gemini does to reduce code duplicity. Signed-off-by: Ricardo Ribalda Delgado --- drivers/mtd/maps/Kconfig | 8 +++ drivers/mtd/maps/Makefile | 3 +-

[PATCH v8 10/10] mtd: maps: gpio-addr-flash: Add support for device-tree devices

2018-10-04 Thread Ricardo Ribalda Delgado
Allow creating gpio-addr-flash via device-tree and not just via platform data. Mimic what physmap_of_versatile and physmap_of_gemini does to reduce code duplicity. Signed-off-by: Ricardo Ribalda Delgado --- drivers/mtd/maps/Kconfig | 8 +++ drivers/mtd/maps/Makefile | 3 +-

[PATCH v8 01/10] mtd: physmap_of: Release resources on error

2018-10-04 Thread Ricardo Ribalda Delgado
During probe, if there was an error the memory region and the memory map were not properly released.This can lead a system unusable if deferred probe is in use. Replace mem_request and map with devm_ioremap_resource Signed-off-by: Ricardo Ribalda Delgado --- drivers/mtd/maps/physmap_of_core.c

[PATCH v8 01/10] mtd: physmap_of: Release resources on error

2018-10-04 Thread Ricardo Ribalda Delgado
During probe, if there was an error the memory region and the memory map were not properly released.This can lead a system unusable if deferred probe is in use. Replace mem_request and map with devm_ioremap_resource Signed-off-by: Ricardo Ribalda Delgado --- drivers/mtd/maps/physmap_of_core.c

Re: [RFC 00/60] Coscheduling for Linux

2018-10-04 Thread Jon Masters
On 9/7/18 5:39 PM, Jan H. Schönherr wrote: > The collective context switch from one coscheduled set of tasks to another > -- while fast -- is not atomic. If a use-case needs the absolute guarantee > that all tasks of the previous set have stopped executing before any task > of the next set starts

Re: [RFC 00/60] Coscheduling for Linux

2018-10-04 Thread Jon Masters
On 9/7/18 5:39 PM, Jan H. Schönherr wrote: > The collective context switch from one coscheduled set of tasks to another > -- while fast -- is not atomic. If a use-case needs the absolute guarantee > that all tasks of the previous set have stopped executing before any task > of the next set starts

Re: [RFC PATCH v2 2/9] dt-bindings: ti-lmu: Remove LM3697

2018-10-04 Thread Dan Murphy
Jacek On 10/03/2018 03:46 PM, Jacek Anaszewski wrote: > On 10/03/2018 03:01 PM, Pavel Machek wrote: >> On Wed 2018-10-03 07:24:23, Dan Murphy wrote: >>> Hello >>> >>> On 10/02/2018 02:28 AM, Pavel Machek wrote: On Fri 2018-09-28 13:29:47, Dan Murphy wrote: > Remove support for the LM3697

Re: [RFC PATCH v2 2/9] dt-bindings: ti-lmu: Remove LM3697

2018-10-04 Thread Dan Murphy
Jacek On 10/03/2018 03:46 PM, Jacek Anaszewski wrote: > On 10/03/2018 03:01 PM, Pavel Machek wrote: >> On Wed 2018-10-03 07:24:23, Dan Murphy wrote: >>> Hello >>> >>> On 10/02/2018 02:28 AM, Pavel Machek wrote: On Fri 2018-09-28 13:29:47, Dan Murphy wrote: > Remove support for the LM3697

Re: [PATCH 4/4] PCI: imx: Add PME_Turn_Off support

2018-10-04 Thread Philipp Zabel
On Thu, 2018-10-04 at 13:20 +, Leonard Crestez wrote: > On Thu, 2018-10-04 at 10:59 +0200, Lucas Stach wrote: > > Am Montag, den 01.10.2018, 22:53 +0300 schrieb Leonard Crestez: > > > When the root complex suspends it must send a PME_Turn_Off TLP. > > > Implement this by asserting the

Re: [PATCH 4/4] PCI: imx: Add PME_Turn_Off support

2018-10-04 Thread Philipp Zabel
On Thu, 2018-10-04 at 13:20 +, Leonard Crestez wrote: > On Thu, 2018-10-04 at 10:59 +0200, Lucas Stach wrote: > > Am Montag, den 01.10.2018, 22:53 +0300 schrieb Leonard Crestez: > > > When the root complex suspends it must send a PME_Turn_Off TLP. > > > Implement this by asserting the

Re: [PATCH] PM / core: Clear the direct_complete flag on errors

2018-10-04 Thread Ulf Hansson
On 4 October 2018 at 11:08, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > If __device_suspend() returns early on an error or pending wakeup > and the power.direct_complete flag has been set for the device > already, the subsequent device_resume() will be confused by it > and it will

Re: [PATCH] PM / core: Clear the direct_complete flag on errors

2018-10-04 Thread Ulf Hansson
On 4 October 2018 at 11:08, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > If __device_suspend() returns early on an error or pending wakeup > and the power.direct_complete flag has been set for the device > already, the subsequent device_resume() will be confused by it > and it will

Re: [PATCH 4/4] PCI: imx: Add PME_Turn_Off support

2018-10-04 Thread Leonard Crestez
On Thu, 2018-10-04 at 10:59 +0200, Lucas Stach wrote: > Am Montag, den 01.10.2018, 22:53 +0300 schrieb Leonard Crestez: > > When the root complex suspends it must send a PME_Turn_Off TLP. > > Implement this by asserting the "turnoff" reset. > > > > +static void imx6_pcie_pm_turnoff(struct

Re: [PATCH 4/4] PCI: imx: Add PME_Turn_Off support

2018-10-04 Thread Leonard Crestez
On Thu, 2018-10-04 at 10:59 +0200, Lucas Stach wrote: > Am Montag, den 01.10.2018, 22:53 +0300 schrieb Leonard Crestez: > > When the root complex suspends it must send a PME_Turn_Off TLP. > > Implement this by asserting the "turnoff" reset. > > > > +static void imx6_pcie_pm_turnoff(struct

Re: [PATCH V2 2/3] dt-bindings: mmc: sdhci-msm: Add entries for passing load values

2018-10-04 Thread Veerabhadrarao Badiganti
On 9/22/2018 1:36 AM, Evan Green wrote: On Fri, Sep 21, 2018 at 3:32 AM Veerabhadrarao Badiganti wrote: Hi Evan, On 9/21/2018 5:45 AM, Evan Green wrote: On Wed, Sep 19, 2018 at 11:24 PM Veerabhadrarao Badiganti wrote: From: Vijay Viswanath The load a particular sdhc controller should

Re: [PATCH V2 2/3] dt-bindings: mmc: sdhci-msm: Add entries for passing load values

2018-10-04 Thread Veerabhadrarao Badiganti
On 9/22/2018 1:36 AM, Evan Green wrote: On Fri, Sep 21, 2018 at 3:32 AM Veerabhadrarao Badiganti wrote: Hi Evan, On 9/21/2018 5:45 AM, Evan Green wrote: On Wed, Sep 19, 2018 at 11:24 PM Veerabhadrarao Badiganti wrote: From: Vijay Viswanath The load a particular sdhc controller should

Re: [PATCH v6 02/10] mtd: physmap_of: Remove unused struct of_device_id

2018-10-04 Thread Boris Brezillon
On Thu, 4 Oct 2018 15:01:02 +0200 Ricardo Ribalda Delgado wrote: > This struct does not seem to be used anywhere on the code > > Signed-off-by: Ricardo Ribalda Delgado Already queued that one. > --- > drivers/mtd/maps/physmap_of_gemini.c | 5 - > 1 file changed, 5 deletions(-) > >

[PATCH v4 0/6] arm64: dts: NXP: add basic dts file for LX2160A SoC

2018-10-04 Thread Vabhav Sharma
Changes for v4: -Updated bindings for lx2160a clockgen and dcfg -Modified commit message for lx2160a clockgen changes -Updated interrupt property with macro definition -Added required enable-method property to each core node with psci value -Removed unused node syscon in device tree -Removed blank

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