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

Rik van Riel riel at surriel.com
Wed Dec 2 21:40:02 PST 2026


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 at kernel.org>
> 
Reviewed-by: Rik van Riel <riel at surriel.com>

-- 
All Rights Reversed.



More information about the linux-arm-kernel mailing list