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.nemirov...@cortina-access.com>
Cc: Marek Vasut <marek.vasut+rene...@gmail.com>
Cc: Michal Simek <michal.si...@xilinx.com>
Cc: Nobuhiro Iwamatsu <iwama...@nigauri.org>
Cc: Simon Goldschmidt <simon.k.r.goldschm...@gmail.com>
Cc: Tien Fong Chee <tien.fong.c...@intel.com>
Signed-off-by: Tom Rini <tr...@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.
Thanks,
Michal