Re: [PATCH V3 1/2] Documentation: x86: Add documentation for AMD IOMMU

From: Dave Hansen
Date: Tue Mar 29 2022 - 11:24:39 EST


On 3/28/22 10:28, Alex Deucher wrote:
> +How is IOVA generated?
> +----------------------
> +
> +Well behaved drivers call dma_map_*() calls before sending command to device
> +that needs to perform DMA. Once DMA is completed and mapping is no longer
> +required, driver performs dma_unmap_*() calls to unmap the region.
> +
> +Fault reporting
> +---------------
> +
> +When errors are reported, the IOMMU signals via an interrupt. The fault
> +reason and device that caused it is printed on the console.

Just scanning this, it looks *awfully* generic. Is anything in here
AMD-specific? Should this be in an AMD-specific file?