[PATCH v5 00/26] Remove COMMAND_LINE_SIZE from uapi

2023-03-06 Thread Alexandre Ghiti
This all came up in the context of increasing COMMAND_LINE_SIZE in the RISC-V port. In theory that's a UABI break, as COMMAND_LINE_SIZE is the maximum length of /proc/cmdline and userspace could staticly rely on that to be correct. Usually I wouldn't mess around with changing this sort of thing,

Re: [PATCH v3 00/24] Remove COMMAND_LINE_SIZE from uapi

2023-03-06 Thread Alexandre Ghiti
On 3/3/23 17:40, Arnd Bergmann wrote: On Fri, Mar 3, 2023, at 12:59, Alexandre Ghiti wrote: On 3/2/23 20:50, H. Peter Anvin wrote: On March 1, 2023 7:17:18 PM PST, Palmer Dabbelt wrote: Commit 622021cd6c560ce7 ("s390: make command line configurable"), I assume? Yes, sorry for that. I got

[PATCH v5 01/26] alpha: Remove COMMAND_LINE_SIZE from uapi

2023-03-06 Thread Alexandre Ghiti
From: Palmer Dabbelt As far as I can tell this is not used by userspace and thus should not be part of the user-visible API. Signed-off-by: Palmer Dabbelt Signed-off-by: Alexandre Ghiti Reviewed-by: Philippe Mathieu-Daudé --- arch/alpha/include/asm/setup.h | 4 ++--

Re: [PATCH v5 00/26] Remove COMMAND_LINE_SIZE from uapi

2023-03-06 Thread Philippe Mathieu-Daudé
On 6/3/23 11:04, Alexandre Ghiti wrote: This all came up in the context of increasing COMMAND_LINE_SIZE in the RISC-V port. In theory that's a UABI break, as COMMAND_LINE_SIZE is the maximum length of /proc/cmdline and userspace could staticly rely on that to be correct. Usually I wouldn't

[PATCH v5 02/26] arm64: Remove COMMAND_LINE_SIZE from uapi

2023-03-06 Thread Alexandre Ghiti
From: Palmer Dabbelt As far as I can tell this is not used by userspace and thus should not be part of the user-visible API. Signed-off-by: Palmer Dabbelt Signed-off-by: Alexandre Ghiti Acked-by: Catalin Marinas --- arch/arm64/include/asm/setup.h | 3 ++-

[PATCH v5 03/26] arm: Remove COMMAND_LINE_SIZE from uapi

2023-03-06 Thread Alexandre Ghiti
From: Palmer Dabbelt As far as I can tell this is not used by userspace and thus should not be part of the user-visible API. Signed-off-by: Palmer Dabbelt Signed-off-by: Alexandre Ghiti Reviewed-by: Russell King (Oracle) --- arch/arm/include/asm/setup.h | 1 +

[PATCH v5 04/26] ia64: Remove COMMAND_LINE_SIZE from uapi

2023-03-06 Thread Alexandre Ghiti
From: Palmer Dabbelt As far as I can tell this is not used by userspace and thus should not be part of the user-visible API. Signed-off-by: Palmer Dabbelt Signed-off-by: Alexandre Ghiti --- arch/ia64/include/asm/setup.h | 10 ++ arch/ia64/include/uapi/asm/setup.h | 6 ++ 2

[PATCH v5 07/26] mips: Remove COMMAND_LINE_SIZE from uapi

2023-03-06 Thread Alexandre Ghiti
From: Palmer Dabbelt As far as I can tell this is not used by userspace and thus should not be part of the user-visible API. Signed-off-by: Palmer Dabbelt Signed-off-by: Alexandre Ghiti Reviewed-by: Philippe Mathieu-Daudé --- arch/mips/include/asm/setup.h | 3 ++-

[PATCH v5 08/26] parisc: Remove COMMAND_LINE_SIZE from uapi

2023-03-06 Thread Alexandre Ghiti
From: Palmer Dabbelt As far as I can tell this is not used by userspace and thus should not be part of the user-visible API. Signed-off-by: Palmer Dabbelt Signed-off-by: Alexandre Ghiti Reviewed-by: Philippe Mathieu-Daudé Acked-by: Helge Deller --- arch/parisc/include/asm/setup.h | 7

