1. 06 10月, 2009 2 次提交
  2. 25 9月, 2009 1 次提交
    • S
      omap: iovmm: Fix compiler warning · 6716bd06
      Sanjeev Premi 提交于
      This patch fixes these compiler warnings:
      
      arch/arm/plat-omap/iovmm.c: In function 'vmap_sg':
      arch/arm/plat-omap/iovmm.c:202: warning: passing argument 1 of
       'flush_cache_vmap' makes integer from pointer without a cast
      arch/arm/plat-omap/iovmm.c:202: warning: passing argument 2 of
       'flush_cache_vmap' makes integer from pointer without a cast
      arch/arm/plat-omap/iovmm.c: In function 'sgtable_fill_vmalloc':
      arch/arm/plat-omap/iovmm.c:393: warning: passing argument 1 of
       'flush_cache_vmap' makes integer from pointer without a cast
      arch/arm/plat-omap/iovmm.c:393: warning: passing argument 2 of
       'flush_cache_vmap' makes integer from pointer without a cast
      Signed-off-by: NSanjeev Premi <premi@ti.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      6716bd06
  3. 29 8月, 2009 1 次提交
  4. 19 5月, 2009 1 次提交
    • H
      omap iommu: simple virtual address space management · 69d3a84a
      Hiroshi DOYU 提交于
      This patch provides a device drivers, which has a omap iommu, with
      address mapping APIs between device virtual address(iommu), physical
      address and MPU virtual address.
      
      There are 4 possible patterns for iommu virtual address(iova/da) mapping.
      
          |iova/			  mapping		iommu_		page
          | da	pa	va	(d)-(p)-(v)		function	type
        ---------------------------------------------------------------------------
        1 | c		c	c	 1 - 1 - 1	  _kmap() / _kunmap()	s
        2 | c		c,a	c	 1 - 1 - 1	_kmalloc()/ _kfree()	s
        3 | c		d	c	 1 - n - 1	  _vmap() / _vunmap()	s
        4 | c		d,a	c	 1 - n - 1	_vmalloc()/ _vfree()	n*
      
          'iova':	device iommu virtual address
          'da':	alias of 'iova'
          'pa':	physical address
          'va':	mpu virtual address
      
          'c':	contiguous memory area
          'd':	dicontiguous memory area
          'a':	anonymous memory allocation
          '()':	optional feature
      
          'n':	a normal page(4KB) size is used.
          's':	multiple iommu superpage(16MB, 1MB, 64KB, 4KB) size is used.
      
          '*':	not yet, but feasible.
      Signed-off-by: NHiroshi DOYU <Hiroshi.DOYU@nokia.com>
      69d3a84a