Will Deacon
2022-Jul-06 12:00 UTC
[PATCH RESEND v5 1/5] iommu: Refactor iommu_group_store_type()
On Mon, Apr 04, 2022 at 07:27:10PM +0800, John Garry wrote:> Function iommu_group_store_type() supports changing the default domain > of an IOMMU group. > > Many conditions need to be satisfied and steps taken for this action to be > successful. > > Satisfying these conditions and steps will be required for setting other > IOMMU group attributes, so factor into a common part and a part specific > to update the IOMMU group attribute. > > No functional change intended. > > Some code comments are tidied up also. > > Signed-off-by: John Garry <john.garry at huawei.com> > --- > drivers/iommu/iommu.c | 96 ++++++++++++++++++++++++++++--------------- > 1 file changed, 62 insertions(+), 34 deletions(-)Acked-by: Will Deacon <will at kernel.org> Will