Re: [PATCH 4.4 00/47] 4.4.155-stable review

2018-09-08 Thread Naresh Kamboju
On 8 September 2018 at 02:39, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.155 release. > There are 47 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

Re: [PATCH 4.4 00/47] 4.4.155-stable review

2018-09-08 Thread Naresh Kamboju
On 8 September 2018 at 02:39, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.155 release. > There are 47 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

Re: [PATCH 4.9 00/63] 4.9.126-stable review

2018-09-08 Thread Naresh Kamboju
On 8 September 2018 at 02:39, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.126 release. > There are 63 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

Re: [PATCH 4.9 00/63] 4.9.126-stable review

2018-09-08 Thread Naresh Kamboju
On 8 September 2018 at 02:39, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.126 release. > There are 63 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

Re: [PATCH 4.14 00/89] 4.14.69-stable review

2018-09-08 Thread Naresh Kamboju
On 8 September 2018 at 02:38, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.69 release. > There are 89 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

Re: [PATCH 4.14 00/89] 4.14.69-stable review

2018-09-08 Thread Naresh Kamboju
On 8 September 2018 at 02:38, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.69 release. > There are 89 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

Re: [PATCH 4.18 000/145] 4.18.7-stable review

2018-09-08 Thread Naresh Kamboju
On 8 September 2018 at 02:37, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.18.7 release. > There are 145 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

Re: [PATCH 4.18 000/145] 4.18.7-stable review

2018-09-08 Thread Naresh Kamboju
On 8 September 2018 at 02:37, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.18.7 release. > There are 145 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

Re: [PATCH 03/11] compat_ioctl: remove translation for sound ioctls

2018-09-08 Thread Al Viro
On Sat, Sep 08, 2018 at 04:28:09PM +0200, Arnd Bergmann wrote: > The SNDCTL_* and SOUND_* commands are the old OSS user interface. > > I checked all the sound ioctl commands listed in fs/compat_ioctl.c > to see if we still need the translation handlers. Here is what I > found: > > - sound/oss/

Re: [PATCH 03/11] compat_ioctl: remove translation for sound ioctls

2018-09-08 Thread Al Viro
On Sat, Sep 08, 2018 at 04:28:09PM +0200, Arnd Bergmann wrote: > The SNDCTL_* and SOUND_* commands are the old OSS user interface. > > I checked all the sound ioctl commands listed in fs/compat_ioctl.c > to see if we still need the translation handlers. Here is what I > found: > > - sound/oss/

Re: [PATCH 06/11] compat_ioctl: remove /dev/random commands

2018-09-08 Thread Al Viro
On Sat, Sep 08, 2018 at 04:28:12PM +0200, Arnd Bergmann wrote: > These are all handled by the random driver, so instead of listing > each ioctl, we can just use the same function to deal with both > native and compat commands. Umm... I don't think it's right - > .unlocked_ioctl =

Re: [PATCH 06/11] compat_ioctl: remove /dev/random commands

2018-09-08 Thread Al Viro
On Sat, Sep 08, 2018 at 04:28:12PM +0200, Arnd Bergmann wrote: > These are all handled by the random driver, so instead of listing > each ioctl, we can just use the same function to deal with both > native and compat commands. Umm... I don't think it's right - > .unlocked_ioctl =

Re: [PATCH 4.18 000/123] 4.18.6-stable review

2018-09-08 Thread Guenter Roeck
On 09/05/2018 10:01 AM, Linus Torvalds wrote: On Wed, Sep 5, 2018 at 8:34 AM Guenter Roeck wrote: On 09/05/2018 02:01 AM, Greg Kroah-Hartman wrote: --- [ 9990.754641] watchdog: BUG: soft lockup - CPU#5 stuck for 22s! [kworker/5:1:155] [ 9990.762601] RIP:

Re: [PATCH 4.18 000/123] 4.18.6-stable review

2018-09-08 Thread Guenter Roeck
On 09/05/2018 10:01 AM, Linus Torvalds wrote: On Wed, Sep 5, 2018 at 8:34 AM Guenter Roeck wrote: On 09/05/2018 02:01 AM, Greg Kroah-Hartman wrote: --- [ 9990.754641] watchdog: BUG: soft lockup - CPU#5 stuck for 22s! [kworker/5:1:155] [ 9990.762601] RIP:

Re: [PATCH 4.4 34/47] userns: move user access out of the mutex

2018-09-08 Thread Rafael David Tinoco
Greg, On Fri, Sep 7, 2018 at 6:41 PM Greg Kroah-Hartman wrote: > > 4.4-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Jann Horn > > commit 5820f140edef111a9ea2ef414ab2428b8cb805b1 upstream. > > The old code would hold the

Re: [PATCH 4.4 34/47] userns: move user access out of the mutex

2018-09-08 Thread Rafael David Tinoco
Greg, On Fri, Sep 7, 2018 at 6:41 PM Greg Kroah-Hartman wrote: > > 4.4-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Jann Horn > > commit 5820f140edef111a9ea2ef414ab2428b8cb805b1 upstream. > > The old code would hold the

