arm64: dts: qcom: sc8280xp: Add EL2 overlay for WoA devices
authorNikita Travkin <nikita@trvn.ru>
Sat, 3 May 2025 10:39:30 +0000 (15:39 +0500)
committerBjorn Andersson <andersson@kernel.org>
Wed, 7 May 2025 05:26:35 +0000 (22:26 -0700)
commit263780f3189730f2efa511181c3970384e54afde
treeb8e459ddfe087783ee5ce7c08a27bd9966cafdaa
parent8a401135001c65203f3fd210d482bc7eae1bfc56
arm64: dts: qcom: sc8280xp: Add EL2 overlay for WoA devices

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

However Windows can replace QHEE 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 QHEE services.

Add a EL2-specific DT overlay and apply it to sc8280xp 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-3-24e9b4572e15@trvn.ru
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/Makefile
arch/arm64/boot/dts/qcom/sc8280xp-el2.dtso [new file with mode: 0644]