On Mon, Jul 21, 2025 at 10:59:42AM +0800, huaqian.li@xxxxxxxxxxx wrote: > From: Jan Kiszka <jan.kiszka@xxxxxxxxxxx> > > 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@xxxxxxxxxxx> > Acked-by: Bjorn Helgaas <bhelgaas@xxxxxxxxxx> > Signed-off-by: Li Hua Qian <huaqian.li@xxxxxxxxxxx> Reviewed-by: Siddharth Vadapalli <s-vadapalli@xxxxxx> Regards, Siddharth.