[kvm-unit-tests PATCH v8 01/35] arch-run: Add functions to help handle migration directives from test

2024-04-05 Thread Nicholas Piggin
The migration harness will be expanded to deal with more commands from the test, moving these checks into functions helps keep things managable. Reviewed-by: Thomas Huth Signed-off-by: Nicholas Piggin --- scripts/arch-run.bash | 20 +++- 1 file changed, 15 insertions(+), 5 delet

Re: [kvm-unit-tests PATCH v7 01/35] arch-run: Add functions to help handle migration directives from test

2024-03-25 Thread Thomas Huth
On 19/03/2024 08.58, Nicholas Piggin wrote: The migration harness will be expanded to deal with more commands from the test, moving these checks into functions helps keep things managable. Signed-off-by: Nicholas Piggin --- scripts/arch-run.bash | 20 +++- 1 file changed, 15

[kvm-unit-tests PATCH v7 01/35] arch-run: Add functions to help handle migration directives from test

2024-03-19 Thread Nicholas Piggin
The migration harness will be expanded to deal with more commands from the test, moving these checks into functions helps keep things managable. Signed-off-by: Nicholas Piggin --- scripts/arch-run.bash | 20 +++- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/scri

Re: [PATCH v3] kbuild: Show marked Kconfig fragments in "help"

2023-09-02 Thread Nicolas Schier
On Thu, Aug 31, 2023 at 12:13:39PM -0700 Kees Cook wrote: > Currently the Kconfig fragments in kernel/configs and arch/*/configs > that aren't used internally aren't discoverable through "make help", > which consists of hard-coded lists of config fragments. Instead, li

Re: [PATCH v3] kbuild: Show marked Kconfig fragments in "help"

2023-09-01 Thread Masahiro Yamada
> that aren't used internally aren't discoverable through "make help", > > > which consists of hard-coded lists of config fragments. Instead, list > > > all the fragment targets that have a "# Help: " comment prefix so the > > > targets c

Re: [PATCH v3] kbuild: Show marked Kconfig fragments in "help"

2023-09-01 Thread Michael Ellerman
Kees Cook writes: > Currently the Kconfig fragments in kernel/configs and arch/*/configs > that aren't used internally aren't discoverable through "make help", > which consists of hard-coded lists of config fragments. Instead, list > all the fragment targets that

Re: [PATCH v3] kbuild: Show marked Kconfig fragments in "help"

2023-09-01 Thread Kees Cook
On Fri, Sep 01, 2023 at 04:58:37PM +0900, Masahiro Yamada wrote: > On Fri, Sep 1, 2023 at 4:13 AM Kees Cook wrote: > > > > Currently the Kconfig fragments in kernel/configs and arch/*/configs > > that aren't used internally aren't discoverable through "make hel

Re: [PATCH v3] kbuild: Show marked Kconfig fragments in "help"

2023-09-01 Thread Masahiro Yamada
On Fri, Sep 1, 2023 at 4:13 AM Kees Cook wrote: > > Currently the Kconfig fragments in kernel/configs and arch/*/configs > that aren't used internally aren't discoverable through "make help", > which consists of hard-coded lists of config fragments. Instead, list

[PATCH v3] kbuild: Show marked Kconfig fragments in "help"