Re: [PATCH v4 08/16] sched/core: uclamp: propagate parent clamps

2018-09-08 Thread Suren Baghdasaryan
On Tue, Aug 28, 2018 at 6:53 AM, Patrick Bellasi wrote: > In order to properly support hierarchical resources control, the cgroup > delegation model requires that attribute writes from a child group never > fail but still are (potentially) constrained based on parent's assigned > resources. This

Re: [PATCH v4 08/16] sched/core: uclamp: propagate parent clamps

2018-09-08 Thread Suren Baghdasaryan
On Tue, Aug 28, 2018 at 6:53 AM, Patrick Bellasi wrote: > In order to properly support hierarchical resources control, the cgroup > delegation model requires that attribute writes from a child group never > fail but still are (potentially) constrained based on parent's assigned > resources. This

Re: [PATCH] ARM: dts: imx6ull: update iomux header

2018-09-08 Thread Shawn Guo
On Thu, Aug 30, 2018 at 01:20:05PM +0800, Anson Huang wrote: > Update i.MX6ULL iomux header according to latest reference > manual Rev.1, 11/2017. > > Signed-off-by: Anson Huang Applied, thanks.

Re: [PATCH] ARM: dts: imx6ull: update iomux header

2018-09-08 Thread Shawn Guo
On Thu, Aug 30, 2018 at 01:20:05PM +0800, Anson Huang wrote: > Update i.MX6ULL iomux header according to latest reference > manual Rev.1, 11/2017. > > Signed-off-by: Anson Huang Applied, thanks.

Re: [PATCH v9 3/6] kernel/reboot.c: export pm_power_off_prepare

2018-09-08 Thread Shawn Guo
On Thu, Sep 06, 2018 at 11:15:17AM +0100, Mark Brown wrote: > On Mon, Aug 27, 2018 at 09:48:16AM +0800, Shawn Guo wrote: > > > Can you ACK on those two regulator patches, so that I can queue this > > series up on IMX tree? > > I was expecting to get a pull request with the precursor patches in

Re: [PATCH v9 3/6] kernel/reboot.c: export pm_power_off_prepare

2018-09-08 Thread Shawn Guo
On Thu, Sep 06, 2018 at 11:15:17AM +0100, Mark Brown wrote: > On Mon, Aug 27, 2018 at 09:48:16AM +0800, Shawn Guo wrote: > > > Can you ACK on those two regulator patches, so that I can queue this > > series up on IMX tree? > > I was expecting to get a pull request with the precursor patches in

Re: general protection fault in ovl_free_fs

2018-09-08 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:d7b686ebf704 Merge branch 'i2c/for-current' of git://git.k.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=148ac14940 kernel config:

Re: general protection fault in ovl_free_fs

2018-09-08 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:d7b686ebf704 Merge branch 'i2c/for-current' of git://git.k.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=148ac14940 kernel config:

Re: [PATCH v11 03/11] firmware: xilinx: Add zynqmp IOCTL API for device control

2018-09-08 Thread Olof Johansson
Hi, On Fri, Aug 3, 2018 at 10:53 AM, Jolly Shah wrote: > From: Rajan Vaja > > Add ZynqMP firmware IOCTL API to control and configure > devices like PLLs, SD, Gem, etc. > > Signed-off-by: Rajan Vaja > Signed-off-by: Jolly Shah This patch worries me somewhat. It's a transparent pass-through

Re: [PATCH v11 03/11] firmware: xilinx: Add zynqmp IOCTL API for device control

2018-09-08 Thread Olof Johansson
Hi, On Fri, Aug 3, 2018 at 10:53 AM, Jolly Shah wrote: > From: Rajan Vaja > > Add ZynqMP firmware IOCTL API to control and configure > devices like PLLs, SD, Gem, etc. > > Signed-off-by: Rajan Vaja > Signed-off-by: Jolly Shah This patch worries me somewhat. It's a transparent pass-through

Re: [PATCH v11 08/11] firmware: xilinx: Add debugfs for query data API

2018-09-08 Thread Olof Johansson
Hi, I noticed the below when I was reviewing the code for merge into arm-soc. Would you mind following up with an incremental patch? I don't think we need to ask Michal to respin for this: On Fri, Aug 3, 2018 at 10:53 AM, Jolly Shah wrote: > From: Rajan Vaja > > Add debugfs file to query

Re: [PATCH v11 08/11] firmware: xilinx: Add debugfs for query data API

2018-09-08 Thread Olof Johansson
Hi, I noticed the below when I was reviewing the code for merge into arm-soc. Would you mind following up with an incremental patch? I don't think we need to ask Michal to respin for this: On Fri, Aug 3, 2018 at 10:53 AM, Jolly Shah wrote: > From: Rajan Vaja > > Add debugfs file to query

Re: [PATCH v4 02/16] sched/core: uclamp: map TASK's clamp values into CPU's clamp groups

