Re: [RFC][PATCH 1/2] memcg: Ensure every task that uses an mm is in the same memory cgroup

2018-06-06 Thread Michal Hocko
On Fri 01-06-18 09:53:09, Eric W. Biederman wrote: [...] > +static int mem_cgroup_mm_can_attach(struct cgroup_taskset *tset) > +{ > + struct cgroup_subsys_state *css, *tcss; > + struct task_struct *p, *t; > + struct mm_struct *mm = NULL; > + int ret = -EINVAL; > + > + /* > +

Re: [RFC][PATCH 1/2] memcg: Ensure every task that uses an mm is in the same memory cgroup

2018-06-06 Thread Michal Hocko
On Fri 01-06-18 09:53:09, Eric W. Biederman wrote: [...] > +static int mem_cgroup_mm_can_attach(struct cgroup_taskset *tset) > +{ > + struct cgroup_subsys_state *css, *tcss; > + struct task_struct *p, *t; > + struct mm_struct *mm = NULL; > + int ret = -EINVAL; > + > + /* > +

Re: [PATCH v3 3/6] mtd: rawnand: tegra: add devicetree binding

2018-06-06 Thread Thierry Reding
On Wed, Jun 06, 2018 at 12:45:40PM +0200, Boris Brezillon wrote: > Hi Thierry, > > On Wed, 6 Jun 2018 12:39:03 +0200 > Thierry Reding wrote: > > > On Tue, Jun 05, 2018 at 11:19:14PM +0300, Dmitry Osipenko wrote: > > > On 01.06.2018 10:30, Boris Brezillon wrote: > > > > On Fri, 1 Jun 2018

Re: [PATCH v3 3/6] mtd: rawnand: tegra: add devicetree binding

2018-06-06 Thread Thierry Reding
On Wed, Jun 06, 2018 at 12:45:40PM +0200, Boris Brezillon wrote: > Hi Thierry, > > On Wed, 6 Jun 2018 12:39:03 +0200 > Thierry Reding wrote: > > > On Tue, Jun 05, 2018 at 11:19:14PM +0300, Dmitry Osipenko wrote: > > > On 01.06.2018 10:30, Boris Brezillon wrote: > > > > On Fri, 1 Jun 2018

Re: [PATCH v5 6/6] tty/serial: atmel: changed the driver to work under at91-usart mfd

2018-06-06 Thread Richard Genoud
Typo in the subject: changed->change On 04/06/2018 18:59, Radu Pirea wrote: > This patch modifies the place where resources and device tree properties > are searched. > > Signed-off-by: Radu Pirea > --- > drivers/tty/serial/Kconfig| 1 + > drivers/tty/serial/atmel_serial.c | 41

Re: [PATCH v2 5/5] memory: tegra: Introduce Tegra20 EMC driver

2018-06-06 Thread Thierry Reding
On Mon, Jun 04, 2018 at 01:36:54AM +0300, Dmitry Osipenko wrote: > Introduce driver for the External Memory Controller (EMC) found on Tegra20 > chips, which controls the external DRAM on the board. The purpose of this > driver is to program memory timing for external memory on the EMC clock > rate

Re: [PATCH v5 6/6] tty/serial: atmel: changed the driver to work under at91-usart mfd

2018-06-06 Thread Richard Genoud
Typo in the subject: changed->change On 04/06/2018 18:59, Radu Pirea wrote: > This patch modifies the place where resources and device tree properties > are searched. > > Signed-off-by: Radu Pirea > --- > drivers/tty/serial/Kconfig| 1 + > drivers/tty/serial/atmel_serial.c | 41

Re: [PATCH v2 5/5] memory: tegra: Introduce Tegra20 EMC driver

2018-06-06 Thread Thierry Reding
On Mon, Jun 04, 2018 at 01:36:54AM +0300, Dmitry Osipenko wrote: > Introduce driver for the External Memory Controller (EMC) found on Tegra20 > chips, which controls the external DRAM on the board. The purpose of this > driver is to program memory timing for external memory on the EMC clock > rate

RE: [PATCH] tpm: separate cmd_ready/go_idle from runtime_pm

2018-06-06 Thread Winkler, Tomas
> > On Wed, May 30, 2018 at 10:52:28AM +, Winkler, Tomas wrote: > > > > > > On Wed, May 23, 2018 at 01:48:17PM +, Winkler, Tomas wrote: > > > > > > > > > On Tue, May 22, 2018 at 09:27:46AM +, Winkler, Tomas wrote: > > > > > > > > > > > > > > On Wed, May 16, 2018 at 10:46:00PM +0300,

RE: [PATCH] tpm: separate cmd_ready/go_idle from runtime_pm

2018-06-06 Thread Winkler, Tomas
> > On Wed, May 30, 2018 at 10:52:28AM +, Winkler, Tomas wrote: > > > > > > On Wed, May 23, 2018 at 01:48:17PM +, Winkler, Tomas wrote: > > > > > > > > > On Tue, May 22, 2018 at 09:27:46AM +, Winkler, Tomas wrote: > > > > > > > > > > > > > > On Wed, May 16, 2018 at 10:46:00PM +0300,

Re: [PATCH V2] xfs: fix string handling in get/set functions

2018-06-06 Thread Christoph Hellwig
> diff --git a/fs/xfs/xfs_ioctl.c b/fs/xfs/xfs_ioctl.c > index 82f7c83c1dad..596e176c19a6 100644 > --- a/fs/xfs/xfs_ioctl.c > +++ b/fs/xfs/xfs_ioctl.c > @@ -1828,13 +1828,13 @@ xfs_ioc_getlabel( > /* Paranoia */ > BUILD_BUG_ON(sizeof(sbp->sb_fname) > FSLABEL_MAX); > > + /* 1

Re: [PATCH V2] xfs: fix string handling in get/set functions

2018-06-06 Thread Christoph Hellwig
> diff --git a/fs/xfs/xfs_ioctl.c b/fs/xfs/xfs_ioctl.c > index 82f7c83c1dad..596e176c19a6 100644 > --- a/fs/xfs/xfs_ioctl.c > +++ b/fs/xfs/xfs_ioctl.c > @@ -1828,13 +1828,13 @@ xfs_ioc_getlabel( > /* Paranoia */ > BUILD_BUG_ON(sizeof(sbp->sb_fname) > FSLABEL_MAX); > > + /* 1

Re: [PATCH V3 02/17] kallsyms, x86: Export addresses of syscall trampolines

2018-06-06 Thread Peter Zijlstra
On Wed, Jun 06, 2018 at 11:02:08AM +0300, Adrian Hunter wrote: > On 05/06/18 19:00, Andi Kleen wrote: > >> +#ifdef CONFIG_X86_64 > >> +int arch_get_kallsym(unsigned int symnum, unsigned long *value, char > >> *type, > >> + char *name) > >> +{ > >> + unsigned int cpu, ncpu; > >> + >

Re: [PATCH V3 02/17] kallsyms, x86: Export addresses of syscall trampolines

2018-06-06 Thread Peter Zijlstra
On Wed, Jun 06, 2018 at 11:02:08AM +0300, Adrian Hunter wrote: > On 05/06/18 19:00, Andi Kleen wrote: > >> +#ifdef CONFIG_X86_64 > >> +int arch_get_kallsym(unsigned int symnum, unsigned long *value, char > >> *type, > >> + char *name) > >> +{ > >> + unsigned int cpu, ncpu; > >> + >

Re: [PATCH v5 8/8] staging: rtl8192e: remove unnecessary parentheses - Coding Style

2018-06-06 Thread Greg KH
On Wed, Jun 06, 2018 at 11:25:14AM +0100, John Whitmore wrote: > On Sun, Jun 03, 2018 at 02:28:35PM +0200, Greg KH wrote: > > On Sun, Jun 03, 2018 at 01:04:13PM +0100, John Whitmore wrote: > > > Signed-off-by: John Whitmore > > > --- > > > drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c | 12

Re: [PATCH v5 8/8] staging: rtl8192e: remove unnecessary parentheses - Coding Style

2018-06-06 Thread Greg KH
On Wed, Jun 06, 2018 at 11:25:14AM +0100, John Whitmore wrote: > On Sun, Jun 03, 2018 at 02:28:35PM +0200, Greg KH wrote: > > On Sun, Jun 03, 2018 at 01:04:13PM +0100, John Whitmore wrote: > > > Signed-off-by: John Whitmore > > > --- > > > drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c | 12

Re: [PATCH v3 3/6] mtd: rawnand: tegra: add devicetree binding

2018-06-06 Thread Boris Brezillon
Hi Thierry, On Wed, 6 Jun 2018 12:39:03 +0200 Thierry Reding wrote: > On Tue, Jun 05, 2018 at 11:19:14PM +0300, Dmitry Osipenko wrote: > > On 01.06.2018 10:30, Boris Brezillon wrote: > > > On Fri, 1 Jun 2018 00:16:34 +0200 > > > Stefan Agner wrote: > > > > > >> This adds the devicetree

Re: [PATCH v3 3/6] mtd: rawnand: tegra: add devicetree binding

2018-06-06 Thread Boris Brezillon
Hi Thierry, On Wed, 6 Jun 2018 12:39:03 +0200 Thierry Reding wrote: > On Tue, Jun 05, 2018 at 11:19:14PM +0300, Dmitry Osipenko wrote: > > On 01.06.2018 10:30, Boris Brezillon wrote: > > > On Fri, 1 Jun 2018 00:16:34 +0200 > > > Stefan Agner wrote: > > > > > >> This adds the devicetree

Re: [PATCH v2 0/5] Tegra20 External Memory Controller driver

2018-06-06 Thread Thierry Reding
On Mon, Jun 04, 2018 at 01:36:49AM +0300, Dmitry Osipenko wrote: > Hello, > > Couple years ago the Tegra20 EMC driver was removed from the kernel > due to incompatible changes in the Tegra's clock driver. This patchset > introduces a modernized EMC driver. Currently the sole purpose of the >

Re: [PATCH v2 0/5] Tegra20 External Memory Controller driver

2018-06-06 Thread Thierry Reding
On Mon, Jun 04, 2018 at 01:36:49AM +0300, Dmitry Osipenko wrote: > Hello, > > Couple years ago the Tegra20 EMC driver was removed from the kernel > due to incompatible changes in the Tegra's clock driver. This patchset > introduces a modernized EMC driver. Currently the sole purpose of the >

Re: [PATCH V5] powercap/drivers/idle_injection: Add an idle injection framework

2018-06-06 Thread Viresh Kumar
On 06-06-18, 12:22, Daniel Lezcano wrote: > (mb() are done in the atomic operations AFAICT). AFAIU, it is required to make sure the operations are seen in a particular order on another CPU and the compiler doesn't reorganize code to optimize it. For example, in our case what if the compiler

Re: [PATCH V5] powercap/drivers/idle_injection: Add an idle injection framework

2018-06-06 Thread Viresh Kumar
On 06-06-18, 12:22, Daniel Lezcano wrote: > (mb() are done in the atomic operations AFAICT). AFAIU, it is required to make sure the operations are seen in a particular order on another CPU and the compiler doesn't reorganize code to optimize it. For example, in our case what if the compiler

linux-next: build warning after merge of the y2038 tree

2018-06-06 Thread Stephen Rothwell
Hi all, After merging the y2038 tree, today's linux-next build (x86_64 allmodconfig) produced this warning: fs/pstore/ram.c: In function 'ramoops_read_kmsg_hdr': fs/pstore/ram.c:39:29: warning: format '%ld' expects argument of type 'long int *', but argument 3 has type 'time64_t * {aka long

linux-next: build warning after merge of the y2038 tree

2018-06-06 Thread Stephen Rothwell
Hi all, After merging the y2038 tree, today's linux-next build (x86_64 allmodconfig) produced this warning: fs/pstore/ram.c: In function 'ramoops_read_kmsg_hdr': fs/pstore/ram.c:39:29: warning: format '%ld' expects argument of type 'long int *', but argument 3 has type 'time64_t * {aka long

Re: [PATCH v3 3/6] mtd: rawnand: tegra: add devicetree binding

2018-06-06 Thread Thierry Reding
On Tue, Jun 05, 2018 at 11:19:14PM +0300, Dmitry Osipenko wrote: > On 01.06.2018 10:30, Boris Brezillon wrote: > > On Fri, 1 Jun 2018 00:16:34 +0200 > > Stefan Agner wrote: > > > >> This adds the devicetree binding for the Tegra 2 NAND flash > >> controller. > >> > >> Signed-off-by: Lucas Stach

Re: [PATCH v3 3/6] mtd: rawnand: tegra: add devicetree binding

2018-06-06 Thread Thierry Reding
On Tue, Jun 05, 2018 at 11:19:14PM +0300, Dmitry Osipenko wrote: > On 01.06.2018 10:30, Boris Brezillon wrote: > > On Fri, 1 Jun 2018 00:16:34 +0200 > > Stefan Agner wrote: > > > >> This adds the devicetree binding for the Tegra 2 NAND flash > >> controller. > >> > >> Signed-off-by: Lucas Stach

Re: [PATCH 2/2] sched/fair: util_est: add running_sum tracking

2018-06-06 Thread Patrick Bellasi
Hi Vincent, On 06-Jun 10:26, Vincent Guittot wrote: [...] > For the above 2 tasks of the example example we have the pattern > > Task 1 > state SSESSESS > util_avgDD DD DD > > Task 2 > state SSESSESS >

Re: [PATCH 2/2] powerpc: Add support for function error injection

2018-06-06 Thread Naveen N. Rao
Naveen N. Rao wrote: Michael Ellerman wrote: I guess if it doesn't already apply to tip you should rebase it. You've probably missed 4.18 anyway. Oh ok. I just tried and it seems to apply just fine. I'll post v2 after giving this a quick test. I didn't post a v2 since I have decided

Re: [PATCH 2/2] sched/fair: util_est: add running_sum tracking

2018-06-06 Thread Patrick Bellasi
Hi Vincent, On 06-Jun 10:26, Vincent Guittot wrote: [...] > For the above 2 tasks of the example example we have the pattern > > Task 1 > state SSESSESS > util_avgDD DD DD > > Task 2 > state SSESSESS >

Re: [PATCH 2/2] powerpc: Add support for function error injection

2018-06-06 Thread Naveen N. Rao
Naveen N. Rao wrote: Michael Ellerman wrote: I guess if it doesn't already apply to tip you should rebase it. You've probably missed 4.18 anyway. Oh ok. I just tried and it seems to apply just fine. I'll post v2 after giving this a quick test. I didn't post a v2 since I have decided

Re: [PATCH] x86/iommu: Fix a typo in a macro parameter

2018-06-06 Thread Thomas Gleixner
On Wed, 6 Jun 2018, Masatake YAMATO wrote: Can you please explain why 0 is the wrong value. That's not a typo, that's a functional change and both the subject line and the changelog itself should be explanatory. Thanks, tglx > Signed-off-by: Masatake YAMATO > --- >

Re: [PATCH] x86/iommu: Fix a typo in a macro parameter

2018-06-06 Thread Thomas Gleixner
On Wed, 6 Jun 2018, Masatake YAMATO wrote: Can you please explain why 0 is the wrong value. That's not a typo, that's a functional change and both the subject line and the changelog itself should be explanatory. Thanks, tglx > Signed-off-by: Masatake YAMATO > --- >

Re: [PATCH] printk/nmi: Prevent deadlock when serializing NMI backtraces

2018-06-06 Thread Sergey Senozhatsky
On (06/06/18 14:10), Sergey Senozhatsky wrote: > On (06/05/18 14:47), Petr Mladek wrote: > [..] > > Grr, the ABBA deadlock is still there. NMIs are not sent to the other > > CPUs atomically. Even if we detect that logbuf_lock is available > > in printk_nmi_enter() on some CPUs, it might still get

Re: [PATCH] printk/nmi: Prevent deadlock when serializing NMI backtraces

2018-06-06 Thread Sergey Senozhatsky
On (06/06/18 14:10), Sergey Senozhatsky wrote: > On (06/05/18 14:47), Petr Mladek wrote: > [..] > > Grr, the ABBA deadlock is still there. NMIs are not sent to the other > > CPUs atomically. Even if we detect that logbuf_lock is available > > in printk_nmi_enter() on some CPUs, it might still get

[PATCH] ASoC: ak4458: make structure soc_codec_dev_ak4458 static const

2018-06-06 Thread Colin King
From: Colin Ian King The structure soc_codec_dev_ak4458 is local to the source and do not need to be in global scope and can be const, make it static const. Cleans up sparse warnings: warning: symbol 'soc_codec_dev_ak4458' was not declared. Should it be static? Signed-off-by: Colin Ian King

[PATCH] ASoC: ak4458: make structure soc_codec_dev_ak4458 static const

2018-06-06 Thread Colin King
From: Colin Ian King The structure soc_codec_dev_ak4458 is local to the source and do not need to be in global scope and can be const, make it static const. Cleans up sparse warnings: warning: symbol 'soc_codec_dev_ak4458' was not declared. Should it be static? Signed-off-by: Colin Ian King

Re: [PATCH] x86/spectre_v1: Disable compiler optimizations over array_index_mask_nospec()

2018-06-06 Thread Thomas Gleixner
Dan, On Wed, 30 May 2018, Mark Rutland wrote: > > diff --git a/arch/x86/include/asm/barrier.h b/arch/x86/include/asm/barrier.h > > index 042b5e892ed1..41f7435c84a7 100644 > > --- a/arch/x86/include/asm/barrier.h > > +++ b/arch/x86/include/asm/barrier.h > > @@ -38,10 +38,11 @@ static inline

Re: [PATCH] x86/spectre_v1: Disable compiler optimizations over array_index_mask_nospec()

2018-06-06 Thread Thomas Gleixner
Dan, On Wed, 30 May 2018, Mark Rutland wrote: > > diff --git a/arch/x86/include/asm/barrier.h b/arch/x86/include/asm/barrier.h > > index 042b5e892ed1..41f7435c84a7 100644 > > --- a/arch/x86/include/asm/barrier.h > > +++ b/arch/x86/include/asm/barrier.h > > @@ -38,10 +38,11 @@ static inline

Re: [PATCH v5 8/8] staging: rtl8192e: remove unnecessary parentheses - Coding Style

2018-06-06 Thread John Whitmore
On Sun, Jun 03, 2018 at 02:28:35PM +0200, Greg KH wrote: > On Sun, Jun 03, 2018 at 01:04:13PM +0100, John Whitmore wrote: > > Signed-off-by: John Whitmore > > --- > > drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c | 12 ++-- > > 1 file changed, 6 insertions(+), 6 deletions(-) > > I

Re: [PATCH v5 8/8] staging: rtl8192e: remove unnecessary parentheses - Coding Style

2018-06-06 Thread John Whitmore
On Sun, Jun 03, 2018 at 02:28:35PM +0200, Greg KH wrote: > On Sun, Jun 03, 2018 at 01:04:13PM +0100, John Whitmore wrote: > > Signed-off-by: John Whitmore > > --- > > drivers/staging/rtl8192u/ieee80211/rtl819x_HTProc.c | 12 ++-- > > 1 file changed, 6 insertions(+), 6 deletions(-) > > I

Re: [PATCH] ASoC: ak5558: make two structures static

2018-06-06 Thread Daniel Baluta
On Mi, 2018-06-06 at 10:57 +0100, Colin King wrote: > From: Colin Ian King > > The structure ak5558_pm and soc_codec_dev_ak5558 are local to the > source and do not need to be in global scope, so make them static. > Also make soc_codec_dev_ak5558 static. > > Cleans up sparse warnings: >

Re: [PATCH] ASoC: ak5558: make two structures static

2018-06-06 Thread Daniel Baluta
On Mi, 2018-06-06 at 10:57 +0100, Colin King wrote: > From: Colin Ian King > > The structure ak5558_pm and soc_codec_dev_ak5558 are local to the > source and do not need to be in global scope, so make them static. > Also make soc_codec_dev_ak5558 static. > > Cleans up sparse warnings: >

RE: [upstream-release] [PATCH] irqchip/ls-scfg-msi: map MSIs in the iommu

2018-06-06 Thread Bharat Bhushan
> -Original Message- > From: upstream-release-boun...@linux.freescale.net [mailto:upstream- > release-boun...@linux.freescale.net] On Behalf Of Laurentiu Tudor > Sent: Tuesday, June 5, 2018 5:57 PM > To: t...@linutronix.de; ja...@lakedaemon.net; marc.zyng...@arm.com; linux- >

RE: [upstream-release] [PATCH] irqchip/ls-scfg-msi: map MSIs in the iommu

2018-06-06 Thread Bharat Bhushan
> -Original Message- > From: upstream-release-boun...@linux.freescale.net [mailto:upstream- > release-boun...@linux.freescale.net] On Behalf Of Laurentiu Tudor > Sent: Tuesday, June 5, 2018 5:57 PM > To: t...@linutronix.de; ja...@lakedaemon.net; marc.zyng...@arm.com; linux- >

Re: [PATCH V5] powercap/drivers/idle_injection: Add an idle injection framework

2018-06-06 Thread Daniel Lezcano
On 06/06/2018 06:27, Viresh Kumar wrote: > On 05-06-18, 16:54, Daniel Lezcano wrote: >> On 05/06/2018 12:39, Viresh Kumar wrote: >> I don't think you are doing a mistake. Even if this can happen >> theoretically, I don't think practically that is the case. >> >> The play_idle() has 1ms minimum

Re: [PATCH V5] powercap/drivers/idle_injection: Add an idle injection framework

2018-06-06 Thread Daniel Lezcano
On 06/06/2018 06:27, Viresh Kumar wrote: > On 05-06-18, 16:54, Daniel Lezcano wrote: >> On 05/06/2018 12:39, Viresh Kumar wrote: >> I don't think you are doing a mistake. Even if this can happen >> theoretically, I don't think practically that is the case. >> >> The play_idle() has 1ms minimum

linux-next: manual merge of the y2038 tree with the staging tree

2018-06-06 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the y2038 tree got conflicts in: drivers/staging/lustre/lustre/llite/llite_lib.c drivers/staging/lustre/lustre/llite/namei.c drivers/staging/lustre/lustre/lmv/lmv_obd.c drivers/staging/lustre/lustre/mdc/mdc_reint.c

linux-next: manual merge of the y2038 tree with the staging tree

2018-06-06 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the y2038 tree got conflicts in: drivers/staging/lustre/lustre/llite/llite_lib.c drivers/staging/lustre/lustre/llite/namei.c drivers/staging/lustre/lustre/lmv/lmv_obd.c drivers/staging/lustre/lustre/mdc/mdc_reint.c

Re: [PATCH] HV: Fix definition of struct hv_vp_assist_page.

2018-06-06 Thread Thomas Gleixner
On Mon, 21 May 2018, Tianyu Lan wrote: KY > The struct hv_vp_assist_page was defined incorrectly. > The "vtl_control" should be u64[3], "nested_enlightenments_control" > should be a u64 and there is 7 reserved bytes following "enlighten_vmentry". > This patch is to fix it. > >

Re: [PATCH] HV: Fix definition of struct hv_vp_assist_page.

2018-06-06 Thread Thomas Gleixner
On Mon, 21 May 2018, Tianyu Lan wrote: KY > The struct hv_vp_assist_page was defined incorrectly. > The "vtl_control" should be u64[3], "nested_enlightenments_control" > should be a u64 and there is 7 reserved bytes following "enlighten_vmentry". > This patch is to fix it. > >

Re: [PATCH 01/20] coresight: Fix memory leak in coresight_register

2018-06-06 Thread Suzuki K Poulose
On 06/06/2018 07:44 AM, Arvind Yadav wrote: Hi Suzuki, On Wednesday 06 June 2018 03:13 AM, Suzuki K Poulose wrote: commit 6403587a930c ("coresight: use put_device() instead of kfree()") introduced a memory leak where, if we fail to register the device for coresight_device, we don't free the

Re: [PATCH 01/20] coresight: Fix memory leak in coresight_register

2018-06-06 Thread Suzuki K Poulose
On 06/06/2018 07:44 AM, Arvind Yadav wrote: Hi Suzuki, On Wednesday 06 June 2018 03:13 AM, Suzuki K Poulose wrote: commit 6403587a930c ("coresight: use put_device() instead of kfree()") introduced a memory leak where, if we fail to register the device for coresight_device, we don't free the

linux-next: manual merge of the y2038 tree with the ceph tree

2018-06-06 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the y2038 tree got a conflict in: fs/ceph/addr.c between commit: c843d13caefa ("libceph: make abort_on_full a per-osdc setting") from the ceph tree and commit: 213ae530f442 ("vfs: change inode times to use struct timespec64") from the y2038 tree. I

linux-next: manual merge of the y2038 tree with the ceph tree

2018-06-06 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the y2038 tree got a conflict in: fs/ceph/addr.c between commit: c843d13caefa ("libceph: make abort_on_full a per-osdc setting") from the ceph tree and commit: 213ae530f442 ("vfs: change inode times to use struct timespec64") from the y2038 tree. I

[tip:x86/urgent] x86: Mark native_set_p4d() as __always_inline

2018-06-06 Thread tip-bot for Arnd Bergmann
Commit-ID: 046c0dbec0238c25b7526c26c9a9687664229ce2 Gitweb: https://git.kernel.org/tip/046c0dbec0238c25b7526c26c9a9687664229ce2 Author: Arnd Bergmann AuthorDate: Tue, 5 Jun 2018 13:35:15 +0200 Committer: Thomas Gleixner CommitDate: Wed, 6 Jun 2018 12:09:45 +0200 x86: Mark

[tip:x86/urgent] x86: Mark native_set_p4d() as __always_inline

2018-06-06 Thread tip-bot for Arnd Bergmann
Commit-ID: 046c0dbec0238c25b7526c26c9a9687664229ce2 Gitweb: https://git.kernel.org/tip/046c0dbec0238c25b7526c26c9a9687664229ce2 Author: Arnd Bergmann AuthorDate: Tue, 5 Jun 2018 13:35:15 +0200 Committer: Thomas Gleixner CommitDate: Wed, 6 Jun 2018 12:09:45 +0200 x86: Mark

Re: [PATCH v3 0/6] Add MCAN Support for dra76x

2018-06-06 Thread Faiz Abbas
Hi, On Wednesday 06 June 2018 03:39 PM, Tony Lindgren wrote: > * Faiz Abbas [180606 06:09]: >> The following patches add dts and sysconfig support >> for MCAN on TI's dra76 SOCs >> >> The patches depend on the following series: >> https://patchwork.kernel.org/patch/10221105/ >> >> Changes in v3:

Re: [PATCH v3 0/6] Add MCAN Support for dra76x

2018-06-06 Thread Faiz Abbas
Hi, On Wednesday 06 June 2018 03:39 PM, Tony Lindgren wrote: > * Faiz Abbas [180606 06:09]: >> The following patches add dts and sysconfig support >> for MCAN on TI's dra76 SOCs >> >> The patches depend on the following series: >> https://patchwork.kernel.org/patch/10221105/ >> >> Changes in v3:

Re: [PATCH v5 00/10] track CPU utilization

2018-06-06 Thread Quentin Perret
On Wednesday 06 Jun 2018 at 11:59:04 (+0200), Vincent Guittot wrote: > On 6 June 2018 at 11:44, Quentin Perret wrote: > > On Tuesday 05 Jun 2018 at 16:18:09 (+0200), Peter Zijlstra wrote: > >> On Mon, Jun 04, 2018 at 08:08:58PM +0200, Vincent Guittot wrote: > >> > On 4 June 2018 at 18:50, Peter

Re: [PATCH v5 00/10] track CPU utilization

2018-06-06 Thread Quentin Perret
On Wednesday 06 Jun 2018 at 11:59:04 (+0200), Vincent Guittot wrote: > On 6 June 2018 at 11:44, Quentin Perret wrote: > > On Tuesday 05 Jun 2018 at 16:18:09 (+0200), Peter Zijlstra wrote: > >> On Mon, Jun 04, 2018 at 08:08:58PM +0200, Vincent Guittot wrote: > >> > On 4 June 2018 at 18:50, Peter

[tip:irq/urgent] irqchip/ls-scfg-msi: Map MSIs in the iommu

2018-06-06 Thread tip-bot for Laurentiu Tudor
Commit-ID: 0cdd431c337e99177e68597f3de34bedd3a20a74 Gitweb: https://git.kernel.org/tip/0cdd431c337e99177e68597f3de34bedd3a20a74 Author: Laurentiu Tudor AuthorDate: Tue, 5 Jun 2018 15:27:27 +0300 Committer: Thomas Gleixner CommitDate: Wed, 6 Jun 2018 12:05:19 +0200 irqchip/ls-scfg-msi:

[tip:irq/urgent] irqchip/ls-scfg-msi: Map MSIs in the iommu

2018-06-06 Thread tip-bot for Laurentiu Tudor
Commit-ID: 0cdd431c337e99177e68597f3de34bedd3a20a74 Gitweb: https://git.kernel.org/tip/0cdd431c337e99177e68597f3de34bedd3a20a74 Author: Laurentiu Tudor AuthorDate: Tue, 5 Jun 2018 15:27:27 +0300 Committer: Thomas Gleixner CommitDate: Wed, 6 Jun 2018 12:05:19 +0200 irqchip/ls-scfg-msi:

[tip:irq/urgent] irqchip/stm32: Fix non-SMP build warning

2018-06-06 Thread tip-bot for Arnd Bergmann
Commit-ID: a84277bf3efcc7bb5b5a5eec62de5c134cb47ee5 Gitweb: https://git.kernel.org/tip/a84277bf3efcc7bb5b5a5eec62de5c134cb47ee5 Author: Arnd Bergmann AuthorDate: Tue, 5 Jun 2018 13:43:34 +0200 Committer: Thomas Gleixner CommitDate: Wed, 6 Jun 2018 12:05:19 +0200 irqchip/stm32: Fix

Re: [PATCH v3 0/6] Add MCAN Support for dra76x

2018-06-06 Thread Tony Lindgren
* Faiz Abbas [180606 06:09]: > The following patches add dts and sysconfig support > for MCAN on TI's dra76 SOCs > > The patches depend on the following series: > https://patchwork.kernel.org/patch/10221105/ > > Changes in v3: > 1. Added reset functionality to the ti-sysc > driver. This

[tip:irq/urgent] irqchip/stm32: Fix non-SMP build warning

2018-06-06 Thread tip-bot for Arnd Bergmann
Commit-ID: a84277bf3efcc7bb5b5a5eec62de5c134cb47ee5 Gitweb: https://git.kernel.org/tip/a84277bf3efcc7bb5b5a5eec62de5c134cb47ee5 Author: Arnd Bergmann AuthorDate: Tue, 5 Jun 2018 13:43:34 +0200 Committer: Thomas Gleixner CommitDate: Wed, 6 Jun 2018 12:05:19 +0200 irqchip/stm32: Fix

Re: [PATCH v3 0/6] Add MCAN Support for dra76x

2018-06-06 Thread Tony Lindgren
* Faiz Abbas [180606 06:09]: > The following patches add dts and sysconfig support > for MCAN on TI's dra76 SOCs > > The patches depend on the following series: > https://patchwork.kernel.org/patch/10221105/ > > Changes in v3: > 1. Added reset functionality to the ti-sysc > driver. This

Re: [PATCH] arm64: topology: Avoid checking numa mask for scheduler MC selection

2018-06-06 Thread Sudeep Holla
On 05/06/18 20:08, Jeremy Linton wrote: > The numa mask subset check has problems if !CONFIG_NUMA, over hotplug > operations or during early boot. Lets disable the NUMA siblings checks > for the time being, as NUMA in socket machines have LLC's that will > assure that the scheduler topology

Re: [PATCH] arm64: topology: Avoid checking numa mask for scheduler MC selection

2018-06-06 Thread Sudeep Holla
On 05/06/18 20:08, Jeremy Linton wrote: > The numa mask subset check has problems if !CONFIG_NUMA, over hotplug > operations or during early boot. Lets disable the NUMA siblings checks > for the time being, as NUMA in socket machines have LLC's that will > assure that the scheduler topology

Re: [PATCH v5 00/10] track CPU utilization

2018-06-06 Thread Vincent Guittot
On 6 June 2018 at 11:59, Vincent Guittot wrote: > On 6 June 2018 at 11:44, Quentin Perret wrote: >> On Tuesday 05 Jun 2018 at 16:18:09 (+0200), Peter Zijlstra wrote: [snip] >>> >>> > As you mentioned, scale_rt_capacity give the remaining capacity for >>> > cfs and it will behave like cfs

Re: [PATCH v5 00/10] track CPU utilization

2018-06-06 Thread Vincent Guittot
On 6 June 2018 at 11:59, Vincent Guittot wrote: > On 6 June 2018 at 11:44, Quentin Perret wrote: >> On Tuesday 05 Jun 2018 at 16:18:09 (+0200), Peter Zijlstra wrote: [snip] >>> >>> > As you mentioned, scale_rt_capacity give the remaining capacity for >>> > cfs and it will behave like cfs

Re: [PATCH v5 00/10] track CPU utilization

2018-06-06 Thread Vincent Guittot
On 6 June 2018 at 11:44, Quentin Perret wrote: > On Tuesday 05 Jun 2018 at 16:18:09 (+0200), Peter Zijlstra wrote: >> On Mon, Jun 04, 2018 at 08:08:58PM +0200, Vincent Guittot wrote: >> > On 4 June 2018 at 18:50, Peter Zijlstra wrote: >> >> > > So this patch-set tracks the !cfs occupation using

Re: [PATCH v5 00/10] track CPU utilization

2018-06-06 Thread Vincent Guittot
On 6 June 2018 at 11:44, Quentin Perret wrote: > On Tuesday 05 Jun 2018 at 16:18:09 (+0200), Peter Zijlstra wrote: >> On Mon, Jun 04, 2018 at 08:08:58PM +0200, Vincent Guittot wrote: >> > On 4 June 2018 at 18:50, Peter Zijlstra wrote: >> >> > > So this patch-set tracks the !cfs occupation using

Re: [PATCH 18/19] serdev: ttydev: Serdev driver that creates an standard TTY port

2018-06-06 Thread Ricardo Ribalda Delgado
On Wed, Jun 6, 2018 at 11:55 AM Andy Shevchenko wrote: > > > > https://github.com/ribalda/linux/tree/serdev2 > > n _is_ default. So, just remove a line. > Done. Thanks! > -- > With Best Regards, > Andy Shevchenko -- Ricardo Ribalda

Re: [PATCH 18/19] serdev: ttydev: Serdev driver that creates an standard TTY port

2018-06-06 Thread Ricardo Ribalda Delgado
On Wed, Jun 6, 2018 at 11:55 AM Andy Shevchenko wrote: > > > > https://github.com/ribalda/linux/tree/serdev2 > > n _is_ default. So, just remove a line. > Done. Thanks! > -- > With Best Regards, > Andy Shevchenko -- Ricardo Ribalda

[PATCH] ASoC: ak5558: make two structures static

2018-06-06 Thread Colin King
From: Colin Ian King The structure ak5558_pm and soc_codec_dev_ak5558 are local to the source and do not need to be in global scope, so make them static. Also make soc_codec_dev_ak5558 static. Cleans up sparse warnings: warning: symbol 'ak5558_pm' was not declared. Should it be static? warning:

Re: [PATCH v4 14/14] coresight: allow the coresight core driver to be built as a module

2018-06-06 Thread Suzuki K Poulose
On 06/05/2018 10:07 PM, Kim Phillips wrote: Allow to build coresight as a module. This enhances coresight developer efficiency by allowing the development to take place exclusively on the target, and without needing to reboot in between changes. - Kconfig becomes a tristate, to allow =m -

[PATCH] ASoC: ak5558: make two structures static

2018-06-06 Thread Colin King
From: Colin Ian King The structure ak5558_pm and soc_codec_dev_ak5558 are local to the source and do not need to be in global scope, so make them static. Also make soc_codec_dev_ak5558 static. Cleans up sparse warnings: warning: symbol 'ak5558_pm' was not declared. Should it be static? warning:

Re: [PATCH v4 14/14] coresight: allow the coresight core driver to be built as a module

2018-06-06 Thread Suzuki K Poulose
On 06/05/2018 10:07 PM, Kim Phillips wrote: Allow to build coresight as a module. This enhances coresight developer efficiency by allowing the development to take place exclusively on the target, and without needing to reboot in between changes. - Kconfig becomes a tristate, to allow =m -

Re: [PATCH 18/19] serdev: ttydev: Serdev driver that creates an standard TTY port

2018-06-06 Thread Andy Shevchenko
On Wed, Jun 6, 2018 at 10:47 AM, Ricardo Ribalda Delgado wrote: > Hi Andy, > On Wed, Jun 6, 2018 at 8:58 AM Ricardo Ribalda Delgado > wrote: > I have defaulted the module to n as you suggested. You can take a look > to the patches that I plan to submit tomorrow at: > >

Re: [PATCH 18/19] serdev: ttydev: Serdev driver that creates an standard TTY port

2018-06-06 Thread Andy Shevchenko
On Wed, Jun 6, 2018 at 10:47 AM, Ricardo Ribalda Delgado wrote: > Hi Andy, > On Wed, Jun 6, 2018 at 8:58 AM Ricardo Ribalda Delgado > wrote: > I have defaulted the module to n as you suggested. You can take a look > to the patches that I plan to submit tomorrow at: > >

[PATCH 2/4] serial: 8250_dw: allow enable rs485 at boot time

2018-06-06 Thread Giulio Benetti
If "linux,rs485-enabled-at-boot-time" is specified need to setup 485 in probe function. Call uart_get_rs485_mode() to get rs485 configuration, then call rs485_config() callback directly to setup port as rs485. Signed-off-by: Giulio Benetti --- drivers/tty/serial/8250/8250_dw.c | 5 - 1

[PATCH 1/4] serial: 8250_dw: add em485 support

2018-06-06 Thread Giulio Benetti
Need to use rs485 transceiver so let's use existing em485 485 emulation layer on top of 8250. Add rs485_config callback to port. Signed-off-by: Giulio Benetti --- drivers/tty/serial/8250/8250_dw.c | 31 +++ 1 file changed, 31 insertions(+) diff --git

[PATCH 4/4] serial: 8250_dw: treat rpm suspend with -EBUSY if RS485 ON and RTS_AFTER_SEND

2018-06-06 Thread Giulio Benetti
If rs485 is on and RTS_AFTER_SEND it means that in idle state rts pin must be asserted, othwerwise rs485 transceiver will enter tx state. dw8250 when clocks are stopped keeps rts line de-asserted(high), resulting in keeping rs485 transceiver in tx state when port is idle. Check if rs485 is on

[PATCH 2/4] serial: 8250_dw: allow enable rs485 at boot time

2018-06-06 Thread Giulio Benetti
If "linux,rs485-enabled-at-boot-time" is specified need to setup 485 in probe function. Call uart_get_rs485_mode() to get rs485 configuration, then call rs485_config() callback directly to setup port as rs485. Signed-off-by: Giulio Benetti --- drivers/tty/serial/8250/8250_dw.c | 5 - 1

[PATCH 1/4] serial: 8250_dw: add em485 support

2018-06-06 Thread Giulio Benetti
Need to use rs485 transceiver so let's use existing em485 485 emulation layer on top of 8250. Add rs485_config callback to port. Signed-off-by: Giulio Benetti --- drivers/tty/serial/8250/8250_dw.c | 31 +++ 1 file changed, 31 insertions(+) diff --git

[PATCH 4/4] serial: 8250_dw: treat rpm suspend with -EBUSY if RS485 ON and RTS_AFTER_SEND

2018-06-06 Thread Giulio Benetti
If rs485 is on and RTS_AFTER_SEND it means that in idle state rts pin must be asserted, othwerwise rs485 transceiver will enter tx state. dw8250 when clocks are stopped keeps rts line de-asserted(high), resulting in keeping rs485 transceiver in tx state when port is idle. Check if rs485 is on

[PATCH 3/4] serial: 8250: Handle case port doesn't have TEMT interrupt using em485.

2018-06-06 Thread Giulio Benetti
Some 8250 ports only have TEMT interrupt, so current implementation can't work for ports without it. The only chance to make it work is to loop-read on LSR register. With NO TEMT interrupt check if both TEMT and THRE are set looping on LSR register. Signed-off-by: Giulio Benetti ---

[PATCH 3/4] serial: 8250: Handle case port doesn't have TEMT interrupt using em485.

2018-06-06 Thread Giulio Benetti
Some 8250 ports only have TEMT interrupt, so current implementation can't work for ports without it. The only chance to make it work is to loop-read on LSR register. With NO TEMT interrupt check if both TEMT and THRE are set looping on LSR register. Signed-off-by: Giulio Benetti ---

Re: [PATCH] remoteproc: qcom: Introduce Hexagon V5 based WCSS driver

2018-06-06 Thread Sricharan R
Hi Vinod, On 6/6/2018 12:19 PM, Vinod wrote: > Hi Sricharan, > > On 06-06-18, 12:09, Sricharan R wrote: > >> +config QCOM_Q6V5_WCSS >> +tristate "Qualcomm Hexagon based WCSS Peripheral Image Loader" >> +depends on OF && ARCH_QCOM >> +depends on QCOM_SMEM

Re: [PATCH] remoteproc: qcom: Introduce Hexagon V5 based WCSS driver

2018-06-06 Thread Sricharan R
Hi Vinod, On 6/6/2018 12:19 PM, Vinod wrote: > Hi Sricharan, > > On 06-06-18, 12:09, Sricharan R wrote: > >> +config QCOM_Q6V5_WCSS >> +tristate "Qualcomm Hexagon based WCSS Peripheral Image Loader" >> +depends on OF && ARCH_QCOM >> +depends on QCOM_SMEM

[PATCH 2/4] serial: 8250: Copy mctrl when register port.

2018-06-06 Thread Giulio Benetti
RS485 can modify mctrl on startup, especially when RTS_AFTER_SEND is on TIOCM_RTS is set, then need to keep it set when registering port. Copy mctrl to new port too. Signed-off-by: Giulio Benetti --- drivers/tty/serial/8250/8250_core.c | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 1/4] serial: 8250: Copy em485 from port to real port.

2018-06-06 Thread Giulio Benetti
em485 gets lost during serial8250_register_8250_port(). Copy em485 to final uart port. Signed-off-by: Giulio Benetti --- drivers/tty/serial/8250/8250_core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/tty/serial/8250/8250_core.c b/drivers/tty/serial/8250/8250_core.c index

[PATCH 2/4] serial: 8250: Copy mctrl when register port.

2018-06-06 Thread Giulio Benetti
RS485 can modify mctrl on startup, especially when RTS_AFTER_SEND is on TIOCM_RTS is set, then need to keep it set when registering port. Copy mctrl to new port too. Signed-off-by: Giulio Benetti --- drivers/tty/serial/8250/8250_core.c | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 1/4] serial: 8250: Copy em485 from port to real port.

2018-06-06 Thread Giulio Benetti
em485 gets lost during serial8250_register_8250_port(). Copy em485 to final uart port. Signed-off-by: Giulio Benetti --- drivers/tty/serial/8250/8250_core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/tty/serial/8250/8250_core.c b/drivers/tty/serial/8250/8250_core.c index

[PATCH 4/4] serial: core: Mask mctrl with TIOCM_RTS too if rs485 on and RTS_AFTER_SEND set.

2018-06-06 Thread Giulio Benetti
If rs485 is enabled and RTS_AFTER_SEND is set on startup need to keep TIOCM_RTS asserted to keep rs485 transceiver in RX when idle. Check if rs485 is on and RTS_AFTER_SEND is set and mask port->mctrl with TIOCM_RTS too and not only TIOCM_DTR. Signed-off-by: Giulio Benetti ---

[PATCH 4/4] serial: core: Mask mctrl with TIOCM_RTS too if rs485 on and RTS_AFTER_SEND set.

2018-06-06 Thread Giulio Benetti
If rs485 is enabled and RTS_AFTER_SEND is set on startup need to keep TIOCM_RTS asserted to keep rs485 transceiver in RX when idle. Check if rs485 is on and RTS_AFTER_SEND is set and mask port->mctrl with TIOCM_RTS too and not only TIOCM_DTR. Signed-off-by: Giulio Benetti ---

[PATCH 3/4] serial: 8250: Make em485_rts_after_send() set mctrl according to rts state.

2018-06-06 Thread Giulio Benetti
When rs485 enabled and RTS_AFTER_SEND set on startup, need to preserve mctrl status, because later functions will call set_mctrl passing port->mctrl=0 overriding rts status, resulting in rts pin in transmission when idle. Make mctrl reflect rts pin state. Signed-off-by: Giulio Benetti ---

[PATCH 3/4] serial: 8250: Make em485_rts_after_send() set mctrl according to rts state.

2018-06-06 Thread Giulio Benetti
When rs485 enabled and RTS_AFTER_SEND set on startup, need to preserve mctrl status, because later functions will call set_mctrl passing port->mctrl=0 overriding rts status, resulting in rts pin in transmission when idle. Make mctrl reflect rts pin state. Signed-off-by: Giulio Benetti ---

Re: linux-next: manual merge of the staging tree with Linus' tree

2018-06-06 Thread Greg KH
On Wed, Jun 06, 2018 at 07:12:05PM +1000, Stephen Rothwell wrote: > Hi Greg, > > Today's linux-next merge of the staging tree got conflicts in: > > drivers/staging/ipx/af_ipx.c > drivers/staging/ipx/ipx_proc.c > > between commits: > > fddda2b7b521 ("proc: introduce

Re: linux-next: manual merge of the staging tree with Linus' tree

2018-06-06 Thread Greg KH
On Wed, Jun 06, 2018 at 07:12:05PM +1000, Stephen Rothwell wrote: > Hi Greg, > > Today's linux-next merge of the staging tree got conflicts in: > > drivers/staging/ipx/af_ipx.c > drivers/staging/ipx/ipx_proc.c > > between commits: > > fddda2b7b521 ("proc: introduce

<    4   5   6   7   8   9   10   11   12   >