arm64: dts: qcom: hamoa: Add remoteproc IOMMUS in EL2 device trees
PATCH v3 1/1 arm64: dts: qcom: hamoa: Add remoteproc IOMMUS in EL2 device trees
All the existing variants Hamoa 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 remoteproc IOMMUS to the EL2 device trees to generate the corresponding -el2.dtb files.
---
Changes in v3:
- Modify the subject title
- Link to v2 : https://lore.kernel.org/all/[email protected]/
Changes in v2:
- Fix the adsp iommus mask
- Link to v1 : https://lore.kernel.org/all/[email protected]/
arch/arm64/boot/dts/qcom/x1-el2.dtso | 8 ++++++++ 1 file changed, 8 insertions(+)
arch/arm64/boot/dts/qcom/x1-el2.dtso +8 -0
@@ -52,6 +52,14 @@ &pcie_smmu { status = "okay"; }; +&remoteproc_adsp { + iommus = <&apps_smmu 0x1000 0x80>; +}; + +&remoteproc_cdsp { + iommus = <&apps_smmu 0x0c00 0x0>; +}; + /* * The "SBSA watchdog" is implemented in software in Gunyah * and can't be used when running in EL2.
Signature · 1 line
2.43.0
Quoted 13 lines · Xin Liu
All the existing variants Hamoa 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 remoteproc IOMMUS to the EL2 device trees to generate the corresponding -el2.dtb files.
Quoted 8 lines
Reviewed-by Abel Vesa <[email protected]>Signed-off-by Xin Liu <[email protected]>---
Changes in v3:
- Modify the subject title
FWIW subject and title are the used interchangeably
Konrad
Quoted 11 lines · Xin Liu
All the existing variants Hamoa 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.
[...]
Applied, thanks!
[1/1] arm64: dts: qcom: hamoa: Add remoteproc IOMMUS in EL2 device trees
commit: 47c88db49f6ced5592331c38ef95978fe3497704
Best regards,
Signature · 1 line
Bjorn Andersson <[email protected]>