[PATCH v10 4/7] PCI: keystone: Add support for PVU-based DMA isolation on AM654
s-vadapalli
s-vadapalli at ti.com
Mon Jul 21 00:21:06 PDT 2025
On Mon, Jul 21, 2025 at 10:59:42AM +0800, huaqian.li at siemens.com wrote:
> From: Jan Kiszka <jan.kiszka at 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 at siemens.com>
> Acked-by: Bjorn Helgaas <bhelgaas at google.com>
> Signed-off-by: Li Hua Qian <huaqian.li at siemens.com>
Reviewed-by: Siddharth Vadapalli <s-vadapalli at ti.com>
Regards,
Siddharth.
More information about the linux-arm-kernel
mailing list