Re: [PATCH 1/2] iommu: add support for drivers that manage iommu explicitly

2019-07-04 Thread Rob Clark
On Thu, Jul 4, 2019 at 1:20 AM Joerg Roedel wrote: > > Hi Rob, > > On Tue, Jul 02, 2019 at 01:26:18PM -0700, Rob Clark wrote: > > 1) In some cases the bootloader takes the iommu out of bypass and > >enables the display. This is in particular a problem on the aarch64 > >laptops that exist

Re: [PATCH 1/2] iommu: add support for drivers that manage iommu explicitly

2019-07-04 Thread Joerg Roedel
Hi Rob, On Tue, Jul 02, 2019 at 01:26:18PM -0700, Rob Clark wrote: > 1) In some cases the bootloader takes the iommu out of bypass and >enables the display. This is in particular a problem on the aarch64 >laptops that exist these days, and modern snapdragon android devices. >(Older

Re: [PATCH 1/2] iommu: add support for drivers that manage iommu explicitly

2019-07-03 Thread Rob Clark
On Wed, Jul 3, 2019 at 5:42 AM Robin Murphy wrote: > > On 02/07/2019 21:26, Rob Clark wrote: > > From: Rob Clark > > > > Avoid attaching any non-driver managed domain if the driver indicates > > that it manages the iommu directly. > > > > This solves a couple problems that drm/msm + arm-smmu has

Re: [PATCH 1/2] iommu: add support for drivers that manage iommu explicitly

2019-07-03 Thread Robin Murphy
On 02/07/2019 21:26, Rob Clark wrote: From: Rob Clark Avoid attaching any non-driver managed domain if the driver indicates that it manages the iommu directly. This solves a couple problems that drm/msm + arm-smmu has with the iommu framework: 1) In some cases the bootloader takes the iommu

[PATCH 1/2] iommu: add support for drivers that manage iommu explicitly

2019-07-02 Thread Rob Clark
From: Rob Clark Avoid attaching any non-driver managed domain if the driver indicates that it manages the iommu directly. This solves a couple problems that drm/msm + arm-smmu has with the iommu framework: 1) In some cases the bootloader takes the iommu out of bypass and enables the