[PATCH v3 0/5] amd_iommu: Bugfix and Cleanup for IO Page Fault

Alejandro Jimenez posted 5 patches 3 weeks, 3 days ago
Maintainers: Alejandro Jimenez <alejandro.j.jimenez@oracle.com>, Sairaj Kodilkar <sarunkod@amd.com>, "Michael S. Tsirkin" <mst@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, Richard Henderson <richard.henderson@linaro.org>
hw/i386/amd_iommu.c | 47 +++++++++++++++++++++++++++------------------
hw/i386/amd_iommu.h | 25 ++++++++++++++++++++----
2 files changed, 49 insertions(+), 23 deletions(-)
[PATCH v3 0/5] amd_iommu: Bugfix and Cleanup for IO Page Fault
Posted by Alejandro Jimenez 3 weeks, 3 days ago
Hi Michael,

I am re-sending Dongli's series after reviewing and addressing the comments from
his earlier v2 submission:
v2: https://lore.kernel.org/qemu-devel/20260724223216.108667-1-dongli.zhang@oracle.com/

The series has been rebased on top of:
b574eaf640f0 ("Merge tag 'for_upstream' of https://git.kernel.org/pub/scm/virt/kvm/mst/qemu into staging")

Please queue it for your next pull request, whenever it is convenient.

Also available at:
https://github.com/aljimenezb/qemu/commits/amdvi-dongli-fixes-2026/

Changes since v2:
 - Rebased onto b574eaf640f0.
 - Patch 3: Applied suffix LOG for consistent EVTLOG/PPRLOG/GALOG naming, updated
the existing macros and all their call sites. I preferred the use of LOG since
GA by itself is generally used to refer to Guest Virtual APIC support in the docs.
 - Patch 4: Minor change in commit message, code unchanged from v2.
 - Patch 5: added GALOG_RUN to the RO mask [Sairaj].
 - Added Reviewed-by and Signed-off trailers as appropriate.

Thank you Dongli and Sairaj for your work on these fixes. Please let me know if
I missed any of your proposed changes.

Thank you.
Alejandro

Dongli Zhang (5):
  amd_iommu: Do not create duplicate MSI capability
  amd_iommu: Use full BDF when reporting page faults
  amd_iommu: Define MMIO register masks
  amd_iommu: Make extended feature register read-only
  amd_iommu: Do not latch unsupported GA log status bits

 hw/i386/amd_iommu.c | 47 +++++++++++++++++++++++++++------------------
 hw/i386/amd_iommu.h | 25 ++++++++++++++++++++----
 2 files changed, 49 insertions(+), 23 deletions(-)


base-commit: b574eaf640f02c4edf28cbee6417378f0d79cda0
-- 
2.47.3
Re: [PATCH v3 0/5] amd_iommu: Bugfix and Cleanup for IO Page Fault
Posted by Alejandro Jimenez 3 days, 12 hours ago
Hi Michael,

Following up on this series, since it contains bug fixes and it has not
been included in the recent pull requests. Do you have any concerns that we
need to address?

Thank you,
Alejandro

