Re: [RFCv2 PATCH 21/36] iommu/arm-smmu-v3: Implement process operations

2017-11-09 Thread Jean-Philippe Brucker
Hi, On 09/11/17 03:32, Yisheng Xie wrote: > Hi Jean, > > On 2017/10/6 21:31, Jean-Philippe Brucker wrote: >> Hook process operations to support PASID and page table sharing with the >> SMMUv3: >> >> + >> +static void arm_smmu_process_exit(struct iommu_domain *domain, >> +

Re: [RFCv2 PATCH 21/36] iommu/arm-smmu-v3: Implement process operations

2017-11-08 Thread Yisheng Xie
Hi Jean, On 2017/10/6 21:31, Jean-Philippe Brucker wrote: > Hook process operations to support PASID and page table sharing with the > SMMUv3: > > + > +static void arm_smmu_process_exit(struct iommu_domain *domain, > + struct iommu_process *process) > +{ > + stru

[RFCv2 PATCH 21/36] iommu/arm-smmu-v3: Implement process operations

2017-10-06 Thread Jean-Philippe Brucker
Hook process operations to support PASID and page table sharing with the SMMUv3: * process_allocate pins down its ASID and initializes the context descriptor fields. * process_free releases the ASID. * process_attach checks device capabilities and writes the context descriptor. More work is re