[PATCH v3 0/2] iommu/amd: Fix GAM IRTEs affinity and GALog restart

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx/
[1] https://lore.kernel.org/linux-iommu/20230208131938.39898-1-joao.m.martins@xxxxxxxxxx/
[2] https://lore.kernel.org/linux-iommu/20230316200219.42673-1-joao.m.martins@xxxxxxxxxx/

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




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux