[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <52ed3964aacb4ae8fc7ff8416cbddb4110902196.camel@gmail.com>
Date: Wed, 04 Jan 2023 10:48:58 +0100
From: Alexander Sverdlin <alexander.sverdlin@...il.com>
To: Rob Herring <robh@...nel.org>, Geoff Levand <geoff@...radead.org>,
Frank Rowand <frowand.list@...il.com>
Cc: Linus Walleij <linus.walleij@...aro.org>,
Arnd Bergmann <arnd@...db.de>, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 0/2] of: Fix handling CONFIG_CMDLINE* even without
/chosen node
Hi Rob,
thanks for looking into it!
On Tue, 2023-01-03 at 12:00 -0600, Rob Herring wrote:
> Commit a7d550f82b445cf218b47a2c1a9c56e97ecb8c7a (of: fdt: Honor CONFIG_CMDLINE*
> even without /chosen node) moved the processing of the kernel built-in command
> line (CONFIG_CMDLINE) from the early_init_dt_scan_chosen routine to the
> early_init_dt_scan_nodes routine.
>
> The current powerpc startup code does not call into early_init_dt_scan_nodes, so
> processing of CONFIG_CMDLINE never happens, even if CONFIG_CMDLINE_FORCE=y.
> The result is an empty kernel command line, and mounting of the root file system
> then fails with a kernel panic (not syncing: VFS: Unable to mount root fs).
>
> Let's revert the above commit and redo the missing /chosen node handling
> within early_init_dt_scan_chosen().
>
> Signed-off-by: Rob Herring <robh@...nel.org>
The series looks good to me,
Reviewed-by: Alexander Sverdlin <alexander.sverdlin@...il.com>
--
Alexander Sverdlin.
Powered by blists - more mailing lists