Re: [PATCH v4 10/15] iommu/vt-d: Probe DMA-capable ACPI name space devices
From: Christoph Hellwig
Date: Wed May 29 2019 - 02:19:57 EST
On Sat, May 25, 2019 at 01:41:31PM +0800, Lu Baolu wrote:
> Some platforms may support ACPI name-space enumerated devices
> that are capable of generating DMA requests. Platforms which
> support DMA remapping explicitly declares any such DMA-capable
> ACPI name-space devices in the platform through ACPI Name-space
> Device Declaration (ANDD) structure and enumerate them through
> the Device Scope of the appropriate remapping hardware unit.
>
> Signed-off-by: Lu Baolu <baolu.lu@xxxxxxxxxxxxxxx>
Isn't this something that should be handled through the IOMMU API so
that it covers other IOMMU types as well?
How does this scheme compare to the one implemented in
drivers/acpi/arm64/iort.c?