Linux IOMMU Development
 help / color / mirror / Atom feed
* [PATCH v3 0/2] iommu/amd: Fix GAM IRTEs affinity and GALog restart
@ 2023-04-19 20:11 Joao Martins
  2023-04-19 20:11 ` [PATCH v3 1/2] iommu/amd: Don't block updates to GATag if guest mode is on Joao Martins
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Joao Martins @ 2023-04-19 20:11 UTC (permalink / raw)
  To: iommu
  Cc: Joerg Roedel, Suravee Suthikulpanit, Vasant Hegde, Will Deacon,
	Robin Murphy, Alejandro Jimenez, kvm, Joao Martins

Hey,

This small series fixes a couple bugs:

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, similar
         to how we do with the event log.

Comments appreciated.

Thanks,
	Joao

Changes since v2[2]:
- Fixes commit message spelling issues  (Alexey, patch 1)
- Consolidate the modified check into one line (Sean, patch 1)
- Add Rb in patch 2 (Vasant Hegde)

Changes since v1[1]:
- Adjust commit message in first patch (Suravee)
- Add Rb in the first patch (Suravee)
- Add new patch 2 for handling GALog overflows

[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/
[2] https://lore.kernel.org/linux-iommu/20230316200219.42673-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     | 12 +++++++++---
 3 files changed, 34 insertions(+), 3 deletions(-)

-- 
2.17.2


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-05-22 15:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-19 20:11 [PATCH v3 0/2] iommu/amd: Fix GAM IRTEs affinity and GALog restart Joao Martins
2023-04-19 20:11 ` [PATCH v3 1/2] iommu/amd: Don't block updates to GATag if guest mode is on Joao Martins
2023-04-19 20:11 ` [PATCH v3 2/2] iommu/amd: Handle GALog overflows Joao Martins
2023-05-22 15:16 ` [PATCH v3 0/2] iommu/amd: Fix GAM IRTEs affinity and GALog restart Joerg Roedel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox