Re: [PATCH] x86/microcode/intel: Check microcode revision before updating sibling threads

2018-02-16 Thread Ingo Molnar
* Ashok Raj wrote: > After updating microcode on one of the threads in the core, the > thread sibling automatically gets the update since the microcode > resources are shared. Check the ucode revision on the cpu before > performing a ucode update. s/cpu/CPU > >

Re: [PATCH] x86/microcode/intel: Check microcode revision before updating sibling threads

2018-02-16 Thread Ingo Molnar
* Ashok Raj wrote: > After updating microcode on one of the threads in the core, the > thread sibling automatically gets the update since the microcode > resources are shared. Check the ucode revision on the cpu before > performing a ucode update. s/cpu/CPU > > Signed-off-by: Ashok Raj >

[PATCH 2/2] proc: use set_puts() at /proc/*/wchan

2018-02-16 Thread Alexey Dobriyan
Signed-off-by: Alexey Dobriyan --- fs/proc/base.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/fs/proc/base.c +++ b/fs/proc/base.c @@ -396,7 +396,7 @@ static int proc_pid_wchan(struct seq_file *m, struct pid_namespace *ns, wchan =

[PATCH 2/2] proc: use set_puts() at /proc/*/wchan

2018-02-16 Thread Alexey Dobriyan
Signed-off-by: Alexey Dobriyan --- fs/proc/base.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/fs/proc/base.c +++ b/fs/proc/base.c @@ -396,7 +396,7 @@ static int proc_pid_wchan(struct seq_file *m, struct pid_namespace *ns, wchan = get_wchan(task); if (wchan

[PATCH 1/2] proc: check permissions earlier for /proc/*/wchan

2018-02-16 Thread Alexey Dobriyan
get_wchan() accesses stack page before permissions are checked, let's not play this game. Signed-off-by: Alexey Dobriyan --- fs/proc/base.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) --- a/fs/proc/base.c +++ b/fs/proc/base.c @@ -391,14 +391,17

[PATCH 1/2] proc: check permissions earlier for /proc/*/wchan

2018-02-16 Thread Alexey Dobriyan
get_wchan() accesses stack page before permissions are checked, let's not play this game. Signed-off-by: Alexey Dobriyan --- fs/proc/base.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) --- a/fs/proc/base.c +++ b/fs/proc/base.c @@ -391,14 +391,17 @@ static int

Re: [PATCH] USB: chaoskey: Use kasprintf() over strcpy()/strcat()

2018-02-16 Thread Keith Packard
Kees Cook writes: > Instead of kmalloc() with manually calculated values followed by > multiple strcpy()/strcat() calls, just fold it all into a single > kasprintf() call. > > Signed-off-by: Kees Cook Reviewed-by: Keith Packard

Re: [PATCH] USB: chaoskey: Use kasprintf() over strcpy()/strcat()

2018-02-16 Thread Keith Packard
Kees Cook writes: > Instead of kmalloc() with manually calculated values followed by > multiple strcpy()/strcat() calls, just fold it all into a single > kasprintf() call. > > Signed-off-by: Kees Cook Reviewed-by: Keith Packard -- -keith signature.asc Description: PGP signature

Re: [PATCH 1/3] tools include powerpc: Grab a copy of arch/powerpc/include/uapi/asm/unistd.h

2018-02-16 Thread Ravi Bangoria
Oops.. Really sorry about that. I've tested acme/perf/core on ubuntu ppc32 with and without libaudit-dev and it's working fine. Thank you very much for fixing it, Ravi On 02/16/2018 11:20 PM, Arnaldo Carvalho de Melo wrote: > Em Fri, Feb 16, 2018 at 02:29:01PM -0300, Arnaldo Carvalho de Melo

Re: [PATCH 1/3] tools include powerpc: Grab a copy of arch/powerpc/include/uapi/asm/unistd.h

2018-02-16 Thread Ravi Bangoria
Oops.. Really sorry about that. I've tested acme/perf/core on ubuntu ppc32 with and without libaudit-dev and it's working fine. Thank you very much for fixing it, Ravi On 02/16/2018 11:20 PM, Arnaldo Carvalho de Melo wrote: > Em Fri, Feb 16, 2018 at 02:29:01PM -0300, Arnaldo Carvalho de Melo

[PATCH v2] block/loop: add documentation for sysfs interface

2018-02-16 Thread Aishwarya Pant
Documentation has been compiled from git logs and by reading through code. Signed-off-by: Aishwarya Pant --- For drivers/block/loop.c, I don't see any maintainers or mailing lists except for LKML. I am guessing linux-block mailing list should be okay. Changes in v2: - Add

[PATCH v2] block/loop: add documentation for sysfs interface

2018-02-16 Thread Aishwarya Pant
Documentation has been compiled from git logs and by reading through code. Signed-off-by: Aishwarya Pant --- For drivers/block/loop.c, I don't see any maintainers or mailing lists except for LKML. I am guessing linux-block mailing list should be okay. Changes in v2: - Add

Re: [PATCH 08/23] kconfig: add 'macro' keyword to support user-defined function

2018-02-16 Thread Ulf Magnusson
On Fri, Feb 16, 2018 at 11:44:25PM -0500, Nicolas Pitre wrote: > On Sat, 17 Feb 2018, Ulf Magnusson wrote: > > > On Sat, Feb 17, 2018 at 3:30 AM, Nicolas Pitre wrote: > > > On Sat, 17 Feb 2018, Ulf Magnusson wrote: > > > > > >> On Fri, Feb 16, 2018 at 02:49:31PM -0500, Nicolas

Re: [PATCH 08/23] kconfig: add 'macro' keyword to support user-defined function

2018-02-16 Thread Ulf Magnusson
On Fri, Feb 16, 2018 at 11:44:25PM -0500, Nicolas Pitre wrote: > On Sat, 17 Feb 2018, Ulf Magnusson wrote: > > > On Sat, Feb 17, 2018 at 3:30 AM, Nicolas Pitre wrote: > > > On Sat, 17 Feb 2018, Ulf Magnusson wrote: > > > > > >> On Fri, Feb 16, 2018 at 02:49:31PM -0500, Nicolas Pitre wrote: > >

[PATCH v2] aoe: document sysfs interface

2018-02-16 Thread Aishwarya Pant
Documentation has been compiled from git commit logs and descriptions in Documentation/aoe/aoe.txt. This should be useful for scripting and tracking changes in the ABI. Signed-off-by: Aishwarya Pant --- Changes in v2: - interface -> interfaces in description of netif

[PATCH v2] aoe: document sysfs interface

2018-02-16 Thread Aishwarya Pant
Documentation has been compiled from git commit logs and descriptions in Documentation/aoe/aoe.txt. This should be useful for scripting and tracking changes in the ABI. Signed-off-by: Aishwarya Pant --- Changes in v2: - interface -> interfaces in description of netif

[PATCH 00/17] Include linux trace docs to Sphinx TOC tree

2018-02-16 Thread changbin . du
From: Changbin Du Hi All, The linux tracers are so useful that I want to make the docs better. The kernel now uses Sphinx to generate intelligent and beautiful documentation from reStructuredText files. I converted most of the Linux trace docs to rst format in this serias.

[PATCH 00/17] Include linux trace docs to Sphinx TOC tree

2018-02-16 Thread changbin . du
From: Changbin Du Hi All, The linux tracers are so useful that I want to make the docs better. The kernel now uses Sphinx to generate intelligent and beautiful documentation from reStructuredText files. I converted most of the Linux trace docs to rst format in this serias. For you to preview,

[PATCH 03/17] trace doc: add ftrace-uses.rst to doc tree

2018-02-16 Thread changbin . du
From: Changbin Du Add ftrace-uses.rst into Sphinx TOC tree. Few format issues are fixed. Cc: Steven Rostedt Signed-off-by: Changbin Du --- Documentation/trace/ftrace-uses.rst | 23 ---

[PATCH] virtio_balloon: export huge page allocation statistics

2018-02-16 Thread Jonathan Helman
Export statistics for successful and failed huge page allocations from the virtio balloon driver. These 2 stats come directly from the vm_events HTLB_BUDDY_PGALLOC and HTLB_BUDDY_PGALLOC_FAIL. Signed-off-by: Jonathan Helman --- drivers/virtio/virtio_balloon.c | 6

[PATCH 03/17] trace doc: add ftrace-uses.rst to doc tree

2018-02-16 Thread changbin . du
From: Changbin Du Add ftrace-uses.rst into Sphinx TOC tree. Few format issues are fixed. Cc: Steven Rostedt Signed-off-by: Changbin Du --- Documentation/trace/ftrace-uses.rst | 23 --- Documentation/trace/index.rst | 1 + 2 files changed, 13 insertions(+), 11

[PATCH] virtio_balloon: export huge page allocation statistics

2018-02-16 Thread Jonathan Helman
Export statistics for successful and failed huge page allocations from the virtio balloon driver. These 2 stats come directly from the vm_events HTLB_BUDDY_PGALLOC and HTLB_BUDDY_PGALLOC_FAIL. Signed-off-by: Jonathan Helman --- drivers/virtio/virtio_balloon.c | 6 ++

[PATCH 02/17] trace doc: convert trace/ftrace-design.txt to rst format

2018-02-16 Thread changbin . du
From: Changbin Du This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. This documentation is not synced with current code, so mark it as out of date. Cc: Steven Rostedt Signed-off-by: Changbin Du

[PATCH 02/17] trace doc: convert trace/ftrace-design.txt to rst format

2018-02-16 Thread changbin . du
From: Changbin Du This converts the plain text documentation to reStructuredText format and add it to Sphinx TOC tree. This documentation is not synced with current code, so mark it as out of date. Cc: Steven Rostedt Signed-off-by: Changbin Du --- .../trace/{ftrace-design.txt =>

[PATCH 11/17] trace doc: convert trace/events-power.txt to rst format

2018-02-16 Thread changbin . du
From: Changbin Du This converts the plain text documentation to reStructuredText format and add it into Sphinx TOC tree. No essential content change. Cc: Steven Rostedt Signed-off-by: Changbin Du ---

[PATCH 12/17] trace doc: convert trace/events-nmi.txt to rst format

2018-02-16 Thread changbin . du
From: Changbin Du This converts the plain text documentation to reStructuredText format and add it into Sphinx TOC tree. No essential content change. Cc: Steven Rostedt Signed-off-by: Changbin Du ---

[PATCH 06/17] trace doc: convert trace/kprobetrace.txt to rst format

2018-02-16 Thread changbin . du
From: Changbin Du This converts the plain text documentation to reStructuredText format and add it into Sphinx TOC tree. No essential content change. Cc: Steven Rostedt Signed-off-by: Changbin Du ---

[PATCH 11/17] trace doc: convert trace/events-power.txt to rst format

2018-02-16 Thread changbin . du
From: Changbin Du This converts the plain text documentation to reStructuredText format and add it into Sphinx TOC tree. No essential content change. Cc: Steven Rostedt Signed-off-by: Changbin Du --- .../trace/{events-power.txt => events-power.rst} | 52 +-

[PATCH 12/17] trace doc: convert trace/events-nmi.txt to rst format

2018-02-16 Thread changbin . du
From: Changbin Du This converts the plain text documentation to reStructuredText format and add it into Sphinx TOC tree. No essential content change. Cc: Steven Rostedt Signed-off-by: Changbin Du --- Documentation/trace/events-nmi.rst | 45 ++

[PATCH 06/17] trace doc: convert trace/kprobetrace.txt to rst format

2018-02-16 Thread changbin . du
From: Changbin Du This converts the plain text documentation to reStructuredText format and add it into Sphinx TOC tree. No essential content change. Cc: Steven Rostedt Signed-off-by: Changbin Du --- Documentation/trace/index.rst | 1 + .../trace/{kprobetrace.txt =>

[PATCH 10/17] trace doc: convert trace/events-kmem.txt to rst format

2018-02-16 Thread changbin . du
From: Changbin Du This converts the plain text documentation to reStructuredText format and add it into Sphinx TOC tree. No essential content change. Cc: Steven Rostedt Signed-off-by: Changbin Du ---

[PATCH 10/17] trace doc: convert trace/events-kmem.txt to rst format

2018-02-16 Thread changbin . du
From: Changbin Du This converts the plain text documentation to reStructuredText format and add it into Sphinx TOC tree. No essential content change. Cc: Steven Rostedt Signed-off-by: Changbin Du --- .../trace/{events-kmem.txt => events-kmem.rst} | 50 ++

[PATCH 13/17] trace doc: convert trace/events-msr.txt to rst format

2018-02-16 Thread changbin . du
From: Changbin Du This converts the plain text documentation to reStructuredText format and add it into Sphinx TOC tree. No essential content change. Cc: Steven Rostedt Signed-off-by: Changbin Du ---

[PATCH 13/17] trace doc: convert trace/events-msr.txt to rst format

2018-02-16 Thread changbin . du
From: Changbin Du This converts the plain text documentation to reStructuredText format and add it into Sphinx TOC tree. No essential content change. Cc: Steven Rostedt Signed-off-by: Changbin Du --- Documentation/trace/events-msr.rst | 40 ++

[PATCH 09/17] trace doc: convert trace/events.txt to rst format

2018-02-16 Thread changbin . du
From: Changbin Du This converts the plain text documentation to reStructuredText format and add it into Sphinx TOC tree. No essential content change. Cc: Steven Rostedt Signed-off-by: Changbin Du ---

[PATCH 07/17] trace doc: convert trace/uprobetracer.txt to rst format

2018-02-16 Thread changbin . du
From: Changbin Du This converts the plain text documentation to reStructuredText format and add it into Sphinx TOC tree. No essential content change. Cc: Steven Rostedt Signed-off-by: Changbin Du ---

[PATCH 09/17] trace doc: convert trace/events.txt to rst format

2018-02-16 Thread changbin . du
From: Changbin Du This converts the plain text documentation to reStructuredText format and add it into Sphinx TOC tree. No essential content change. Cc: Steven Rostedt Signed-off-by: Changbin Du --- Documentation/trace/{events.txt => events.rst} | 669 +

[PATCH 07/17] trace doc: convert trace/uprobetracer.txt to rst format

2018-02-16 Thread changbin . du
From: Changbin Du This converts the plain text documentation to reStructuredText format and add it into Sphinx TOC tree. No essential content change. Cc: Steven Rostedt Signed-off-by: Changbin Du --- Documentation/trace/index.rst | 1 + .../trace/{uprobetracer.txt =>

[PATCH 16/17] trace doc: convert trace/intel_th.txt to rst format

2018-02-16 Thread changbin . du
From: Changbin Du This converts the plain text documentation to reStructuredText format and add it into Sphinx TOC tree. No essential content change. Cc: Steven Rostedt Signed-off-by: Changbin Du ---

[PATCH 17/17] trace doc: convert trace/stm.txt to rst format

2018-02-16 Thread changbin . du
From: Changbin Du This converts the plain text documentation to reStructuredText format and add it into Sphinx TOC tree. No essential content change. Cc: Steven Rostedt Signed-off-by: Changbin Du ---

[PATCH 16/17] trace doc: convert trace/intel_th.txt to rst format

2018-02-16 Thread changbin . du
From: Changbin Du This converts the plain text documentation to reStructuredText format and add it into Sphinx TOC tree. No essential content change. Cc: Steven Rostedt Signed-off-by: Changbin Du --- Documentation/trace/index.rst | 1 + Documentation/trace/{intel_th.txt

[PATCH 17/17] trace doc: convert trace/stm.txt to rst format

2018-02-16 Thread changbin . du
From: Changbin Du This converts the plain text documentation to reStructuredText format and add it into Sphinx TOC tree. No essential content change. Cc: Steven Rostedt Signed-off-by: Changbin Du --- Documentation/trace/index.rst| 1 + Documentation/trace/{stm.txt => stm.rst} |

[PATCH 15/17] trace doc: convert trace/hwlat_detector.txt to rst fromat

2018-02-16 Thread changbin . du
From: Changbin Du This converts the plain text documentation to reStructuredText format and add it into Sphinx TOC tree. No essential content change. Cc: Steven Rostedt Signed-off-by: Changbin Du --- .../{hwlat_detector.txt

[PATCH 14/17] trace doc: convert trace/mmiotrace.txt to rst format

2018-02-16 Thread changbin . du
From: Changbin Du This converts the plain text documentation to reStructuredText format and add it into Sphinx TOC tree. No essential content change. Cc: Steven Rostedt Signed-off-by: Changbin Du ---

[PATCH 08/17] trace doc: convert trace/tracepoints.txt to rst format

2018-02-16 Thread changbin . du
From: Changbin Du This converts the plain text documentation to reStructuredText format and add it into Sphinx TOC tree. No essential content change. Cc: Steven Rostedt Signed-off-by: Changbin Du ---

[PATCH 14/17] trace doc: convert trace/mmiotrace.txt to rst format

2018-02-16 Thread changbin . du
From: Changbin Du This converts the plain text documentation to reStructuredText format and add it into Sphinx TOC tree. No essential content change. Cc: Steven Rostedt Signed-off-by: Changbin Du --- Documentation/trace/index.rst | 1 + .../trace/{mmiotrace.txt =>

[PATCH 08/17] trace doc: convert trace/tracepoints.txt to rst format

2018-02-16 Thread changbin . du
From: Changbin Du This converts the plain text documentation to reStructuredText format and add it into Sphinx TOC tree. No essential content change. Cc: Steven Rostedt Signed-off-by: Changbin Du --- Documentation/trace/index.rst | 1 + .../trace/{tracepoints.txt =>

[PATCH 15/17] trace doc: convert trace/hwlat_detector.txt to rst fromat

2018-02-16 Thread changbin . du
From: Changbin Du This converts the plain text documentation to reStructuredText format and add it into Sphinx TOC tree. No essential content change. Cc: Steven Rostedt Signed-off-by: Changbin Du --- .../{hwlat_detector.txt => hwlat_detector.rst} | 26 +-

[PATCH 01/17] Documentation: add Linux tracing to Sphinx TOC tree

2018-02-16 Thread changbin . du
From: Changbin Du This just add a index.rst for trace subsystem. More docs will be added later. Cc: Steven Rostedt Signed-off-by: Changbin Du --- Documentation/index.rst | 1 + Documentation/trace/index.rst | 6 ++

[PATCH 01/17] Documentation: add Linux tracing to Sphinx TOC tree

2018-02-16 Thread changbin . du
From: Changbin Du This just add a index.rst for trace subsystem. More docs will be added later. Cc: Steven Rostedt Signed-off-by: Changbin Du --- Documentation/index.rst | 1 + Documentation/trace/index.rst | 6 ++ 2 files changed, 7 insertions(+) create mode 100644

[PATCH 04/17] trace doc: convert trace/tracepoint-analysis.txt to rst format

2018-02-16 Thread changbin . du
From: Changbin Du This converts the plain text documentation to reStructuredText format and add it into Sphinx TOC tree. No essential content change. Cc: Steven Rostedt Signed-off-by: Changbin Du ---

[PATCH 04/17] trace doc: convert trace/tracepoint-analysis.txt to rst format

2018-02-16 Thread changbin . du
From: Changbin Du This converts the plain text documentation to reStructuredText format and add it into Sphinx TOC tree. No essential content change. Cc: Steven Rostedt Signed-off-by: Changbin Du --- Documentation/trace/index.rst | 1 + ...epoint-analysis.txt =>

RE: [PATCH v1 0/4] platform/x86: mlx-platform: Add bus differed and auto detection functionalities

2018-02-16 Thread Vadim Pasternak
> -Original Message- > From: Darren Hart [mailto:dvh...@infradead.org] > Sent: Friday, February 16, 2018 3:33 AM > To: Vadim Pasternak > Cc: andy.shevche...@gmail.com; gre...@linuxfoundation.org; platform- > driver-...@vger.kernel.org; linux-kernel@vger.kernel.org;

RE: [PATCH v1 0/4] platform/x86: mlx-platform: Add bus differed and auto detection functionalities

2018-02-16 Thread Vadim Pasternak
> -Original Message- > From: Darren Hart [mailto:dvh...@infradead.org] > Sent: Friday, February 16, 2018 3:33 AM > To: Vadim Pasternak > Cc: andy.shevche...@gmail.com; gre...@linuxfoundation.org; platform- > driver-...@vger.kernel.org; linux-kernel@vger.kernel.org; j...@resnulli.us; >

[PATCH] ARM: sunxi: Fix multi-cluster SMP support compilation in multi v6/v7 configs

2018-02-16 Thread Chen-Yu Tsai
Various parts of the assembly code used in the multi-cluster SMP support requires ARMv7-A. If the kernel config also has multi v6 support enabled, Kbuild defaults to building for armv6k, which does not support some of the instructions we use. Configure the Makefile such that the multi-cluster SMP

[PATCH] ARM: sunxi: Fix multi-cluster SMP support compilation in multi v6/v7 configs

2018-02-16 Thread Chen-Yu Tsai
Various parts of the assembly code used in the multi-cluster SMP support requires ARMv7-A. If the kernel config also has multi v6 support enabled, Kbuild defaults to building for armv6k, which does not support some of the instructions we use. Configure the Makefile such that the multi-cluster SMP

Plan for DTC re-sync?

2018-02-16 Thread Masahiro Yamada
Hi Rob, Do you have a plan to sync scripts/dtc/ with upstream? I want the following commit in the upstream DTC project. commit b260c4f610c004c6e9e36c5f7bbb58d23e605bf1 Author: Grant Likely Date: Mon Nov 20 17:12:18 2017 + Fix ambiguous grammar for

Plan for DTC re-sync?

2018-02-16 Thread Masahiro Yamada
Hi Rob, Do you have a plan to sync scripts/dtc/ with upstream? I want the following commit in the upstream DTC project. commit b260c4f610c004c6e9e36c5f7bbb58d23e605bf1 Author: Grant Likely Date: Mon Nov 20 17:12:18 2017 + Fix ambiguous grammar for devicetree rule -- Best

[PATCH] USB: chaoskey: Use kasprintf() over strcpy()/strcat()

2018-02-16 Thread Kees Cook
Instead of kmalloc() with manually calculated values followed by multiple strcpy()/strcat() calls, just fold it all into a single kasprintf() call. Signed-off-by: Kees Cook --- drivers/usb/misc/chaoskey.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff

[PATCH] USB: chaoskey: Use kasprintf() over strcpy()/strcat()

2018-02-16 Thread Kees Cook
Instead of kmalloc() with manually calculated values followed by multiple strcpy()/strcat() calls, just fold it all into a single kasprintf() call. Signed-off-by: Kees Cook --- drivers/usb/misc/chaoskey.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git

Re: [PATCH 08/23] kconfig: add 'macro' keyword to support user-defined function

2018-02-16 Thread Nicolas Pitre
On Sat, 17 Feb 2018, Ulf Magnusson wrote: > On Sat, Feb 17, 2018 at 3:30 AM, Nicolas Pitre wrote: > > On Sat, 17 Feb 2018, Ulf Magnusson wrote: > > > >> On Fri, Feb 16, 2018 at 02:49:31PM -0500, Nicolas Pitre wrote: > >> > On Sat, 17 Feb 2018, Masahiro Yamada wrote: > >> > > >>

Re: [PATCH 08/23] kconfig: add 'macro' keyword to support user-defined function

2018-02-16 Thread Nicolas Pitre
On Sat, 17 Feb 2018, Ulf Magnusson wrote: > On Sat, Feb 17, 2018 at 3:30 AM, Nicolas Pitre wrote: > > On Sat, 17 Feb 2018, Ulf Magnusson wrote: > > > >> On Fri, Feb 16, 2018 at 02:49:31PM -0500, Nicolas Pitre wrote: > >> > On Sat, 17 Feb 2018, Masahiro Yamada wrote: > >> > > >> > > Now, we got a

Re: [PATCH v2 0/6] crypto: engine - Permit to enqueue all async requests

2018-02-16 Thread Herbert Xu
On Fri, Feb 16, 2018 at 04:36:56PM +0100, Corentin Labbe wrote: > > As mentionned in the cover letter, all patchs (except documentation one) > should be squashed. > A kbuild robot reported a build error on cryptodev due to this. It's too late now. In future if you want the patches to be

Re: [PATCH v2 0/6] crypto: engine - Permit to enqueue all async requests

2018-02-16 Thread Herbert Xu
On Fri, Feb 16, 2018 at 04:36:56PM +0100, Corentin Labbe wrote: > > As mentionned in the cover letter, all patchs (except documentation one) > should be squashed. > A kbuild robot reported a build error on cryptodev due to this. It's too late now. In future if you want the patches to be

Re: [PATCH 08/23] kconfig: add 'macro' keyword to support user-defined function

2018-02-16 Thread Ulf Magnusson
On Sat, Feb 17, 2018 at 3:30 AM, Nicolas Pitre wrote: > On Sat, 17 Feb 2018, Ulf Magnusson wrote: > >> On Fri, Feb 16, 2018 at 02:49:31PM -0500, Nicolas Pitre wrote: >> > On Sat, 17 Feb 2018, Masahiro Yamada wrote: >> > >> > > Now, we got a basic ability to test compiler

Re: [PATCH 08/23] kconfig: add 'macro' keyword to support user-defined function

2018-02-16 Thread Ulf Magnusson
On Sat, Feb 17, 2018 at 3:30 AM, Nicolas Pitre wrote: > On Sat, 17 Feb 2018, Ulf Magnusson wrote: > >> On Fri, Feb 16, 2018 at 02:49:31PM -0500, Nicolas Pitre wrote: >> > On Sat, 17 Feb 2018, Masahiro Yamada wrote: >> > >> > > Now, we got a basic ability to test compiler capability in Kconfig. >>

Re: [PATCH 2/3] Documentation: convert trace/ftrace-design.txt to rst format

2018-02-16 Thread Du, Changbin
On Fri, Feb 16, 2018 at 12:36:29PM -0500, Steven Rostedt wrote: > On Fri, 16 Feb 2018 05:49:52 -0700 > Jonathan Corbet wrote: > > > On Thu, 15 Feb 2018 22:57:05 -0500 > > Steven Rostedt wrote: > > > > > This document is out of date, and I rather have it

Re: [PATCH 2/3] Documentation: convert trace/ftrace-design.txt to rst format

2018-02-16 Thread Du, Changbin
On Fri, Feb 16, 2018 at 12:36:29PM -0500, Steven Rostedt wrote: > On Fri, 16 Feb 2018 05:49:52 -0700 > Jonathan Corbet wrote: > > > On Thu, 15 Feb 2018 22:57:05 -0500 > > Steven Rostedt wrote: > > > > > This document is out of date, and I rather have it updated before we > > > make it more

Re: [PATCH] tools/memory-model: remove rb-dep, smp_read_barrier_depends, and lockless_dereference

2018-02-16 Thread Andrea Parri
On Fri, Feb 16, 2018 at 05:22:55PM -0500, Alan Stern wrote: > Since commit 76ebbe78f739 ("locking/barriers: Add implicit > smp_read_barrier_depends() to READ_ONCE()") was merged for the 4.15 > kernel, it has not been necessary to use smp_read_barrier_depends(). > Similarly, commit 59ecbbe7b31c

Re: [PATCH] tools/memory-model: remove rb-dep, smp_read_barrier_depends, and lockless_dereference

2018-02-16 Thread Andrea Parri
On Fri, Feb 16, 2018 at 05:22:55PM -0500, Alan Stern wrote: > Since commit 76ebbe78f739 ("locking/barriers: Add implicit > smp_read_barrier_depends() to READ_ONCE()") was merged for the 4.15 > kernel, it has not been necessary to use smp_read_barrier_depends(). > Similarly, commit 59ecbbe7b31c

Re: [PATCH] aoe: document sysfs interface

2018-02-16 Thread Ed Cashin
On 02/16/2018 10:39 AM, Aishwarya Pant wrote: Documentation has been compiled from git commit logs and descriptions in Documentation/aoe/aoe.txt. This should be useful for scripting and tracking changes in the ABI. ... +What: /sys/block/etherd*/netif ... +Description: +

Re: [PATCH] aoe: document sysfs interface

2018-02-16 Thread Ed Cashin
On 02/16/2018 10:39 AM, Aishwarya Pant wrote: Documentation has been compiled from git commit logs and descriptions in Documentation/aoe/aoe.txt. This should be useful for scripting and tracking changes in the ABI. ... +What: /sys/block/etherd*/netif ... +Description: +

Re: [PATCH 08/23] kconfig: add 'macro' keyword to support user-defined function

2018-02-16 Thread Nicolas Pitre
On Sat, 17 Feb 2018, Ulf Magnusson wrote: > On Fri, Feb 16, 2018 at 02:49:31PM -0500, Nicolas Pitre wrote: > > On Sat, 17 Feb 2018, Masahiro Yamada wrote: > > > > > Now, we got a basic ability to test compiler capability in Kconfig. > > > > > > config CC_HAS_STACKPROTECTOR > > > bool >

Re: [PATCH 08/23] kconfig: add 'macro' keyword to support user-defined function

2018-02-16 Thread Nicolas Pitre
On Sat, 17 Feb 2018, Ulf Magnusson wrote: > On Fri, Feb 16, 2018 at 02:49:31PM -0500, Nicolas Pitre wrote: > > On Sat, 17 Feb 2018, Masahiro Yamada wrote: > > > > > Now, we got a basic ability to test compiler capability in Kconfig. > > > > > > config CC_HAS_STACKPROTECTOR > > > bool >

Re: [PATCH v3 08/11] watchdog/hpwdt: Programable Pretimeout NMI

2018-02-16 Thread Guenter Roeck
On 02/16/2018 05:56 PM, Jerry Hoemann wrote: On Fri, Feb 16, 2018 at 03:55:06PM -0800, Guenter Roeck wrote: On Fri, Feb 16, 2018 at 04:46:17PM -0700, Jerry Hoemann wrote: On Fri, Feb 16, 2018 at 12:34:40PM -0800, Guenter Roeck wrote: On Thu, Feb 15, 2018 at 04:43:57PM -0700, Jerry Hoemann

Re: [PATCH v3 08/11] watchdog/hpwdt: Programable Pretimeout NMI

2018-02-16 Thread Guenter Roeck
On 02/16/2018 05:56 PM, Jerry Hoemann wrote: On Fri, Feb 16, 2018 at 03:55:06PM -0800, Guenter Roeck wrote: On Fri, Feb 16, 2018 at 04:46:17PM -0700, Jerry Hoemann wrote: On Fri, Feb 16, 2018 at 12:34:40PM -0800, Guenter Roeck wrote: On Thu, Feb 15, 2018 at 04:43:57PM -0700, Jerry Hoemann

[PATCH 4/4] Staging: ks7010: hostif: Fix multiple use of arguments in ps_confirm_wait_inc() macro.

2018-02-16 Thread Quytelda Kahja
Use GCC extensions to prevent macro arguments from accidentally being evaluated multiple times when the macro is called. Signed-off-by: Quytelda Kahja --- drivers/staging/ks7010/ks_hostif.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git

[PATCH 4/4] Staging: ks7010: hostif: Fix multiple use of arguments in ps_confirm_wait_inc() macro.

2018-02-16 Thread Quytelda Kahja
Use GCC extensions to prevent macro arguments from accidentally being evaluated multiple times when the macro is called. Signed-off-by: Quytelda Kahja --- drivers/staging/ks7010/ks_hostif.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git

[PATCH 3/4] Staging: ks7010: hostif: Fix multiple use of arguments in rate and event masking macros.

2018-02-16 Thread Quytelda Kahja
Use GCC extensions to prevent macro arguments from accidentally being evaluated multiple times when the macro is called. Signed-off-by: Quytelda Kahja --- drivers/staging/ks7010/ks_hostif.h | 74 +- 1 file changed, 50 insertions(+), 24

[PATCH 3/4] Staging: ks7010: hostif: Fix multiple use of arguments in rate and event masking macros.

2018-02-16 Thread Quytelda Kahja
Use GCC extensions to prevent macro arguments from accidentally being evaluated multiple times when the macro is called. Signed-off-by: Quytelda Kahja --- drivers/staging/ks7010/ks_hostif.h | 74 +- 1 file changed, 50 insertions(+), 24 deletions(-) diff

[PATCH 2/4] Staging: ks7010: hostif: Fix multiple use of arguments in SME queue macros.

2018-02-16 Thread Quytelda Kahja
Use GCC extensions to prevent macro arguments from accidentally being evaluated multiple times when the macro is called. Signed-off-by: Quytelda Kahja --- drivers/staging/ks7010/ks_hostif.c | 19 +-- 1 file changed, 13 insertions(+), 6 deletions(-) diff

[PATCH 2/4] Staging: ks7010: hostif: Fix multiple use of arguments in SME queue macros.

2018-02-16 Thread Quytelda Kahja
Use GCC extensions to prevent macro arguments from accidentally being evaluated multiple times when the macro is called. Signed-off-by: Quytelda Kahja --- drivers/staging/ks7010/ks_hostif.c | 19 +-- 1 file changed, 13 insertions(+), 6 deletions(-) diff --git

[PATCH 1/4] Staging: ks7010: sdio: Fix multiple use of arguments in RX/TX queue macros.

2018-02-16 Thread Quytelda Kahja
Use GCC extensions to prevent macro arguments from accidentally being evaluated multiple times when the macro is called. Signed-off-by: Quytelda Kahja --- drivers/staging/ks7010/ks7010_sdio.c | 40 1 file changed, 27 insertions(+), 13

[PATCH 1/4] Staging: ks7010: sdio: Fix multiple use of arguments in RX/TX queue macros.

2018-02-16 Thread Quytelda Kahja
Use GCC extensions to prevent macro arguments from accidentally being evaluated multiple times when the macro is called. Signed-off-by: Quytelda Kahja --- drivers/staging/ks7010/ks7010_sdio.c | 40 1 file changed, 27 insertions(+), 13 deletions(-) diff

Re: [PATCH v3 01/15] Documentation: add newcx initramfs format description

2018-02-16 Thread hpa
On February 16, 2018 1:47:35 PM PST, Victor Kamensky wrote: > > >On Fri, 16 Feb 2018, Rob Landley wrote: > >> >> On 02/16/2018 02:59 PM, H. Peter Anvin wrote: >>> On 02/16/18 12:33, Taras Kondratiuk wrote: Many of the Linux security/integrity features are dependent on

Re: [PATCH v3 01/15] Documentation: add newcx initramfs format description

2018-02-16 Thread hpa
On February 16, 2018 1:47:35 PM PST, Victor Kamensky wrote: > > >On Fri, 16 Feb 2018, Rob Landley wrote: > >> >> On 02/16/2018 02:59 PM, H. Peter Anvin wrote: >>> On 02/16/18 12:33, Taras Kondratiuk wrote: Many of the Linux security/integrity features are dependent on file metadata,

Re: [PATCH v2] reset: add support for non-DT systems

2018-02-16 Thread David Lechner
On 02/13/2018 12:39 PM, Bartosz Golaszewski wrote: From: Bartosz Golaszewski The reset framework only supports device-tree. There are some platforms however, which need to use it even in legacy, board-file based mode. An example of such architecture is the DaVinci

Re: [PATCH v2] reset: add support for non-DT systems

2018-02-16 Thread David Lechner
On 02/13/2018 12:39 PM, Bartosz Golaszewski wrote: From: Bartosz Golaszewski The reset framework only supports device-tree. There are some platforms however, which need to use it even in legacy, board-file based mode. An example of such architecture is the DaVinci family of SoCs which

Re: [PATCH v3 08/11] watchdog/hpwdt: Programable Pretimeout NMI

2018-02-16 Thread Jerry Hoemann
On Fri, Feb 16, 2018 at 03:55:06PM -0800, Guenter Roeck wrote: > On Fri, Feb 16, 2018 at 04:46:17PM -0700, Jerry Hoemann wrote: > > On Fri, Feb 16, 2018 at 12:34:40PM -0800, Guenter Roeck wrote: > > > On Thu, Feb 15, 2018 at 04:43:57PM -0700, Jerry Hoemann wrote: ... > > > > @@ -98,12 +106,21 @@

Re: [PATCH v3 08/11] watchdog/hpwdt: Programable Pretimeout NMI

2018-02-16 Thread Jerry Hoemann
On Fri, Feb 16, 2018 at 03:55:06PM -0800, Guenter Roeck wrote: > On Fri, Feb 16, 2018 at 04:46:17PM -0700, Jerry Hoemann wrote: > > On Fri, Feb 16, 2018 at 12:34:40PM -0800, Guenter Roeck wrote: > > > On Thu, Feb 15, 2018 at 04:43:57PM -0700, Jerry Hoemann wrote: ... > > > > @@ -98,12 +106,21 @@

Re: [PATCH 1/1] perf: Add CPU hotplug support for events

2018-02-16 Thread Raghavendra Rao Ananta
On 02/16/2018 12:39 PM, Peter Zijlstra wrote: On Fri, Feb 16, 2018 at 10:06:29AM -0800, Raghavendra Rao Ananta wrote: No this is absolutely disguisting. You can simply keep the events in the dead CPU's context. It's really not that hard. Keeping the events in the dead CPU's context was also

Re: [PATCH 1/1] perf: Add CPU hotplug support for events

2018-02-16 Thread Raghavendra Rao Ananta
On 02/16/2018 12:39 PM, Peter Zijlstra wrote: On Fri, Feb 16, 2018 at 10:06:29AM -0800, Raghavendra Rao Ananta wrote: No this is absolutely disguisting. You can simply keep the events in the dead CPU's context. It's really not that hard. Keeping the events in the dead CPU's context was also

[no subject]

2018-02-16 Thread Ryan Ellis
Hi, I am Ryan. I consider myself an easy-going man,honest and loving person. I am currently looking for a relationship in which i feel loved. Please tell me more about yourself, if you do not mind. Regards, Ryan Ellis.

[no subject]

2018-02-16 Thread Ryan Ellis
Hi, I am Ryan. I consider myself an easy-going man,honest and loving person. I am currently looking for a relationship in which i feel loved. Please tell me more about yourself, if you do not mind. Regards, Ryan Ellis.

syscon regmap for disabled node?

2018-02-16 Thread Suman Anna
Hi Pankaj, Arnd, Lee, I am testing some code to use a syscon/regmap interface and I find that the syscon/regmap is initialized even on a disabled device node using a "syscon" compatible property when I have expected it to fail. Prior to commit bdb0066df96e ("mfd: syscon: Decouple syscon interface

syscon regmap for disabled node?

2018-02-16 Thread Suman Anna
Hi Pankaj, Arnd, Lee, I am testing some code to use a syscon/regmap interface and I find that the syscon/regmap is initialized even on a disabled device node using a "syscon" compatible property when I have expected it to fail. Prior to commit bdb0066df96e ("mfd: syscon: Decouple syscon interface

Re: [PATCH 3/3] taint: Add taint for randstruct

2018-02-16 Thread Kees Cook
On Fri, Feb 16, 2018 at 1:02 PM, Andrew Morton wrote: > On Thu, 15 Feb 2018 19:37:44 -0800 Kees Cook wrote: > >> --- a/Documentation/sysctl/kernel.txt >> +++ b/Documentation/sysctl/kernel.txt >> @@ -991,6 +991,7 @@ ORed together. The letters are

Re: [PATCH 3/3] taint: Add taint for randstruct

2018-02-16 Thread Kees Cook
On Fri, Feb 16, 2018 at 1:02 PM, Andrew Morton wrote: > On Thu, 15 Feb 2018 19:37:44 -0800 Kees Cook wrote: > >> --- a/Documentation/sysctl/kernel.txt >> +++ b/Documentation/sysctl/kernel.txt >> @@ -991,6 +991,7 @@ ORed together. The letters are seen in "Tainted" line of >> Oops reports. >>

[PATCH] arm64: Add support for new control bits CTR_EL0.IDC and CTR_EL0.IDC

2018-02-16 Thread Shanker Donthineni
Two point of unification cache maintenance operations 'DC CVAU' and 'IC IVAU' are optional for implementors as per ARMv8 specification. This patch parses the updated CTR_EL0 register definition and adds the required changes to skip POU operations if the hardware reports CTR_EL0.IDC and/or

[PATCH] arm64: Add support for new control bits CTR_EL0.IDC and CTR_EL0.IDC

2018-02-16 Thread Shanker Donthineni
Two point of unification cache maintenance operations 'DC CVAU' and 'IC IVAU' are optional for implementors as per ARMv8 specification. This patch parses the updated CTR_EL0 register definition and adds the required changes to skip POU operations if the hardware reports CTR_EL0.IDC and/or

  1   2   3   4   5   6   7   8   9   10   >