Re: [PATCH v2 00/15] tidspbridge driver MMU-related cleanups

2012-09-24 Thread Laurent Pinchart
Hi Omar,

On Friday 21 September 2012 11:18:56 Ramirez Luna, Omar wrote:
 On Wed, Sep 19, 2012 at 7:06 AM, Laurent Pinchart wrote:
  Hello,
  
  Here's the second version of my tidspbridge MMU-related cleanup patches.
  The first version has been sent privately only, don't try to search the
  mailing list archive for it :-)
  
  Replacing hw/hw_mmu.c and part of core/tiomap3430.c with generic IOMMU
  calls should be less difficult now. Anyone would like to give it a try?
  
  Laurent Pinchart (14):
tidspbridge: hw_mmu: Reorder functions to avoid forward declarations
tidspbridge: hw_mmu: Removed unused functions
tidspbridge: tiomap3430: Reorder functions to avoid forward
  declarations
tidspbridge: tiomap3430: Remove unneeded dev_context local variables
tidspbridge: tiomap3430: Factor out common page release code
tidspbridge: tiomap3430: Remove ul_ prefix
tidspbridge: tiomap3430: Remove unneeded local variables
tidspbridge: Fix VM_PFNMAP mapping
tidspbridge: Remove unused hw_mmu_map_attrs_t::donotlockmpupage field
arm: omap: iommu: Include required headers in iommu.h and iopgtable.h
tidspbridge: Use constants defined in IOMMU platform headers
tidspbridge: Simplify pte_update and mem_map_vmalloc functions
tidspbridge: Use correct types to describe physical, MPU, DSP
  addresses
tidspbridge: Replace hw_mmu_map_attrs_t structure with a prot
  bitfield
 
 Thanks, tested on beagle-xM, they look good!
 
 Can you submit them to Greg KH and de...@driverdev.osuosl.org,
 preferably with a 'staging:' prefix along with the current subject.

I'll do that after getting Felipe's feedback (as well as yours if possible 
:-)) on the VM_PFNMAP patch split that I've posted today.

 The only thing of concern is that:
 ARM: OMAP: iommu: fix including iommu.h without IOMMU_API selected
 
 Might be taking a different path than these to mainline[1].
 
 Cheers,
 
 Omar
 
 ---
 [1] http://www.mail-archive.com/linux-omap@vger.kernel.org/msg76319.html

-- 
Regards,

Laurent Pinchart

--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH v2 00/15] tidspbridge driver MMU-related cleanups

2012-09-21 Thread Ramirez Luna, Omar
Hi Laurent,

On Wed, Sep 19, 2012 at 7:06 AM, Laurent Pinchart
laurent.pinch...@ideasonboard.com wrote:
 Hello,

 Here's the second version of my tidspbridge MMU-related cleanup patches. The
 first version has been sent privately only, don't try to search the mailing
 list archive for it :-)

 Replacing hw/hw_mmu.c and part of core/tiomap3430.c with generic IOMMU calls
 should be less difficult now. Anyone would like to give it a try?

 Laurent Pinchart (14):
   tidspbridge: hw_mmu: Reorder functions to avoid forward declarations
   tidspbridge: hw_mmu: Removed unused functions
   tidspbridge: tiomap3430: Reorder functions to avoid forward
 declarations
   tidspbridge: tiomap3430: Remove unneeded dev_context local variables
   tidspbridge: tiomap3430: Factor out common page release code
   tidspbridge: tiomap3430: Remove ul_ prefix
   tidspbridge: tiomap3430: Remove unneeded local variables
   tidspbridge: Fix VM_PFNMAP mapping
   tidspbridge: Remove unused hw_mmu_map_attrs_t::donotlockmpupage field
   arm: omap: iommu: Include required headers in iommu.h and iopgtable.h
   tidspbridge: Use constants defined in IOMMU platform headers
   tidspbridge: Simplify pte_update and mem_map_vmalloc functions
   tidspbridge: Use correct types to describe physical, MPU, DSP
 addresses
   tidspbridge: Replace hw_mmu_map_attrs_t structure with a prot
 bitfield

Thanks, tested on beagle-xM, they look good!

Can you submit them to Greg KH and de...@driverdev.osuosl.org,
preferably with a 'staging:' prefix along with the current subject.

The only thing of concern is that:
ARM: OMAP: iommu: fix including iommu.h without IOMMU_API selected

Might be taking a different path than these to mainline[1].

Cheers,

Omar

---
[1] http://www.mail-archive.com/linux-omap@vger.kernel.org/msg76319.html
--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH v2 00/15] tidspbridge driver MMU-related cleanups

2012-09-19 Thread Laurent Pinchart
Hello,

Here's the second version of my tidspbridge MMU-related cleanup patches. The
first version has been sent privately only, don't try to search the mailing
list archive for it :-)

Replacing hw/hw_mmu.c and part of core/tiomap3430.c with generic IOMMU calls
should be less difficult now. Anyone would like to give it a try?

Laurent Pinchart (14):
  tidspbridge: hw_mmu: Reorder functions to avoid forward declarations
  tidspbridge: hw_mmu: Removed unused functions
  tidspbridge: tiomap3430: Reorder functions to avoid forward
declarations
  tidspbridge: tiomap3430: Remove unneeded dev_context local variables
  tidspbridge: tiomap3430: Factor out common page release code
  tidspbridge: tiomap3430: Remove ul_ prefix
  tidspbridge: tiomap3430: Remove unneeded local variables
  tidspbridge: Fix VM_PFNMAP mapping
  tidspbridge: Remove unused hw_mmu_map_attrs_t::donotlockmpupage field
  arm: omap: iommu: Include required headers in iommu.h and iopgtable.h
  tidspbridge: Use constants defined in IOMMU platform headers
  tidspbridge: Simplify pte_update and mem_map_vmalloc functions
  tidspbridge: Use correct types to describe physical, MPU, DSP
addresses
  tidspbridge: Replace hw_mmu_map_attrs_t structure with a prot
bitfield

Omar Ramirez Luna (1):
  ARM: OMAP: iommu: fix including iommu.h without IOMMU_API selected

 arch/arm/plat-omap/include/plat/iommu.h|6 +
 arch/arm/plat-omap/include/plat/iopgtable.h|2 +
 drivers/staging/tidspbridge/core/io_sm.c   |7 +-
 drivers/staging/tidspbridge/core/tiomap3430.c  | 1484 +---
 drivers/staging/tidspbridge/core/tiomap_io.c   |2 +-
 drivers/staging/tidspbridge/core/ue_deh.c  |   21 +-
 drivers/staging/tidspbridge/hw/hw_defs.h   |   22 -
 drivers/staging/tidspbridge/hw/hw_mmu.c|  332 ++
 drivers/staging/tidspbridge/hw/hw_mmu.h|   67 +-
 .../staging/tidspbridge/include/dspbridge/drv.h|1 +
 .../tidspbridge/include/dspbridge/dspdefs.h|   27 +-
 .../tidspbridge/include/dspbridge/dspioctl.h   |   25 +
 drivers/staging/tidspbridge/rmgr/proc.c|  119 +-
 13 files changed, 899 insertions(+), 1216 deletions(-)

-- 
Regards,

Laurent Pinchart

--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html