1. 22 5月, 2009 2 次提交
  2. 19 5月, 2009 2 次提交
    • 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
    • H
      omap iommu: omap3 iommu device registration · 066aa9c1
      Hiroshi DOYU 提交于
      Signed-off-by: NHiroshi DOYU <Hiroshi.DOYU@nokia.com>
      066aa9c1
  3. 05 5月, 2009 2 次提交
  4. 28 4月, 2009 1 次提交
  5. 24 4月, 2009 1 次提交
    • N
      [ARM] 5460/1: Orion: reduce namespace pollution · fdd8b079
      Nicolas Pitre 提交于
      Symbols like SOFT_RESET are way too generic to be exported at large.
      To avoid this, let's move the mbus bridge register defines into a
      separate file and include it where needed.  This affects mach-kirkwood,
      mach-loki, mach-mv78xx0 and mach-orion5x simultaneously as they all
      share code in plat-orion which relies on those defines.
      
      Some other defines have been moved to narrower scopes, or simply deleted
      when they had no user.
      
      This fixes compilation problem with mpt2sas on the above listed
      platforms.
      Signed-off-by: NNicolas Pitre <nico@marvell.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      fdd8b079
  6. 22 4月, 2009 1 次提交
  7. 21 4月, 2009 1 次提交
  8. 20 4月, 2009 2 次提交
    • D
      [ARM] 5457/1: mach-imx gpio buildfix · 4a014a24
      David Brownell 提交于
      From: David Brownell <dbrownell@users.sourceforge.net>
      
      Fix GPIO-related build error on mach-imx platform:
      
        CC      drivers/spi/spi_gpio.o
      In file included from /home/db/kernel/scratch/arch/arm/include/asm/gpio.h:5,
                       from include/linux/gpio.h:7,
                       from drivers/spi/spi_gpio.c:23:
      arch/arm/mach-imx/include/mach/gpio.h: In function 'imx_gpio_get_value':
      arch/arm/mach-imx/include/mach/gpio.h:27: error: implicit declaration of function '__REG2'
      arch/arm/mach-imx/include/mach/gpio.h:27: error: 'IMX_IO_BASE' undeclared (first use in this function)
      arch/arm/mach-imx/include/mach/gpio.h:27: error: (Each undeclared identifier is reported only once
      arch/arm/mach-imx/include/mach/gpio.h:27: error: for each function it appears in.)
      arch/arm/mach-imx/include/mach/gpio.h: In function 'imx_gpio_set_value_inline':
      arch/arm/mach-imx/include/mach/gpio.h:36: error: 'IMX_IO_BASE' undeclared (first use in this function)
      arch/arm/mach-imx/include/mach/gpio.h:36: error: lvalue required as left operand of assignment
      arch/arm/mach-imx/include/mach/gpio.h:38: error: lvalue required as left operand of assignment
      	...
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      4a014a24
    • M
      [ARM] 5456/1: add sys_preadv and sys_pwritev · eb8f3142
      Mikael Pettersson 提交于
      Kernel 2.6.30-rc1 added sys_preadv and sys_pwritev to most archs
      but not ARM, resulting in
      
      <stdin>:1421:2: warning: #warning syscall preadv not implemented
      <stdin>:1425:2: warning: #warning syscall pwritev not implemented
      
      This patch adds sys_preadv and sys_pwritev to ARM.
      
      These syscalls simply take five long-sized parameters, so they
      should have no calling-convention/ABI issues in the kernel.
      
      Tested on armv5tel eabi using a preadv/pwritev test program posted
      on linuxppc-dev earlier this month.
      
      It would be nice to get this into the kernel before 2.6.30 final,
      so that glibc's kernel version feature test for these syscalls
      doesn't have to special-case ARM.
      Signed-off-by: NMikael Pettersson <mikpe@it.uu.se>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      eb8f3142
  9. 19 4月, 2009 2 次提交
  10. 17 4月, 2009 8 次提交
  11. 16 4月, 2009 18 次提交