Re: [PATCH RFC v2 04/54] s390/boot: stop parsing the command line at "--"

From: Rik van Riel

Date: Thu Dec 03 2026 - 00:40:40 EST


On Thu, 2026-11-26 at 13:14 +0200, Mike Rapoport (Microsoft) wrote:
> The kernel parses its parameters up to "--" and passes everything
> after it
> to init. The decompressor parses the whole command line, so an
> argument
> meant for init still takes effect in the decompressor if it has the
> name of
> a parameter the decompressor knows, like "mem=".
>
> Stop at "--", like parse_args() does.
>
> Signed-off-by: Mike Rapoport (Microsoft) <rppt@xxxxxxxxxx>
>
Reviewed-by: Rik van Riel <riel@xxxxxxxxxxx>

--
All Rights Reversed.