[PATCH 03/15] Convert CONFIG_ARMV8_SWITCH_TO_EL1 to Kconfig

Tom Rini trini at konsulko.com
Thu Mar 10 14:34:40 CET 2022


On Thu, Mar 10, 2022 at 08:24:51AM +0100, Michal Simek wrote:
> Hi Tom,
> 
> On 3/10/22 02:43, Tom Rini wrote:
> > This converts the following to Kconfig:
> >     CONFIG_ARMV8_SWITCH_TO_EL1
> > 
> > As this option isn't enabled anywhere and is for very specific
> > circumstances, it's not an asked Kconfig option and instead noted as
> > something to select.
> > 
> > Cc: Alex Nemirovsky <alex.nemirovsky at cortina-access.com>
> > Cc: Marek Vasut <marek.vasut+renesas at gmail.com>
> > Cc: Michal Simek <michal.simek at xilinx.com>
> > Cc: Nobuhiro Iwamatsu <iwamatsu at nigauri.org>
> > Cc: Simon Goldschmidt <simon.k.r.goldschmidt at gmail.com>
> > Cc: Tien Fong Chee <tien.fong.chee at intel.com>
> > Signed-off-by: Tom Rini <trini at konsulko.com>
> > ---
> >   arch/arm/cpu/armv8/Kconfig      | 6 ++++++
> >   include/configs/xilinx_versal.h | 2 --
> >   include/configs/xilinx_zynqmp.h | 2 --
> >   3 files changed, 6 insertions(+), 4 deletions(-)
> > 
> > diff --git a/arch/arm/cpu/armv8/Kconfig b/arch/arm/cpu/armv8/Kconfig
> > index 9967376ecab9..8d29393bc0e9 100644
> > --- a/arch/arm/cpu/armv8/Kconfig
> > +++ b/arch/arm/cpu/armv8/Kconfig
> > @@ -31,6 +31,12 @@ config ARMV8_SET_SMPEN
> >   	  it can be safely enabled when EL2/EL3 initialized SMPEN bit
> >   	  or when CPU implementation doesn't include that register.
> > +config ARMV8_SWITCH_TO_EL1
> > +	bool
> 
> I think it make sense to be able to enable it via menuconfig to make it
> selectable based on user wish. I was using it in past to check that we can
> do clear handoff to EL1 directly.

OK, will do.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220310/8c9edcb8/attachment.sig>


More information about the U-Boot mailing list