Re: [PATCH v12 04/15] iommu/smmuv3: Dynamically allocate s1_cfg and s2_cfg

2020-11-17 Thread Auger Eric
mail.com; vivek.gau...@arm.com; Shameerali Kolothum >> Thodi ; >> alex.william...@redhat.com; jacob.jun@linux.intel.com; >> yi.l....@intel.com; t...@semihalf.com; nicoleots...@gmail.com >> Subject: [PATCH v12 04/15] iommu/smmuv3: Dynamically allocate s1_cfg and >> s2_cfg >>

RE: [PATCH v12 04/15] iommu/smmuv3: Dynamically allocate s1_cfg and s2_cfg

2020-11-17 Thread Shameerali Kolothum Thodi
ntel.com; > yi.l@intel.com; t...@semihalf.com; nicoleots...@gmail.com > Subject: [PATCH v12 04/15] iommu/smmuv3: Dynamically allocate s1_cfg and > s2_cfg > > In preparation for the introduction of nested stages > let's turn s1_cfg and s2_cfg fields into pointers which are > dy

[PATCH v12 04/15] iommu/smmuv3: Dynamically allocate s1_cfg and s2_cfg

2020-11-16 Thread Eric Auger
In preparation for the introduction of nested stages let's turn s1_cfg and s2_cfg fields into pointers which are dynamically allocated depending on the smmu_domain stage. In nested mode, both stages will coexist and s1_cfg will be allocated when the guest configuration gets passed.