forked from msm8916-mainline/lk2nd
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try jumping to aarch64 kernel in EL2 using hypervisor call
qhypstub [1] is an open-source "hyp" firmware replacement for MSM8916 that enables booting Linux and other operating systems in EL2 instead of EL1, making it possible to use virtualization features like KVM. To boot into aarch64 EL2 from aarch32 LK, the kernel must be started through the hypervisor with a HVC instead of a SMC. If the original "hyp" firmware is used (that does not allow booting in EL2), this HVC will just fail silently and we'll fall back to booting in EL1 via SMC. [1]: https://github.com/msm8916-mainline/qhypstub Signed-off-by: Stephan Gerhold <[email protected]>
- Loading branch information
1 parent
8a4f3c4
commit c1f1158
Showing
2 changed files
with
49 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters