All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Fix CMDLINE_EXTEND handling for FDT "bootargs"
@ 2021-02-25 12:59 ` Will Deacon
  0 siblings, 0 replies; 32+ messages in thread
From: Will Deacon @ 2021-02-25 12:59 UTC (permalink / raw)
  To: linux-kernel
  Cc: Rob Herring, kernel-team, Catalin Marinas, Arnd Bergmann,
	Frank Rowand, devicetree, Marc Zyngier, Doug Anderson,
	Tyler Hicks, Palmer Dabbelt, Greg Kroah-Hartman, Max Uvarov,
	Will Deacon, Ard Biesheuvel, linux-arm-kernel

Hi folks,

We recently [1] enabled support for CMDLINE_EXTEND on arm64, however
when I started looking at replacing Android's out-of-tree implementation [2]
with the upstream version, I noticed that the two behave significantly
differently: Android follows the Kconfig help text of appending the
bootloader arguments to the kernel command line, whereas upstream appends
the kernel command line to the bootloader arguments. That is, except for
the EFI stub, which follows the documented behaviour.

I think the documented behaviour is more useful, so this patch series
reworks the FDT code to follow that and updates the very recently merged
arm64 idreg early command-line parsing as well.

I'd like to take the first patch as a fix via the arm64 tree.

Cheers,

Will

[1] https://lore.kernel.org/r/160650434702.20875.12520970127987518808.b4-ty@arm.com
[2] https://android-review.googlesource.com/c/kernel/common/+/841045

--->8

Cc: Max Uvarov <muvarov@gmail.com>
Cc: Rob Herring <robh@kernel.org>
Cc: Ard Biesheuvel <ardb@kernel.org>
Cc: Marc Zyngier <maz@kernel.org>
Cc: Doug Anderson <dianders@chromium.org>
Cc: Tyler Hicks <tyhicks@linux.microsoft.com>
Cc: Frank Rowand <frowand.list@gmail.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Palmer Dabbelt <palmer@dabbelt.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: <kernel-team@android.com>
Cc: <linux-arm-kernel@lists.infradead.org>
Cc: <devicetree@vger.kernel.org>

Will Deacon (2):
  arm64: cpufeatures: Fix handling of CONFIG_CMDLINE for idreg overrides
  of/fdt: Append bootloader arguments when CMDLINE_EXTEND=y

 arch/arm64/kernel/idreg-override.c | 44 +++++++++++---------
 drivers/of/fdt.c                   | 64 ++++++++++++++++++------------
 2 files changed, 64 insertions(+), 44 deletions(-)

-- 
2.30.1.766.gb4fecdf3b7-goog


_______________________________________________
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] 32+ messages in thread

end of thread, other threads:[~2021-03-03 21:26 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-25 12:59 [PATCH 0/2] Fix CMDLINE_EXTEND handling for FDT "bootargs" Will Deacon
2021-02-25 12:59 ` Will Deacon
2021-02-25 12:59 ` [PATCH 1/2] arm64: cpufeatures: Fix handling of CONFIG_CMDLINE for idreg overrides Will Deacon
2021-02-25 12:59   ` Will Deacon
2021-02-25 13:53   ` Marc Zyngier
2021-02-25 13:53     ` Marc Zyngier
2021-02-25 14:04     ` Will Deacon
2021-02-25 14:04       ` Will Deacon
2021-02-25 12:59 ` [PATCH 2/2] of/fdt: Append bootloader arguments when CMDLINE_EXTEND=y Will Deacon
2021-02-25 12:59   ` Will Deacon
2021-02-25 14:08   ` Marc Zyngier
2021-02-25 14:08     ` Marc Zyngier
2021-03-03 19:56   ` kernel test robot
2021-03-01 14:19 ` [PATCH 0/2] Fix CMDLINE_EXTEND handling for FDT "bootargs" Rob Herring
2021-03-01 14:19   ` Rob Herring
2021-03-01 14:41   ` Will Deacon
2021-03-01 14:41     ` Will Deacon
2021-03-01 17:26     ` Rob Herring
2021-03-01 17:26       ` Rob Herring
2021-03-01 17:26       ` Rob Herring
2021-03-01 17:45       ` Christophe Leroy
2021-03-01 17:45         ` Christophe Leroy
2021-03-01 17:45         ` Christophe Leroy
2021-03-02 14:56         ` Rob Herring
2021-03-02 14:56           ` Rob Herring
2021-03-02 14:56           ` Rob Herring
2021-03-02 15:16           ` Christophe Leroy
2021-03-02 15:16             ` Christophe Leroy
2021-03-02 15:16             ` Christophe Leroy
2021-03-02 17:12       ` Daniel Walker
2021-03-02 17:12         ` Daniel Walker
2021-03-02 17:12         ` Daniel Walker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.