[PATCH v3 0/3] arm64: dts: qcom: agatti: Fix IOMMU DT properties

Sumit Garg posted 3 patches 2 weeks, 2 days ago
.../bindings/display/msm/qcom,qcm2290-mdss.yaml       |  6 ++----
.../devicetree/bindings/media/qcom,qcm2290-venus.yaml |  7 ++-----
arch/arm64/boot/dts/qcom/agatti.dtsi                  | 11 +++--------
3 files changed, 7 insertions(+), 17 deletions(-)
[PATCH v3 0/3] arm64: dts: qcom: agatti: Fix IOMMU DT properties
Posted by Sumit Garg 2 weeks, 2 days ago
From: Sumit Garg <sumit.garg@oss.qualcomm.com>

Fix IOMMU DT propeties for GPU, display and video peripherals via
dropping SMMU stream IDs which relates to secure context bank.

This problem only surfaced when the Gunyah based firmware stack is
ported on Agatti replacing the legacy QHEE based firmware stack. Assigning
Linux kernel (HLOS) VMID to secure context bank stream IDs is treated
as a fault by Gunyah hypervisor which were previously ignored by QHEE
hypervisor.

The DT changes should be backwards compatible with legacy QHEE based
firmware stack too.

Changes in v3:
---
- Fixed up maximum value for iommus property in DT bindings instead
  of adding the minimum value as that places implicit ordering
  requirements.
- Collected further review tag for patch #3

Changes in v2:
---
- Dropped Gunyah related reserved memory requirement changes
- Added DT bindings changes related to IOMMU property fixups
- Collected review tags for the DT changes

Sumit Garg (3):
  dt-bindings: display: msm: qcm2290-mdss: Fix iommus property
  dt-bindings: media: venus: Fix iommus property
  arm64: dts: qcom: agatti: Fix IOMMU DT properties

 .../bindings/display/msm/qcom,qcm2290-mdss.yaml       |  6 ++----
 .../devicetree/bindings/media/qcom,qcm2290-venus.yaml |  7 ++-----
 arch/arm64/boot/dts/qcom/agatti.dtsi                  | 11 +++--------
 3 files changed, 7 insertions(+), 17 deletions(-)

-- 
2.51.0
Re: [PATCH v3 0/3] arm64: dts: qcom: agatti: Fix IOMMU DT properties
Posted by Rob Herring 2 weeks, 1 day ago
On Thu, Jan 22, 2026 at 05:40:39PM +0530, Sumit Garg wrote:
> From: Sumit Garg <sumit.garg@oss.qualcomm.com>
> 
> Fix IOMMU DT propeties for GPU, display and video peripherals via
> dropping SMMU stream IDs which relates to secure context bank.
> 
> This problem only surfaced when the Gunyah based firmware stack is
> ported on Agatti replacing the legacy QHEE based firmware stack. Assigning
> Linux kernel (HLOS) VMID to secure context bank stream IDs is treated
> as a fault by Gunyah hypervisor which were previously ignored by QHEE
> hypervisor.
> 
> The DT changes should be backwards compatible with legacy QHEE based
> firmware stack too.

To avoid intermittent warnings, Bjorn should pick up the whole series.

Rob