Re: [PATCH 1/2] hw/i386/amd_iommu: Fix device setup failure when PT is on.

2025-04-17 Thread Sairaj Kodilkar
On 4/15/2025 11:58 PM, Alejandro Jimenez wrote: On 4/15/25 2:38 AM, Sairaj Kodilkar wrote: Hi Alejandro, On 4/15/2025 1:56 AM, Alejandro Jimenez wrote: Hi Sairaj, I'm conflicted by the implementation of the change, so I'd like to make sure I fully understand... On 4/10/25 2:44 AM,

Re: [PATCH 1/2] hw/i386/amd_iommu: Fix device setup failure when PT is on.

2025-04-15 Thread Alejandro Jimenez
On 4/15/25 2:38 AM, Sairaj Kodilkar wrote: Hi Alejandro, On 4/15/2025 1:56 AM, Alejandro Jimenez wrote: Hi Sairaj, I'm conflicted by the implementation of the change, so I'd like to make sure I fully understand... On 4/10/25 2:44 AM, Sairaj Kodilkar wrote: Fix the issue by removing

Re: [PATCH 1/2] hw/i386/amd_iommu: Fix device setup failure when PT is on.

2025-04-14 Thread Sairaj Kodilkar
Hi Alejandro, On 4/15/2025 1:56 AM, Alejandro Jimenez wrote: Hi Sairaj, I'm conflicted by the implementation of the change, so I'd like to make sure I fully understand... On 4/10/25 2:44 AM, Sairaj Kodilkar wrote: Current amd_iommu enables the iommu_nodma address space when pt_supported

Re: [PATCH 1/2] hw/i386/amd_iommu: Fix device setup failure when PT is on.

2025-04-14 Thread Alejandro Jimenez
Hi Sairaj, I'm conflicted by the implementation of the change, so I'd like to make sure I fully understand... On 4/10/25 2:44 AM, Sairaj Kodilkar wrote: Current amd_iommu enables the iommu_nodma address space when pt_supported flag is on. As it should, that is the intended purpose of the i

Re: [PATCH 1/2] hw/i386/amd_iommu: Fix device setup failure when PT is on.

2025-04-10 Thread Vasant Hegde
+ 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

[PATCH 1/2] hw/i386/amd_iommu: Fix device setup failure when PT is on.

2025-04-10 Thread Sairaj Kodilkar
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 c