mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
To: Mukesh Ojha <mukesh.ojha@oss.qualcomm.com>,
	Manivannan Sadhasivam <mani@kernel.org>
Cc: Bjorn Andersson <andersson@kernel.org>,
	Mathieu Poirier <mathieu.poirier@linaro.org>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Konrad Dybcio <konradybcio@kernel.org>,
	linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v4 12/12] arm64: dts: qcom: Add EL2 overlay for Lemans
Date: Wed, 8 Oct 2025 12:13:03 +0200	[thread overview]
Message-ID: <5408daec-127a-4fdd-88f1-855c90694f6a@oss.qualcomm.com> (raw)
In-Reply-To: <20251008073214.kcanrljguox2vtzq@hu-mojha-hyd.qualcomm.com>

On 10/8/25 9:32 AM, Mukesh Ojha wrote:
> On Tue, Oct 07, 2025 at 02:55:04PM -0700, Manivannan Sadhasivam wrote:
>> On Tue, Oct 07, 2025 at 10:18:57PM +0530, Mukesh Ojha wrote:
>>> All the Lemans IOT variants 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, remote processor firmware IOMMU streams is
>>> controlled by the Gunyah however when Linux take ownership of it in EL2,
>>> It need to configure it properly to use remote processor.
>>>
>>> Add a EL2-specific DT overlay and apply it to Lemans 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
>>>
>>> Signed-off-by: Mukesh Ojha <mukesh.ojha@oss.qualcomm.com>
>>> ---

[...]

>>> +&iris {
>>> +	/* TODO: Add video-firmware iommus to start IRIS from EL2 */
>>
>> So the missing 'iommus' property is the only blocker to enable IRIS?
> 
> Yes, but this would require some changes in the driver as well to create
> a platform device for the firmware and IOMMU domain, and to attach the
> firmware device to the domain.

"yes, but actually no"

> 
> There was some discussion around this in v2[1], where I added support
> for video. However, the change involved hooking into the video-firmware
> property, which was used for Venus.  There were concerns[2] about following
> the same approach for Iris, and due to that, we have dropped video
> support for now.  However, an RFC has been posted from our side to
> handle such scenarios[3], as of now unclear about the direction for
> Iris.
> 
> 
> [1] https://lore.kernel.org/lkml/aKooCFoV3ZYwOMRx@linaro.org/
> 
> [2] https://lore.kernel.org/lkml/20250627-video_cb-v3-0-51e18c0ffbce@quicinc.com/
> 
> [3] https://lore.kernel.org/all/20250928171718.436440-1-charan.kalla@oss.qualcomm.com/
> 
> [4] https://lore.kernel.org/lkml/4a32bbec-2baf-4210-a7c1-1ddcd45d30c8@oss.qualcomm.com/

Reword the comment to "/* More driver work is needed */" since there
is nothing more you can do at the moment and you most likely don't
want to block your series on resolving the above entanglement

Konrad

  reply	other threads:[~2025-10-08 10:13 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-07 16:48 [PATCH v4 00/12] Peripheral Image Loader support for Qualcomm SoCs running Linux host at EL2 Mukesh Ojha
2025-10-07 16:48 ` [PATCH v4 01/12] dt-bindings: remoteproc: qcom,pas: Add iommus property Mukesh Ojha
2025-10-08  8:09   ` Krzysztof Kozlowski
2025-10-08 11:57     ` Mukesh Ojha
2025-10-07 16:48 ` [PATCH v4 02/12] firmware: qcom_scm: Rename peripheral as pas_id Mukesh Ojha
2025-10-07 16:48 ` [PATCH v4 03/12] firmware: qcom_scm: Introduce PAS context initialization and destroy helper Mukesh Ojha
2025-10-07 21:23   ` Manivannan Sadhasivam
2025-10-07 22:16     ` Bryan O'Donoghue
2025-10-08  7:51       ` Mukesh Ojha
2025-10-07 16:48 ` [PATCH v4 04/12] soc: qcom: mdtloader: Add PAS context aware qcom_mdt_pas_load() function Mukesh Ojha
2025-10-07 21:29   ` Manivannan Sadhasivam
2025-10-08  7:35     ` Mukesh Ojha
2025-10-10  6:21   ` Mukesh Ojha
2025-10-07 16:48 ` [PATCH v4 05/12] remoteproc: pas: Replace metadata context with PAS context structure Mukesh Ojha
2025-10-07 21:34   ` Manivannan Sadhasivam
2025-10-08  7:37     ` Mukesh Ojha
2025-10-10  6:24   ` Mukesh Ojha
2025-10-07 16:48 ` [PATCH v4 06/12] firmware: qcom_scm: Add a prep version of auth_and_reset function Mukesh Ojha
2025-10-07 21:37   ` Manivannan Sadhasivam
2025-10-08  7:35     ` Mukesh Ojha
2025-10-07 16:48 ` [PATCH v4 07/12] firmware: qcom_scm: Simplify qcom_scm_pas_init_image() Mukesh Ojha
2025-10-07 16:48 ` [PATCH v4 08/12] firmware: qcom_scm: Add SHM bridge handling for PAS when running without QHEE Mukesh Ojha
2025-10-07 16:48 ` [PATCH v4 09/12] firmware: qcom_scm: Add qcom_scm_pas_get_rsc_table() to get resource table Mukesh Ojha
2025-10-07 16:48 ` [PATCH v4 10/12] remoteproc: pas: Extend parse_fw callback to fetch resources via SMC call Mukesh Ojha
2025-10-07 21:48   ` Manivannan Sadhasivam
2025-10-08  7:33     ` Mukesh Ojha
2025-10-07 16:48 ` [PATCH v4 11/12] remoteproc: qcom: pas: Enable Secure PAS support with IOMMU managed by Linux Mukesh Ojha
2025-10-07 21:52   ` Manivannan Sadhasivam
2025-10-08  4:58     ` Mukesh Ojha
2025-10-08  9:19   ` Konrad Dybcio
2025-10-08 12:00     ` Mukesh Ojha
2025-10-07 16:48 ` [PATCH v4 12/12] arm64: dts: qcom: Add EL2 overlay for Lemans Mukesh Ojha
2025-10-07 21:55   ` Manivannan Sadhasivam
2025-10-08  7:32     ` Mukesh Ojha
2025-10-08 10:13       ` Konrad Dybcio [this message]
2025-10-08 11:56         ` Mukesh Ojha
2025-10-10  6:27   ` Mukesh Ojha
2025-10-07 21:56 ` [PATCH v4 00/12] Peripheral Image Loader support for Qualcomm SoCs running Linux host at EL2 Manivannan Sadhasivam
2025-10-10 10:08   ` Mukesh Ojha

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5408daec-127a-4fdd-88f1-855c90694f6a@oss.qualcomm.com \
    --to=konrad.dybcio@oss.qualcomm.com \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-remoteproc@vger.kernel.org \
    --cc=mani@kernel.org \
    --cc=mathieu.poirier@linaro.org \
    --cc=mukesh.ojha@oss.qualcomm.com \
    --cc=robh@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®