[PATCH] arm64: Make CONFIG_CMDLINE behavior configurable

Matija Glavinic Pecotic matija.glavinic-pecotic.ext at nokia.com
Tue Sep 29 08:34:36 EDT 2020


On 09/29/2020 12:41 PM, Dave Martin wrote:
> If multiple arches do the same thing, can we factor this out into a
> common Kconfig file somehow?

Here is current situation across different archs:

aplha - no CMDLINE
arc - no CMDLINE
csky - no CMDLINE
h8300 - no CMDLINE
ia64 - no CMDLINE
m68k - no CMDLINE
nds32 - no CMDLINE
parisc - no CMDLINE
s390 - no CMDLINE
um - no CMDLINE

c6x - no EXTEND option, similar to current arm64
microblaze - no EXTEND option, similar to current arm64 (same as c6x)

hexagon - has non-configurable CMDLINE
openrisc - has non-configurable CMDLINE
sparc - has non-configurable CMDLINE
xtensa - has non-configurable CMDLINE

mips - similar feature set to arm32, different naming, arch specific
nios2 - similar feature set to arm32, different naming, arch specific
x86 - similar feature set to arm32, different naming, arch specific

powerpc - same as arm32
riscv - same as arm32 (with difference in FALLBACK == FROM_BOOTLOADER)
sh - same as arm32

having above, I do not see feasible to factor out and apply to all of
them, but to sync arm64 with arm, bringing this useful feature there.

Regards,

Matija



More information about the linux-arm-kernel mailing list