[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210225125921.13147-1-will@kernel.org>
Date: Thu, 25 Feb 2021 12:59:19 +0000
From: Will Deacon <will@...nel.org>
To: linux-kernel@...r.kernel.org
Cc: Will Deacon <will@...nel.org>, Max Uvarov <muvarov@...il.com>,
Rob Herring <robh@...nel.org>,
Ard Biesheuvel <ardb@...nel.org>,
Marc Zyngier <maz@...nel.org>,
Doug Anderson <dianders@...omium.org>,
Tyler Hicks <tyhicks@...ux.microsoft.com>,
Frank Rowand <frowand.list@...il.com>,
Arnd Bergmann <arnd@...db.de>,
Palmer Dabbelt <palmer@...belt.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Catalin Marinas <catalin.marinas@....com>,
kernel-team@...roid.com, linux-arm-kernel@...ts.infradead.org,
devicetree@...r.kernel.org
Subject: [PATCH 0/2] Fix CMDLINE_EXTEND handling for FDT "bootargs"
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@...il.com>
Cc: Rob Herring <robh@...nel.org>
Cc: Ard Biesheuvel <ardb@...nel.org>
Cc: Marc Zyngier <maz@...nel.org>
Cc: Doug Anderson <dianders@...omium.org>
Cc: Tyler Hicks <tyhicks@...ux.microsoft.com>
Cc: Frank Rowand <frowand.list@...il.com>
Cc: Arnd Bergmann <arnd@...db.de>
Cc: Palmer Dabbelt <palmer@...belt.com>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: Catalin Marinas <catalin.marinas@....com>
Cc: <kernel-team@...roid.com>
Cc: <linux-arm-kernel@...ts.infradead.org>
Cc: <devicetree@...r.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
Powered by blists - more mailing lists