2023-08-31 Thread Kees Cook
Currently the Kconfig fragments in kernel/configs and arch/*/configs that aren't used internally aren't discoverable through "make help", which consists of hard-coded lists of config fragments. Instead, list all the fragment targets that have a "# Help: " commen

Re: [PATCH v2 0/2] kbuild: Show Kconfig fragments in "help"

2023-08-31 Thread Masahiro Yamada
t line > > of config fragments. > > Good call. Yes, this looks excellent; thank you! Do you want to send a > formal patch? Please consider it: > > Reviewed-by: Kees Cook > > -- > Kees Cook You can send it with Co-developed-by: Masahiro Yamada You can add help messag

Re: [PATCH v2 0/2] kbuild: Show Kconfig fragments in "help"

2023-08-30 Thread Kees Cook
On Tue, Aug 29, 2023 at 11:57:19PM +0900, Masahiro Yamada wrote: > The attached patch will work too. > > I dropped the "in the first line" restriction > because SPDX might be placed in the first line > of config fragments. Good call. Yes, this looks excellent; thank you! Do you want to send a for

Re: [PATCH v2 0/2] kbuild: Show Kconfig fragments in "help"

2023-08-29 Thread Nicolas Schier
es Cook wrote: > > > >> > > > >> Hi, > > > >> > > > >> This is my series to show *.config targets in the "help" target so > > > >> these > > > >> various topics can be more easily discoverd.

Re: [PATCH v2 0/2] kbuild: Show Kconfig fragments in "help"

2023-08-29 Thread Masahiro Yamada
On Tue, Aug 29, 2023 at 3:55 PM Nicolas Schier wrote: > > On Mon 28 Aug 2023 16:17:07 GMT, Michael Ellerman wrote: > > Masahiro Yamada writes: > > > On Sat, Aug 26, 2023 at 4:55 AM Kees Cook wrote: > > >> > > >> Hi, > > >> > > >

Re: [PATCH v2 0/2] kbuild: Show Kconfig fragments in "help"

2023-08-28 Thread Nicolas Schier
On Mon 28 Aug 2023 16:17:07 GMT, Michael Ellerman wrote: > Masahiro Yamada writes: > > On Sat, Aug 26, 2023 at 4:55 AM Kees Cook wrote: > >> > >> Hi, > >> > >> This is my series to show *.config targets in the "help" target so these > &g

Re: [PATCH v2 0/2] kbuild: Show Kconfig fragments in "help"

2023-08-27 Thread Michael Ellerman
Masahiro Yamada writes: > On Sat, Aug 26, 2023 at 4:55 AM Kees Cook wrote: >> >> Hi, >> >> This is my series to show *.config targets in the "help" target so these >> various topics can be more easily discoverd. >> >> v2: >> - split .

Re: [PATCH v2 0/2] kbuild: Show Kconfig fragments in "help"

2023-08-27 Thread Masahiro Yamada
On Sat, Aug 26, 2023 at 4:55 AM Kees Cook wrote: > > Hi, > > This is my series to show *.config targets in the "help" target so these > various topics can be more easily discoverd. > > v2: > - split .fragment from .config to hide "internal" fragments

[PATCH v2 1/2] kbuild: Show Kconfig fragments in "help"

2023-08-25 Thread Kees Cook
Doing a "make help" would show only hard-coded Kconfig targets and depended on the archhelp target to include ".config" targets. There was nothing showing global kernel/configs/ targets. Solve this by walking the wildcard list and include them in the output, using the first

[PATCH v2 0/2] kbuild: Show Kconfig fragments in "help"

2023-08-25 Thread Kees Cook
Hi, This is my series to show *.config targets in the "help" target so these various topics can be more easily discoverd. v2: - split .fragment from .config to hide "internal" fragments - fix various typos - avoid duplicate entries v1: https://lore.kernel.org/all/202308

Re: [PATCH] kbuild: Show Kconfig fragments in "help"

2023-08-25 Thread Randy Dunlap
On 8/25/23 11:20, Kees Cook wrote: > On Thu, Aug 24, 2023 at 05:04:02PM -0700, Randy Dunlap wrote: >> Hi Kees, >> >> On 8/24/23 15:36, Kees Cook wrote: >>> Doing a "make help" would show only hard-coded Kconfig targets and >>> depended on the ar

Re: [PATCH] kbuild: Show Kconfig fragments in "help"

2023-08-25 Thread Kees Cook
On Fri, Aug 25, 2023 at 04:11:58PM +1000, Michael Ellerman wrote: > Kees Cook writes: > > Doing a "make help" would show only hard-coded Kconfig targets and > > depended on the archhelp target to include ".config" targets. There was > > nothing showing g

Re: [PATCH] kbuild: Show Kconfig fragments in "help"

2023-08-25 Thread Kees Cook
On Fri, Aug 25, 2023 at 07:44:06AM +0200, Nicolas Schier wrote: > On Thu, Aug 24, 2023 at 03:36:10PM -0700, Kees Cook wrote: > > Doing a "make help" would show only hard-coded Kconfig targets and > > depended on the archhelp target to include ".config" targets. T

Re: [PATCH] kbuild: Show Kconfig fragments in "help"

2023-08-25 Thread Kees Cook
On Fri, Aug 25, 2023 at 04:56:54AM +, Christophe Leroy wrote: > Le 25/08/2023 à 00:36, Kees Cook a écrit : > > +# Base hardware support for 86xx > > s/86xx/85xx > [...] Thanks for the typo fixes! I'll get these all fixed up. :) -- Kees Cook

Re: [PATCH] kbuild: Show Kconfig fragments in "help"

2023-08-25 Thread Kees Cook
On Thu, Aug 24, 2023 at 05:04:02PM -0700, Randy Dunlap wrote: > Hi Kees, > > On 8/24/23 15:36, Kees Cook wrote: > > Doing a "make help" would show only hard-coded Kconfig targets and > > depended on the archhelp target to include ".config" targets. Th

Re: [PATCH] kbuild: Show Kconfig fragments in "help"

2023-08-25 Thread Nicolas Schier
On Thu, Aug 24, 2023 at 03:36:10PM -0700, Kees Cook wrote: > Doing a "make help" would show only hard-coded Kconfig targets and > depended on the archhelp target to include ".config" targets. There was > nothing showing global kernel/configs/ targets. Solve this by wa

Re: [PATCH] kbuild: Show Kconfig fragments in "help"

2023-08-24 Thread Michael Ellerman
Kees Cook writes: > Doing a "make help" would show only hard-coded Kconfig targets and > depended on the archhelp target to include ".config" targets. There was > nothing showing global kernel/configs/ targets. Solve this by walking > the wildcard list and inclu

Re: [PATCH] kbuild: Show Kconfig fragments in "help"

2023-08-24 Thread Christophe Leroy
Le 25/08/2023 à 00:36, Kees Cook a écrit : > Doing a "make help" would show only hard-coded Kconfig targets and > depended on the archhelp target to include ".config" targets. There was > nothing showing global kernel/configs/ targets. Solve this by walking > th

Re: [PATCH] kbuild: Show Kconfig fragments in "help"

2023-08-24 Thread Randy Dunlap
Hi Kees, On 8/24/23 15:36, Kees Cook wrote: > Doing a "make help" would show only hard-coded Kconfig targets and > depended on the archhelp target to include ".config" targets. There was > nothing showing global kernel/configs/ targets. Solve this by walking > th

[PATCH] kbuild: Show Kconfig fragments in "help"

2023-08-24 Thread Kees Cook
Doing a "make help" would show only hard-coded Kconfig targets and depended on the archhelp target to include ".config" targets. There was nothing showing global kernel/configs/ targets. Solve this by walking the wildcard list and include them in the output, using the first

Re: objtool: Seeking help for improving switch table processing

2023-06-27 Thread Peter Zijlstra
On Sat, Jun 24, 2023 at 10:06:23AM +, Christophe Leroy wrote: > Hello Josh and Peter, > > As mentionned in the cover letter of my series "powerpc/objtool: uaccess > validation for PPC32 (v3)" [1], a few switch table lookup fail, and it > would help if you had id

objtool: Seeking help for improving switch table processing

2023-06-24 Thread Christophe Leroy
Hello Josh and Peter, As mentionned in the cover letter of my series "powerpc/objtool: uaccess validation for PPC32 (v3)" [1], a few switch table lookup fail, and it would help if you had ideas on how to handle them. First one is as follows. First switch is properly detected, sec

[PATCH 2/2] powerpc/Makefile: Add generated defconfigs to help output

2023-03-29 Thread Michael Ellerman
Currently none of the generated defconfigs appear in the help output, because the help text discovers defconfigs by looking for actual files named "*_defconfig". Collect the generated defconfig names into a variable and then print those out in archhelp. Output loo

Re: [PATCH v3 03/14] arm64: reword ARCH_FORCE_MAX_ORDER prompt and help text

2023-03-24 Thread Kefeng Wang
On 2023/3/25 14:08, Mike Rapoport wrote: From: "Mike Rapoport (IBM)" The prompt and help text of ARCH_FORCE_MAX_ORDER are not even close to describe this configuration option. Update both to actually describe what this option does. Acked-by: Kirill A. Shutemov Reviewed-by: Zi Y

[PATCH v3 14/14] xtensa: reword ARCH_FORCE_MAX_ORDER prompt and help text

2023-03-24 Thread Mike Rapoport
From: "Mike Rapoport (IBM)" The prompt and help text of ARCH_FORCE_MAX_ORDER are not even close to describe this configuration option. Update both to actually describe what this option does. Reviewed-by: Max Filippov Acked-by: Kirill A. Shutemov Reviewed-by: Zi Yan Signed-of

[PATCH v3 13/14] sparc: reword ARCH_FORCE_MAX_ORDER prompt and help text

2023-03-24 Thread Mike Rapoport
From: "Mike Rapoport (IBM)" The prompt and help text of ARCH_FORCE_MAX_ORDER are not even close to describe this configuration option. Update both to actually describe what this option does. Acked-by: Kirill A. Shutemov Reviewed-by: Zi Yan Signed-off-by: Mike Rapoport (IBM) ---

[PATCH v3 11/14] sh: reword ARCH_FORCE_MAX_ORDER prompt and help text

2023-03-24 Thread Mike Rapoport
From: "Mike Rapoport (IBM)" The prompt and help text of ARCH_FORCE_MAX_ORDER are not even close to describe this configuration option. Update both to actually describe what this option does. Acked-by: Kirill A. Shutemov Reviewed-by: Zi Yan Signed-off-by: Mike Rapoport (IBM) ---

[PATCH v3 09/14] powerpc: reword ARCH_FORCE_MAX_ORDER prompt and help text

2023-03-24 Thread Mike Rapoport
From: "Mike Rapoport (IBM)" The prompt and help text of ARCH_FORCE_MAX_ORDER are not even close to describe this configuration option. Update both to actually describe what this option does. Acked-by: Kirill A. Shutemov Reviewed-by: Zi Yan Signed-off-by: Mike Rapoport (IBM)

[PATCH v3 07/14] nios2: reword ARCH_FORCE_MAX_ORDER prompt and help text

2023-03-24 Thread Mike Rapoport
From: "Mike Rapoport (IBM)" The prompt and help text of ARCH_FORCE_MAX_ORDER are not even close to describe this configuration option. Update both to actually describe what this option does. Acked-by: Kirill A. Shutemov Reviewed-by: Zi Yan Signed-off-by: Mike Rapoport (IBM) ---

[PATCH v3 06/14] m68k: reword ARCH_FORCE_MAX_ORDER prompt and help text

2023-03-24 Thread Mike Rapoport
From: "Mike Rapoport (IBM)" The prompt and help text of ARCH_FORCE_MAX_ORDER are not even close to describe this configuration option. Update both to actually describe what this option does. Acked-by: Kirill A. Shutemov Acked-by: Geert Uytterhoeven Reviewed-by: Zi Yan Signed-of

[PATCH v3 03/14] arm64: reword ARCH_FORCE_MAX_ORDER prompt and help text

2023-03-24 Thread Mike Rapoport
From: "Mike Rapoport (IBM)" The prompt and help text of ARCH_FORCE_MAX_ORDER are not even close to describe this configuration option. Update both to actually describe what this option does. Acked-by: Kirill A. Shutemov Reviewed-by: Zi Yan Signed-off-by: Mike Rapoport (IBM) ---

[PATCH v3 01/14] arm: reword ARCH_FORCE_MAX_ORDER prompt and help text

2023-03-24 Thread Mike Rapoport
From: "Mike Rapoport (IBM)" The prompt and help text of ARCH_FORCE_MAX_ORDER are not even close to describe this configuration option. Update both to actually describe what this option does. Acked-by: Kirill A. Shutemov Reviewed-by: Zi Yan Signed-off-by: Mike Rapoport (IBM) ---

Re: [PATCH v2 11/14] sh: reword ARCH_FORCE_MAX_ORDER prompt and help text

2023-03-24 Thread Zi Yan
On 24 Mar 2023, at 1:22, Mike Rapoport wrote: > From: "Mike Rapoport (IBM)" > > The prompt and help text of ARCH_FORCE_MAX_ORDER are not even close to > describe this configuration option. > > Update both to actually describe what this option does. > > Signed-of

Re: [PATCH v2 03/14] arm64: reword ARCH_FORCE_MAX_ORDER prompt and help text

2023-03-24 Thread Zi Yan
On 24 Mar 2023, at 1:22, Mike Rapoport wrote: > From: "Mike Rapoport (IBM)" > > The prompt and help text of ARCH_FORCE_MAX_ORDER are not even close to > describe this configuration option. > > Update both to actually describe what this option does. > > Signed-of

[PATCH v2 14/14] xtensa: reword ARCH_FORCE_MAX_ORDER prompt and help text

2023-03-23 Thread Mike Rapoport
From: "Mike Rapoport (IBM)" The prompt and help text of ARCH_FORCE_MAX_ORDER are not even close to describe this configuration option. Update both to actually describe what this option does. Signed-off-by: Mike Rapoport (IBM) Reviewed-by: Max Filippov Acked-by: Kirill A. Shutemov

[PATCH v2 13/14] sparc: reword ARCH_FORCE_MAX_ORDER prompt and help text

2023-03-23 Thread Mike Rapoport
From: "Mike Rapoport (IBM)" The prompt and help text of ARCH_FORCE_MAX_ORDER are not even close to describe this configuration option. Update both to actually describe what this option does. Signed-off-by: Mike Rapoport (IBM) Acked-by: Kirill A. Shutemov --- arch/sparc/Kc

[PATCH v2 11/14] sh: reword ARCH_FORCE_MAX_ORDER prompt and help text

2023-03-23 Thread Mike Rapoport
From: "Mike Rapoport (IBM)" The prompt and help text of ARCH_FORCE_MAX_ORDER are not even close to describe this configuration option. Update both to actually describe what this option does. Signed-off-by: Mike Rapoport (IBM) Acked-by: Kirill A. Shutemov --- arch/sh/mm/Kc

[PATCH v2 09/14] powerpc: reword ARCH_FORCE_MAX_ORDER prompt and help text

2023-03-23 Thread Mike Rapoport
From: "Mike Rapoport (IBM)" The prompt and help text of ARCH_FORCE_MAX_ORDER are not even close to describe this configuration option. Update both to actually describe what this option does. Signed-off-by: Mike Rapoport (IBM) Acked-by: Kirill A. Shutemov --- arch/powerpc/Kc

[PATCH v2 07/14] nios2: reword ARCH_FORCE_MAX_ORDER prompt and help text

2023-03-23 Thread Mike Rapoport
From: "Mike Rapoport (IBM)" The prompt and help text of ARCH_FORCE_MAX_ORDER are not even close to describe this configuration option. Update both to actually describe what this option does. Signed-off-by: Mike Rapoport (IBM) Acked-by: Kirill A. Shutemov --- arch/nios2/Kc

[PATCH v2 06/14] m68k: reword ARCH_FORCE_MAX_ORDER prompt and help text

2023-03-23 Thread Mike Rapoport
From: "Mike Rapoport (IBM)" The prompt and help text of ARCH_FORCE_MAX_ORDER are not even close to describe this configuration option. Update both to actually describe what this option does. Signed-off-by: Mike Rapoport (IBM) Acked-by: Kirill A. Shutemov Acked-by: Geert Uy

[PATCH v2 03/14] arm64: reword ARCH_FORCE_MAX_ORDER prompt and help text

2023-03-23 Thread Mike Rapoport
From: "Mike Rapoport (IBM)" The prompt and help text of ARCH_FORCE_MAX_ORDER are not even close to describe this configuration option. Update both to actually describe what this option does. Signed-off-by: Mike Rapoport (IBM) Acked-by: Kirill A. Shutemov --- arch/arm64/Kc

[PATCH v2 01/14] arm: reword ARCH_FORCE_MAX_ORDER prompt and help text

2023-03-23 Thread Mike Rapoport
From: "Mike Rapoport (IBM)" The prompt and help text of ARCH_FORCE_MAX_ORDER are not even close to describe this configuration option. Update both to actually describe what this option does. Signed-off-by: Mike Rapoport (IBM) Acked-by: Kirill A. Shutemov --- arch/arm/Kc

Re: [PATCH 06/14] m68k: reword ARCH_FORCE_MAX_ORDER prompt and help text

2023-03-23 Thread Geert Uytterhoeven
On Thu, Mar 23, 2023 at 10:23 AM Mike Rapoport wrote: > From: "Mike Rapoport (IBM)" > > The prompt and help text of ARCH_FORCE_MAX_ORDER are not even close to > describe this configuration option. > > Update both to actually describe what this option does. > >

Re: [PATCH 03/14] arm64: reword ARCH_FORCE_MAX_ORDER prompt and help text

2023-03-23 Thread Catalin Marinas
On Thu, Mar 23, 2023 at 11:21:45AM +0200, Mike Rapoport wrote: > From: "Mike Rapoport (IBM)" > > The prompt and help text of ARCH_FORCE_MAX_ORDER are not even close to > describe this configuration option. > > Update both to actually describe what this option do

Re: [PATCH 14/14] xtensa: reword ARCH_FORCE_MAX_ORDER prompt and help text

2023-03-23 Thread Max Filippov
On Thu, Mar 23, 2023 at 2:24 AM Mike Rapoport wrote: > > From: "Mike Rapoport (IBM)" > > The prompt and help text of ARCH_FORCE_MAX_ORDER are not even close to > describe this configuration option. > > Update both to actually describe what this option does. > &

[PATCH 14/14] xtensa: reword ARCH_FORCE_MAX_ORDER prompt and help text

2023-03-23 Thread Mike Rapoport
From: "Mike Rapoport (IBM)" The prompt and help text of ARCH_FORCE_MAX_ORDER are not even close to describe this configuration option. Update both to actually describe what this option does. Signed-off-by: Mike Rapoport (IBM) --- arch/xtensa/Kconfig | 16 +--- 1 file

[PATCH 13/14] sparc: reword ARCH_FORCE_MAX_ORDER prompt and help text

2023-03-23 Thread Mike Rapoport
From: "Mike Rapoport (IBM)" The prompt and help text of ARCH_FORCE_MAX_ORDER are not even close to describe this configuration option. Update both to actually describe what this option does. Signed-off-by: Mike Rapoport (IBM) --- arch/sparc/Kconfig | 16 +--- 1 file

[PATCH 11/14] sh: reword ARCH_FORCE_MAX_ORDER prompt and help text

2023-03-23 Thread Mike Rapoport
From: "Mike Rapoport (IBM)" The prompt and help text of ARCH_FORCE_MAX_ORDER are not even close to describe this configuration option. Update both to actually describe what this option does. Signed-off-by: Mike Rapoport (IBM) --- arch/sh/mm/Kconfig | 17 + 1 file

[PATCH 09/14] powerpc: reword ARCH_FORCE_MAX_ORDER prompt and help text

2023-03-23 Thread Mike Rapoport
From: "Mike Rapoport (IBM)" The prompt and help text of ARCH_FORCE_MAX_ORDER are not even close to describe this configuration option. Update both to actually describe what this option does. Signed-off-by: Mike Rapoport (IBM) --- arch/powerpc/Kconfig | 16 +--- 1 file

[PATCH 07/14] nios2: reword ARCH_FORCE_MAX_ORDER prompt and help text

2023-03-23 Thread Mike Rapoport
From: "Mike Rapoport (IBM)" The prompt and help text of ARCH_FORCE_MAX_ORDER are not even close to describe this configuration option. Update both to actually describe what this option does. Signed-off-by: Mike Rapoport (IBM) --- arch/nios2/Kconfig | 16 +--- 1 file

[PATCH 06/14] m68k: reword ARCH_FORCE_MAX_ORDER prompt and help text

2023-03-23 Thread Mike Rapoport
From: "Mike Rapoport (IBM)" The prompt and help text of ARCH_FORCE_MAX_ORDER are not even close to describe this configuration option. Update both to actually describe what this option does. Signed-off-by: Mike Rapoport (IBM) --- arch/m68k/Kconfig.cpu | 16 +--- 1 file

[PATCH 03/14] arm64: reword ARCH_FORCE_MAX_ORDER prompt and help text

2023-03-23 Thread Mike Rapoport
From: "Mike Rapoport (IBM)" The prompt and help text of ARCH_FORCE_MAX_ORDER are not even close to describe this configuration option. Update both to actually describe what this option does. Signed-off-by: Mike Rapoport (IBM) --- arch/arm64/Kconfig | 25 ---

[PATCH 01/14] arm: reword ARCH_FORCE_MAX_ORDER prompt and help text

2023-03-23 Thread Mike Rapoport
From: "Mike Rapoport (IBM)" The prompt and help text of ARCH_FORCE_MAX_ORDER are not even close to describe this configuration option. Update both to actually describe what this option does. Signed-off-by: Mike Rapoport (IBM) --- arch/arm/Kconfig | 16 +--- 1 file

Re: [PATCH v2 00/10] crypto: Kconfig - simplify menus and help text

2022-08-30 Thread Christophe Leroy
ozlabs.org >> Subject: Re: [PATCH v2 00/10] crypto: Kconfig - simplify menus and help >> text >> >> Le 29/08/2022 à 02:05, Elliott, Robert (Servers) a écrit : >>> >>>> -Original Message- >>>> From: Christophe Leroy >>>> Se

RE: [PATCH v2 00/10] crypto: Kconfig - simplify menus and help text

2022-08-29 Thread Elliott, Robert (Servers)
> -Original Message- > From: Christophe Leroy > Sent: Monday, August 29, 2022 3:53 AM > To: Elliott, Robert (Servers) ; Nayna > ; Andrew Donnellan > Cc: linuxppc-dev@lists.ozlabs.org > Subject: Re: [PATCH v2 00/10] crypto: Kconfig - simplify menus and help > t

Re: [PATCH v2 00/10] crypto: Kconfig - simplify menus and help text

2022-08-29 Thread Christophe Leroy
ozlabs.org >> Subject: Re: [PATCH v2 00/10] crypto: Kconfig - simplify menus and help >> text >> >> Hi, >> >> Le 27/08/2022 à 22:06, Elliott, Robert (Servers) a écrit : >>> (adding Christophe, per >>> bba496656a73fc1 ("powerpc/32: Fix boot f

RE: [PATCH v2 00/10] crypto: Kconfig - simplify menus and help text

2022-08-28 Thread Elliott, Robert (Servers)
> -Original Message- > From: Christophe Leroy > Sent: Sunday, August 28, 2022 2:33 AM > To: Elliott, Robert (Servers) ; Nayna > ; Andrew Donnellan > Cc: linuxppc-dev@lists.ozlabs.org > Subject: Re: [PATCH v2 00/10] crypto: Kconfig - simplify menus and help > tex

Re: [PATCH v2 00/10] crypto: Kconfig - simplify menus and help text

2022-08-28 Thread Christophe Leroy
Hi, Le 27/08/2022 à 22:06, Elliott, Robert (Servers) a écrit : > (adding Christophe, per > bba496656a73fc1 ("powerpc/32: Fix boot failure with GCC latent entropy > plugin") > > > Adding libmpc-devel gets all the architectures building except powerpc. > > (I also installed gcc-plugins-devel to

Re: [PATCH v4 5/5] powerpc/watchdog: help remote CPUs to flush NMI printk output

2021-11-19 Thread Laurent Dufour
Le 19/11/2021 à 12:31, Nicholas Piggin a écrit : The printk layer at the moment does not seem to have a good way to force flush printk messages that are created in NMI context, except in the panic path. NMI-context printk messages normally get to the console with irq_work, but that won't

[PATCH v4 5/5] powerpc/watchdog: help remote CPUs to flush NMI printk output

2021-11-19 Thread Nicholas Piggin
The printk layer at the moment does not seem to have a good way to force flush printk messages that are created in NMI context, except in the panic path. NMI-context printk messages normally get to the console with irq_work, but that won't help if the CPU is stuck with irqs disabled, as c

Re: [PATCH v1] powerpc/watchdog: help remote CPUs to flush NMI printk output

2021-11-19 Thread Nicholas Piggin
ntext printk messages normally get to the console with irq_work, >> but that won't help if the CPU is stuck with irqs disabled, as can be >> the case for hard lockup watchdog messages. >> >> The watchdog currently flushes the printk buffers after detecting a >> lockup

Re: [PATCH v1] powerpc/watchdog: help remote CPUs to flush NMI printk output

2021-11-11 Thread Daniel Axtens
Hi, > The printk layer at the moment does not seem to have a good way to force > flush printk messages that are created in NMI context, except in the > panic path. > > NMI-context printk messages normally get to the console with irq_work, > but that won't help if the

[PATCH v1] powerpc/watchdog: help remote CPUs to flush NMI printk output

2021-11-09 Thread Nicholas Piggin
The printk layer at the moment does not seem to have a good way to force flush printk messages that are created in NMI context, except in the panic path. NMI-context printk messages normally get to the console with irq_work, but that won't help if the CPU is stuck with irqs disabled, as c

[PATCH v2 7/9] powerpc/mem: Help GCC realise __flush_dcache_icache() flushes single pages

2021-04-08 Thread Christophe Leroy
'And' the given page address with PAGE_MASK to help GCC. With the patch: 0024 <__flush_dcache_icache>: 24: 54 63 00 26 rlwinm r3,r3,0,0,19 28: 39 40 00 40 li r10,64 2c: 7c 69 1b 78 mr r9,r3 3

[PATCH v1 6/8] powerpc/mem: Help GCC realise __flush_dcache_icache() flushes single pages

2021-04-07 Thread Christophe Leroy
'And' the given page address with PAGE_MASK to help GCC. With the patch: 0024 <__flush_dcache_icache>: 24: 54 63 00 26 rlwinm r3,r3,0,0,19 28: 39 40 00 40 li r10,64 2c: 7c 69 1b 78 mr r9,r3 3

Re: [RFC please help] membarrier: Rewrite sync_core_before_usermode()

2021-01-05 Thread Will Deacon
On Tue, Jan 05, 2021 at 08:20:51AM -0800, Andy Lutomirski wrote: > > On Jan 5, 2021, at 5:26 AM, Will Deacon wrote: > > Sorry for the slow reply, I was socially distanced from my keyboard. > > > >> On Mon, Dec 28, 2020 at 04:36:11PM -0800, Andy Lutomirski wrote: > >> On Mon, Dec 28, 2020 at 4:11

Re: [RFC please help] membarrier: Rewrite sync_core_before_usermode()

2021-01-05 Thread Peter Zijlstra
On Tue, Jan 05, 2021 at 08:20:51AM -0800, Andy Lutomirski wrote: > > Interestingly, the architecture recently added a control bit to remove > > this synchronisation from exception return, so if we set that then we'd > > have a problem with SYNC_CORE and adding an ISB would be necessary

Re: [RFC please help] membarrier: Rewrite sync_core_before_usermode()

2021-01-05 Thread Andy Lutomirski
> On Jan 5, 2021, at 5:26 AM, Will Deacon wrote: > > Hi Andy, > > Sorry for the slow reply, I was socially distanced from my keyboard. > >> On Mon, Dec 28, 2020 at 04:36:11PM -0800, Andy Lutomirski wrote: >> On Mon, Dec 28, 2020 at 4:11 PM Nicholas Piggin wrote: +static inline void me

Re: [RFC please help] membarrier: Rewrite sync_core_before_usermode()

2021-01-05 Thread Will Deacon
Hi Andy, Sorry for the slow reply, I was socially distanced from my keyboard. On Mon, Dec 28, 2020 at 04:36:11PM -0800, Andy Lutomirski wrote: > On Mon, Dec 28, 2020 at 4:11 PM Nicholas Piggin wrote: > > > +static inline void membarrier_sync_core_before_usermode(void) > > > +{ > > > + /* > >

RE: [RFC please help] membarrier: Rewrite sync_core_before_usermode()

2021-01-01 Thread David Laight
From: Andy Lutomirski > Sent: 29 December 2020 00:36 ... > I mean that the mapping from the name "sync_core" to its semantics is > x86 only. The string "sync_core" appears in the kernel only in > arch/x86, membarrier code, membarrier docs, and a single SGI driver > that is x86-only. Sure, the ide

Re: [RFC please help] membarrier: Rewrite sync_core_before_usermode()

2020-12-30 Thread Nicholas Piggin
Excerpts from Russell King - ARM Linux admin's message of December 30, 2020 8:58 pm: > On Wed, Dec 30, 2020 at 10:00:28AM +, Russell King - ARM Linux admin > wrote: >> On Wed, Dec 30, 2020 at 12:33:02PM +1000, Nicholas Piggin wrote: >> > Excerpts from Russell King - ARM Linux admin's message

Re: [RFC please help] membarrier: Rewrite sync_core_before_usermode()

2020-12-30 Thread Russell King - ARM Linux admin
On Wed, Dec 30, 2020 at 10:00:28AM +, Russell King - ARM Linux admin wrote: > On Wed, Dec 30, 2020 at 12:33:02PM +1000, Nicholas Piggin wrote: > > Excerpts from Russell King - ARM Linux admin's message of December 29, 2020 > > 8:44 pm: > > > On Tue, Dec 29, 2020 at 01:09:12PM +1000, Nicholas P

Re: [RFC please help] membarrier: Rewrite sync_core_before_usermode()

2020-12-30 Thread Russell King - ARM Linux admin
On Wed, Dec 30, 2020 at 12:33:02PM +1000, Nicholas Piggin wrote: > Excerpts from Russell King - ARM Linux admin's message of December 29, 2020 > 8:44 pm: > > On Tue, Dec 29, 2020 at 01:09:12PM +1000, Nicholas Piggin wrote: > >> I think it should certainly be documented in terms of what guarantees

Re: [RFC please help] membarrier: Rewrite sync_core_before_usermode()

2020-12-29 Thread Nicholas Piggin
Excerpts from Russell King - ARM Linux admin's message of December 29, 2020 8:44 pm: > On Tue, Dec 29, 2020 at 01:09:12PM +1000, Nicholas Piggin wrote: >> I think it should certainly be documented in terms of what guarantees >> it provides to application, _not_ the kinds of instructions it may or

Re: [RFC please help] membarrier: Rewrite sync_core_before_usermode()

2020-12-29 Thread Russell King - ARM Linux admin
On Tue, Dec 29, 2020 at 01:09:12PM +1000, Nicholas Piggin wrote: > I think it should certainly be documented in terms of what guarantees > it provides to application, _not_ the kinds of instructions it may or > may not induce the core to execute. And if existing API can't be > re-documented sanely,

Re: [RFC please help] membarrier: Rewrite sync_core_before_usermode()

2020-12-28 Thread Nicholas Piggin
Excerpts from Andy Lutomirski's message of December 29, 2020 10:36 am: > On Mon, Dec 28, 2020 at 4:11 PM Nicholas Piggin wrote: >> >> Excerpts from Andy Lutomirski's message of December 28, 2020 4:28 am: >> > The old sync_core_before_usermode() comments said that a non-icache-syncing >> > return-t

Re: [RFC please help] membarrier: Rewrite sync_core_before_usermode()

2020-12-28 Thread Nicholas Piggin
Excerpts from Andy Lutomirski's message of December 29, 2020 10:56 am: > On Mon, Dec 28, 2020 at 4:36 PM Nicholas Piggin wrote: >> >> Excerpts from Andy Lutomirski's message of December 29, 2020 7:06 am: >> > On Mon, Dec 28, 2020 at 12:32 PM Mathieu Desnoyers >> > wrote: >> >> >> >> - On Dec

Re: [RFC please help] membarrier: Rewrite sync_core_before_usermode()

2020-12-28 Thread Andy Lutomirski
On Mon, Dec 28, 2020 at 4:36 PM Nicholas Piggin wrote: > > Excerpts from Andy Lutomirski's message of December 29, 2020 7:06 am: > > On Mon, Dec 28, 2020 at 12:32 PM Mathieu Desnoyers > > wrote: > >> > >> - On Dec 28, 2020, at 2:44 PM, Andy Lutomirski l...@kernel.org wrote: > >> > >> > On Mon

Re: [RFC please help] membarrier: Rewrite sync_core_before_usermode()

2020-12-28 Thread Nicholas Piggin
Excerpts from Andy Lutomirski's message of December 29, 2020 7:06 am: > On Mon, Dec 28, 2020 at 12:32 PM Mathieu Desnoyers > wrote: >> >> - On Dec 28, 2020, at 2:44 PM, Andy Lutomirski l...@kernel.org wrote: >> >> > On Mon, Dec 28, 2020 at 11:09 AM Russell King - ARM Linux admin >> > wrote: >

Re: [RFC please help] membarrier: Rewrite sync_core_before_usermode()

2020-12-28 Thread Andy Lutomirski
On Mon, Dec 28, 2020 at 4:11 PM Nicholas Piggin wrote: > > Excerpts from Andy Lutomirski's message of December 28, 2020 4:28 am: > > The old sync_core_before_usermode() comments said that a non-icache-syncing > > return-to-usermode instruction is x86-specific and that all other > > architectures a

Re: [RFC please help] membarrier: Rewrite sync_core_before_usermode()

2020-12-28 Thread Andy Lutomirski
On Mon, Dec 28, 2020 at 1:09 PM Mathieu Desnoyers wrote: > > - On Dec 27, 2020, at 4:36 PM, Andy Lutomirski l...@kernel.org wrote: > > [...] > > >> You seem to have noticed odd cases on arm64 where this guarantee does not > >> match reality. Where exactly can we find this in the code, and whic

Re: [RFC please help] membarrier: Rewrite sync_core_before_usermode()

2020-12-28 Thread Nicholas Piggin
athieu Desnoyers > Cc: x...@kernel.org > Cc: sta...@vger.kernel.org > Fixes: 70216e18e519 ("membarrier: Provide core serializing command, > *_SYNC_CORE") > Signed-off-by: Andy Lutomirski > --- > > Hi arm64 and powerpc people- > > This is part of a series h

Re: [RFC please help] membarrier: Rewrite sync_core_before_usermode()

2020-12-28 Thread Mathieu Desnoyers
- On Dec 28, 2020, at 4:06 PM, Andy Lutomirski l...@kernel.org wrote: > On Mon, Dec 28, 2020 at 12:32 PM Mathieu Desnoyers > wrote: >> >> - On Dec 28, 2020, at 2:44 PM, Andy Lutomirski l...@kernel.org wrote: >> >> > On Mon, Dec 28, 2020 at 11:09 AM Russell King - ARM Linux admin >> > wro

Re: [RFC please help] membarrier: Rewrite sync_core_before_usermode()

2020-12-28 Thread Mathieu Desnoyers
- On Dec 27, 2020, at 4:36 PM, Andy Lutomirski l...@kernel.org wrote: [...] >> You seem to have noticed odd cases on arm64 where this guarantee does not >> match reality. Where exactly can we find this in the code, and which part >> of the architecture manual can you point us to which support

Re: [RFC please help] membarrier: Rewrite sync_core_before_usermode()

2020-12-28 Thread Andy Lutomirski
On Mon, Dec 28, 2020 at 12:32 PM Mathieu Desnoyers wrote: > > - On Dec 28, 2020, at 2:44 PM, Andy Lutomirski l...@kernel.org wrote: > > > On Mon, Dec 28, 2020 at 11:09 AM Russell King - ARM Linux admin > > wrote: > >> > >> On Mon, Dec 28, 2020 at 07:29:34PM +0100, Jann Horn wrote: > >> > Afte

Re: [RFC please help] membarrier: Rewrite sync_core_before_usermode()

2020-12-28 Thread Mathieu Desnoyers
- On Dec 28, 2020, at 3:24 PM, Russell King, ARM Linux li...@armlinux.org.uk wrote: > On Mon, Dec 28, 2020 at 11:44:33AM -0800, Andy Lutomirski wrote: >> On Mon, Dec 28, 2020 at 11:09 AM Russell King - ARM Linux admin >> wrote: >> > >> > On Mon, Dec 28, 2020 at 07:29:34PM +0100, Jann Horn wr

Re: [RFC please help] membarrier: Rewrite sync_core_before_usermode()

2020-12-28 Thread Mathieu Desnoyers
- On Dec 28, 2020, at 2:44 PM, Andy Lutomirski l...@kernel.org wrote: > On Mon, Dec 28, 2020 at 11:09 AM Russell King - ARM Linux admin > wrote: >> >> On Mon, Dec 28, 2020 at 07:29:34PM +0100, Jann Horn wrote: >> > After chatting with rmk about this (but without claiming that any of >> > this

Re: [RFC please help] membarrier: Rewrite sync_core_before_usermode()

2020-12-28 Thread Russell King - ARM Linux admin
On Mon, Dec 28, 2020 at 11:44:33AM -0800, Andy Lutomirski wrote: > On Mon, Dec 28, 2020 at 11:09 AM Russell King - ARM Linux admin > wrote: > > > > On Mon, Dec 28, 2020 at 07:29:34PM +0100, Jann Horn wrote: > > > After chatting with rmk about this (but without claiming that any of > > > this is hi

Re: [RFC please help] membarrier: Rewrite sync_core_before_usermode()

2020-12-28 Thread Andy Lutomirski
On Mon, Dec 28, 2020 at 11:09 AM Russell King - ARM Linux admin wrote: > > On Mon, Dec 28, 2020 at 07:29:34PM +0100, Jann Horn wrote: > > After chatting with rmk about this (but without claiming that any of > > this is his opinion), based on the manpage, I think membarrier() > > currently doesn't

Re: [RFC please help] membarrier: Rewrite sync_core_before_usermode()

2020-12-28 Thread Russell King - ARM Linux admin
On Mon, Dec 28, 2020 at 07:29:34PM +0100, Jann Horn wrote: > After chatting with rmk about this (but without claiming that any of > this is his opinion), based on the manpage, I think membarrier() > currently doesn't really claim to be synchronizing caches? It just > serializes cores. So arguably i

Re: [RFC please help] membarrier: Rewrite sync_core_before_usermode()

2020-12-28 Thread Andy Lutomirski
thout claiming that any of > this is his opinion), based on the manpage, I think membarrier() > currently doesn't really claim to be synchronizing caches? It just > serializes cores. So arguably if userspace wants to use membarrier() > to synchronize code changes, userspace shou

Re: [RFC please help] membarrier: Rewrite sync_core_before_usermode()

2020-12-28 Thread Andy Lutomirski
On Mon, Dec 28, 2020 at 9:23 AM Russell King - ARM Linux admin wrote: > > On Mon, Dec 28, 2020 at 09:14:23AM -0800, Andy Lutomirski wrote: > > On Mon, Dec 28, 2020 at 2:25 AM Russell King - ARM Linux admin > > wrote: > > > > > > On Sun, Dec 27, 2020 at 01:36:13PM -0800, Andy Lutomirski wrote: > >

  1   2   3   4   >