2018-09-08 Thread Suren Baghdasaryan
Hi Patrick! On Tue, Aug 28, 2018 at 6:53 AM, Patrick Bellasi wrote: > Utilization clamping requires each CPU to know which clamp values are > assigned to tasks that are currently RUNNABLE on that CPU. > Multiple tasks can be assigned the same clamp value and tasks with > different clamp values

Re: [PATCH v4 02/16] sched/core: uclamp: map TASK's clamp values into CPU's clamp groups

2018-09-08 Thread Suren Baghdasaryan
Hi Patrick! On Tue, Aug 28, 2018 at 6:53 AM, Patrick Bellasi wrote: > Utilization clamping requires each CPU to know which clamp values are > assigned to tasks that are currently RUNNABLE on that CPU. > Multiple tasks can be assigned the same clamp value and tasks with > different clamp values

[PATCH] pcmcia: Implement CLKRUN protocol disabling for Ricoh bridges

2018-09-08 Thread Maciej S. Szmigiero
Currently, "disable_clkrun" yenta_socket module parameter is only implemented for TI CardBus bridges. Add also an implementation for Ricoh bridges that have the necessary setting documented in publicly available datasheets. Tested on a RL5C476II with a Sunrich C-160 CardBus NIC that doesn't work

[PATCH] pcmcia: Implement CLKRUN protocol disabling for Ricoh bridges

2018-09-08 Thread Maciej S. Szmigiero
Currently, "disable_clkrun" yenta_socket module parameter is only implemented for TI CardBus bridges. Add also an implementation for Ricoh bridges that have the necessary setting documented in publicly available datasheets. Tested on a RL5C476II with a Sunrich C-160 CardBus NIC that doesn't work

[PATCH v4 05/13] Compiler Attributes: naked was fixed in gcc 4.6

2018-09-08 Thread Miguel Ojeda
Commit 9c695203a7dd ("compiler-gcc.h: gcc-4.5 needs noclone and noinline on __naked functions") added noinline and noclone as a workaround for a gcc 4.5 bug, which was resolved in 4.6.0. Since now the minimum gcc supported version is 4.6, we can clean it up. See

[PATCH v4 10/13] Compiler Attributes: KENTRY used twice the "used" attribute

2018-09-08 Thread Miguel Ojeda
Cc: Rasmus Villemoes Cc: Luc Van Oostenryck Cc: Eli Friedman Cc: Christopher Li Cc: Kees Cook Cc: Ingo Molnar Cc: Geert Uytterhoeven Cc: Arnd Bergmann Cc: Greg Kroah-Hartman Cc: Masahiro Yamada Cc: Joe Perches Cc: Dominique Martinet Cc: Linus Torvalds Cc: linux-spa...@vger.kernel.org

[PATCH v4 05/13] Compiler Attributes: naked was fixed in gcc 4.6

2018-09-08 Thread Miguel Ojeda
Commit 9c695203a7dd ("compiler-gcc.h: gcc-4.5 needs noclone and noinline on __naked functions") added noinline and noclone as a workaround for a gcc 4.5 bug, which was resolved in 4.6.0. Since now the minimum gcc supported version is 4.6, we can clean it up. See

[PATCH v4 10/13] Compiler Attributes: KENTRY used twice the "used" attribute

2018-09-08 Thread Miguel Ojeda
Cc: Rasmus Villemoes Cc: Luc Van Oostenryck Cc: Eli Friedman Cc: Christopher Li Cc: Kees Cook Cc: Ingo Molnar Cc: Geert Uytterhoeven Cc: Arnd Bergmann Cc: Greg Kroah-Hartman Cc: Masahiro Yamada Cc: Joe Perches Cc: Dominique Martinet Cc: Linus Torvalds Cc: linux-spa...@vger.kernel.org

[PATCH v4 04/13] Compiler Attributes: homogenize __must_be_array

2018-09-08 Thread Miguel Ojeda
Different definitions of __must_be_array: * gcc: disabled for __CHECKER__ * clang: same definition as gcc's, but without __CHECKER__ * intel: the comment claims __builtin_types_compatible_p() is unsupported; but icc seems to support it since 13.0.1 (released in 2012). See

[PATCH v4 07/13] Compiler Attributes: remove unneeded sparse (__CHECKER__) tests

2018-09-08 Thread Miguel Ojeda
Sparse knows about a few more attributes now, so we can remove the __CHECKER__ conditions from them (which, in turn, allow us to move some of them later on to compiler_attributes.h). * assume_aligned: since sparse's commit ffc860b ("sparse: ignore __assume_aligned__ attribute"), included in

[PATCH v4 03/13] Compiler Attributes: remove unneeded tests

2018-09-08 Thread Miguel Ojeda
Attributes const and always_inline have tests around them which are unneeded, since they are supported by gcc >= 4.6, clang >= 3 and icc >= 13. https://godbolt.org/z/DFPq37 In the case of gnu_inline, we do not need to test for __GNUC_STDC_INLINE__ because, regardless of the current inlining

[PATCH v4 04/13] Compiler Attributes: homogenize __must_be_array

