Re: [PATCH v7 3/6] seccomp: add a way to get a listener fd from ptrace

2018-10-10 Thread Christian Brauner
On Wed, Oct 10, 2018 at 03:10:11PM +0200, Jann Horn wrote: > On Wed, Oct 10, 2018 at 2:54 PM Christian Brauner > wrote: > > On Tue, Oct 09, 2018 at 06:26:47PM +0200, Jann Horn wrote: > > > On Tue, Oct 9, 2018 at 6:20 PM Christian Brauner > > > wrote: > > > > On Tue, Oct 09, 2018 at 05:26:26PM

[GIT PULL] vsprintf: Fix off-by-one bug in bstr_printf() processing dereferenced pointers

2018-10-10 Thread Steven Rostedt
Linus (aka Greg), It was reported that trace_printk() was not reporting properly values that came after a dereference pointer. trace_printk() utilizes vbin_printf() and bstr_printf() to keep the overhead of tracing down. vbin_printf() does not do any conversions and just stors the string

Re: [PATCH v7 3/6] seccomp: add a way to get a listener fd from ptrace

2018-10-10 Thread Christian Brauner
On Wed, Oct 10, 2018 at 03:10:11PM +0200, Jann Horn wrote: > On Wed, Oct 10, 2018 at 2:54 PM Christian Brauner > wrote: > > On Tue, Oct 09, 2018 at 06:26:47PM +0200, Jann Horn wrote: > > > On Tue, Oct 9, 2018 at 6:20 PM Christian Brauner > > > wrote: > > > > On Tue, Oct 09, 2018 at 05:26:26PM

[GIT PULL] vsprintf: Fix off-by-one bug in bstr_printf() processing dereferenced pointers

2018-10-10 Thread Steven Rostedt
Linus (aka Greg), It was reported that trace_printk() was not reporting properly values that came after a dereference pointer. trace_printk() utilizes vbin_printf() and bstr_printf() to keep the overhead of tracing down. vbin_printf() does not do any conversions and just stors the string

Re: INFO: rcu detected stall in shmem_fault

2018-10-10 Thread Dmitry Vyukov
On Wed, Oct 10, 2018 at 3:10 PM, Tetsuo Handa wrote: >>> Just flooding out of memory messages can trigger RCU stall problems. >>> For example, a severe skbuff_head_cache or kmalloc-512 leak bug is >>> causing >> >> [...] >> >> Quite some of them, indeed! I guess we

Re: INFO: rcu detected stall in shmem_fault

2018-10-10 Thread Dmitry Vyukov
On Wed, Oct 10, 2018 at 3:10 PM, Tetsuo Handa wrote: >>> Just flooding out of memory messages can trigger RCU stall problems. >>> For example, a severe skbuff_head_cache or kmalloc-512 leak bug is >>> causing >> >> [...] >> >> Quite some of them, indeed! I guess we

[PATCH] platform/x86: touchscreen_dmi: Add info for the Onda V80 Plus v3 tablet

2018-10-10 Thread Hans de Goede
Add touchscreen platform data for the Onda V80 Plus v3 tablet. Signed-off-by: Hans de Goede --- drivers/platform/x86/touchscreen_dmi.c | 26 ++ 1 file changed, 26 insertions(+) diff --git a/drivers/platform/x86/touchscreen_dmi.c b/drivers/platform/x86/touchscreen_dmi.c

[PATCH] platform/x86: touchscreen_dmi: Add info for the Onda V80 Plus v3 tablet

2018-10-10 Thread Hans de Goede
Add touchscreen platform data for the Onda V80 Plus v3 tablet. Signed-off-by: Hans de Goede --- drivers/platform/x86/touchscreen_dmi.c | 26 ++ 1 file changed, 26 insertions(+) diff --git a/drivers/platform/x86/touchscreen_dmi.c b/drivers/platform/x86/touchscreen_dmi.c

Re: [RFC 4/4] gpio: sifive: Add GPIO driver for SiFive SoCs

