linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: Extend arm64 Kconfig to contain CMDLINE_EXTEND
@ 2020-11-02 12:12 Koehrer Mathias (ETAS/EES-SL)
  2020-11-26 15:11 ` Catalin Marinas
  0 siblings, 1 reply; 2+ messages in thread
From: Koehrer Mathias (ETAS/EES-SL) @ 2020-11-02 12:12 UTC (permalink / raw)
  To: linux-arm-kernel@lists.infradead.org
  Cc: catalin.marinas@arm.com, will@kernel.org

Extend arm64 Kconfig to contain CMDLINE_EXTEND

The config variable CMDLINE_EXTEND is already available in some
architectures, however it is missing in arm64.
This patch adds this config variable for architecture arm64.

Signed-off-by: Mathias Koehrer <mathias.koehrer@etas.com>
---
Index: linux-5.4/arch/arm64/Kconfig
===================================================================
--- linux-5.4.orig/arch/arm64/Kconfig
+++ linux-5.4/arch/arm64/Kconfig
@@ -1596,6 +1596,13 @@ config CMDLINE
 	  entering them here. As a minimum, you should specify the the
 	  root device (e.g. root=/dev/nfs).

+config CMDLINE_EXTEND
+	bool "Extend bootloader kernel arguments"
+	default n
+	help
+	  The command-line arguments provided by the boot loader will be
+	  appended to the default kernel command string.
+
 config CMDLINE_FORCE
 	bool "Always use the default kernel command string"
 	help
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] arm64: Extend arm64 Kconfig to contain CMDLINE_EXTEND
  2020-11-02 12:12 [PATCH] arm64: Extend arm64 Kconfig to contain CMDLINE_EXTEND Koehrer Mathias (ETAS/EES-SL)
@ 2020-11-26 15:11 ` Catalin Marinas
  0 siblings, 0 replies; 2+ messages in thread
From: Catalin Marinas @ 2020-11-26 15:11 UTC (permalink / raw)
  To: Koehrer Mathias (ETAS/EES-SL)
  Cc: tyhicks, will@kernel.org, linux-arm-kernel@lists.infradead.org

On Mon, Nov 02, 2020 at 12:12:19PM +0000, Koehrer Mathias (ETAS/EES-SL) wrote:
> Extend arm64 Kconfig to contain CMDLINE_EXTEND
> 
> The config variable CMDLINE_EXTEND is already available in some
> architectures, however it is missing in arm64.
> This patch adds this config variable for architecture arm64.
> 
> Signed-off-by: Mathias Koehrer <mathias.koehrer@etas.com>

There was at least another patch series proposing CMDLINE_EXTENDED.
Could you please check that to see whether it meets your needs:

https://lore.kernel.org/r/20200921191557.350256-1-tyhicks@linux.microsoft.com/

Tyler's series seems to cover an issue with searching for the "nokaslr"
string in the cmdline arguments when using the extended option.

-- 
Catalin

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-11-26 15:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-02 12:12 [PATCH] arm64: Extend arm64 Kconfig to contain CMDLINE_EXTEND Koehrer Mathias (ETAS/EES-SL)
2020-11-26 15:11 ` Catalin Marinas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).