linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] iommu/omap: Rework cache functionality with DMA Streaming API
@ 2017-07-28 20:49 Josue Albarran
  2017-07-28 20:49 ` [PATCH 1/2] iommu/omap: Fix disabling of MMU upon a fault Josue Albarran
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Josue Albarran @ 2017-07-28 20:49 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Joerg,

This series adapts the OMAP IOMMU driver to use the DMA API to flush
the page table/directory table entries from the CPU caches instead of
the ARM assembly calls. The patches are baselined on 4.13-rc1.

Following is the patch summary:
 1. Patch 1 disables the OMAP IOMMU fault interrupts instead of
    disabling the MMU upon a fault, and resulted in recurring bus
    errors during remoteproc recovery on OMAP4. The MMU fault itself
    is triggered due to the missing PL310 L2 cache operations, and
    this patch fixes the recurring bus errors.
 2. The second patch makes the adaptation to the DMA API for flushing
    the caches. This fixes the MMU fault triggering issues in the
    first place on OMAP4.
    
I have tested these patches on DRA7, OMAP5, and OMAP4 platforms using
both OMAP IOMMU unit tests and some out-of-tree patches for exercising
the MMUs using the OMAP remoteproc driver.

Laurent,
Appreciate it if you can check the OMAP3ISP functionality with these
patches once.

Regards
Josue

Fernando Guzman Lugo (1):
  iommu/omap: Fix disabling of MMU upon a fault

Josue Albarran (1):
  iommu/omap: Use DMA-API for performing cache flushes

 drivers/iommu/omap-iommu.c | 125 +++++++++++++++++++++++++++++----------------
 drivers/iommu/omap-iommu.h |   1 +
 2 files changed, 81 insertions(+), 45 deletions(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-08-09 11:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-28 20:49 [PATCH 0/2] iommu/omap: Rework cache functionality with DMA Streaming API Josue Albarran
2017-07-28 20:49 ` [PATCH 1/2] iommu/omap: Fix disabling of MMU upon a fault Josue Albarran
2017-07-28 20:49 ` [PATCH 2/2] iommu/omap: Use DMA-API for performing cache flushes Josue Albarran
2017-08-01 17:38   ` Suman Anna
2017-08-04  9:59 ` [PATCH 0/2] iommu/omap: Rework cache functionality with DMA Streaming API Joerg Roedel
2017-08-09 11:20 ` Laurent Pinchart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).