Re: [PATCH/RFC] iommu/ipmmu-vmsa: IPMMU SYS-DMAC iova mapping workaround

2016-09-27 Thread Niklas Söderlund
Hi Magnus, On 2016-09-27 15:43:30 +0900, Magnus Damm wrote: > Hi Niklas, > > On Tue, Sep 27, 2016 at 3:20 PM, Niklas Söderlund > wrote: > > Hi Magnus, > > > > On 2016-09-20 20:54:33 +0900, Magnus Damm wrote: > >> From: Magnus Damm > >>

Re: [PATCH/RFC] iommu/ipmmu-vmsa: IPMMU SYS-DMAC iova mapping workaround

2016-09-27 Thread Magnus Damm
Hi Niklas, On Tue, Sep 27, 2016 at 3:20 PM, Niklas Söderlund wrote: > Hi Magnus, > > On 2016-09-20 20:54:33 +0900, Magnus Damm wrote: >> From: Magnus Damm >> >> Here's some prototype code that works around the lack of software >>

Re: [PATCH/RFC] iommu/ipmmu-vmsa: IPMMU SYS-DMAC iova mapping workaround

2016-09-27 Thread Niklas Söderlund
Hi Magnus, On 2016-09-20 20:54:33 +0900, Magnus Damm wrote: > From: Magnus Damm > > Here's some prototype code that works around the lack of software > support for mapping I/O devices to the SYS-DMAC hardware via the > DMA Engine framework when using IOMMU. > > The

[PATCH/RFC] iommu/ipmmu-vmsa: IPMMU SYS-DMAC iova mapping workaround

2016-09-20 Thread Magnus Damm
From: Magnus Damm Here's some prototype code that works around the lack of software support for mapping I/O devices to the SYS-DMAC hardware via the DMA Engine framework when using IOMMU. The code itself is one big layering violation that goes through the DT and