2018-09-08 Thread Miguel Ojeda
Different definitions of __must_be_array: * gcc: disabled for __CHECKER__ * clang: same definition as gcc's, but without __CHECKER__ * intel: the comment claims __builtin_types_compatible_p() is unsupported; but icc seems to support it since 13.0.1 (released in 2012). See

[PATCH v4 07/13] Compiler Attributes: remove unneeded sparse (__CHECKER__) tests

2018-09-08 Thread Miguel Ojeda
Sparse knows about a few more attributes now, so we can remove the __CHECKER__ conditions from them (which, in turn, allow us to move some of them later on to compiler_attributes.h). * assume_aligned: since sparse's commit ffc860b ("sparse: ignore __assume_aligned__ attribute"), included in

[PATCH v4 03/13] Compiler Attributes: remove unneeded tests

2018-09-08 Thread Miguel Ojeda
Attributes const and always_inline have tests around them which are unneeded, since they are supported by gcc >= 4.6, clang >= 3 and icc >= 13. https://godbolt.org/z/DFPq37 In the case of gnu_inline, we do not need to test for __GNUC_STDC_INLINE__ because, regardless of the current inlining

[PATCH v4 09/13] Compiler Attributes: use feature checks instead of version checks

2018-09-08 Thread Miguel Ojeda
Instead of using version checks per-compiler to define (or not) each attribute, use __has_attribute to test for them, following the cleanup started with commit 815f0ddb346c ("include/linux/compiler*.h: make compiler-*.h mutually exclusive"), which is supported on gcc >= 5, clang >= 2.9 and icc >=

[PATCH v4 00/13] Compiler Attributes

2018-09-08 Thread Miguel Ojeda
The Compiler Attributes series is an effort to disentangle the include/linux/compiler*.h headers and bring them up to date. The main idea behind the series is to use feature checking macros (i.e. __has_attribute) instead of compiler version checks (e.g. GCC_VERSION), which are compiler-agnostic

[PATCH v4 08/13] Compiler Attributes: add missing SPDX ID in compiler_types.h

2018-09-08 Thread Miguel Ojeda
Cc: Rasmus Villemoes Cc: Luc Van Oostenryck Cc: Eli Friedman Cc: Christopher Li Cc: Kees Cook Cc: Ingo Molnar Cc: Geert Uytterhoeven Cc: Arnd Bergmann Cc: Greg Kroah-Hartman Cc: Masahiro Yamada Cc: Joe Perches Cc: Dominique Martinet Cc: Nick Desaulniers Cc: Linus Torvalds Cc:

[PATCH v4 13/13] Compiler Attributes: Add MAINTAINERS entry

2018-09-08 Thread Miguel Ojeda
Cc: Eli Friedman Cc: Christopher Li Cc: Kees Cook Cc: Ingo Molnar Cc: Geert Uytterhoeven Cc: Arnd Bergmann Cc: Greg Kroah-Hartman Cc: Masahiro Yamada Cc: Joe Perches Cc: Dominique Martinet Cc: Nick Desaulniers Cc: Linus Torvalds Signed-off-by: Miguel Ojeda --- MAINTAINERS | 5 +

[PATCH v4 02/13] Compiler Attributes: always use the extra-underscores syntax

