1. 15 5月, 2008 4 次提交
    • I
      [POWERPC] cell: Fix section mismatches in io-workarounds code · 7012255a
      Ishizaki Kou 提交于
      Fix following warnings:
      WARNING: arch/powerpc/platforms/cell/built-in.o(.devinit.text+0x9c): Section mismatch in reference from the function .cell_setup_phb() to the function .init.text:.iowa_register_bus()
      WARNING: arch/powerpc/platforms/cell/built-in.o(.devinit.text+0xa4): Section mismatch in reference from the function .cell_setup_phb() to the function .init.text:.io_workaround_init()
      Signed-off-by: NKou Ishizaki <kou.ishizaki@toshiba.co.jp>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      7012255a
    • F
      [POWERPC] spufs: Fix compile error · dfe1e09f
      FUJITA Tomonori 提交于
      With CONFIG_VIRT_CPU_ACCOUNTING disabled, I got the following error:
      
      linux-2.6/arch/powerpc/platforms/cell/spufs/file.c: In function 'spu_switch_log_notify':
      linux-2.6/arch/powerpc/platforms/cell/spufs/file.c:2542: error: implicit declaration of function 'get_tb'
      make[4]: *** [arch/powerpc/platforms/cell/spufs/file.o] Error 1
      Signed-off-by: NFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      dfe1e09f
    • B
      [POWERPC] vmemmap fixes to use smaller pages · cec08e7a
      Benjamin Herrenschmidt 提交于
      This changes vmemmap to use a different region (region 0xf) of the
      address space, and to configure the page size of that region
      dynamically at boot.
      
      The problem with the current approach of always using 16M pages is that
      it's not well suited to machines that have small amounts of memory such
      as small partitions on pseries, or PS3's.
      
      In fact, on the PS3, failure to allocate the 16M page backing vmmemmap
      tends to prevent hotplugging the HV's "additional" memory, thus limiting
      the available memory even more, from my experience down to something
      like 80M total, which makes it really not very useable.
      
      The logic used by my match to choose the vmemmap page size is:
      
       - If 16M pages are available and there's 1G or more RAM at boot,
         use that size.
       - Else if 64K pages are available, use that
       - Else use 4K pages
      
      I've tested on a POWER6 (16M pages) and on an iSeries POWER3 (4K pages)
      and it seems to work fine.
      
      Note that I intend to change the way we organize the kernel regions &
      SLBs so the actual region will change from 0xf back to something else at
      one point, as I simplify the SLB miss handler, but that will be for a
      later patch.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      cec08e7a
    • L
      [POWERPC] spufs: Fix pointer reference in find_victim · 08fcf1d6
      Luke Browning 提交于
      If victim (not ctx) is in spu_run, add victim to rq.
      Signed-off-by: NLuke Browning <lukebrowning@us.ibm.com>
      Acked-by: NChristoph Hellwig <hch@lst.de>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      08fcf1d6
  2. 13 5月, 2008 7 次提交
  3. 12 5月, 2008 3 次提交
  4. 09 5月, 2008 6 次提交
  5. 08 5月, 2008 2 次提交
  6. 07 5月, 2008 2 次提交
  7. 06 5月, 2008 2 次提交
  8. 05 5月, 2008 12 次提交
  9. 04 5月, 2008 2 次提交