+ Michael,
On 4/10/2025 12:14 PM, Sairaj Kodilkar wrote: > Current amd_iommu enables the iommu_nodma address space when pt_supported > flag is on. This causes device to bypass the IOMMU and use untranslated > address to perform DMA when guest kernel uses DMA mode, resulting in > failure to setup the devices in the guest. > > Fix the issue by removing pt_supported check and disabling nodma memory > region. Adding pt_supported requires additional changes and we will look > into it later. > > Fixes: c1f46999ef506 ("amd_iommu: Add support for pass though mode") > Signed-off-by: Sairaj Kodilkar <sarun...@amd.com> Reviewed-by: Vasant Hegde <vasant.he...@amd.com> -Vasant