Re: [PATCH 00/20] iommu/arm-smmu + drm/msm: per-process GPU pgtables

From: Rob Clark
Date: Fri Sep 04 2020 - 12:47:04 EST


On Fri, Sep 4, 2020 at 2:11 AM Joerg Roedel <joro@xxxxxxxxxx> wrote:
>
> On Mon, Aug 17, 2020 at 03:01:25PM -0700, Rob Clark wrote:
> > Jordan Crouse (12):
> > iommu/arm-smmu: Pass io-pgtable config to implementation specific
> > function
> > iommu/arm-smmu: Add support for split pagetables
> > iommu/arm-smmu: Prepare for the adreno-smmu implementation
> > iommu/arm-smmu-qcom: Add implementation for the adreno GPU SMMU
> > dt-bindings: arm-smmu: Add compatible string for Adreno GPU SMMU
> > drm/msm: Add a context pointer to the submitqueue
> > drm/msm: Drop context arg to gpu->submit()
> > drm/msm: Set the global virtual address range from the IOMMU domain
> > drm/msm: Add support to create a local pagetable
> > drm/msm: Add support for private address space instances
> > drm/msm/a6xx: Add support for per-instance pagetables
> > arm: dts: qcom: sm845: Set the compatible string for the GPU SMMU
> >
> > Rob Clark (8):
> > drm/msm: remove dangling submitqueue references
> > iommu: add private interface for adreno-smmu
> > drm/msm/gpu: add dev_to_gpu() helper
> > drm/msm: set adreno_smmu as gpu's drvdata
> > iommu/arm-smmu: constify some helpers
> > arm: dts: qcom: sc7180: Set the compatible string for the GPU SMMU
> > iommu/arm-smmu: add a way for implementations to influence SCTLR
> > drm/msm: show process names in gem_describe
>
> Can the DRM parts be merged independently from the IOMMU parts or does
> this need to be queued together? If it needs to be together I defer the
> decission to Will through which tree this should go.
>

Hi,

v16 of this series re-ordered the patches and has some notes at the
top of the cover letter[1] about a potential way to land it.. tl;dr:
the drm parts can and adreno-smmu-priv.h can go independently of
iommu. And the first four iommu patches can go in independently of
drm. But the last two iommu patches have a dependency on the drm
patches.

Note that I'll send one more revision of the series shortly (I have a
small fixup for one of the drm patches for an issue found in testing,
and Bjorn had some suggestions about "iommu/arm-smmu: Prepare for the
adreno-smmu implementation" that I need to look at.

BR,
-R

[1] https://lkml.org/lkml/2020/9/1/1469