Skip to content

Commit 1bb533d

Browse files
mukeshojha-linuxandersson
authored andcommitted
arm64: dts: qcom: talos: Add EL2 overlay
All the existing variants Talos boards are using Gunyah hypervisor which means that, so far, Linux-based OS could only boot in EL1 on those devices. However, it is possible for us to boot Linux at EL2 on these devices [1]. When running under Gunyah, the remote processor firmware IOMMU streams are controlled by Gunyah. However, without Gunyah, the IOMMU is managed by the consumer of this DeviceTree. Therefore, describe the firmware streams for each remote processor. Add a EL2-specific DT overlay and apply it to Talos IOT variant devices to create -el2.dtb for each of them alongside "normal" dtb. [1] https://docs.qualcomm.com/bundle/publicresource/topics/80-70020-4/boot-developer-touchpoints.html#uefi Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Signed-off-by: Mukesh Ojha <mukesh.ojha@oss.qualcomm.com> Link: https://lore.kernel.org/r/20260127-talos-el2-overlay-v2-3-b6a2266532c4@oss.qualcomm.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent 0f9e6db commit 1bb533d

2 files changed

Lines changed: 29 additions & 0 deletions

File tree

arch/arm64/boot/dts/qcom/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,10 @@ dtb-$(CONFIG_ARCH_QCOM) += qcm6490-shift-otter.dtb
163163
dtb-$(CONFIG_ARCH_QCOM) += qcs404-evb-1000.dtb
164164
dtb-$(CONFIG_ARCH_QCOM) += qcs404-evb-4000.dtb
165165
dtb-$(CONFIG_ARCH_QCOM) += qcs615-ride.dtb
166+
167+
qcs615-ride-el2-dtbs := qcs615-ride.dtb talos-el2.dtbo
168+
169+
dtb-$(CONFIG_ARCH_QCOM) += qcs615-ride-el2.dtb
166170
dtb-$(CONFIG_ARCH_QCOM) += qcs6490-radxa-dragon-q6a.dtb
167171
dtb-$(CONFIG_ARCH_QCOM) += qcs6490-rb3gen2.dtb
168172

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
// SPDX-License-Identifier: BSD-3-Clause
2+
/*
3+
* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
4+
5+
* Talos specific modifications required to boot in EL2.
6+
*/
7+
8+
/dts-v1/;
9+
/plugin/;
10+
11+
&gpu_zap_shader {
12+
status = "disabled";
13+
};
14+
15+
&remoteproc_adsp {
16+
iommus = <&apps_smmu 0x1720 0x0>;
17+
};
18+
19+
&remoteproc_cdsp {
20+
iommus = <&apps_smmu 0x1080 0x0>;
21+
};
22+
23+
&venus {
24+
status = "disabled";
25+
};

0 commit comments

Comments
 (0)