u_ops = {
> .add_device = rk_iommu_add_device,
> .remove_device = rk_iommu_remove_device,
> .iova_to_phys = rk_iommu_iova_to_phys,
> + .device_group = generic_device_group,
> .pgsize_bitmap = RK_IOMMU_PGSIZE_BITMAP,
> + .of_xlate
On Thu, Dec 10, 2015 at 8:49 PM, Daniel Kurtz wrote:
> On Thu, Nov 12, 2015 at 1:47 PM, Yong Wu wrote:
>> On Wed, 2015-11-11 at 14:54 +, Robin Murphy wrote:
>>> Whilst blindly assuming the worst case for segment boundaries and
>>> aligning every segment individuall
On Tue, Jan 26, 2016 at 12:12 PM, Yong Wu wrote:
> This patch add the iommu/larbs nodes for mt8173
>
> Signed-off-by: Yong Wu
Reviewed-by: Daniel Kurtz
___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.or
abel
Reviewed-by: Daniel Kurtz
Tested-by: Daniel Kurtz
Thanks!
___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu
Hi Yong,
On Tue, Dec 15, 2015 at 10:38 AM, Yong Wu wrote:
> On Mon, 2015-12-14 at 19:18 +0100, Matthias Brugger wrote:
>> On Tuesday 08 Dec 2015 17:49:11 Yong Wu wrote:
>> > This patch add SMI(Smart Multimedia Interface) driver. This driver
>> > is responsible to enable/disable iommu and control
head-start on
>> checking whether it also helps the media folks with the v4l portability
>> issues they're up against (I'm confident it should). If all goes well I
>> figure I'll repost next week based on rc1 instead of some random local
>> developmen
+Tomasz, so he can reply to the thread
+Marek and Russell as recommended by Tomasz
On Oct 30, 2015 22:27, "Robin Murphy" wrote:
>
> Hi Dan,
>
> On 30/10/15 01:17, Daniel Kurtz wrote:
>>
>> +linux-media & VIDEOBUF2 FRAMEWORK maintainers since this is about
+linux-media & VIDEOBUF2 FRAMEWORK maintainers since this is about the
v4l2-contig's usage of the DMA API.
Hi Robin,
On Tue, Oct 27, 2015 at 12:55 AM, Robin Murphy wrote:
> On 26/10/15 13:44, Yong Wu wrote:
>>
>> On Thu, 2015-10-01 at 20:13 +0100, Robin Murphy wrote:
>> [...]
>>>
>>> +/*
>>> + *
Hi Robin,
On Sat, Aug 1, 2015 at 1:18 AM, Robin Murphy wrote:
> Taking some inspiration from the arch/arm code, implement the
> arch-specific side of the DMA mapping ops using the new IOMMU-DMA layer.
>
> Unfortunately the device setup code has to start out as a big ugly mess
> in order to work u
e possibly running at the same time and
> triggering IOMMU look-ups, which could bring back the page tables back
> to the cache.
>
> To fix both issues, this patch makes the mapping code zap first and last
> (if they are different) IOVAs of new mapping after the page table is
> updated.
&g
Hi Yong,
On Fri, Mar 6, 2015 at 6:37 PM, wrote:
> From: Yong Wu
>
> This patch add SMI(Smart Multimedia Interface) driver. This driver
> is responsible to enable/disable iommu and control the clocks of each
> local arbiter.
High-level:
Is there more to the smi (or smi-larb) driver, or is i
e field from iommu_ops into the iommu_domain and
> updates all users accordingly.
>
> Signed-off-by: Will Deacon
>
For the rockchip iommu part:
Acked-by: Daniel Kurtz
> ---
> drivers/iommu/amd_iommu.c | 2 +-
> drivers/iommu/arm-smmu.c| 12
Hi Yong,
On Fri, Mar 6, 2015 at 6:48 PM, wrote:
> From: Yong Wu
>
> This patch add the iommu/larbs nodes for mt8173
>
> Signed-off-by: Yong Wu
> ---
> arch/arm64/boot/dts/mediatek/mt8173.dtsi | 60
> include/dt-bindings/iommu/mt8173-iommu-port.h | 127
> +++
ice device tree nodes for "iommus" property
- store platform device pointer as group iommudata
- Check for existence of iommu group instead of relying on a
dev_get_drvdata() to return NULL for a NULL device.
v7: - fixup some strings.
- In rk_iommu_disable_paging() #
Heiko,
Does this version work for you on 3.18-rc1?
On Oct 27, 2014 8:44 PM, "Daniel Kurtz" wrote:
> The rk3288 has several iommus. Each iommu belongs to a single master
> device. There is one device (ISP) that has two slave iommus, but that
> case is not yet supported by
platform_device device tree nodes for "iommus" property
- store platform device pointer as group iommudata
- Check for existence of iommu group instead of relying on a
dev_get_drvdata() to return NULL for a NULL device.
Signed-off-by: Daniel Kurtz
Signed-off-by: Simon
On Mon, Oct 27, 2014 at 4:32 AM, Heiko Stübner wrote:
> Hi Daniel,
>
> Am Freitag, 24. Oktober 2014, 15:33:47 schrieb Daniel Kurtz:
>
> [...]
>
>> +static int rk_iommu_attach_device(struct iommu_domain *domain,
>> + struct device *dev)
domain and therefore point to the same page table.
Thus, the iommu domain maintains a list of iommu devices which are
attached. This driver relies on the iommu core to ensure that all devices
have detached before destroying a domain.
Signed-off-by: Daniel Kurtz
Signed-off-by: Simon Xue
Revie
On Wed, Oct 22, 2014 at 11:20 PM, Joerg Roedel wrote:
> On Wed, Oct 01, 2014 at 06:20:40PM +0800, Daniel Kurtz wrote:
>> Add a driver and devicetree bindings for the IOMMU found in Rockchip RK3288
>> SoCs.
>>
>> Daniel Kurtz (3):
>> iommu/rockchip: rk3288 iom
On Wed, Oct 22, 2014 at 11:20 PM, Joerg Roedel wrote:
> On Wed, Oct 01, 2014 at 06:20:40PM +0800, Daniel Kurtz wrote:
> > Add a driver and devicetree bindings for the IOMMU found in Rockchip
> RK3288
> > SoCs.
> >
> > Daniel Kurtz (3):
> > iommu/rockchip: r
On Tue, Oct 14, 2014 at 4:02 PM, Daniel Kurtz wrote:
> The rk3288 has several iommus. Each iommu belongs to a single master
> device. There is one device (ISP) that has two slave iommus, but that
> case is not yet supported by this driver.
>
> At subsys init, the iommu driver r
domain and therefore point to the same page table.
Thus, the iommu domain maintains a list of iommu devices which are
attached. This driver relies on the iommu core to ensure that all devices
have detached before destroying a domain.
Signed-off-by: Daniel Kurtz
Signed-off-by: Simon Xue
Revie
domain and therefore point to the same page table.
Thus, the iommu domain maintains a list of iommu devices which are
attached. This driver relies on the iommu core to ensure that all devices
have detached before destroying a domain.
Signed-off-by: Daniel Kurtz
Signed-off-by: Simon Xue
Revie
structs to put spinlocks together
- Reword comment in map/unmap about > 4MB mappings
Changes in v3:
- select ARM_DMA_USE_IOMMU
Signed-off-by: Daniel Kurtz
Signed-off-by: Simon Xue
Reviewed-by: Grant Grundler
Reviewed-by: Stéphane Marchesin
---
drivers/iommu/Kconfig | 12 +
driv
structs to put spinlocks together
- Reword comment in map/unmap about > 4MB mappings
Signed-off-by: Daniel Kurtz
Signed-off-by: Simon Xue
Reviewed-by: Grant Grundler
Reviewed-by: Stéphane Marchesin
---
drivers/iommu/Kconfig | 11 +
drivers/iommu/Make
domain and therefore point to the same page table.
Thus, the iommu domain maintains a list of iommu devices which are
attached. This driver relies on the iommu core to ensure that all devices
have detached before destroying a domain.
Signed-off-by: Daniel Kurtz
Signed-off-by: Simon Xue
---
Add binding documentation for Rockchip IOMMU.
Signed-off-by: Daniel Kurtz
Signed-off-by: Simon Xue
---
.../devicetree/bindings/iommu/rockchip,iommu.txt | 26 ++
1 file changed, 26 insertions(+)
create mode 100644 Documentation/devicetree/bindings/iommu/rockchip,iommu.txt
Add device nodes for the VOP iommus.
Device nodes for other iommus will be added in later patches.
The iommu nodes use the #iommu-cells property as described in:
Documentation/devicetree/bindings/iommu/iommu.txt
Signed-off-by: Daniel Kurtz
Signed-off-by: Simon Xue
---
arch/arm/boot/dts
Add a driver and devicetree bindings for the IOMMU found in Rockchip RK3288
SoCs.
Daniel Kurtz (3):
iommu/rockchip: rk3288 iommu driver
dt-bindings: iommu: Add documentation for rockchip iommu
ARM: dts: rk3288: add VOP iommu nodes
.../devicetree/bindings/iommu/rockchip,iommu.txt | 26
29 matches
Mail list logo