mbox series

[v2,0/2] iommu/amd: Fix GAM IRTEs affinity and GALog restart

Message ID 20230316200219.42673-1-joao.m.martins@oracle.com (mailing list archive)
Headers show
Series iommu/amd: Fix GAM IRTEs affinity and GALog restart | expand

Message

Joao Martins March 16, 2023, 8:02 p.m. UTC
Hey,

This small series expands from v1 with one more patch:

Patch 1) Fix affinity changes to already-in-guest-mode IRTEs which would
         otherwise be nops.

Patch 2) Handle the GALog overflow condition by restarting it

I have a follow-up 3-patch series but being an potential optimization[0]
I prefer making it separate. This series just tackles bugs.

Comments appreciated.

Thanks,
	Joao

Changes since v1[1]:
- Adjust commit message in first patch (Suravee)
- Add Rb in the first patch (Suravee)

[0] https://lore.kernel.org/linux-iommu/b39d505c-8d2b-d90b-f52d-ceabde8225cf@oracle.com/
[1] https://lore.kernel.org/linux-iommu/20230208131938.39898-1-joao.m.martins@oracle.com/

Joao Martins (2):
  iommu/amd: Don't block updates to GATag if guest mode is on
  iommu/amd: Handle GALog overflows

 drivers/iommu/amd/amd_iommu.h |  1 +
 drivers/iommu/amd/init.c      | 24 ++++++++++++++++++++++++
 drivers/iommu/amd/iommu.c     | 11 +++++++++--
 3 files changed, 34 insertions(+), 2 deletions(-)