mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Romli, Khairul Anuar" <khairul.anuar.romli@altera.com>
To: Dinh Nguyen <dinguyen@kernel.org>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	"Rao, Mahesh" <mahesh.rao@altera.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	"Ng, Adrian Ho Yin" <adrian.ho.yin.ng@altera.com>,
	"Rabara, Niravkumar Laxmidas" <nirav.rabara@altera.com>
Subject: Re: [PATCH v3 1/2] dt-bindings: firmware: svc: Add IOMMU support for Agilex5
Date: Wed, 5 Nov 2025 01:40:06 +0000	[thread overview]
Message-ID: <d64add31-5d4d-4dc3-aa09-5deb8e7b6cba@altera.com> (raw)
In-Reply-To: <ca75b88a64412274d415e17d4aef6dd018ac7167.1762135710.git.khairul.anuar.romli@altera.com>

On 4/11/2025 7:39 am, Romli, Khairul Anuar wrote:
> In Agilex5, the TBU (Translation Buffer Unit) can now operate in non-secure
> mode, enabling Linux to utilize it through the IOMMU framework. This allows
> improved memory management capabilities in non-secure environments. With
> Agilex5 lifting this restriction, we are now extending the device tree
> bindings to support IOMMU for the Agilex5 SVC.
> 
> Signed-off-by: Khairul Anuar Romli <khairul.anuar.romli@altera.com>
> Reviewed-by: Adrian Ng Ho Yin <adrianhoyin.ng@altera.com>
> Reviewed-by: Niravkumar L Rabara <niravkumarlaxmidas.rabara@altera.com>
> ---
> Changes in v3:
> 	- Add iommu property.
> 	- Add logical check where only Agilex5 required iommus
> 	- Rewrite the commit message to explain why this changes is
> 	  needed.
> Changes in v2:
> 	- Reprase commit message to exclude iommu
> ---
>   .../firmware/intel,stratix10-svc.yaml         | 20 +++++++++++++++----
>   1 file changed, 16 insertions(+), 4 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/firmware/intel,stratix10-svc.yaml b/Documentation/devicetree/bindings/firmware/intel,stratix10-svc.yaml
> index fac1e955852e..094973494098 100644
> --- a/Documentation/devicetree/bindings/firmware/intel,stratix10-svc.yaml
> +++ b/Documentation/devicetree/bindings/firmware/intel,stratix10-svc.yaml
> @@ -34,6 +34,7 @@ properties:
>       enum:
>         - intel,stratix10-svc
>         - intel,agilex-svc
> +      - intel,agilex5-svc
>   
>     method:
>       description: |
> @@ -54,14 +55,25 @@ properties:
>         reserved memory region for the service layer driver to
>         communicate with the secure device manager.
>   
> +  iommus:
> +    maxItems: 1
> +
>     fpga-mgr:
>       $ref: /schemas/fpga/intel,stratix10-soc-fpga-mgr.yaml
>       description: Optional child node for fpga manager to perform fabric configuration.
>   
> -required:
> -  - compatible
> -  - method
> -  - memory-region
> +allOf:
> +  - required:
> +      - compatible
> +      - method
> +      - memory-region
> +  - if:
> +      properties:
> +        compatible:
> +          const: intel,agilex5-svc

I am sending the next revision to use contains: enum: instead of const.
> +    then:
> +      required:
> +        - iommus
>   
>   additionalProperties: false
>   


  parent reply	other threads:[~2025-11-05  1:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-03 23:39 [PATCH v3 0/2] Enable Service layer driver " Khairul Anuar Romli
2025-11-03 23:39 ` [PATCH v3 1/2] dt-bindings: firmware: svc: Add IOMMU support " Khairul Anuar Romli
2025-11-04  9:48   ` Krzysztof Kozlowski
2025-11-04 11:14     ` Romli, Khairul Anuar
2025-11-04 14:33       ` Krzysztof Kozlowski
2025-11-05  1:40   ` Romli, Khairul Anuar [this message]
2025-11-03 23:39 ` [PATCH v3 2/2] arm64: dts: intel: Add Agilex5 SVC node with memory region Khairul Anuar Romli

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=d64add31-5d4d-4dc3-aa09-5deb8e7b6cba@altera.com \
    --to=khairul.anuar.romli@altera.com \
    --cc=adrian.ho.yin.ng@altera.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dinguyen@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mahesh.rao@altera.com \
    --cc=nirav.rabara@altera.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®