Hi Will,
On Monday 15 December 2014 16:10:52 Will Deacon wrote:
On Sun, Dec 14, 2014 at 11:49:30PM +, Laurent Pinchart wrote:
On Thursday 27 November 2014 11:51:14 Will Deacon wrote:
This series introduces a generic IOMMU page table allocation framework,
implements support for ARM
Hi Will,
On Monday 15 December 2014 17:34:16 Will Deacon wrote:
On Mon, Dec 15, 2014 at 05:21:16PM +, Laurent Pinchart wrote:
On Wednesday 19 November 2014 11:41:50 Will Deacon wrote:
+static void __remove_iommu_mapping_entry(struct kref *kref)
+{
+ struct dma_iommu_mapping_entry
Hi Geert,
On Monday 15 December 2014 11:45:27 Geert Uytterhoeven wrote:
On Sun, Dec 14, 2014 at 1:55 AM, Laurent Pinchart wrote:
The IOMMU_EXEC flag has been renamed to IOMMU_NOEXEC by commit
... inverted and replaced by ...
At first I hadn't noticed this, and was wondering about
From: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com
Commit a720b41c41f5a7e4 (iommu/arm-smmu: change IOMMU_EXEC to
IOMMU_NOEXEC) has inverted and replaced the IOMMU_EXEC flag with
IOMMU_NOEXEC. Update the driver accordingly.
Signed-off-by: Laurent Pinchart laurent.pinchart+rene
Hi Geert,
On Monday 15 December 2014 14:07:52 Geert Uytterhoeven wrote:
On Mon, Dec 15, 2014 at 1:13 AM, Laurent Pinchart wrote:
Add the seven IPMMU instances found in the r8a7791 to DT with a disabled
status.
Signed-off-by: Laurent Pinchart
laurent.pinchart+rene...@ideasonboard.com
Hi Tomasz,
On Monday 15 December 2014 11:39:01 Tomasz Figa wrote:
On Sat, Dec 13, 2014 at 5:47 AM, Laurent Pinchart wrote:
On Friday 12 December 2014 13:15:51 Tomasz Figa wrote:
On Fri, Dec 12, 2014 at 5:48 AM, Rafael J. Wysocki wrote:
On Thursday, December 11, 2014 04:51:37 PM Ulf Hansson
Hi Magnus,
On Tuesday 16 December 2014 07:44:32 Magnus Damm wrote:
On Tue, Dec 16, 2014 at 3:44 AM, Laurent Pinchart wrote:
On Monday 15 December 2014 14:07:52 Geert Uytterhoeven wrote:
On Mon, Dec 15, 2014 at 1:13 AM, Laurent Pinchart wrote:
Add the seven IPMMU instances found
,
Laurent Pinchart
___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu
()
callback.
--
Regards,
Laurent Pinchart
___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu
,
+ bool coherent) { }
+#endif
+
+#ifndef arch_teardown_dma_ops
+static inline void arch_teardown_dma_ops(struct device *dev) { }
#endif
static inline unsigned int dma_get_max_seg_size(struct device *dev)
--
Regards,
Laurent Pinchart
___
iommu
Hi Will,
On Sunday 14 December 2014 17:49:34 Laurent Pinchart wrote:
On Wednesday 10 December 2014 15:08:53 Will Deacon wrote:
On Wed, Dec 10, 2014 at 02:52:56PM +, Rob Clark wrote:
On Mon, Dec 1, 2014 at 11:57 AM, Will Deacon wrote:
This patch extends of_dma_configure so
io_pgtable_ops *ops);
+
+#endif /* __IO_PGTABLE_H */
--
Regards,
Laurent Pinchart
___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu
successfully tested the patch set with the Renesas IPMMU-VMSA driver with
the following extension to the allocator.
Tested-by: Laurent Pinchart laurent.pinch...@ideasonboard.com
From 4bebb7f3a5a48541d4c89ce7c61e6ff66686c3a9 Mon Sep 17 00:00:00 2001
From: Laurent Pinchart laurent.pinchart+rene
(+), 63 deletions(-)
create mode 100644
Documentation/devicetree/bindings/iommu/renesas,ipmmu-vmsa.txt
delete mode 100644 include/linux/platform_data/ipmmu-vmsa.h
--
Regards,
Laurent Pinchart
___
iommu mailing list
iommu@lists.linux-foundation.org
The TLB must be invalidated after unmapping memory to remove stale TLB
entries. this was supposed to be performed already, but a bug in the
driver prevented the TLB invalidate function from being called. Fix it.
Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com
in that case instead of returning immediately.
Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com
---
drivers/iommu/ipmmu-vmsa.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/iommu/ipmmu-vmsa.c b/drivers/iommu/ipmmu-vmsa.c
index 7dab5cbcc775
From: Axel Lin axel@ingics.com
Signed-off-by: Axel Lin axel@ingics.com
Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com
---
drivers/iommu/ipmmu-vmsa.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/iommu/ipmmu-vmsa.c b/drivers/iommu
Make platform data optional when the device is instantiated from DT and
look up the micro-TLB number in the bus master DT node.
Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com
---
drivers/iommu/ipmmu-vmsa.c | 39 +++
1 file changed
the
child page table.
Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com
---
drivers/iommu/ipmmu-vmsa.c | 19 +++
1 file changed, 11 insertions(+), 8 deletions(-)
diff --git a/drivers/iommu/ipmmu-vmsa.c b/drivers/iommu/ipmmu-vmsa.c
index f7036adb5634..fcb603d8b041
Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com
---
.../bindings/iommu/renesas,ipmmu-vmsa.txt | 37 ++
1 file changed, 37 insertions(+)
create mode 100644
Documentation/devicetree/bindings/iommu/renesas,ipmmu-vmsa.txt
Cc: devicet
to different IOMMUs is also
unsupported for the same reason.
Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com
---
drivers/iommu/ipmmu-vmsa.c | 115 +
1 file changed, 86 insertions(+), 29 deletions(-)
diff --git a/drivers/iommu/ipmmu
The IOMMU_EXEC flag has been renamed to IOMMU_NOEXEC by commit
a720b41c41f5a7e4 (iommu/arm-smmu: change IOMMU_EXEC to IOMMU_NOEXEC).
Update the driver accordingly.
Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com
---
drivers/iommu/ipmmu-vmsa.c | 6 +++---
1 file changed
Hello,
On Friday 12 December 2014 13:15:51 Tomasz Figa wrote:
On Fri, Dec 12, 2014 at 5:48 AM, Rafael J. Wysocki wrote:
On Thursday, December 11, 2014 04:51:37 PM Ulf Hansson wrote:
On 11 December 2014 at 16:31, Kevin Hilman khil...@kernel.org wrote:
[+ Laurent Pinchart]
Tomasz
of_xlate correctly, or work
around it with the DT representation.
Exactly for that reason, wouldn't it be better to let the client device
whether it wants to use the DMA mapping API abstraction or manually control
the IOMMU mappings ?
--
Regards,
Laurent Pinchart
Hi Will,
On Tuesday 02 December 2014 09:41:56 Will Deacon wrote:
On Mon, Dec 01, 2014 at 08:21:58PM +, Laurent Pinchart wrote:
On Monday 01 December 2014 17:23:15 Will Deacon wrote:
On Sun, Nov 30, 2014 at 11:29:46PM +, Laurent Pinchart wrote:
On Thursday 27 November 2014 11:51
Hi Will,
On Monday 01 December 2014 12:05:34 Will Deacon wrote:
On Sun, Nov 30, 2014 at 10:03:08PM +, Laurent Pinchart wrote:
On Thursday 27 November 2014 11:51:14 Will Deacon wrote:
Hi all,
This series introduces a generic IOMMU page table allocation framework,
implements
Hi Will,
On Tuesday 02 December 2014 13:53:56 Will Deacon wrote:
On Tue, Dec 02, 2014 at 01:47:41PM +, Laurent Pinchart wrote:
On Monday 01 December 2014 12:05:34 Will Deacon wrote:
On Sun, Nov 30, 2014 at 10:03:08PM +, Laurent Pinchart wrote:
On Thursday 27 November 2014 11:51:14
Hi Will,
On Monday 01 December 2014 12:13:38 Will Deacon wrote:
On Sun, Nov 30, 2014 at 10:00:21PM +, Laurent Pinchart wrote:
On Thursday 27 November 2014 11:51:15 Will Deacon wrote:
diff --git a/drivers/iommu/io-pgtable.c b/drivers/iommu/io-pgtable.c
new file mode 100644
index
io_pgtable_ops *ops);
+
+#endif /* __IO_PGTABLE_H */
--
Regards,
Laurent Pinchart
___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu
create mode 100644 drivers/iommu/io-pgtable.c
create mode 100644 drivers/iommu/io-pgtable.h
--
Regards,
Laurent Pinchart
___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu
;
};
};
enum io_pgtable_fmt {
+ ARM_LPAE_S1,
+ ARM_LPAE_S2,
IO_PGTABLE_NUM_FMTS,
};
--
Regards,
Laurent Pinchart
___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu
Hi Axel,
Thank you for the patch.
On Saturday 01 November 2014 11:45:32 Axel Lin wrote:
Signed-off-by: Axel Lin axel@ingics.com
Acked-by: Laurent Pinchart laurent.pinch...@ideasonboard.com
Joerg, could you please pick this patch up ?
---
drivers/iommu/ipmmu-vmsa.c | 2 +-
1 file
debugfs support is built alongside the
OMAP IOMMU driver only when this option is enabled.
Signed-off-by: Suman Anna s-a...@ti.com
Acked-by: Laurent Pinchart laurent.pinch...@ideasonboard.com
---
drivers/iommu/Kconfig| 12 ++---
drivers/iommu/omap-iommu-debug.c | 100
Hi Will,
On Monday 22 September 2014 18:50:27 Will Deacon wrote:
On Mon, Sep 22, 2014 at 10:29:10AM +0100, Thierry Reding wrote:
On Thu, Sep 18, 2014 at 02:17:33PM +0300, Laurent Pinchart wrote:
On Friday 12 September 2014 17:34:53 Will Deacon wrote:
This patch extends of_dma_configure so
implementation.
--
Regards,
Laurent Pinchart
___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu
Hi Will,
On Monday 22 September 2014 18:13:52 Will Deacon wrote:
On Thu, Sep 18, 2014 at 12:13:13PM +0100, Laurent Pinchart wrote:
Hi Will,
Hi Laurent,
Thank you for the patch.
Sorry for the delay in replying, I was at Connect last week and the email
has backed up.
No worries
Hi Thierry,
On Tuesday 14 October 2014 15:37:59 Thierry Reding wrote:
On Tue, Oct 14, 2014 at 03:20:46PM +0200, Arnd Bergmann wrote:
On Tuesday 14 October 2014 16:07:38 Laurent Pinchart wrote:
On Tuesday 23 September 2014 09:44:25 Arnd Bergmann wrote:
On Tuesday 23 September 2014 09:02:39
Hi Thierry,
On Tuesday 14 October 2014 17:05:29 Thierry Reding wrote:
On Tue, Oct 14, 2014 at 06:01:58PM +0300, Laurent Pinchart wrote:
On Tuesday 14 October 2014 15:37:59 Thierry Reding wrote:
On Tue, Oct 14, 2014 at 03:20:46PM +0200, Arnd Bergmann wrote:
On Tuesday 14 October 2014 16:07
in the IOMMU core to defer probing of devices for which the IOMMU
isn't available yet based on the DT iommus property.
--
Regards,
Laurent Pinchart
___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu
the OMAP
IOMMU driver, and enabled automatically only when debugfs
is enabled.
That's the part I'm unsure about. We're loosing the ability to save space by
not building the omap-iommu debugfs support when debugfs is enabled.
For the rest of the series,
Acked-by: Laurent Pinchart
display controllers that need access to the same IOVA domain so that
they can scan out framebuffers.
Or simply for IOMMUs that serve multiple masters and support a single domain
only.
--
Regards,
Laurent Pinchart
signature.asc
Description: This is a digitally signed message part
Hi Suman,
On Tuesday 09 September 2014 17:31:44 Suman Anna wrote:
On Tuesday 09 September 2014 16:33:11 Suman Anna wrote:
On 09/09/2014 10:45 AM, Laurent Pinchart wrote:
The OMAP IOMMU driver supports both the OMAP1 and OMAP2+ IOMMU variants
by splitting the driver into a core module
;
+}
+static inline void of_iommu_deconfigure(struct kref *kref) { }
#endif /* CONFIG_OF_IOMMU */
--
Regards,
Laurent Pinchart
___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu
(struct device *dev)
--
Regards,
Laurent Pinchart
___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu
*/
--
Regards,
Laurent Pinchart
___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu
.
As the arch-specific operations pointer is now initialized at probe
time, this change requires turning it from a global variable into a
per-device variable.
Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com
---
drivers/iommu/omap-iommu-debug.c | 6 ++-
drivers/iommu/omap-iommu.c | 94
Hello,
Those two patches clean up the OMAP IOMMU driver. Please see individual commit
messages for more information.
Laurent Pinchart (2):
iommu/omap: Reverse dependency between omap-iommu and omap-iommu2
iommu/omap: Remove omap_iommu unused owner field
drivers/iommu/omap-iommu-debug.c
that rework the IOMMU core for better DT
integration, have you seen them ?
Can you point out the thread? Are you talking about
http://marc.info/?l=linux-arm-kernelm=140968072117851w=2?
Yes that's the one.
--
Regards,
Laurent Pinchart
___
iommu mailing
assigned the name
of the IOMMU user device, instead of the name of the IOMMU device as
required by the attach logic. Fix this issue so that DT-based devices
can attach successfully to an IOMMU domain.
Signed-off-by: Suman Anna s-a...@ti.com
Acked-by: Laurent Pinchart laurent.pinch
way.
--
Regards,
Laurent Pinchart
signature.asc
Description: This is a digitally signed message part.
___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu
master to TLB association somehow configurable, but
associating all bus masters with a single TLB as a first step is fine.
--
Regards,
Laurent Pinchart
___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman
; \
--
Regards,
Laurent Pinchart
___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu
failed to bind
+ to device */
extern struct kset *bus_get_kset(struct bus_type *bus);
extern struct klist *bus_get_device_klist(struct bus_type *bus);
--
Regards,
Laurent Pinchart
___
iommu mailing
Hi Konrad,
On Wednesday 20 August 2014 09:02:50 Konrad Rzeszutek Wilk wrote:
On Tue, Aug 19, 2014 at 10:52:46PM +0200, Laurent Pinchart wrote:
On Tuesday 19 August 2014 11:40:24 Olav Haugan wrote:
On 8/19/2014 9:11 AM, Laurent Pinchart wrote:
On Tuesday 19 August 2014 13:59:54 Joerg
with
much enthusiasm.
--
Regards,
Laurent Pinchart
___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu
On Tuesday 19 August 2014 11:40:24 Olav Haugan wrote:
On 8/19/2014 9:11 AM, Laurent Pinchart wrote:
On Tuesday 19 August 2014 13:59:54 Joerg Roedel wrote:
On Mon, Aug 18, 2014 at 03:47:56PM -0700, Olav Haugan wrote:
If the alignment is not correct then iommu_map() will return error
,
+ unsigned long flags)
+{
+ return domain-ops-unmap_sg(domain, iova, size, flags);
+}
+
--
Regards,
Laurent Pinchart
___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu
. This is nearly identical to my own IOMMU DT
bindings experiment developed with the Renesas IPMMU-VMSA driver, so I can't
disagree.
Acked-by: Laurent Pinchart laurent.pinch...@ideasonboard.com
---
Changes in v5:
- clarify comment about dma-ranges vs. IOMMU regarding a device's
disabled state
).
--
Regards,
Laurent Pinchart
___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu
in that case instead of returning immediately.
Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com
---
drivers/iommu/ipmmu-vmsa.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/iommu/ipmmu-vmsa.c b/drivers/iommu/ipmmu-vmsa.c
index 53cde08..7dc77a6
the
child page table.
Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com
---
drivers/iommu/ipmmu-vmsa.c | 18 ++
1 file changed, 10 insertions(+), 8 deletions(-)
diff --git a/drivers/iommu/ipmmu-vmsa.c b/drivers/iommu/ipmmu-vmsa.c
index 7dc77a6..eb605e5 100644
Hello,
This series fixes small issues with the ipmmu-vmsa driver. Please see
individual patches for details.
If not too late, I'd like these fixes to be merged in v3.17 (after proper
review of course, or, in the worst case, after lack of review).
Laurent Pinchart (3):
iommu/ipmmu-vmsa
The TLB must be invalidated after unmapping memory to remove stale TLB
entries. this was supposed to be performed already, but a bug in the
driver prevented the TLB invalidate function from being called. Fix it.
Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com
in your trees.
--
Regards,
Laurent Pinchart
___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu
Hi Joerg,
(Your attention is kindly requested in time for v3.17, please see below)
On Monday 21 July 2014 23:19:29 Tony Lindgren wrote:
* Laurent Pinchart laurent.pinch...@ideasonboard.com [140721 11:17]:
On Monday 21 July 2014 02:33:36 Tony Lindgren wrote:
* Laurent Pinchart laurent.pinch
Hi Suman, Joerg and Tony,
On Friday 18 July 2014 11:53:56 Suman Anna wrote:
On 07/18/2014 05:49 AM, Laurent Pinchart wrote:
Hello,
The OMAP3 ISP driver was the only user of the OMAP IOVMM API. Now that is
has been ported to the DMA API, remove the unused virtual memory manager
Hi Tony and Joerg,
On Monday 21 July 2014 02:33:36 Tony Lindgren wrote:
* Laurent Pinchart laurent.pinch...@ideasonboard.com [140721 02:16]:
Hi Suman, Joerg and Tony,
On Friday 18 July 2014 11:53:56 Suman Anna wrote:
On 07/18/2014 05:49 AM, Laurent Pinchart wrote:
Hello
The fields are not used by the driver and will be removed from platform
data. Don't set them.
Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com
---
arch/arm/mach-omap2/omap-iommu.c | 2 --
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 4
arch/arm/mach-omap2
The fields were used by the now gone omap-iovmm driver. They're not used
anymore, remove them.
Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com
---
include/linux/platform_data/iommu-omap.h | 6 --
1 file changed, 6 deletions(-)
diff --git a/include/linux/platform_data/iommu
Hi Suman,
Thank you for the review.
On Thursday 17 July 2014 10:53:03 Suman Anna wrote:
On 07/17/2014 06:09 AM, Laurent Pinchart wrote:
The OMAP3 ISP driver was the only user of the OMAP IOVMM API. Now that
is has been ported to the DMA API, remove the unused virtual memory
manager
The OMAP3 ISP driver was the only user of the OMAP IOVMM API. Now that
is has been ported to the DMA API, remove the unused virtual memory
manager.
Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com
---
drivers/iommu/Kconfig| 10 +-
drivers/iommu/Makefile
- Remove omap_iommu da_start and da_end fields
- Added patches 2/3 and 3/3
Laurent Pinchart (3):
iommu/omap: Remove virtual memory manager
ARM: omap: Don't set iommu pdata da_start and da_end fields
iommu/omap: Remove platform data da_start and da_end fields
arch/arm/mach-omap2/omap-iommu.c
The OMAP3 ISP driver was the only user of the OMAP IOVMM API. Now that
is has been ported to the DMA API, remove the unused virtual memory
manager.
Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com
---
Joerg, could you please pick this patch up for v3.17 if possible ?
drivers
Hi Khiem,
On Monday 14 July 2014 09:19:23 Khiem Nguyen wrote:
On 7/10/2014 7:37 PM, Laurent Pinchart wrote:
On Thursday 10 July 2014 09:03:26 Khiem Nguyen wrote:
On 5/15/2014 7:40 PM, Laurent Pinchart wrote:
Cache the micro-TLB number in archdata allocated in the .add_device
handler
an
additional platform_driver_unregister() call in the bus_set_iommu() error
path.
--
Regards,
Laurent Pinchart
___
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu
Hi Joerg,
On Monday 26 May 2014 11:23:11 Joerg Roedel wrote:
On Thu, May 15, 2014 at 12:40:43PM +0200, Laurent Pinchart wrote:
Signed-off-by: Laurent Pinchart
laurent.pinchart+rene...@ideasonboard.com
---
drivers/iommu/ipmmu-vmsa.c | 4 +++-
1 file changed, 3 insertions(+), 1
Hi Joerg,
Ping ?
On Thursday 15 May 2014 12:40:41 Laurent Pinchart wrote:
Hello,
This patch set cleans up and fixes small issues in the ipmmu-vmsa driver.
The patches are based on top of [PATCH v3] iommu: Add driver for Renesas
VMSA-compatible IPMMU that adds the ipmmu-vmsa driver
Hi Joerg,
On Wednesday 14 May 2014 00:00:23 Joerg Roedel wrote:
On Tue, May 13, 2014 at 11:04:10PM +0200, Laurent Pinchart wrote:
Isn't this the same as ipmmu_tlb_invalidate()?
ipmmu_tlb_invalidate() performs a read-update-write operation on the IMCTR
register to set the FLUSH bit
that always evaluate to
the right value.
Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com
---
drivers/iommu/ipmmu-vmsa.c | 15 ++-
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/drivers/iommu/ipmmu-vmsa.c b/drivers/iommu/ipmmu-vmsa.c
index 313b5b9
been posted previously and the only comment I've received was about a missing
#define in patch 04/10.
Cc: Joerg Roedel j...@8bytes.org
Changes since v1:
- Add missing IPMMU_PTRS_PER_PUD definition in patch 04/10
Laurent Pinchart (10):
iommu/ipmmu-vmsa: Refactor micro-TLB lookup
iommu/ipmmu
Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com
---
drivers/iommu/ipmmu-vmsa.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/iommu/ipmmu-vmsa.c b/drivers/iommu/ipmmu-vmsa.c
index 49e00f7..49dbedd 100644
--- a/drivers/iommu/ipmmu-vmsa.c
Cache the micro-TLB number in archdata allocated in the .add_device
handler instead of looking it up when the deviced is attached and
detached. This simplifies the .attach_dev and .detach_dev operations and
prepares for DT support.
Signed-off-by: Laurent Pinchart laurent.pinchart+rene
The hardware supports 2MB page sizes, not 1MB.
Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com
---
drivers/iommu/ipmmu-vmsa.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/iommu/ipmmu-vmsa.c b/drivers/iommu/ipmmu-vmsa.c
index 49dbedd
The driver only supports the 3-level long descriptor format that has no
PUD and always has a PMD.
Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com
---
drivers/iommu/ipmmu-vmsa.c | 66 +++---
1 file changed, 9 insertions(+), 57
Add support for 2MB block mappings at the PMD level.
Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com
---
drivers/iommu/ipmmu-vmsa.c | 32 +---
1 file changed, 29 insertions(+), 3 deletions(-)
diff --git a/drivers/iommu/ipmmu-vmsa.c b/drivers
We don't support stage 2 translation yet.
Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com
---
drivers/iommu/ipmmu-vmsa.c | 8
1 file changed, 8 deletions(-)
diff --git a/drivers/iommu/ipmmu-vmsa.c b/drivers/iommu/ipmmu-vmsa.c
index 27fd4d0..a4175d3 100644
The IOMMU core will only call us with page sizes advertized as supported
by the driver. We can thus simplify the code by removing loops over PGD
and PMD entries.
Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com
---
drivers/iommu/ipmmu-vmsa.c | 193
+0200, Laurent Pinchart wrote:
+static void ipmmu_domain_destroy_context(struct ipmmu_vmsa_domain
*domain)
+{
+ /*
+* Disable the context. Flush the TLB as required when modifying the
+* context registers.
+*
+* TODO: Is TLB flush really needed
Hi Joerg,
On Monday 12 May 2014 20:55:54 Joerg Roedel wrote:
On Thu, Apr 17, 2014 at 12:18:21PM +0200, Laurent Pinchart wrote:
git://linuxtv.org/pinchartl/fbdev.git iommu/for-v3.16
Pulled, thanks Laurent,
Thank you. Now, what about the iommu: Add driver for Renesas VMSA-compatible
IPMMU
Hi Joerg,
On Thursday 17 April 2014 12:14:00 Laurent Pinchart wrote:
On Wednesday 09 April 2014 12:57:03 Joerg Roedel wrote:
On Wed, Apr 09, 2014 at 12:43:57PM +0200, Laurent Pinchart wrote:
On Wednesday 02 April 2014 12:47:37 Laurent Pinchart wrote:
Signed-off-by: Laurent Pinchart
Hi Will,
On Tuesday 22 April 2014 12:34:23 Will Deacon wrote:
On Mon, Apr 21, 2014 at 03:13:00PM +0100, Laurent Pinchart wrote:
Hello,
Hi Laurent,
This patch set cleans up and fixes small issues in the ipmmu-vmsa driver.
The patches are based on top of [PATCH v3] iommu: Add driver
* bitmap_size;
+ mapping-size = mapping-bits PAGE_SHIFT;
spin_lock_init(mapping-lock);
--
1.8.1.3
On Mon, Apr 21, 2014 at 4:06 AM, Laurent Pinchart
laurent.pinch...@ideasonboard.com wrote:
Hi Ritesh,
On Saturday 19 April 2014 16:55:30 Ritesh Harjani wrote
On Monday 21 April 2014 11:53:12 Laurent Pinchart wrote:
Hi Ritesh,
On Monday 21 April 2014 09:31:38 Ritesh Harjani wrote:
Fixed the commit message. Please find the new patch below:
Thank you. Your mail has wrapped lines and converted tabs to whitespaces.
Could you please fix
,
or is there a reason to keep loops over PGD and PMD entries ? Removing them
makes the implementation of 68kB and 2MB pages easier.
Laurent Pinchart (9):
iommu/ipmmu-vmsa: Cleanup failures of ARM mapping creation or
attachment
iommu/ipmmu-vmsa: Fix the supported page sizes
iommu/ipmmu
The hardware supports 2MB page sizes, not 1MB.
Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com
---
drivers/iommu/ipmmu-vmsa.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/iommu/ipmmu-vmsa.c b/drivers/iommu/ipmmu-vmsa.c
index 1e0a757
Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com
---
drivers/iommu/ipmmu-vmsa.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/iommu/ipmmu-vmsa.c b/drivers/iommu/ipmmu-vmsa.c
index d277bde..1e0a757 100644
--- a/drivers/iommu/ipmmu-vmsa.c
that always evaluate to
the right value.
Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com
---
drivers/iommu/ipmmu-vmsa.c | 14 +-
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/drivers/iommu/ipmmu-vmsa.c b/drivers/iommu/ipmmu-vmsa.c
index 1ae97d8
The contiguous hint bit signals to the IOMMU that a range of 16 PTEs
refer to physically contiguous memory. It improves performances by
dividing the number of TLB lookups by 16, effectively implementing 64kB
page sizes.
Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com
The driver only supports the 3-level long descriptor format that has no
PUD and always has a PMD.
Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com
---
drivers/iommu/ipmmu-vmsa.c | 65 +++---
1 file changed, 9 insertions(+), 56
Add support for 2MB block mappings at the PMD level.
Signed-off-by: Laurent Pinchart laurent.pinchart+rene...@ideasonboard.com
---
drivers/iommu/ipmmu-vmsa.c | 32 +---
1 file changed, 29 insertions(+), 3 deletions(-)
diff --git a/drivers/iommu/ipmmu-vmsa.c b/drivers
201 - 300 of 390 matches
Mail list logo