2018-10-10 Thread Christoph Hellwig
On Wed, Oct 10, 2018 at 03:01:29PM +0200, Andreas Schwab wrote: > On Okt 09 2018, Atish Patra wrote: > > > +static void sifive_set_ie(struct sifive_gpio *chip, unsigned int offset) > > +{ > > + unsigned long flags; > > + unsigned int trigger; > > + > > + raw_spin_lock_irqsave(>lock,

Re: [RFC 4/4] gpio: sifive: Add GPIO driver for SiFive SoCs

2018-10-10 Thread Christoph Hellwig
On Wed, Oct 10, 2018 at 03:01:29PM +0200, Andreas Schwab wrote: > On Okt 09 2018, Atish Patra wrote: > > > +static void sifive_set_ie(struct sifive_gpio *chip, unsigned int offset) > > +{ > > + unsigned long flags; > > + unsigned int trigger; > > + > > + raw_spin_lock_irqsave(>lock,

Re: [RFC 2/4] pwm: sifive: Add a driver for SiFive SoC PWM

2018-10-10 Thread Christoph Hellwig
Thanks for getting these drivers submitted upstream! I don't really know anything about PWM, so just some random nitpicking below.. > + iowrite32(frac, pwm->regs + REG_PWMCMP0 + (dev->hwpwm * SIZE_PWMCMP)); * already has a higher precedence than +, so no need for the inner braces. > +

Re: [RFC 2/4] pwm: sifive: Add a driver for SiFive SoC PWM

2018-10-10 Thread Christoph Hellwig
Thanks for getting these drivers submitted upstream! I don't really know anything about PWM, so just some random nitpicking below.. > + iowrite32(frac, pwm->regs + REG_PWMCMP0 + (dev->hwpwm * SIZE_PWMCMP)); * already has a higher precedence than +, so no need for the inner braces. > +

Re: [RFC PATCH 0/7] Introduce thermal pressure

2018-10-10 Thread Quentin Perret
On Wednesday 10 Oct 2018 at 14:50:33 (+0200), Juri Lelli wrote: > On 10/10/18 14:34, Vincent Guittot wrote: > > Hi Juri, > > > > On Wed, 10 Oct 2018 at 14:23, Juri Lelli wrote: > > > > > > On 10/10/18 14:04, Vincent Guittot wrote: > > > > > > [...] > > > > > > > The problem was the same with

Re: [RFC PATCH 0/7] Introduce thermal pressure

2018-10-10 Thread Quentin Perret
On Wednesday 10 Oct 2018 at 14:50:33 (+0200), Juri Lelli wrote: > On 10/10/18 14:34, Vincent Guittot wrote: > > Hi Juri, > > > > On Wed, 10 Oct 2018 at 14:23, Juri Lelli wrote: > > > > > > On 10/10/18 14:04, Vincent Guittot wrote: > > > > > > [...] > > > > > > > The problem was the same with

Re: INFO: rcu detected stall in shmem_fault

2018-10-10 Thread Tetsuo Handa
On 2018/10/10 21:36, Dmitry Vyukov wrote: > On Wed, Oct 10, 2018 at 2:29 PM, Dmitry Vyukov wrote: >> On Wed, Oct 10, 2018 at 2:25 PM, Michal Hocko wrote: >>> On Wed 10-10-18 20:48:33, Sergey Senozhatsky wrote: On (10/10/18 13:35), Michal Hocko wrote: >> Just flooding out of memory

Re: INFO: rcu detected stall in shmem_fault

2018-10-10 Thread Tetsuo Handa
On 2018/10/10 21:36, Dmitry Vyukov wrote: > On Wed, Oct 10, 2018 at 2:29 PM, Dmitry Vyukov wrote: >> On Wed, Oct 10, 2018 at 2:25 PM, Michal Hocko wrote: >>> On Wed 10-10-18 20:48:33, Sergey Senozhatsky wrote: On (10/10/18 13:35), Michal Hocko wrote: >> Just flooding out of memory

Re: [RFC PATCH 0/7] Introduce thermal pressure

2018-10-10 Thread Vincent Guittot
On Wed, 10 Oct 2018 at 14:50, Juri Lelli wrote: > > On 10/10/18 14:34, Vincent Guittot wrote: > > Hi Juri, > > > > On Wed, 10 Oct 2018 at 14:23, Juri Lelli wrote: > > > > > > On 10/10/18 14:04, Vincent Guittot wrote: > > > > > > [...] > > > > > > > The problem was the same with RT, the cfs

Re: [RFC PATCH 0/7] Introduce thermal pressure

2018-10-10 Thread Vincent Guittot
On Wed, 10 Oct 2018 at 14:50, Juri Lelli wrote: > > On 10/10/18 14:34, Vincent Guittot wrote: > > Hi Juri, > > > > On Wed, 10 Oct 2018 at 14:23, Juri Lelli wrote: > > > > > > On 10/10/18 14:04, Vincent Guittot wrote: > > > > > > [...] > > > > > > > The problem was the same with RT, the cfs

Re: [PATCH 03/34] teach move_mount(2) to work with OPEN_TREE_CLONE [ver #12]

2018-10-10 Thread Alan Jenkins
On 10/10/2018 14:02, David Howells wrote: The attached change seems to fix the lazy-umount problem. David --- diff --git a/fs/namespace.c b/fs/namespace.c index 5adeeea2a4d9..d43f0fa152e9 100644 --- a/fs/namespace.c +++ b/fs/namespace.c @@ -2472,7 +2472,7 @@ static int do_move_mount(struct path

Re: [PATCH 03/34] teach move_mount(2) to work with OPEN_TREE_CLONE [ver #12]

2018-10-10 Thread Alan Jenkins
On 10/10/2018 14:02, David Howells wrote: The attached change seems to fix the lazy-umount problem. David --- diff --git a/fs/namespace.c b/fs/namespace.c index 5adeeea2a4d9..d43f0fa152e9 100644 --- a/fs/namespace.c +++ b/fs/namespace.c @@ -2472,7 +2472,7 @@ static int do_move_mount(struct path

Re: [RFC PATCH 0/7] Introduce thermal pressure

2018-10-10 Thread Quentin Perret
On Wednesday 10 Oct 2018 at 14:04:40 (+0200), Vincent Guittot wrote: > This patchset doesn't touch cpu_capacity_orig and doesn't need to as > it assume that the max capacity is unchanged but some capacity is > momentary stolen by thermal. > If you want to reflect immediately all thermal capping

Re: [RFC PATCH 0/7] Introduce thermal pressure

2018-10-10 Thread Quentin Perret
On Wednesday 10 Oct 2018 at 14:04:40 (+0200), Vincent Guittot wrote: > This patchset doesn't touch cpu_capacity_orig and doesn't need to as > it assume that the max capacity is unchanged but some capacity is > momentary stolen by thermal. > If you want to reflect immediately all thermal capping

Re: WARNING in __put_task_struct (2)

2018-10-10 Thread Dmitry Vyukov
On Tue, Oct 9, 2018 at 1:30 PM, Leon Romanovsky wrote: > On Mon, Oct 08, 2018 at 01:45:13PM -0600, Jason Gunthorpe wrote: >> On Mon, Oct 08, 2018 at 06:15:22PM +0200, Dmitry Vyukov wrote: >> > On Mon, Oct 8, 2018 at 6:12 PM, syzbot >> > wrote: >> > > Hello, >> > > >> > > syzbot found the

Re: WARNING in __put_task_struct (2)

2018-10-10 Thread Dmitry Vyukov
On Tue, Oct 9, 2018 at 1:30 PM, Leon Romanovsky wrote: > On Mon, Oct 08, 2018 at 01:45:13PM -0600, Jason Gunthorpe wrote: >> On Mon, Oct 08, 2018 at 06:15:22PM +0200, Dmitry Vyukov wrote: >> > On Mon, Oct 8, 2018 at 6:12 PM, syzbot >> > wrote: >> > > Hello, >> > > >> > > syzbot found the

Re: [RFC 4/4] gpio: sifive: Add GPIO driver for SiFive SoCs

2018-10-10 Thread Andreas Schwab
On Okt 09 2018, Atish Patra wrote: > +static void sifive_set_ie(struct sifive_gpio *chip, unsigned int offset) > +{ > + unsigned long flags; > + unsigned int trigger; > + > + raw_spin_lock_irqsave(>lock, flags); > + trigger = (chip->enabled & BIT(offset)) ? chip->trigger[offset]

Re: [RFC 4/4] gpio: sifive: Add GPIO driver for SiFive SoCs

2018-10-10 Thread Andreas Schwab
On Okt 09 2018, Atish Patra wrote: > +static void sifive_set_ie(struct sifive_gpio *chip, unsigned int offset) > +{ > + unsigned long flags; > + unsigned int trigger; > + > + raw_spin_lock_irqsave(>lock, flags); > + trigger = (chip->enabled & BIT(offset)) ? chip->trigger[offset]

Re: [PATCH 03/34] teach move_mount(2) to work with OPEN_TREE_CLONE [ver #12]

2018-10-10 Thread David Howells
The attached change seems to fix the lazy-umount problem. David --- diff --git a/fs/namespace.c b/fs/namespace.c index 5adeeea2a4d9..d43f0fa152e9 100644 --- a/fs/namespace.c +++ b/fs/namespace.c @@ -2472,7 +2472,7 @@ static int do_move_mount(struct path *old_path, struct path *new_path)

Re: [PATCH 03/34] teach move_mount(2) to work with OPEN_TREE_CLONE [ver #12]

2018-10-10 Thread David Howells
The attached change seems to fix the lazy-umount problem. David --- diff --git a/fs/namespace.c b/fs/namespace.c index 5adeeea2a4d9..d43f0fa152e9 100644 --- a/fs/namespace.c +++ b/fs/namespace.c @@ -2472,7 +2472,7 @@ static int do_move_mount(struct path *old_path, struct path *new_path)

Re: WARNING: ODEBUG bug in free_task

2018-10-10 Thread Dmitry Vyukov
On Tue, Oct 9, 2018 at 7:14 PM, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:ae16eea39a86 Add linux-next specific files for 20181008 > git tree: linux-next > console output: https://syzkaller.appspot.com/x/log.txt?x=16a493b940 > kernel config:

Re: WARNING: ODEBUG bug in free_task

2018-10-10 Thread Dmitry Vyukov
On Tue, Oct 9, 2018 at 7:14 PM, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:ae16eea39a86 Add linux-next specific files for 20181008 > git tree: linux-next > console output: https://syzkaller.appspot.com/x/log.txt?x=16a493b940 > kernel config:

Re: [PATCH] perf tools: Fix wrong filter_band* values for uncore events

2018-10-10 Thread Arnaldo Carvalho de Melo
Em Wed, Oct 10, 2018 at 10:03:39AM +0200, Jiri Olsa escreveu: > On Tue, Oct 09, 2018 at 02:18:39PM -0700, Andi Kleen wrote: > > On Tue, Oct 09, 2018 at 12:01:44PM +0200, Jiri Olsa wrote: > > > On Wed, Oct 03, 2018 at 07:45:50AM -0700, Andi Kleen wrote: > > > > > note there's couple of changes that

Re: [PATCH] perf tools: Fix wrong filter_band* values for uncore events

2018-10-10 Thread Arnaldo Carvalho de Melo
Em Wed, Oct 10, 2018 at 10:03:39AM +0200, Jiri Olsa escreveu: > On Tue, Oct 09, 2018 at 02:18:39PM -0700, Andi Kleen wrote: > > On Tue, Oct 09, 2018 at 12:01:44PM +0200, Jiri Olsa wrote: > > > On Wed, Oct 03, 2018 at 07:45:50AM -0700, Andi Kleen wrote: > > > > > note there's couple of changes that

Re: [PATCH] perf trace beautify: Beautify flags of mount(2) and umount(2).

2018-10-10 Thread Arnaldo Carvalho de Melo
Em Wed, Oct 10, 2018 at 09:55:06AM -0300, Arnaldo Carvalho de Melo escreveu: > Em Tue, Oct 09, 2018 at 08:52:26PM -0700, Benjamin Peterson escreveu: > > Hi Arnaldo, > > Did you get a chance to look at this again? > > Thanks, for pinging me about it, will check. So, this is already upstream, I'll

Re: [PATCH] perf trace beautify: Beautify flags of mount(2) and umount(2).

2018-10-10 Thread Arnaldo Carvalho de Melo
Em Wed, Oct 10, 2018 at 09:55:06AM -0300, Arnaldo Carvalho de Melo escreveu: > Em Tue, Oct 09, 2018 at 08:52:26PM -0700, Benjamin Peterson escreveu: > > Hi Arnaldo, > > Did you get a chance to look at this again? > > Thanks, for pinging me about it, will check. So, this is already upstream, I'll

Re: [PATCH] perf trace beautify: Beautify flags of mount(2) and umount(2).

2018-10-10 Thread Arnaldo Carvalho de Melo
Em Tue, Oct 09, 2018 at 08:52:26PM -0700, Benjamin Peterson escreveu: > Hi Arnaldo, > Did you get a chance to look at this again? Thanks, for pinging me about it, will check. - Arnaldo > On Thu, Aug 30, 2018, at 14:50, Benjamin Peterson wrote: > > Thanks for the review. > > > > On Thu, Aug

Re: [PATCH] perf trace beautify: Beautify flags of mount(2) and umount(2).

2018-10-10 Thread Arnaldo Carvalho de Melo
Em Tue, Oct 09, 2018 at 08:52:26PM -0700, Benjamin Peterson escreveu: > Hi Arnaldo, > Did you get a chance to look at this again? Thanks, for pinging me about it, will check. - Arnaldo > On Thu, Aug 30, 2018, at 14:50, Benjamin Peterson wrote: > > Thanks for the review. > > > > On Thu, Aug

Re: [PATCH] config: arm: imx: remove PROVE_LOCKING from defconfig

2018-10-10 Thread Fabio Estevam
Hi Lukasz, On Tue, Oct 9, 2018 at 12:36 PM Lukasz Luba wrote: > > PROVE_LOCKING enables LOCKDEP, which causes big overhead on cache and > bus transactions. > > On some ARM big.LITTLE architecutres (Exynos 5433) the overhead is really big. > The overhead can be measures using hackbench which will

Re: [PATCH] config: arm: imx: remove PROVE_LOCKING from defconfig

2018-10-10 Thread Fabio Estevam
Hi Lukasz, On Tue, Oct 9, 2018 at 12:36 PM Lukasz Luba wrote: > > PROVE_LOCKING enables LOCKDEP, which causes big overhead on cache and > bus transactions. > > On some ARM big.LITTLE architecutres (Exynos 5433) the overhead is really big. > The overhead can be measures using hackbench which will

Re: perf report segfault

2018-10-10 Thread Arnaldo Carvalho de Melo
Em Wed, Oct 10, 2018 at 12:20:04AM +0200, Jiri Olsa escreveu: > On Tue, Oct 09, 2018 at 04:47:31PM -0500, Anthony LaTorre wrote: > > I can try building perf from the latest sources. I've attached the > > perf.data and perf.data.tar.bz2 from the test program I sent earlier. > > cool, reproduced..

Re: perf report segfault

2018-10-10 Thread Arnaldo Carvalho de Melo
Em Wed, Oct 10, 2018 at 12:20:04AM +0200, Jiri Olsa escreveu: > On Tue, Oct 09, 2018 at 04:47:31PM -0500, Anthony LaTorre wrote: > > I can try building perf from the latest sources. I've attached the > > perf.data and perf.data.tar.bz2 from the test program I sent earlier. > > cool, reproduced..

Re: [RFC PATCH 0/7] Introduce thermal pressure

2018-10-10 Thread Juri Lelli
On 10/10/18 14:34, Vincent Guittot wrote: > Hi Juri, > > On Wed, 10 Oct 2018 at 14:23, Juri Lelli wrote: > > > > On 10/10/18 14:04, Vincent Guittot wrote: > > > > [...] > > > > > The problem was the same with RT, the cfs utilization was lower than > > > reality because RT steals soem cycle to

Re: [RFC PATCH 0/7] Introduce thermal pressure

2018-10-10 Thread Juri Lelli
On 10/10/18 14:34, Vincent Guittot wrote: > Hi Juri, > > On Wed, 10 Oct 2018 at 14:23, Juri Lelli wrote: > > > > On 10/10/18 14:04, Vincent Guittot wrote: > > > > [...] > > > > > The problem was the same with RT, the cfs utilization was lower than > > > reality because RT steals soem cycle to

Re: [PATCH 03/34] teach move_mount(2) to work with OPEN_TREE_CLONE [ver #12]

2018-10-10 Thread David Howells
Alan Jenkins wrote: > +pr_info("mnt_flags=%x umount=%x\n", > + (unsigned) old->mnt.mnt_flags, > + (unsigned) !!(old->mnt.mnt_flags & MNT_UMOUNT); > + Note that this doesn't actually compile, for want of a bracket. David

Re: [PATCH 03/34] teach move_mount(2) to work with OPEN_TREE_CLONE [ver #12]

2018-10-10 Thread David Howells
Alan Jenkins wrote: > +pr_info("mnt_flags=%x umount=%x\n", > + (unsigned) old->mnt.mnt_flags, > + (unsigned) !!(old->mnt.mnt_flags & MNT_UMOUNT); > + Note that this doesn't actually compile, for want of a bracket. David

Re: [PATCH 4.4 093/113] pinctrl: msm: Really mask level interrupts to prevent latching

2018-10-10 Thread Greg KH
On Wed, Oct 10, 2018 at 02:12:01PM +0200, Linus Walleij wrote: > On Wed, Oct 10, 2018 at 9:53 AM Nathan Chancellor > wrote: > > On Wed, Oct 10, 2018 at 09:12:58AM +0200, Linus Walleij wrote: > > > On Tue, Oct 9, 2018 at 8:33 AM Nathan Chancellor > > > wrote: > > > > > > > Sigh, sorry, I caught

Re: [PATCH 4.4 093/113] pinctrl: msm: Really mask level interrupts to prevent latching

2018-10-10 Thread Greg KH
On Wed, Oct 10, 2018 at 02:12:01PM +0200, Linus Walleij wrote: > On Wed, Oct 10, 2018 at 9:53 AM Nathan Chancellor > wrote: > > On Wed, Oct 10, 2018 at 09:12:58AM +0200, Linus Walleij wrote: > > > On Tue, Oct 9, 2018 at 8:33 AM Nathan Chancellor > > > wrote: > > > > > > > Sigh, sorry, I caught

Re: [PATCH] mm/thp: Correctly differentiate between mapped THP and PMD migration entry

2018-10-10 Thread Zi Yan
On 10 Oct 2018, at 0:05, Anshuman Khandual wrote: > On 10/09/2018 07:28 PM, Zi Yan wrote: >> cc: Naoya Horiguchi (who proposed to use !_PAGE_PRESENT && !_PAGE_PSE for x86 >> PMD migration entry check) >> >> On 8 Oct 2018, at 23:58, Anshuman Khandual wrote: >> >>> A normal mapped THP page at PMD

Re: [PATCH] mm/thp: Correctly differentiate between mapped THP and PMD migration entry

2018-10-10 Thread Zi Yan
On 10 Oct 2018, at 0:05, Anshuman Khandual wrote: > On 10/09/2018 07:28 PM, Zi Yan wrote: >> cc: Naoya Horiguchi (who proposed to use !_PAGE_PRESENT && !_PAGE_PSE for x86 >> PMD migration entry check) >> >> On 8 Oct 2018, at 23:58, Anshuman Khandual wrote: >> >>> A normal mapped THP page at PMD

Re: [PATCH 03/34] teach move_mount(2) to work with OPEN_TREE_CLONE [ver #12]

2018-10-10 Thread Alan Jenkins
On 10/10/2018 13:31, David Howells wrote: Alan Jenkins wrote: # mount --move . /mnt is this calling move_mount(2) on your system? David No. That was an unpatched mount program, from util-linux. Alan

Re: [PATCH 03/34] teach move_mount(2) to work with OPEN_TREE_CLONE [ver #12]

2018-10-10 Thread Alan Jenkins
On 10/10/2018 13:31, David Howells wrote: Alan Jenkins wrote: # mount --move . /mnt is this calling move_mount(2) on your system? David No. That was an unpatched mount program, from util-linux. Alan

Re: [RFD/RFC PATCH 0/8] Towards implementing proxy execution

2018-10-10 Thread Juri Lelli
On 10/10/18 13:56, Henrik Austad wrote: > On Tue, Oct 09, 2018 at 11:24:26AM +0200, Juri Lelli wrote: > > Hi all, > > Hi, nice series, I have a lot of details to grok, but I like the idea of PE > > > Proxy Execution (also goes under several other names) isn't a new > > concept, it has been

Re: [RFD/RFC PATCH 0/8] Towards implementing proxy execution

2018-10-10 Thread Juri Lelli
On 10/10/18 13:56, Henrik Austad wrote: > On Tue, Oct 09, 2018 at 11:24:26AM +0200, Juri Lelli wrote: > > Hi all, > > Hi, nice series, I have a lot of details to grok, but I like the idea of PE > > > Proxy Execution (also goes under several other names) isn't a new > > concept, it has been

Re: INFO: rcu detected stall in shmem_fault

2018-10-10 Thread Dmitry Vyukov
On Wed, Oct 10, 2018 at 2:29 PM, Dmitry Vyukov wrote: > On Wed, Oct 10, 2018 at 2:25 PM, Michal Hocko wrote: >> On Wed 10-10-18 20:48:33, Sergey Senozhatsky wrote: >>> On (10/10/18 13:35), Michal Hocko wrote: >>> > > Just flooding out of memory messages can trigger RCU stall problems. >>> > >

Re: INFO: rcu detected stall in shmem_fault

2018-10-10 Thread Dmitry Vyukov
On Wed, Oct 10, 2018 at 2:29 PM, Dmitry Vyukov wrote: > On Wed, Oct 10, 2018 at 2:25 PM, Michal Hocko wrote: >> On Wed 10-10-18 20:48:33, Sergey Senozhatsky wrote: >>> On (10/10/18 13:35), Michal Hocko wrote: >>> > > Just flooding out of memory messages can trigger RCU stall problems. >>> > >

Re: [PATCH 03/34] teach move_mount(2) to work with OPEN_TREE_CLONE [ver #12]

2018-10-10 Thread David Howells
Alan Jenkins wrote: > + * Copyright (C) 2017 Red Hat, Inc. All Rights Reserved. > + * Written by David Howells (dhowe...@redhat.com) Do you want to update that and I can take them into my patchset? David

Re: [PATCH 03/34] teach move_mount(2) to work with OPEN_TREE_CLONE [ver #12]

2018-10-10 Thread David Howells
Alan Jenkins wrote: > + * Copyright (C) 2017 Red Hat, Inc. All Rights Reserved. > + * Written by David Howells (dhowe...@redhat.com) Do you want to update that and I can take them into my patchset? David

Re: [RFC 4/4] gpio: sifive: Add GPIO driver for SiFive SoCs

2018-10-10 Thread Linus Walleij
Hi Atish, thanks for your patch! On Tue, Oct 9, 2018 at 8:51 PM Atish Patra wrote: > From: "Wesley W. Terpstra" > > Adds the GPIO driver for SiFive RISC-V SoCs. > > Signed-off-by: Wesley W. Terpstra > [Atish: Various fixes and code cleanup] > Signed-off-by: Atish Patra (...) > +config

Re: [RFC 4/4] gpio: sifive: Add GPIO driver for SiFive SoCs

2018-10-10 Thread Linus Walleij
Hi Atish, thanks for your patch! On Tue, Oct 9, 2018 at 8:51 PM Atish Patra wrote: > From: "Wesley W. Terpstra" > > Adds the GPIO driver for SiFive RISC-V SoCs. > > Signed-off-by: Wesley W. Terpstra > [Atish: Various fixes and code cleanup] > Signed-off-by: Atish Patra (...) > +config

Re: [RFC PATCH 0/7] Introduce thermal pressure

2018-10-10 Thread Vincent Guittot
Hi Juri, On Wed, 10 Oct 2018 at 14:23, Juri Lelli wrote: > > On 10/10/18 14:04, Vincent Guittot wrote: > > [...] > > > The problem was the same with RT, the cfs utilization was lower than > > reality because RT steals soem cycle to CFS > > So schedutil was selecting a lower frequency when cfs

Re: [RFC PATCH 0/7] Introduce thermal pressure

2018-10-10 Thread Vincent Guittot
Hi Juri, On Wed, 10 Oct 2018 at 14:23, Juri Lelli wrote: > > On 10/10/18 14:04, Vincent Guittot wrote: > > [...] > > > The problem was the same with RT, the cfs utilization was lower than > > reality because RT steals soem cycle to CFS > > So schedutil was selecting a lower frequency when cfs

Re: kernel BUG at arch/x86/kvm/x86.c:LINE! (2)

2018-10-10 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:3d647e62686f Merge tag 's390-4.19-4' of git://git.kernel.o.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=15fc834e40 kernel config:

Re: kernel BUG at arch/x86/kvm/x86.c:LINE! (2)

2018-10-10 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:3d647e62686f Merge tag 's390-4.19-4' of git://git.kernel.o.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=15fc834e40 kernel config:

Re: [PATCH 03/34] teach move_mount(2) to work with OPEN_TREE_CLONE [ver #12]

2018-10-10 Thread David Howells
Alan Jenkins wrote: > # mount --move . /mnt is this calling move_mount(2) on your system? David

Re: [PATCH 03/34] teach move_mount(2) to work with OPEN_TREE_CLONE [ver #12]

2018-10-10 Thread David Howells
Alan Jenkins wrote: > # mount --move . /mnt is this calling move_mount(2) on your system? David

Re: INFO: rcu detected stall in shmem_fault

2018-10-10 Thread Dmitry Vyukov
On Wed, Oct 10, 2018 at 2:25 PM, Michal Hocko wrote: > On Wed 10-10-18 20:48:33, Sergey Senozhatsky wrote: >> On (10/10/18 13:35), Michal Hocko wrote: >> > > Just flooding out of memory messages can trigger RCU stall problems. >> > > For example, a severe skbuff_head_cache or kmalloc-512 leak bug

Re: INFO: rcu detected stall in shmem_fault

2018-10-10 Thread Dmitry Vyukov
On Wed, Oct 10, 2018 at 2:25 PM, Michal Hocko wrote: > On Wed 10-10-18 20:48:33, Sergey Senozhatsky wrote: >> On (10/10/18 13:35), Michal Hocko wrote: >> > > Just flooding out of memory messages can trigger RCU stall problems. >> > > For example, a severe skbuff_head_cache or kmalloc-512 leak bug

Re: [RFD/RFC PATCH 0/8] Towards implementing proxy execution

2018-10-10 Thread Juri Lelli
On 10/10/18 13:23, Peter Zijlstra wrote: > On Wed, Oct 10, 2018 at 01:16:29PM +0200, luca abeni wrote: > > On Wed, 10 Oct 2018 12:57:10 +0200 > > Peter Zijlstra wrote: > > > > > On Wed, Oct 10, 2018 at 12:34:17PM +0200, luca abeni wrote: > > > > So, I would propose to make the proxy() function

Re: [RFD/RFC PATCH 0/8] Towards implementing proxy execution

2018-10-10 Thread Juri Lelli
On 10/10/18 13:23, Peter Zijlstra wrote: > On Wed, Oct 10, 2018 at 01:16:29PM +0200, luca abeni wrote: > > On Wed, 10 Oct 2018 12:57:10 +0200 > > Peter Zijlstra wrote: > > > > > On Wed, Oct 10, 2018 at 12:34:17PM +0200, luca abeni wrote: > > > > So, I would propose to make the proxy() function

Re: [PATCH 1/2] dt-bindings: spi: dw: add cs-override property

2018-10-10 Thread Mark Brown
On Wed, Oct 10, 2018 at 11:58:40AM +, Woodhouse, David wrote: > On Wed, 2018-10-10 at 12:27 +0100, Mark Brown wrote: > > If this is a modified IP with additional features then it should be > > given a new compatible string rather than having a property - it's not > > just configuration of the

Re: [PATCH 1/2] dt-bindings: spi: dw: add cs-override property

2018-10-10 Thread Mark Brown
On Wed, Oct 10, 2018 at 11:58:40AM +, Woodhouse, David wrote: > On Wed, 2018-10-10 at 12:27 +0100, Mark Brown wrote: > > If this is a modified IP with additional features then it should be > > given a new compatible string rather than having a property - it's not > > just configuration of the

Re: INFO: rcu detected stall in shmem_fault

2018-10-10 Thread Michal Hocko
On Wed 10-10-18 20:48:33, Sergey Senozhatsky wrote: > On (10/10/18 13:35), Michal Hocko wrote: > > > Just flooding out of memory messages can trigger RCU stall problems. > > > For example, a severe skbuff_head_cache or kmalloc-512 leak bug is causing > > > > [...] > > > > Quite some of them,

Re: [RFD/RFC PATCH 0/8] Towards implementing proxy execution

2018-10-10 Thread Peter Zijlstra
On Wed, Oct 10, 2018 at 01:56:39PM +0200, Henrik Austad wrote: > On Tue, Oct 09, 2018 at 11:24:26AM +0200, Juri Lelli wrote: > > Hi all, > > Hi, nice series, I have a lot of details to grok, but I like the idea of PE > > > Proxy Execution (also goes under several other names) isn't a new > >

Re: INFO: rcu detected stall in shmem_fault

2018-10-10 Thread Michal Hocko
On Wed 10-10-18 20:48:33, Sergey Senozhatsky wrote: > On (10/10/18 13:35), Michal Hocko wrote: > > > Just flooding out of memory messages can trigger RCU stall problems. > > > For example, a severe skbuff_head_cache or kmalloc-512 leak bug is causing > > > > [...] > > > > Quite some of them,

Re: [RFD/RFC PATCH 0/8] Towards implementing proxy execution

2018-10-10 Thread Peter Zijlstra
On Wed, Oct 10, 2018 at 01:56:39PM +0200, Henrik Austad wrote: > On Tue, Oct 09, 2018 at 11:24:26AM +0200, Juri Lelli wrote: > > Hi all, > > Hi, nice series, I have a lot of details to grok, but I like the idea of PE > > > Proxy Execution (also goes under several other names) isn't a new > >

Re: [RFC PATCH 0/7] Introduce thermal pressure

2018-10-10 Thread Juri Lelli
On 10/10/18 14:04, Vincent Guittot wrote: [...] > The problem was the same with RT, the cfs utilization was lower than > reality because RT steals soem cycle to CFS > So schedutil was selecting a lower frequency when cfs was running > whereas the CPU was fully used. > The same can happen with

Re: [RFC PATCH 0/7] Introduce thermal pressure

2018-10-10 Thread Juri Lelli
On 10/10/18 14:04, Vincent Guittot wrote: [...] > The problem was the same with RT, the cfs utilization was lower than > reality because RT steals soem cycle to CFS > So schedutil was selecting a lower frequency when cfs was running > whereas the CPU was fully used. > The same can happen with

[PATCH] cpuidle: menu: Simplify checks related to the polling state

2018-10-10 Thread Rafael J. Wysocki
From: Rafael J. Wysocki After some recent menu governor changes, the promotion of the "polling" state to a physical one is mostly controlled by the latency limit (resulting from the "interactivity" factor) and not by the time to the closest timer event, so it should be sufficient to check the

[PATCH] cpuidle: menu: Simplify checks related to the polling state

2018-10-10 Thread Rafael J. Wysocki
From: Rafael J. Wysocki After some recent menu governor changes, the promotion of the "polling" state to a physical one is mostly controlled by the latency limit (resulting from the "interactivity" factor) and not by the time to the closest timer event, so it should be sufficient to check the

Re: [Question] directory for SoC-related DT binding

2018-10-10 Thread Stefan Wahren
Am 10.10.2018 um 14:09 schrieb Russell King - ARM Linux: > On Wed, Oct 10, 2018 at 02:04:14PM +0200, Stefan Wahren wrote: >> Hi, >> >> Am 10.10.2018 um 13:19 schrieb Rob Herring: >>> On Wed, Oct 10, 2018 at 6:08 AM Masahiro Yamada >>> wrote: Hi, I see a bunch of vendor (or

Re: [Question] directory for SoC-related DT binding

2018-10-10 Thread Stefan Wahren
Am 10.10.2018 um 14:09 schrieb Russell King - ARM Linux: > On Wed, Oct 10, 2018 at 02:04:14PM +0200, Stefan Wahren wrote: >> Hi, >> >> Am 10.10.2018 um 13:19 schrieb Rob Herring: >>> On Wed, Oct 10, 2018 at 6:08 AM Masahiro Yamada >>> wrote: Hi, I see a bunch of vendor (or

Re: [PATCH 4.4 093/113] pinctrl: msm: Really mask level interrupts to prevent latching

2018-10-10 Thread Linus Walleij
On Wed, Oct 10, 2018 at 9:53 AM Nathan Chancellor wrote: > On Wed, Oct 10, 2018 at 09:12:58AM +0200, Linus Walleij wrote: > > On Tue, Oct 9, 2018 at 8:33 AM Nathan Chancellor > > wrote: > > > > > Sigh, sorry, I caught this after I sent my initial all good email but > > > this commit breaks NFC

Re: [PATCH 4.4 093/113] pinctrl: msm: Really mask level interrupts to prevent latching

2018-10-10 Thread Linus Walleij
On Wed, Oct 10, 2018 at 9:53 AM Nathan Chancellor wrote: > On Wed, Oct 10, 2018 at 09:12:58AM +0200, Linus Walleij wrote: > > On Tue, Oct 9, 2018 at 8:33 AM Nathan Chancellor > > wrote: > > > > > Sigh, sorry, I caught this after I sent my initial all good email but > > > this commit breaks NFC

Re: [Question] directory for SoC-related DT binding

2018-10-10 Thread Russell King - ARM Linux
On Wed, Oct 10, 2018 at 02:04:14PM +0200, Stefan Wahren wrote: > Hi, > > Am 10.10.2018 um 13:19 schrieb Rob Herring: > > On Wed, Oct 10, 2018 at 6:08 AM Masahiro Yamada > > wrote: > >> Hi, > >> > >> > >> I see a bunch of vendor (or SoC) names in > >> Documentation/device/bindings/arm/ > >> > >>

Re: [Question] directory for SoC-related DT binding

2018-10-10 Thread Russell King - ARM Linux
On Wed, Oct 10, 2018 at 02:04:14PM +0200, Stefan Wahren wrote: > Hi, > > Am 10.10.2018 um 13:19 schrieb Rob Herring: > > On Wed, Oct 10, 2018 at 6:08 AM Masahiro Yamada > > wrote: > >> Hi, > >> > >> > >> I see a bunch of vendor (or SoC) names in > >> Documentation/device/bindings/arm/ > >> > >>

Re: [Question] directory for SoC-related DT binding

2018-10-10 Thread Russell King - ARM Linux
On Wed, Oct 10, 2018 at 08:07:52PM +0900, Masahiro Yamada wrote: > Hi, > > > I see a bunch of vendor (or SoC) names in > Documentation/device/bindings/arm/ > > ./Documentation/devicetree/bindings/arm/altera > ./Documentation/devicetree/bindings/arm/amlogic >

[PATCH v3 16/22] arm64: dts: ls1046a: add smmu node

2018-10-10 Thread laurentiu . tudor
From: Laurentiu Tudor This allows for the SMMU device to be probed by the SMMU kernel driver. Signed-off-by: Laurentiu Tudor --- .../arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 42 +++ 1 file changed, 42 insertions(+) diff --git

Re: [Question] directory for SoC-related DT binding

2018-10-10 Thread Russell King - ARM Linux
On Wed, Oct 10, 2018 at 08:07:52PM +0900, Masahiro Yamada wrote: > Hi, > > > I see a bunch of vendor (or SoC) names in > Documentation/device/bindings/arm/ > > ./Documentation/devicetree/bindings/arm/altera > ./Documentation/devicetree/bindings/arm/amlogic >

[PATCH v3 16/22] arm64: dts: ls1046a: add smmu node

2018-10-10 Thread laurentiu . tudor
From: Laurentiu Tudor This allows for the SMMU device to be probed by the SMMU kernel driver. Signed-off-by: Laurentiu Tudor --- .../arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 42 +++ 1 file changed, 42 insertions(+) diff --git

Re: [PATCH] ASoC: max98988: add I2C dependency

2018-10-10 Thread Marco Felsch
Hi Arnd, On 18-10-10 10:37, Arnd Bergmann wrote: > max98988 only builds with I2C support enabled, otherwise we get a build error: > > sound/soc/codecs/max98088.c:1789:1: error: data definition has no type or > storage class [-Werror] > module_i2c_driver(max98088_i2c_driver); >

Re: [PATCH 1/4] gpio: Assign gpio_irq_chip::parents to non-stack pointer

2018-10-10 Thread Linus Walleij
On Mon, Oct 8, 2018 at 6:32 PM Stephen Boyd wrote: > gpiochip_set_cascaded_irqchip() is passed 'parent_irq' as an argument > and then the address of that argument is assigned to the gpio chips > gpio_irq_chip 'parents' pointer shortly thereafter. This can't ever > work, because we've just

Re: [PATCH] ASoC: max98988: add I2C dependency

2018-10-10 Thread Marco Felsch
Hi Arnd, On 18-10-10 10:37, Arnd Bergmann wrote: > max98988 only builds with I2C support enabled, otherwise we get a build error: > > sound/soc/codecs/max98088.c:1789:1: error: data definition has no type or > storage class [-Werror] > module_i2c_driver(max98088_i2c_driver); >

Re: [PATCH 1/4] gpio: Assign gpio_irq_chip::parents to non-stack pointer

2018-10-10 Thread Linus Walleij
On Mon, Oct 8, 2018 at 6:32 PM Stephen Boyd wrote: > gpiochip_set_cascaded_irqchip() is passed 'parent_irq' as an argument > and then the address of that argument is assigned to the gpio chips > gpio_irq_chip 'parents' pointer shortly thereafter. This can't ever > work, because we've just

Re: [RFC PATCH 0/7] Introduce thermal pressure

2018-10-10 Thread Vincent Guittot
On Wed, 10 Oct 2018 at 12:36, Quentin Perret wrote: > > On Wednesday 10 Oct 2018 at 12:14:32 (+0200), Vincent Guittot wrote: > > On Wed, 10 Oct 2018 at 11:55, Quentin Perret wrote: > > > > > > Hi Vincent, > > > > > > On Wednesday 10 Oct 2018 at 10:50:05 (+0200), Vincent Guittot wrote: > > > >

Re: [RFC PATCH 0/7] Introduce thermal pressure

2018-10-10 Thread Vincent Guittot
On Wed, 10 Oct 2018 at 12:36, Quentin Perret wrote: > > On Wednesday 10 Oct 2018 at 12:14:32 (+0200), Vincent Guittot wrote: > > On Wed, 10 Oct 2018 at 11:55, Quentin Perret wrote: > > > > > > Hi Vincent, > > > > > > On Wednesday 10 Oct 2018 at 10:50:05 (+0200), Vincent Guittot wrote: > > > >

Re: [Question] directory for SoC-related DT binding

2018-10-10 Thread Stefan Wahren
Hi, Am 10.10.2018 um 13:19 schrieb Rob Herring: > On Wed, Oct 10, 2018 at 6:08 AM Masahiro Yamada > wrote: >> Hi, >> >> >> I see a bunch of vendor (or SoC) names in >> Documentation/device/bindings/arm/ >> >> ./Documentation/devicetree/bindings/arm/altera >>

Re: [Question] directory for SoC-related DT binding

2018-10-10 Thread Stefan Wahren
Hi, Am 10.10.2018 um 13:19 schrieb Rob Herring: > On Wed, Oct 10, 2018 at 6:08 AM Masahiro Yamada > wrote: >> Hi, >> >> >> I see a bunch of vendor (or SoC) names in >> Documentation/device/bindings/arm/ >> >> ./Documentation/devicetree/bindings/arm/altera >>

[DMA-engine Question] inconsistent policy of src_addr_widths, dst_addr_widths

2018-10-10 Thread Masahiro Yamada
Hi. When I wrote my DMA engine driver, I had difficulty in understanding what to set to the struct dma_device members. For example, src_addr_widths. I see two driver groups regarding this. [A] BIT(DMA_SLAVE_BUSWIDTH_*_BYTES) are OR'ed For example, st_fdma.c

[DMA-engine Question] inconsistent policy of src_addr_widths, dst_addr_widths

2018-10-10 Thread Masahiro Yamada
Hi. When I wrote my DMA engine driver, I had difficulty in understanding what to set to the struct dma_device members. For example, src_addr_widths. I see two driver groups regarding this. [A] BIT(DMA_SLAVE_BUSWIDTH_*_BYTES) are OR'ed For example, st_fdma.c

[GIT PULL] Devicetree fix for 4.19-rc8

2018-10-10 Thread Rob Herring
Hi Greg, Please pull this one DT fix for 4.19. Note I didn't tag this for stable as I cherry-picked it from my 4.20 branch and wanted to not touch the commit msg at all. Maybe that doesn't matter. Rob The following changes since commit e54192b48da75f025ae4b277925eaf6aca1d13bd: of: fix

[GIT PULL] Devicetree fix for 4.19-rc8

2018-10-10 Thread Rob Herring
Hi Greg, Please pull this one DT fix for 4.19. Note I didn't tag this for stable as I cherry-picked it from my 4.20 branch and wanted to not touch the commit msg at all. Maybe that doesn't matter. Rob The following changes since commit e54192b48da75f025ae4b277925eaf6aca1d13bd: of: fix

<    6   7   8   9   10   11   12   13   14   15   >