[PATCH] arm64: Make CONFIG_CMDLINE behavior configurable

Matija Glavinic Pecotic matija.glavinic-pecotic.ext at nokia.com
Tue Sep 29 15:12:26 EDT 2020


On 09/29/2020 07:43 PM, Catalin Marinas wrote:
> I think this came up in the past and was rejected. What is the use-case
> for all these combinations? Can you not fix the boot-loader? Sync'ing
> the arm64 and arm32 behaviour is not a goal, we try to get away from
> some old habits.

Having CMDLINE which only overrides bootloader's makes its application
limited. In my experience, you often need to add something, rather to
change everything. arm32 (along with mips, nios2, x86, ppc, riscv, sh)
does correct action here. You can define CMDLINE, and further, you may
choose best applicable way to use it. That would make CMDLINE fully
serving its purpose as a config option.

One is not always able to fix or install bootloader or device tree as
both may be e.g. in flash and not possible to change easily as kernel
image. But I wouldn't go in that direction for justification here. We
have kernel option which needs extension to be fully usable as other
archs are doing so already. I don't see it as bad habit revival, but
making this option more useful.

Regards,

Matija



More information about the linux-arm-kernel mailing list