Files
Zhenghui Hao 289e99e7a2 parisc: parse early parameters in setup_arch()
parisc is one of the few architectures that does not call
parse_early_param() from setup_arch().  That was mostly harmless until
commit d49004c5f0 ("arch, mm: consolidate initialization of nodes,
zones and memory map") moved the consumer of several hugetlb command
line parameters into mm_core_init_early(), which runs before the
generic parse_early_param() call in start_kernel().

As a result hugepages=, hugepagesz=, default_hugepagesz=, hugetlb_cma=
and hugetlb_free_vmemmap= are recorded after they have already been
consumed and are silently dropped on parisc.

Call parse_early_param() from setup_arch(), after the command line has
been set up and the memory inventory has been taken.  jump_label_init()
must be called first because early parameter handlers may enable or
disable static keys.  Both functions are safe to call more than once:
the generic calls in start_kernel() remain in place and turn into no-ops.

Suggested-by: Mike Rapoport (Microsoft) <[email protected]>
Fixes: d49004c5f0 ("arch, mm: consolidate initialization of nodes, zones and memory map")
Cc: <[email protected]>
Signed-off-by: Zhenghui Hao <[email protected]>
Tested-by: Helge Deller <[email protected]>
Signed-off-by: Helge Deller <[email protected]>
2026-09-18 13:38:15 +02:00
..
2025-02-21 09:54:01 +01:00
2025-02-21 09:54:01 +01:00
…
…
…
…
2024-11-07 14:25:15 -08:00
…
…
2025-02-03 19:27:00 +01:00
2024-11-07 14:25:15 -08:00
…
2026-03-27 10:19:08 -05:00
…
2026-03-12 12:23:26 +01:00
…
…