2018-09-08 Thread Miguel Ojeda
The attribute syntax optionally allows to surround attribute names with "__" in order to avoid collisions with macros of the same name (see https://gcc.gnu.org/onlinedocs/gcc/Attribute-Syntax.html). This homogenizes all attributes to use the syntax with underscores. While there are currently only

[PATCH v4 01/13] Compiler Attributes: remove unused attributes

2018-09-08 Thread Miguel Ojeda
__optimize and __deprecate_for_modules are unused in the whole kernel tree. Simply drop them. Cc: Rasmus Villemoes Cc: Luc Van Oostenryck Cc: Eli Friedman Cc: Christopher Li Cc: Kees Cook Cc: Ingo Molnar Cc: Geert Uytterhoeven Cc: Arnd Bergmann Cc: Greg Kroah-Hartman Cc: Masahiro Yamada

[PATCH v4 12/13] Compiler Attributes: add Doc/process/programming-language.rst

2018-09-08 Thread Miguel Ojeda
Cc: Jonathan Corbet Cc: Rasmus Villemoes Cc: Luc Van Oostenryck Cc: Eli Friedman Cc: Christopher Li Cc: Kees Cook Cc: Ingo Molnar Cc: Geert Uytterhoeven Cc: Arnd Bergmann Cc: Greg Kroah-Hartman Cc: Masahiro Yamada Cc: Joe Perches Cc: Dominique Martinet Cc: Nick Desaulniers Cc: Linus

[PATCH v4 09/13] Compiler Attributes: use feature checks instead of version checks

2018-09-08 Thread Miguel Ojeda
Instead of using version checks per-compiler to define (or not) each attribute, use __has_attribute to test for them, following the cleanup started with commit 815f0ddb346c ("include/linux/compiler*.h: make compiler-*.h mutually exclusive"), which is supported on gcc >= 5, clang >= 2.9 and icc >=

[PATCH v4 00/13] Compiler Attributes

2018-09-08 Thread Miguel Ojeda
The Compiler Attributes series is an effort to disentangle the include/linux/compiler*.h headers and bring them up to date. The main idea behind the series is to use feature checking macros (i.e. __has_attribute) instead of compiler version checks (e.g. GCC_VERSION), which are compiler-agnostic

[PATCH v4 08/13] Compiler Attributes: add missing SPDX ID in compiler_types.h

2018-09-08 Thread Miguel Ojeda
Cc: Rasmus Villemoes Cc: Luc Van Oostenryck Cc: Eli Friedman Cc: Christopher Li Cc: Kees Cook Cc: Ingo Molnar Cc: Geert Uytterhoeven Cc: Arnd Bergmann Cc: Greg Kroah-Hartman Cc: Masahiro Yamada Cc: Joe Perches Cc: Dominique Martinet Cc: Nick Desaulniers Cc: Linus Torvalds Cc:

[PATCH v4 13/13] Compiler Attributes: Add MAINTAINERS entry

2018-09-08 Thread Miguel Ojeda
Cc: Eli Friedman Cc: Christopher Li Cc: Kees Cook Cc: Ingo Molnar Cc: Geert Uytterhoeven Cc: Arnd Bergmann Cc: Greg Kroah-Hartman Cc: Masahiro Yamada Cc: Joe Perches Cc: Dominique Martinet Cc: Nick Desaulniers Cc: Linus Torvalds Signed-off-by: Miguel Ojeda --- MAINTAINERS | 5 +

[PATCH v4 02/13] Compiler Attributes: always use the extra-underscores syntax

2018-09-08 Thread Miguel Ojeda
The attribute syntax optionally allows to surround attribute names with "__" in order to avoid collisions with macros of the same name (see https://gcc.gnu.org/onlinedocs/gcc/Attribute-Syntax.html). This homogenizes all attributes to use the syntax with underscores. While there are currently only

[PATCH v4 01/13] Compiler Attributes: remove unused attributes

2018-09-08 Thread Miguel Ojeda
__optimize and __deprecate_for_modules are unused in the whole kernel tree. Simply drop them. Cc: Rasmus Villemoes Cc: Luc Van Oostenryck Cc: Eli Friedman Cc: Christopher Li Cc: Kees Cook Cc: Ingo Molnar Cc: Geert Uytterhoeven Cc: Arnd Bergmann Cc: Greg Kroah-Hartman Cc: Masahiro Yamada

[PATCH v4 12/13] Compiler Attributes: add Doc/process/programming-language.rst

2018-09-08 Thread Miguel Ojeda
Cc: Jonathan Corbet Cc: Rasmus Villemoes Cc: Luc Van Oostenryck Cc: Eli Friedman Cc: Christopher Li Cc: Kees Cook Cc: Ingo Molnar Cc: Geert Uytterhoeven Cc: Arnd Bergmann Cc: Greg Kroah-Hartman Cc: Masahiro Yamada Cc: Joe Perches Cc: Dominique Martinet Cc: Nick Desaulniers Cc: Linus

[PATCH v4 11/13] Compiler Attributes: remove uses of __attribute__ from compiler.h

2018-09-08 Thread Miguel Ojeda
Cc: Rasmus Villemoes Cc: Luc Van Oostenryck Cc: Eli Friedman Cc: Christopher Li Cc: Kees Cook Cc: Ingo Molnar Cc: Geert Uytterhoeven Cc: Arnd Bergmann Cc: Greg Kroah-Hartman Cc: Masahiro Yamada Cc: Joe Perches Cc: Dominique Martinet Cc: Linus Torvalds Cc: linux-spa...@vger.kernel.org

[PATCH v4 06/13] Compiler Attributes: naked can be shared

2018-09-08 Thread Miguel Ojeda
The naked attribute is supported by at least gcc >= 4.6 (for ARM, which is the only current user), gcc >= 8 (for x86), clang >= 3.1 and icc >= 13. See https://godbolt.org/z/350Dyc Therefore, move it out of compiler-gcc.h so that the definition is shared by all compilers. Cc: Rasmus Villemoes

[PATCH v4 11/13] Compiler Attributes: remove uses of __attribute__ from compiler.h

2018-09-08 Thread Miguel Ojeda
Cc: Rasmus Villemoes Cc: Luc Van Oostenryck Cc: Eli Friedman Cc: Christopher Li Cc: Kees Cook Cc: Ingo Molnar Cc: Geert Uytterhoeven Cc: Arnd Bergmann Cc: Greg Kroah-Hartman Cc: Masahiro Yamada Cc: Joe Perches Cc: Dominique Martinet Cc: Linus Torvalds Cc: linux-spa...@vger.kernel.org

[PATCH v4 06/13] Compiler Attributes: naked can be shared

2018-09-08 Thread Miguel Ojeda
The naked attribute is supported by at least gcc >= 4.6 (for ARM, which is the only current user), gcc >= 8 (for x86), clang >= 3.1 and icc >= 13. See https://godbolt.org/z/350Dyc Therefore, move it out of compiler-gcc.h so that the definition is shared by all compilers. Cc: Rasmus Villemoes

Re: [PATCH 4.18 000/145] 4.18.7-stable review

2018-09-08 Thread Guenter Roeck
On 09/07/2018 02:07 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.18.7 release. There are 145 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

Re: [PATCH 4.18 000/145] 4.18.7-stable review

2018-09-08 Thread Guenter Roeck
On 09/07/2018 02:07 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.18.7 release. There are 145 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

Re: [PATCH 4.14 00/89] 4.14.69-stable review

2018-09-08 Thread Guenter Roeck
On 09/07/2018 02:08 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.14.69 release. There are 89 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

Re: [PATCH 4.14 00/89] 4.14.69-stable review

2018-09-08 Thread Guenter Roeck
On 09/07/2018 02:08 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.14.69 release. There are 89 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

Re: [PATCH 4.9 00/63] 4.9.126-stable review

2018-09-08 Thread Guenter Roeck
On 09/07/2018 02:09 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.9.126 release. There are 63 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

Re: [PATCH 4.9 00/63] 4.9.126-stable review

2018-09-08 Thread Guenter Roeck
On 09/07/2018 02:09 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.9.126 release. There are 63 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

Re: [PATCH 4.4 00/47] 4.4.155-stable review

2018-09-08 Thread Guenter Roeck
On 09/07/2018 02:09 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.4.155 release. There are 47 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

Re: [PATCH 4.4 00/47] 4.4.155-stable review

2018-09-08 Thread Guenter Roeck
On 09/07/2018 02:09 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.4.155 release. There are 47 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

Re: [PATCH 3.18 00/29] 3.18.122-stable review

2018-09-08 Thread Guenter Roeck
On 09/07/2018 02:10 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.18.122 release. There are 29 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

Re: [PATCH 3.18 00/29] 3.18.122-stable review

2018-09-08 Thread Guenter Roeck
On 09/07/2018 02:10 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.18.122 release. There are 29 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

Re: + mm-slab-shorten-kmalloc-cache-names-for-large-sizes.patch added to -mm tree

2018-09-08 Thread Matthew Wilcox
On Sat, Sep 08, 2018 at 09:10:46AM -0700, Randy Dunlap wrote: > On 09/08/2018 08:54 AM, Matthew Wilcox wrote: > > On Sat, Sep 08, 2018 at 10:03:06AM -0400, Johannes Weiner wrote: > >> On Fri, Sep 07, 2018 at 10:58:16PM +0300, Alexey Dobriyan wrote: > >>> I'd rather use KB and MB suffixes or at

Re: + mm-slab-shorten-kmalloc-cache-names-for-large-sizes.patch added to -mm tree

2018-09-08 Thread Matthew Wilcox
On Sat, Sep 08, 2018 at 09:10:46AM -0700, Randy Dunlap wrote: > On 09/08/2018 08:54 AM, Matthew Wilcox wrote: > > On Sat, Sep 08, 2018 at 10:03:06AM -0400, Johannes Weiner wrote: > >> On Fri, Sep 07, 2018 at 10:58:16PM +0300, Alexey Dobriyan wrote: > >>> I'd rather use KB and MB suffixes or at

Re: [PATCH] leds: pwm: silently error out on EPROBE_DEFER

2018-09-08 Thread Jacek Anaszewski
Hi Jerome, Thank you for the patch. On 09/06/2018 03:59 PM, Jerome Brunet wrote: > When probing, if we fail to get the pwm due to probe deferal, we shouldn't > print an error message. Just be silent in this case. > > Signed-off-by: Jerome Brunet > --- > drivers/leds/leds-pwm.c | 5 +++-- > 1

Re: [PATCH] leds: pwm: silently error out on EPROBE_DEFER

2018-09-08 Thread Jacek Anaszewski
Hi Jerome, Thank you for the patch. On 09/06/2018 03:59 PM, Jerome Brunet wrote: > When probing, if we fail to get the pwm due to probe deferal, we shouldn't > print an error message. Just be silent in this case. > > Signed-off-by: Jerome Brunet > --- > drivers/leds/leds-pwm.c | 5 +++-- > 1

Re: [PATCH v6 1/5] seccomp: add a return code to trap to userspace

2018-09-08 Thread Tycho Andersen
On Thu, Sep 06, 2018 at 10:15:12PM +, Tyler Hicks wrote: > On 2018-09-06 09:28:55, Tycho Andersen wrote: > > /** > > * struct seccomp_filter - container for seccomp BPF programs > > * > > @@ -66,6 +114,30 @@ struct seccomp_filter { > > bool log; > > struct seccomp_filter *prev; >

Re: [PATCH v6 1/5] seccomp: add a return code to trap to userspace

2018-09-08 Thread Tycho Andersen
On Thu, Sep 06, 2018 at 10:15:12PM +, Tyler Hicks wrote: > On 2018-09-06 09:28:55, Tycho Andersen wrote: > > /** > > * struct seccomp_filter - container for seccomp BPF programs > > * > > @@ -66,6 +114,30 @@ struct seccomp_filter { > > bool log; > > struct seccomp_filter *prev; >

[PATCH 6/6] dynamic_debug: Add flag for dynamic event tracing

2018-09-08 Thread Sai Prakash Ranjan
Debugging a specific driver or subsystem can be a lot easier if we can trace events specific to that driver or subsystem. This type of filtering can be achieved using existing dynamic debug library which provides a way to filter based on files, functions and modules. Using this, provide an

[PATCH 5/6] arm64/io: Add header for instrumentation of io operations

2018-09-08 Thread Sai Prakash Ranjan
The new asm-generic/io-instrumented.h will keep arch code clean and separate from instrumented version which traces io register accesses. This instrumented header can later be included in arm as well for tracing io register accesses. Suggested-by: Will Deacon Signed-off-by: Sai Prakash Ranjan

[PATCH 6/6] dynamic_debug: Add flag for dynamic event tracing

2018-09-08 Thread Sai Prakash Ranjan
Debugging a specific driver or subsystem can be a lot easier if we can trace events specific to that driver or subsystem. This type of filtering can be achieved using existing dynamic debug library which provides a way to filter based on files, functions and modules. Using this, provide an

[PATCH 5/6] arm64/io: Add header for instrumentation of io operations

2018-09-08 Thread Sai Prakash Ranjan
The new asm-generic/io-instrumented.h will keep arch code clean and separate from instrumented version which traces io register accesses. This instrumented header can later be included in arm as well for tracing io register accesses. Suggested-by: Will Deacon Signed-off-by: Sai Prakash Ranjan

[PATCH 2/6] pstore: Add event tracing support

2018-09-08 Thread Sai Prakash Ranjan
Currently pstore has function trace support which can be used to get the function call chain with limited data. Event tracing has extra data which is useful to debug wide variety of issues and is heavily used across the kernel. Adding this support to pstore can be very helpful to debug different

[PATCH 4/6] arm64/io: Add tracepoint for register accesses

2018-09-08 Thread Sai Prakash Ranjan
Generic IO read/write i.e., __raw_{read,write}{b,l,w,q} are typically used to read/write from/to memory mapped registers, which can cause hangs or some undefined behaviour if access unclocked. Tracing these register accesses can be very helpful to debug such issues during initial development

[PATCH 2/6] pstore: Add event tracing support

2018-09-08 Thread Sai Prakash Ranjan
Currently pstore has function trace support which can be used to get the function call chain with limited data. Event tracing has extra data which is useful to debug wide variety of issues and is heavily used across the kernel. Adding this support to pstore can be very helpful to debug different

[PATCH 4/6] arm64/io: Add tracepoint for register accesses

2018-09-08 Thread Sai Prakash Ranjan
Generic IO read/write i.e., __raw_{read,write}{b,l,w,q} are typically used to read/write from/to memory mapped registers, which can cause hangs or some undefined behaviour if access unclocked. Tracing these register accesses can be very helpful to debug such issues during initial development

[PATCH 1/6] dt-bindings: ramoops: Add event-size property

2018-09-08 Thread Sai Prakash Ranjan
Add an optional property called event-size to reserve log buffer for trace events. Signed-off-by: Sai Prakash Ranjan --- .../devicetree/bindings/reserved-memory/ramoops.txt| 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git

[PATCH 3/6] tracing: Add tp_pstore cmdline to have tracepoints go to pstore

2018-09-08 Thread Sai Prakash Ranjan
Add the kernel command line tp_pstore option that will have tracepoints go to persistent ram buffer as well as to the trace buffer for further debugging. This is similar to tp_printk cmdline option of ftrace. Pstore support for event tracing is already added and we enable logging to pstore only

[PATCH 1/6] dt-bindings: ramoops: Add event-size property

2018-09-08 Thread Sai Prakash Ranjan
Add an optional property called event-size to reserve log buffer for trace events. Signed-off-by: Sai Prakash Ranjan --- .../devicetree/bindings/reserved-memory/ramoops.txt| 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git

[PATCH 3/6] tracing: Add tp_pstore cmdline to have tracepoints go to pstore

2018-09-08 Thread Sai Prakash Ranjan
Add the kernel command line tp_pstore option that will have tracepoints go to persistent ram buffer as well as to the trace buffer for further debugging. This is similar to tp_printk cmdline option of ftrace. Pstore support for event tracing is already added and we enable logging to pstore only

[PATCH 0/6] Tracing register accesses with pstore and dynamic debug

2018-09-08 Thread Sai Prakash Ranjan
Hi, This patch series adds Event tracing support to pstore and is continuation to the RFC patch introduced to add a new tracing facility for register accesses called Register Trace Buffer(RTB). Since we decided to not introduce a separate framework to trace register accesses and use existing

[PATCH 0/6] Tracing register accesses with pstore and dynamic debug

2018-09-08 Thread Sai Prakash Ranjan
Hi, This patch series adds Event tracing support to pstore and is continuation to the RFC patch introduced to add a new tracing facility for register accesses called Register Trace Buffer(RTB). Since we decided to not introduce a separate framework to trace register accesses and use existing

Re: [PATCH v8 1/2] leds: core: Introduce LED pattern trigger

2018-09-08 Thread Jacek Anaszewski
Hi Bjorn, On 09/08/2018 07:02 AM, Bjorn Andersson wrote: > On Tue 04 Sep 04:01 PDT 2018, Baolin Wang wrote: > >> diff --git a/Documentation/ABI/testing/sysfs-class-led-trigger-pattern >> b/Documentation/ABI/testing/sysfs-class-led-trigger-pattern > [..] >> +What:

Re: [PATCH v8 1/2] leds: core: Introduce LED pattern trigger

2018-09-08 Thread Jacek Anaszewski
Hi Bjorn, On 09/08/2018 07:02 AM, Bjorn Andersson wrote: > On Tue 04 Sep 04:01 PDT 2018, Baolin Wang wrote: > >> diff --git a/Documentation/ABI/testing/sysfs-class-led-trigger-pattern >> b/Documentation/ABI/testing/sysfs-class-led-trigger-pattern > [..] >> +What:

Re: [PATCH] sched/fair: fix 1 task per CPU

2018-09-08 Thread Valentin Schneider
Hi Vincent, On 07/09/18 08:40, Vincent Guittot wrote: > When CPUs have different capacity because of RT/DL tasks or > micro-architecture or max frequency differences, there are situation where > the imbalance is not correctly set to migrate waiting task on the idle CPU. > This is essentially

Re: [PATCH] sched/fair: fix 1 task per CPU

2018-09-08 Thread Valentin Schneider
Hi Vincent, On 07/09/18 08:40, Vincent Guittot wrote: > When CPUs have different capacity because of RT/DL tasks or > micro-architecture or max frequency differences, there are situation where > the imbalance is not correctly set to migrate waiting task on the idle CPU. > This is essentially

Re: [PATCH v6 1/2] dt-bindings: leds: Add bindings for lm3697 driver

2018-09-08 Thread Jacek Anaszewski
Dan, On 09/07/2018 03:52 PM, Dan Murphy wrote: [...] >> >>> And I think Jacek pointed out that the bindings references in this bindings >>> don't even exist. >>> >>> I am thinking we need to deprecate this MFD driver and consolidate these >>> drivers >>> in the LED directory as we indicated

Re: [PATCH v6 1/2] dt-bindings: leds: Add bindings for lm3697 driver

2018-09-08 Thread Jacek Anaszewski
Dan, On 09/07/2018 03:52 PM, Dan Murphy wrote: [...] >> >>> And I think Jacek pointed out that the bindings references in this bindings >>> don't even exist. >>> >>> I am thinking we need to deprecate this MFD driver and consolidate these >>> drivers >>> in the LED directory as we indicated

Re: [PATCH 2/5] gpio: davinci: Use dev name for label and automatic base selection

2018-09-08 Thread Grygorii Strashko
On 09/06/2018 09:16 AM, Keerthy wrote: > > > On Wednesday 05 September 2018 04:07 PM, Linus Walleij wrote: >> On Mon, Sep 3, 2018 at 7:40 AM Keerthy wrote: >>> On Saturday 01 September 2018 12:43 AM, Andrew F. Davis wrote: Use dev_name to get a unique label and use -1 for a base to get

Re: [PATCH 2/5] gpio: davinci: Use dev name for label and automatic base selection

2018-09-08 Thread Grygorii Strashko
On 09/06/2018 09:16 AM, Keerthy wrote: > > > On Wednesday 05 September 2018 04:07 PM, Linus Walleij wrote: >> On Mon, Sep 3, 2018 at 7:40 AM Keerthy wrote: >>> On Saturday 01 September 2018 12:43 AM, Andrew F. Davis wrote: Use dev_name to get a unique label and use -1 for a base to get

[PATCH] kernel/sched/core.c: Avoid unused variable on non-SMP configs

2018-09-08 Thread Miguel Ojeda
On non-SMP configs, when only one of CONFIG_{PARAVIRT,IRQ_TIME}_ACCOUNTING is defined, we are declaring a variable (irq_delta or steal) which is not used: kernel/sched/core.c: In function ‘update_rq_clock_task’: kernel/sched/core.c:139:17: warning: unused variable ‘irq_delta’

[PATCH] kernel/sched/core.c: Avoid unused variable on non-SMP configs

2018-09-08 Thread Miguel Ojeda
On non-SMP configs, when only one of CONFIG_{PARAVIRT,IRQ_TIME}_ACCOUNTING is defined, we are declaring a variable (irq_delta or steal) which is not used: kernel/sched/core.c: In function ‘update_rq_clock_task’: kernel/sched/core.c:139:17: warning: unused variable ‘irq_delta’

  1   2   3   4   >