]> www.infradead.org Git - users/jedix/linux-maple.git/commit
arm64: dts: qcom: x1e/x1p: Add EL2 overlay for WoA devices
authorNikita Travkin <nikita@trvn.ru>
Sat, 3 May 2025 10:39:32 +0000 (15:39 +0500)
committerBjorn Andersson <andersson@kernel.org>
Wed, 7 May 2025 05:26:36 +0000 (22:26 -0700)
commite01acd8f3cc1364b9147d3eb8913fdb935851ecd
tree78b692709d19bdc1fd8c2e8f2e0dfa8dfa0d7460
parent428f95f41f3024a8378bb4c4803fe269fcacaa85
arm64: dts: qcom: x1e/x1p: Add EL2 overlay for WoA devices

WoA devices using x1e/x1p use android firmware to boot, which notably
includes Gunyah hypervisor. This means that, so far, Linux-based OS
could only boot in EL1 on those devices.

However Windows can replace Gunyah upon boot with it's own hypervisor,
and with the use of tools such as "slbounce", it's possible to do the
same for Linux-based OS, in which case some modifications to the DT are
necessary to facilitate the absence of Gunyah services.

Add a EL2-specific DT overlay and apply it to x1e/x1p WoA devices to
create -el2.dtb for each of them alongside "normal" dtb.

Signed-off-by: Nikita Travkin <nikita@trvn.ru>
Link: https://lore.kernel.org/r/20250503-sc-el2-overlays-v2-5-24e9b4572e15@trvn.ru
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/Makefile
arch/arm64/boot/dts/qcom/x1-el2.dtso [new file with mode: 0644]
arch/arm64/boot/dts/qcom/x1e80100.dtsi