On 10/13/26 13:05, Aswin Murugan wrote:
This series adds support for exiting Gunyah hypervisor and switching to
EL2 during early boot on Qualcomm Dragonwing family platforms. This
enables U-Boot to run at EL2, which is required for supporting
hypervisors that need EL2 privilege level.
- Adds early boot0.h infrastructure to exit Gunyah via TrustZone SMC
- Creates a reusable config fragment for easy platform enablement
- Enables the feature on QCS9100 platform
Changes in v5:
- No code changes, rebased onto the latest main branch.
Link to v4:
https://lore.kernel.org/u-boot/[email protected]/
Changes in v4:
- Updated Kconfig and gunyah_exit_boot0.h header comments for better clarity on
platform support
- Split config changes into reusable fragment and qcs9100 platform enablement
Link to v3:
https://lore.kernel.org/u-boot/[email protected]/
Change in v3:
- Corrected the logic to accurately detect the current Exception Level (EL)
and fuction properly when U-Boot enters either EL2 or EL1.
Link to v2:
https://lore.kernel.org/u-boot/[email protected]/
Change in v2:
- EL2 switch is made at early stage instead of doing at the very last stage in
the previous version
- This change is based on the patch [1]
Link to v1:
https://lore.kernel.org/u-boot/[email protected]/
Aswin Murugan (3):
mach-snapdragon: Add early EL2 hypervisor switch support
configs: qualcomm: Add Gunyah exit config fragment
configs: qcom_qcs9100: Enable Gunyah exit support
arch/arm/mach-snapdragon/Kconfig | 8 +++++
arch/arm/mach-snapdragon/include/mach/boot0.h | 2 ++
.../include/mach/gunyah_exit_boot0.h | 36 +++++++++++++++++++
board/qualcomm/exit-gunyah.config | 4 +++
configs/qcom_qcs9100_defconfig | 1 +
5 files changed, 51 insertions(+)
create mode 100644 arch/arm/mach-snapdragon/include/mach/gunyah_exit_boot0.h
create mode 100644 board/qualcomm/exit-gunyah.config
Reviewed-by: Neil Armstrong <[email protected]>
Thanks,
Neil