1. 21 12月, 2007 1 次提交
    • M
      [POWERPC] cell: wrap master run control bit · c25620d7
      Masato Noguchi 提交于
      Add platform specific SPU run control routines to the spufs.  The current
      spufs implementation uses the SPU master run control bit (MFC_SR1[S]) to
      control SPE execution, but the PS3 hypervisor does not support the use of
      this feature.
      
      This change adds the run control wrapper routies spu_enable_spu() and
      spu_disable_spu().  The bare metal routines use the master run control
      bit, and the PS3 specific routines use the priv2 run control register.
      
      An outstanding enhancement for the PS3 would be to add a guard to check
      for incorrect access to the spu problem state when the spu context is
      disabled.  This check could be implemented with a flag added to the spu
      context that would inhibit mapping problem state pages, and a routine
      to unmap spu problem state pages.  When the spu is enabled with
      ps3_enable_spu() the flag would be set allowing pages to be mapped,
      and when the spu is disabled with ps3_disable_spu() the flag would be
      cleared and mapped problem state pages would be unmapped.
      Signed-off-by: NMasato Noguchi <Masato.Noguchi@jp.sony.com>
      Signed-off-by: NGeoff Levand <geoffrey.levand@am.sony.com>
      Signed-off-by: NJeremy Kerr <jk@ozlabs.org>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      c25620d7
  2. 20 12月, 2007 9 次提交
  3. 19 12月, 2007 3 次提交
  4. 14 12月, 2007 2 次提交
  5. 12 12月, 2007 4 次提交
  6. 11 12月, 2007 12 次提交
  7. 07 12月, 2007 1 次提交
  8. 06 12月, 2007 1 次提交
    • T
      [POWERPC] Fix hardware IRQ time accounting problem. · 81a3843f
      Tony Breeds 提交于
      The commit fa13a5a1 (sched: restore
      deterministic CPU accounting on powerpc), unconditionally calls
      update_process_tick() in system context.  In the deterministic
      accounting case this is the correct thing to do.  However, in the
      non-deterministic accounting case we need to not do this, since doing
      this results in the time accounted as hardware irq time being
      artificially elevated.
      
      Also this collapses 2 consecutive '#ifdef CONFIG_VIRT_CPU_ACCOUNTING'
      checks in time.h into one for neatness.
      Signed-off-by: NTony Breeds <tony@bakeyournoodle.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      81a3843f
  9. 03 12月, 2007 3 次提交
  10. 20 11月, 2007 3 次提交
  11. 19 11月, 2007 1 次提交