mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: s-vadapalli <s-vadapalli@ti.com>
To: <huaqian.li@siemens.com>
Cc: <s-vadapalli@ti.com>, <baocheng.su@siemens.com>,
	<bhelgaas@google.com>, <conor+dt@kernel.org>,
	<devicetree@vger.kernel.org>, <diogo.ivo@siemens.com>,
	<helgaas@kernel.org>, <jan.kiszka@siemens.com>,
	<kristo@kernel.org>, <krzk+dt@kernel.org>, <kw@linux.com>,
	<linux-arm-kernel@lists.infradead.org>,
	<linux-kernel@vger.kernel.org>, <linux-pci@vger.kernel.org>,
	<lpieralisi@kernel.org>, <nm@ti.com>, <robh@kernel.org>,
	<ssantosh@kernel.org>, <vigneshr@ti.com>
Subject: Re: [PATCH v10 4/7] PCI: keystone: Add support for PVU-based DMA isolation on AM654
Date: Mon, 21 Jul 2025 12:51:06 +0530	[thread overview]
Message-ID: <7eb6b36c-da94-4363-9ee2-d3d38ec46a22@ti.com> (raw)
In-Reply-To: <20250721025945.204422-5-huaqian.li@siemens.com>

On Mon, Jul 21, 2025 at 10:59:42AM +0800, huaqian.li@siemens.com wrote:
> From: Jan Kiszka <jan.kiszka@siemens.com>
> 
> The AM654 lacks an IOMMU, thus does not support isolating DMA requests
> from untrusted PCI devices to selected memory regions this way. Use
> static PVU-based protection instead. The PVU, when enabled, will only
> accept DMA requests that address previously configured regions.
> 
> Use the availability of a restricted-dma-pool memory region as trigger
> and register it as valid DMA target with the PVU. In addition, enable
> the mapping of requester IDs to VirtIDs in the PCI RC. Use only a single
> VirtID so far, catching all devices.
> 
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
> Acked-by: Bjorn Helgaas <bhelgaas@google.com>
> Signed-off-by: Li Hua Qian <huaqian.li@siemens.com>

Reviewed-by: Siddharth Vadapalli <s-vadapalli@ti.com>

Regards,
Siddharth.

  reply	other threads:[~2025-07-21  7:21 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-21  2:59 [PATCH v10 0/7] soc: ti: Add and use PVU on K3-AM65 for DMA isolation huaqian.li
2025-07-21  2:59 ` [PATCH v10 1/7] dt-bindings: soc: ti: Add AM65 peripheral virtualization unit huaqian.li
2025-07-21  2:59 ` [PATCH v10 2/7] dt-bindings: PCI: ti,am65: Extend for use with PVU huaqian.li
2025-07-21  2:59 ` [PATCH v10 3/7] soc: ti: Add IOMMU-like PVU driver huaqian.li
2025-07-21  2:59 ` [PATCH v10 4/7] PCI: keystone: Add support for PVU-based DMA isolation on AM654 huaqian.li
2025-07-21  7:21   ` s-vadapalli [this message]
2025-07-22 18:01   ` Christophe JAILLET
2025-07-21  2:59 ` [PATCH v10 5/7] arm64: dts: ti: k3-am65-main: Add PVU nodes huaqian.li
2025-07-21  2:59 ` [PATCH v10 6/7] arm64: dts: ti: k3-am65-main: Add VMAP registers to PCI root complexes huaqian.li
2025-07-21  2:59 ` [PATCH v10 7/7] arm64: dts: ti: iot2050: Add overlay for DMA isolation for devices behind PCI RC huaqian.li

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=7eb6b36c-da94-4363-9ee2-d3d38ec46a22@ti.com \
    --to=s-vadapalli@ti.com \
    --cc=baocheng.su@siemens.com \
    --cc=bhelgaas@google.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=diogo.ivo@siemens.com \
    --cc=helgaas@kernel.org \
    --cc=huaqian.li@siemens.com \
    --cc=jan.kiszka@siemens.com \
    --cc=kristo@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=kw@linux.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=lpieralisi@kernel.org \
    --cc=nm@ti.com \
    --cc=robh@kernel.org \
    --cc=ssantosh@kernel.org \
    --cc=vigneshr@ti.com \
    /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®