1. 18 Aug, 2009 3 commits
    • Julia Lawall's avatar
      arch/arm/plat-iop: Use DIV_ROUND_CLOSEST · a692838d
      Julia Lawall authored
      The kernel.h macro DIV_ROUND_CLOSEST performs the computation (x + d/2)/d
      but is perhaps more readable.
      
      The semantic patch that makes this change is as follows:
      (http://www.emn.fr/x-info/coccinelle/)
      
      // <smpl>
      @haskernel@
      @@
      
      #include <linux/kernel.h>
      
      @depends on haskernel@
      expression x,__divisor;
      @@
      
      - (((x) + ((__divisor) / 2)) / (__divisor))
      + DIV_ROUND_CLOSEST(x,__divisor)
      // </smpl>
      Signed-off-by: default avatarJulia Lawall <julia@diku.dk>
      Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
      a692838d
    • Aaro Koskinen's avatar
      iop3xx: ATU and PCI memory configuration corrected · 5b9eda33
      Aaro Koskinen authored
      There are two 64 MB outbound memory windows at bus addresses
      0x80000000..0x83ffffff and 0x84000000..0x87ffffff for PCI
      memory. Currently, on iop32x, only the lower window is available for
      allocations, limiting the available space to 64 MB. On iop33x the full
      128 MB can be allocated, but the translation value is wrong for the
      upper window.
      
      The patch enables the full 128 MB space on iop32x and corrects the
      initialization of OMWTVR1. Redundant definitions are deleted. Tested
      using a Thecus N2100 board with a graphics adapter in the expansion
      slot. Both windows are in use:
      
        00:05.0 VGA compatible controller: XGI Technology Inc. (eXtreme Graphics
        Innovation) Volari Z7 (prog-if 00 [VGA controller])
        [...]
      	Region 0: Memory at 80000000 (32-bit, prefetchable) [size=64M]
      	Region 1: Memory at 84080000 (32-bit, non-prefetchable) [size=256K]
      Signed-off-by: default avatarAaro Koskinen <aaro.koskinen@iki.fi>
      Cc: Lennert Buytenhek <kernel@wantstofly.org>
      Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
      5b9eda33
    • Dan Williams's avatar
      iop33x: update defconfig (default atu to on) · 9e2a7e6f
      Dan Williams authored
      By default the iop3xx configurations are set to boot the platforms over
      an nfs root configuration.  Since commit c34002c1 "iop: unconditionally
      initialize the ATU on platforms known to be 'hosts'" this configuration
      also requires iop3xx_init_atu=y to be specified on the kernel command
      line.
      Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
      9e2a7e6f
  2. 17 Aug, 2009 13 commits
  3. 16 Aug, 2009 2 commits
  4. 15 Aug, 2009 4 commits
  5. 14 Aug, 2009 4 commits
  6. 13 Aug, 2009 14 commits