On 10/29/26 8:38 PM, Alejandro Jimenez wrote:
> Hi Michael,
> 
> I am re-sending Dongli's series after reviewing and addressing the comments from
> his earlier v2 submission:
> v2: https://lore.kernel.org/qemu-devel/20260724223216.108667-1-dongli.zhang@oracle.com/
> 
> The series has been rebased on top of:
> b574eaf640f0 ("Merge tag 'for_upstream' of https://git.kernel.org/pub/scm/virt/kvm/mst/qemu into staging")
> 
> Please queue it for your next pull request, whenever it is convenient.
> 
> Also available at:
> https://github.com/aljimenezb/qemu/commits/amdvi-dongli-fixes-2026/
> 
> Changes since v2:
>  - Rebased onto b574eaf640f0.
>  - Patch 3: Applied suffix LOG for consistent EVTLOG/PPRLOG/GALOG naming, updated
> the existing macros and all their call sites. I preferred the use of LOG since
> GA by itself is generally used to refer to Guest Virtual APIC support in the docs.
>  - Patch 4: Minor change in commit message, code unchanged from v2.
>  - Patch 5: added GALOG_RUN to the RO mask [Sairaj].
>  - Added Reviewed-by and Signed-off trailers as appropriate.
> 
> Thank you Dongli and Sairaj for your work on these fixes. Please let me know if
> I missed any of your proposed changes.
> 
> Thank you.
> Alejandro
> 
> Dongli Zhang (5):
>   amd_iommu: Do not create duplicate MSI capability
>   amd_iommu: Use full BDF when reporting page faults
>   amd_iommu: Define MMIO register masks
>   amd_iommu: Make extended feature register read-only
>   amd_iommu: Do not latch unsupported GA log status bits
> 
>  hw/i386/amd_iommu.c | 47 +++++++++++++++++++++++++++------------------
>  hw/i386/amd_iommu.h | 25 ++++++++++++++++++++----
>  2 files changed, 49 insertions(+), 23 deletions(-)
> 
> 
> base-commit: b574eaf640f02c4edf28cbee6417378f0d79cda0
Re: [PATCH v3 0/5] amd_iommu: Bugfix and Cleanup for IO Page Fault
Posted by Michael S. Tsirkin 3 days, 11 hours ago
On Thu, Nov 19, 2026 at 10:55:08AM -0500, Alejandro Jimenez wrote:
> Hi Michael,
> 
> Following up on this series, since it contains bug fixes and it has not
> been included in the recent pull requests. Do you have any concerns that we
> need to address?
> 
> Thank you,
> Alejandro


Nope. sorry lost it in one of rebases. will add in the next pull.

> On 10/29/26 8:38 PM, Alejandro Jimenez wrote:
> > Hi Michael,
> > 
> > I am re-sending Dongli's series after reviewing and addressing the comments from
> > his earlier v2 submission:
> > v2: https://lore.kernel.org/qemu-devel/20260724223216.108667-1-dongli.zhang@oracle.com/
> > 
> > The series has been rebased on top of:
> > b574eaf640f0 ("Merge tag 'for_upstream' of https://git.kernel.org/pub/scm/virt/kvm/mst/qemu into staging")
> > 
> > Please queue it for your next pull request, whenever it is convenient.
> > 
> > Also available at:
> > https://github.com/aljimenezb/qemu/commits/amdvi-dongli-fixes-2026/
> > 
> > Changes since v2:
> >  - Rebased onto b574eaf640f0.
> >  - Patch 3: Applied suffix LOG for consistent EVTLOG/PPRLOG/GALOG naming, updated
> > the existing macros and all their call sites. I preferred the use of LOG since
> > GA by itself is generally used to refer to Guest Virtual APIC support in the docs.
> >  - Patch 4: Minor change in commit message, code unchanged from v2.
> >  - Patch 5: added GALOG_RUN to the RO mask [Sairaj].
> >  - Added Reviewed-by and Signed-off trailers as appropriate.
> > 
> > Thank you Dongli and Sairaj for your work on these fixes. Please let me know if
> > I missed any of your proposed changes.
> > 
> > Thank you.
> > Alejandro
> > 
> > Dongli Zhang (5):
> >   amd_iommu: Do not create duplicate MSI capability
> >   amd_iommu: Use full BDF when reporting page faults
> >   amd_iommu: Define MMIO register masks
> >   amd_iommu: Make extended feature register read-only
> >   amd_iommu: Do not latch unsupported GA log status bits
> > 
> >  hw/i386/amd_iommu.c | 47 +++++++++++++++++++++++++++------------------
> >  hw/i386/amd_iommu.h | 25 ++++++++++++++++++++----
> >  2 files changed, 49 insertions(+), 23 deletions(-)
> > 
> > 
> > base-commit: b574eaf640f02c4edf28cbee6417378f0d79cda0