Re: [PATCH v2 05/20] amd_iommu: Add helper function to extract the DTE

2025-06-12 Thread Ethan MILON
Hi, On 5/21/25 4:49 PM, Alejandro Jimenez wrote: > Caution: External email. Do not open attachments or click links, unless this > email comes from a known sender and you know the content is safe. > > > Hi Ethan, > > On 5/20/25 6:18 AM, Ethan MILON wrote: >> Hi, >> >> On 5/2/25 4:15 AM, Alejand

Re: [PATCH v2 05/20] amd_iommu: Add helper function to extract the DTE

2025-05-21 Thread Alejandro Jimenez
Hi Ethan, On 5/20/25 6:18 AM, Ethan MILON wrote: Hi, On 5/2/25 4:15 AM, Alejandro Jimenez wrote: Extracting the DTE from a given AMDVIAddressSpace pointer structure is a common operation required for syncing the shadow page tables. Implement a helper to do it and check for common error condi

Re: [PATCH v2 05/20] amd_iommu: Add helper function to extract the DTE

2025-05-20 Thread Ethan MILON
Hi, On 5/2/25 4:15 AM, Alejandro Jimenez wrote: > Caution: External email. Do not open attachments or click links, unless this > email comes from a known sender and you know the content is safe. > > > Extracting the DTE from a given AMDVIAddressSpace pointer structure is a > common operation re

Re: [PATCH v2 05/20] amd_iommu: Add helper function to extract the DTE

2025-05-14 Thread Alejandro Jimenez
On 5/12/25 2:45 AM, Sairaj Kodilkar wrote: On 5/2/2025 7:45 AM, Alejandro Jimenez wrote: @@ -1035,13 +1070,13 @@ static void amdvi_do_translate(AMDVIAddressSpace *as, hwaddr addr,   return;   } -    if (!amdvi_get_dte(s, devid, entry)) { -    return; -    } +    dte_ret =

Re: [PATCH v2 05/20] amd_iommu: Add helper function to extract the DTE

2025-05-11 Thread Sairaj Kodilkar
On 5/2/2025 7:45 AM, Alejandro Jimenez wrote: Extracting the DTE from a given AMDVIAddressSpace pointer structure is a common operation required for syncing the shadow page tables. Implement a helper to do it and check for common error conditions. Signed-off-by: Alejandro Jimenez --- hw/i3

[PATCH v2 05/20] amd_iommu: Add helper function to extract the DTE

2025-05-01 Thread Alejandro Jimenez
Extracting the DTE from a given AMDVIAddressSpace pointer structure is a common operation required for syncing the shadow page tables. Implement a helper to do it and check for common error conditions. Signed-off-by: Alejandro Jimenez --- hw/i386/amd_iommu.c | 45