On Tue, Jul 23, 2019 at 07:00:37PM +0000, Suthikulpanit, Suravee wrote: > Re-factore the logic for activate/deactivate guest virtual APIC mode (GAM) > into helper functions, and export them for other drivers (e.g. SVM). > to support run-time activate/deactivate of SVM AVIC. > > Cc: Joerg Roedel <j...@8bytes.org> > Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpa...@amd.com> > --- > drivers/iommu/amd_iommu.c | 85 > +++++++++++++++++++++++++++++------------ > drivers/iommu/amd_iommu_types.h | 9 +++++ > include/linux/amd-iommu.h | 12 ++++++ > 3 files changed, 82 insertions(+), 24 deletions(-)
Applied, thanks Suravee.