[PATCH v5 09/26] powerpc: Remove COMMAND_LINE_SIZE from uapi

2023-03-06 Thread Alexandre Ghiti
From: Palmer Dabbelt As far as I can tell this is not used by userspace and thus should not be part of the user-visible API. Signed-off-by: Palmer Dabbelt Signed-off-by: Alexandre Ghiti Acked-by: Michael Ellerman --- arch/powerpc/include/asm/setup.h | 2 +-

[PATCH v5 10/26] sparc: Remove COMMAND_LINE_SIZE from uapi

2023-03-06 Thread Alexandre Ghiti
From: Palmer Dabbelt As far as I can tell this is not used by userspace and thus should not be part of the user-visible API. Signed-off-by: Palmer Dabbelt Signed-off-by: Alexandre Ghiti --- arch/sparc/include/asm/setup.h | 6 +- arch/sparc/include/uapi/asm/setup.h | 7 --- 2

[PATCH v5 11/26] xtensa: Remove COMMAND_LINE_SIZE from uapi

2023-03-06 Thread Alexandre Ghiti
From: Palmer Dabbelt As far as I can tell this is not used by userspace and thus should not be part of the user-visible API. Signed-off-by: Palmer Dabbelt Signed-off-by: Alexandre Ghiti Acked-by: Max Filippov --- arch/xtensa/include/asm/setup.h | 17 +

[PATCH v5 12/26] riscv: Remove COMMAND_LINE_SIZE from uapi

2023-03-06 Thread Alexandre Ghiti
As far as I can tell this is not used by userspace and thus should not be part of the user-visible API. Signed-off-by: Alexandre Ghiti --- arch/riscv/include/asm/setup.h | 7 +++ arch/riscv/include/uapi/asm/setup.h | 2 -- 2 files changed, 7 insertions(+), 2 deletions(-) create mode

[PATCH v5 13/26] asm-generic: Remove COMMAND_LINE_SIZE from uapi

2023-03-06 Thread Alexandre Ghiti
From: Palmer Dabbelt As far as I can tell this is not used by userspace and thus should not be part of the user-visible API. Since only contains COMMAND_LINE_SIZE we can just move it out of uapi to hide the definition and fix up the only direct use in Loongarch. Signed-off-by: Palmer Dabbelt

[PATCH v5 14/26] alpha: Remove empty

2023-03-06 Thread Alexandre Ghiti
From: Palmer Dabbelt Signed-off-by: Palmer Dabbelt Signed-off-by: Alexandre Ghiti --- arch/alpha/include/uapi/asm/setup.h | 5 - 1 file changed, 5 deletions(-) delete mode 100644 arch/alpha/include/uapi/asm/setup.h diff --git a/arch/alpha/include/uapi/asm/setup.h

[PATCH v5 15/26] arc: Remove empty

2023-03-06 Thread Alexandre Ghiti
From: Palmer Dabbelt Signed-off-by: Palmer Dabbelt Signed-off-by: Alexandre Ghiti Reviewed-by: Philippe Mathieu-Daudé --- arch/arc/include/asm/setup.h | 1 - arch/arc/include/uapi/asm/setup.h | 6 -- 2 files changed, 7 deletions(-) delete mode 100644

[PATCH v5 16/26] m68k: Remove empty

2023-03-06 Thread Alexandre Ghiti
From: Palmer Dabbelt Signed-off-by: Palmer Dabbelt Signed-off-by: Alexandre Ghiti Acked-by: Geert Uytterhoeven --- arch/m68k/include/uapi/asm/setup.h | 15 --- 1 file changed, 15 deletions(-) delete mode 100644 arch/m68k/include/uapi/asm/setup.h diff --git

[PATCH v5 17/26] arm64: Remove empty

2023-03-06 Thread Alexandre Ghiti
From: Palmer Dabbelt Signed-off-by: Palmer Dabbelt Signed-off-by: Alexandre Ghiti --- arch/arm64/include/uapi/asm/setup.h | 25 - 1 file changed, 25 deletions(-) delete mode 100644 arch/arm64/include/uapi/asm/setup.h diff --git a/arch/arm64/include/uapi/asm/setup.h

[PATCH v5 18/26] microblaze: Remove empty

2023-03-06 Thread Alexandre Ghiti
From: Palmer Dabbelt Signed-off-by: Palmer Dabbelt Signed-off-by: Alexandre Ghiti --- arch/microblaze/include/uapi/asm/setup.h | 18 -- 1 file changed, 18 deletions(-) delete mode 100644 arch/microblaze/include/uapi/asm/setup.h diff --git

[PATCH v5 19/26] sparc: Remove empty

2023-03-06 Thread Alexandre Ghiti
From: Palmer Dabbelt Signed-off-by: Palmer Dabbelt Signed-off-by: Alexandre Ghiti --- arch/sparc/include/uapi/asm/setup.h | 9 - 1 file changed, 9 deletions(-) delete mode 100644 arch/sparc/include/uapi/asm/setup.h diff --git a/arch/sparc/include/uapi/asm/setup.h

[PATCH v5 21/26] x86: Remove empty

2023-03-06 Thread Alexandre Ghiti
From: Palmer Dabbelt Signed-off-by: Palmer Dabbelt Signed-off-by: Alexandre Ghiti Reviewed-by: Philippe Mathieu-Daudé --- arch/x86/include/asm/setup.h | 2 -- arch/x86/include/uapi/asm/setup.h | 1 - 2 files changed, 3 deletions(-) delete mode 100644 arch/x86/include/uapi/asm/setup.h

[PATCH v5 22/26] xtensa: Remove empty

2023-03-06 Thread Alexandre Ghiti
From: Palmer Dabbelt Signed-off-by: Palmer Dabbelt Signed-off-by: Alexandre Ghiti Acked-by: Max Filippov --- arch/xtensa/include/uapi/asm/setup.h | 15 --- 1 file changed, 15 deletions(-) delete mode 100644 arch/xtensa/include/uapi/asm/setup.h diff --git

[PATCH v5 23/26] powerpc: Remove empty

2023-03-06 Thread Alexandre Ghiti
From: Palmer Dabbelt Signed-off-by: Palmer Dabbelt Signed-off-by: Alexandre Ghiti --- arch/powerpc/include/uapi/asm/setup.h | 5 - 1 file changed, 5 deletions(-) delete mode 100644 arch/powerpc/include/uapi/asm/setup.h diff --git a/arch/powerpc/include/uapi/asm/setup.h

[PATCH v5 25/26] s390: Remove empty

2023-03-06 Thread Alexandre Ghiti
From: Palmer Dabbelt Signed-off-by: Palmer Dabbelt Signed-off-by: Alexandre Ghiti Acked-by: Heiko Carstens Reviewed-by: Philippe Mathieu-Daudé --- arch/s390/include/asm/setup.h | 1 - arch/s390/include/uapi/asm/setup.h | 1 - 2 files changed, 2 deletions(-) delete mode 100644

[PATCH v5 24/26] mips: Remove empty

2023-03-06 Thread Alexandre Ghiti
From: Palmer Dabbelt Signed-off-by: Palmer Dabbelt Signed-off-by: Alexandre Ghiti --- arch/mips/include/uapi/asm/setup.h | 5 - 1 file changed, 5 deletions(-) delete mode 100644 arch/mips/include/uapi/asm/setup.h diff --git a/arch/mips/include/uapi/asm/setup.h

[PATCH v5 26/26] riscv: Remove empty

2023-03-06 Thread Alexandre Ghiti
Signed-off-by: Alexandre Ghiti --- arch/riscv/include/uapi/asm/setup.h | 6 -- 1 file changed, 6 deletions(-) delete mode 100644 arch/riscv/include/uapi/asm/setup.h diff --git a/arch/riscv/include/uapi/asm/setup.h b/arch/riscv/include/uapi/asm/setup.h deleted file mode 100644 index